laplacianlab:
Already asked and answered ;-)Hi there,
I'd like to plot a discontinuous indicator which is defined only in some intervals.
My indicator only has one buffer:
I am assuming that it is possible to assign NULL in some positions of myOnlyBuffer (if you assign NaN values to arrays in GNU/Octave then they are not plotted) in order for MT5 to ignore those points later, when plotting the indicator. However those points are plotted and the indicator doesn't look very good in the empty intervals.
How can you define arrays in order to plot discontinous indicators? Is this approach ok?
Thks in advance for your tips
myOnlyBuffer[i] = EMPTY_VALUE;
That was great (and a bit difficult to find..) Thks!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi there,
I'd like to plot a discontinuous indicator which is defined only in some intervals.
My indicator only has one buffer:
I am assuming that it is possible to assign NULL in some positions of myOnlyBuffer (if you assign NaN values to arrays in GNU/Octave then they are not plotted) in order for MT5 to ignore those points later, when plotting the indicator. However those points are plotted and the indicator doesn't look very good in the empty intervals.
How can you define arrays in order to plot discontinous indicators? Is this approach ok?
Thks in advance for your tips