hi thanks for all who can help me
i want to write a code that call many moving average when they cross they give me signal to buy or sell
really i made the code but i have a problem that i want to call moving average in the h1 time frame or h4 but the expert isn't working according to this
example double MA1=iMA(NULL,60,200,0,MODE_SMA,PRICE_CLOSE,0);
the ma1 value isn't correct like areal chart in h1 chart
how can i have the correct value of it cause i want to run my ea in 1m chart....
thanks at all
yes it's value is wrong
try it with rsi or other indicator let make acomment with it's double on the chart and show it u will be surprise like me ...
I am surprised if you got different value. The below is value of MA1=iMA(NULL,60,200,0,MODE_SMA,PRICE_CLOSE,0); in each timeframe.