View Single Post
HMA and SnakeinBorder
  #1 (permalink)  
Old 02-18-2008, 01:29 AM
Graeme47 Graeme47 is offline
Freshman
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Graeme47 is on a distinguished road
Default HMA and SnakeinBorder

Can Anyone assist me please, unable to work out how to get the results I need from HMA and Snake Force Indicators

I need to know HMA1 Signal1 Value1
my code is:-
//////////////////////////////////////////////////////////////////////////////////////////////
// Function : HMA1Signal1Value1
// Description: This is HMA1 Signal1.Value1
// Arguments : iBar - the Bar we wish to know Signal1 Value1
//
// Returns : HMA1 Signal1 Value1
// Side Effect: None
//////////////////////////////////////////////////////////////////////////////////////////////
double HMA1Signal1Value1(int iBar)
{
return (iCustom(NULL,0,"HMA101",HMA1_Period,HMA1_Price,HM A1_Method,0,iBar));
}

unfortunately it always returns 0.0

Likewise I need to determine the snakeinBorderValue1
//////////////////////////////////////////////////////////////////////////////////////////////
// Function : SnakinBorderValue1
// Description: This is Snakein Border Value
//
// Arguments : iBar - the Bar we wish to know Signal1 Value2

// Returns : Snakein Border Value 1
// Side Effect: None
//////////////////////////////////////////////////////////////////////////////////////////////
double SnakinBorderValue1(int iBar)
{
return (iCustom(NULL,0,"SnakeForce",SnakeForce_cPeriod,0, 1));
}

I also need
HMA1 Signal1 Value 2
HMA2 Signal1 Value 1
HMA2 Signal1 Value 2
SnakinBorderValue2

Can anyone assist please I would be most grateful.
Reply With Quote

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now