Help to understand the indicator, I can not understand why during the signals are not displayed in real time, but only if you switch the timeframe, in the visualization tester everything is rendered as it should be.
Help to understand the indicator, I can not understand why during the signals are not displayed in real time, but only if you switch the timeframe, in the visualization tester, all rendered as it should.
Thank you very much! Removed DeerBars and everything worked, can you also tell me how to set the displayed depth correctly then, what to replace DeerBarswith now ?
if (ExtCountedBars > 0) ExtCountedBars--;
for (int i=Bars-ExtCountedBars-1; i>=0; i--)
and with DeepBars I wanted to set the number of bars to not show the whole story, but to display on the last DeepBars - this for some reason I can't do.
And with DeepBars I wanted to set the number of bars, so it wouldn't show the whole history, but would display on the last DeepBars - for some reason it can't do that.
if (ExtCountedBars > 0) ExtCountedBars--;
int recalc=Bars-ExtCountedBars;
if (recalc>DeepBars) recalc=DeepBars;
This is just the part of the code responsible for converting horizontal lines into orders.
According to your code, the line will be deleted after the first tick, i.e. there is no price tracking function and it works like a script - you manually draw a horizontal line, an order is opened or not, but the line is immediately deleted. Sellstop orders by this code will never open.
I do not believe it, this EA cannot work either on real or in tester.
Why? Is there a mistake? Explain.
This is just a part of the code that is responsible for converting horizontal lines into orders.
Help to understand the indicator, I can not understand why during the signals are not displayed in real time, but only if you switch the timeframe, in the visualization tester everything is rendered as it should be.
before update http://charts.mql5.com/2/379/eurusd-m-m1-roboforex.png
after http://charts.mql5.com/2/379/eurusd-m-m1-roboforex-2.png
Help to understand the indicator, I can not understand why during the signals are not displayed in real time, but only if you switch the timeframe, in the visualization tester, all rendered as it should.
I have to deal with DeepBars variable.
Deal with the variable DeerBars.
Thank you very much! Removed DeerBars and everything worked, can you also tell me how to set the displayed depth correctly then, what to replace DeerBars with now ?
Why replace it?
Why replace it?
Yes, I corrected it like this:
and with DeepBars I wanted to set the number of bars to not show the whole story, but to display on the last DeepBars - this for some reason I can't do.
And with DeepBars I wanted to set the number of bars, so it wouldn't show the whole history, but would display on the last DeepBars - for some reason it can't do that.
Why? Is there a mistake? Explain.
This is just the part of the code responsible for converting horizontal lines into orders.