Hello everyone:
I am trying to grab moving averages from different timeframes. When I use the iMA function the results don't look the same as when I graph the moving averages with the default metatrader indicators. Anyone had a similar issue and perhaps has found a workaround?
Here is the command I am using for grabbing the 40 ema from a different timeframe:
the40emavalue=iMA(NULL,ematimeframe,40,0,MODE_EMA,PRICE_CLOSE,i+1);
I even tried doing the same thing with arraycopyrates and then doing a moving average on array. Same exact results.
Thanks for the help.
I am trying to grab moving averages from different timeframes. When I use the iMA function the results don't look the same as when I graph the moving averages with the default metatrader indicators. Anyone had a similar issue and perhaps has found a workaround?
Here is the command I am using for grabbing the 40 ema from a different timeframe:
the40emavalue=iMA(NULL,ematimeframe,40,0,MODE_EMA,PRICE_CLOSE,i+1);
I even tried doing the same thing with arraycopyrates and then doing a moving average on array. Same exact results.
Thanks for the help.