time periods

 
mt5 has more time periods. is there a way to get PERIOD_M2, PERIOD_M3, etc... for mt4
 
jshumaker:
mt5 has more time periods. is there a way to get PERIOD_M2, PERIOD_M3, etc... for mt4
Yes with offline charts.
 
OK, I do not need to see them in a chart. I just want to have M3 indicator values stored in variables so that I can work with them in my EA. How would I do that?
 
jshumaker:
OK, I do not need to see them in a chart. I just want to have M3 indicator values stored in variables so that I can work with them in my EA. How would I do that?
You can create an Array of M3 OHLC values internally in your EA and you can get MA values based on that . . . if you want to run other Indicators you are going to have problems . . . unless you code the indicators to use your M3 Array yourself, if you don't want to do that you would use an offline chart.
Reason: