plot indicator with different timeframe than the graph one
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
- 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
- 2010.03.12
- KlimMalgin
- www.mql5.com
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)