TIMEFRAMES

 

I have the impression that MT only works under current graph timeframe:

I am using a code from Help Content labeled demo_ima.mq5 which plots MA in its simplest way.

If I choose in the parameters windows any other value than current for the time frame it fails.

 

What is the trick to make it work in other timeframes than current?

 

Full demo_ima.mq5 can be found here: https://www.mql5.com/pt/docs/indicators/ima 

Documentação sobre MQL5: Indicadores Técnicos / iMA
Documentação sobre MQL5: Indicadores Técnicos / iMA
  • www.mql5.com
Indicadores Técnicos / iMA - Referência sobre algorítimo/automatização de negociação na linguagem para MetaTrader5
Reason: