Moving average indicator levels
trevman:
is it possible to build an indicator based on the MA levels, eg if i wanted to use a 21 SMA with levels of +40 and -40, how would this be coded in comparison to
is it possible to build an indicator based on the MA levels, eg if i wanted to use a 21 SMA with levels of +40 and -40, how would this be coded in comparison to
ma = iMA(NULL,0,21,0,MODE_SMA,PRICE_CLOSE,0);
is it simply a case of
ma + 0.0040
ma - 0.0040Yes, it's simple as ma + 0.0040!
But don't forget to get the point size of the pair! 
is it possible to build an indicator based on the MA levels, eg if i wanted to use a 21 SMA with levels of +40 and -40, how would this be coded in comparison to
ma = iMA(NULL,0,21,0,MODE_SMA,PRICE_CLOSE,0);
is it simply a case of
ma + 0.0040
ma - 0.0040