Mladen, revisiting this indicator you had coded for me, I found issues with the rendering of the indicator.
Indicator works fine when setting 240 timeframe and viewing on a 240 chart, however if i was to set indicator timeframe to 1440 (and I assume anything higher) and viewing on a 240 chart, the rendering of the indicator is skewed towards the right. Try comparing the original indicator before your coding and place this coded indicator and you will see what I mean. Kindly help me correct this error, thank you.
After further checking, it looks like it is not just skewed to the right, in some areas the rendering of the coded indicator is not even the same as the original indicator, which could explain why on occasions the predicted rendering does not equal actual rendering even when price did not move from the time of observation. Kindly check, thank you.
That is completely normal for multi time frame inmdicator
There is nothing out of the ordinary in the way how multi time frame is handled in that indicator
Mladen, not sure if you understood what I meant. When I place the original double cci mtf indicator and the one you coded which should be similar to the original indicator except for the predictive portion, with timeframe 1440 on a timeframe 240 chart, the rendering of both indicators look different. They should not look different.
Please read the original request. It has to be like that since you requested that it "predicts" using the current bars prices as the potential future value
Mladen, there is a misunderstanding. What I require is for it to predict the next potential future value based on the current value of the current unfinished bar. There is no need for past bars to be predicted since those have already taken place. Can you kindly amend the indicator for me, please.
This is a very quick visual test with ecn broker set to true. As you can see, take profit and stop loss are handled properly and it is working in back test OK too. This was taken n build 660.
Hi Mladen, in strategy tester/normal charts it works fine, but on a Renko chart it doesn't set a SL, only a TP. As I said I have set TP 600 and SL 2500 for De30 (Price 9000,00). Any ideas?
I can not tell why it does not set it on custom data. Renko charts are not standard metatrader time frames and how are they treated by metatrader is more a question of a "does metatrader treat offline chart data in strategy tester correctly or not" kind. If regular time frames are treated OK then the conclusion leads into one direction only
Updated version of volatility quality zero line bars : volatilityquality_zeroline_bars_mtfalerts_nmc.mq4
Kindly acede to the correction amendment for the indicator, thank you.
It can not be done so
That way you are going to have one bar gap that is not going to be calculated