Spezifikation
I would like the attached TradersDynamicIndex-JR indicator converted to MTF and the "steps" removed ie. so that it is Non Repaint and displays the value of the higher timeframe past and present as it was at the end of the lower timeframe bar at the time.
If you look at the attached image you can see the M1 chart of EURUSD with a MTF version on the TDI indicator showing the M5 data. As you can see it has steps as the data repaints over each 5 minutes. Underneath that indicator you can see my first attempt at doing just the green line. This line shows the M5 data as it was at the end of each minute and does not repaint. This is done by replacing the last M5 bar data with the relevent M1 data at the time for calcualtions. This is possible on all timeframes - use the lower timeframe for the last part of the calcualtion and the completed higher timeframe data for the rest. So a combination of data would need to be used. I'm probably making it sound more complicated than it is.
Basically as the M5 data is plotted on the M1 chart it moves around - it is not a flat "step" - however most MTF indi's do not go back and work out how it moved about during the 5 minutes they just repaint the whole M5 period as a flat step - so working out how to "undo" this and recalculate as it should be is the key. This removed the "steps" from the higher timeframe data displayed on the lower timeframe.
So the project would be to turn TradersDynamicIndex-JR.mq4 into a proper MTF indicator without the "steps" typically seen on most MTF indicators.
I enclose a MTF version called TDI Red Green (mtf + alerts +arrows) which you could use and convert that to true MTF NRP but that indicator has a lot of different advanced features that I don't need so I guess it would be more complicated to do. So please just use the TradersDynamicIndex-JR indicator and maybe use the other for reference.
Indicator should work on all timeframes and use minimal code.
Indicator should be tested in real time to check the values correspond to the higher timeframe.
Please check all lines match up M1 to M5 before submitting for review.