Hi,
is it possible to plot an indicator (separate window) using different timeframe from the currency's one?
ex. currency plot is at H1 I'd like to plot ATR(M15) or ATR(daily)
Of coursen why not ? See the Codebase, there is several examples.
found! here https://www.mql5.com/en/code/178 there's a good example. it works I'm going to modify it to let it work on other indicators
thanks
![RSI multi-timeframe [v03] RSI multi-timeframe [v03]](/i/code/indicator.png)
- votes: 9
- 2010.08.25
- Armand Kilian
- www.mql5.com
This is a very good example of transferring any indicator into MTF version. But now I would like to merge both codes to have one MTF indicator only.
It means,
instead of just calling indicator in MTF version (ExtRsiHandle_TF2=iRSI(NULL,InpTimeFrame_2,InpPeriodRSI,InpAppliedPrice) to put the whole code of single timeframe indicator into MTF version (no need single timframe file anymore).
Can you guide my where to start?
Thanks and regards
Peter
![How to call indicators in MQL5 How to call indicators in MQL5](https://c.mql5.com/36/1/how-to-call-indicators-in-mql5.png)
- 2010.03.12
- KlimMalgin
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
is it possible to plot an indicator (separate window) using different timeframe from the currency's one?
ex. currency plot is at H1 I'd like to plot ATR(M15) or ATR(daily)