İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
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 TDI indi Steps.png 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 flat 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 calculation and the completed higher timeframe data for the rest. So a combination of data would need to be used. The indicator only uses a number of close values (usually a maximum of 34 figures) so it's fairly simple to understand the workings.
I attach a spreadsheet (TDI-small file.zip) with live data and all of the calculations of how this is possible (colour coded columns to match the lines) - this should really help speed up the creation of the indicator and has taken a lot of the work out of the project. Fairly certain it's all correct but would need to be checked.
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 the attached spreadsheet has worked out how to "undo" this and recalculate as it was at the time (for past values) and as it happens (for live values). This has removed the flat "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 flat "steps" typically seen on most MTF indicators using the methods shown in the spreadsheet
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. To do this
If you place TradersDynamicIndex-JR.mq4 on M5 and the newly MTF NRP on M1 it should match up live all of the time - all of the lines.
When you have made the indicator please do not submit it to me until you have checked that all M5 lines match on M1 at (00:04, 00:09, 00:14, 00:19 etc... 23:54, 23:59) times.
Any questions, please ask!
Please read and understand the entire specification before quoting and explain in your quote that you fully understand the job and are capable of doing it, thank you!