![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
(Btw, I see that your indicator says it has 4 buffers, but actually only initializes two of them).
Markus
but see, the 2 that are shoing in value -2, is because i dont know how to make them dissapear.
the windows min and max is 1 -1
the value is -2 and 2,
if you will bigger the windows they will be shown.
I dont wanna show them or their value.
But dont know how ...
Haim
I'm not sure if that's the case, but if you have multiple buffers, the indicator also shows the values for them. Is it possible that both your buffers are -2?
(Btw, I see that your indicator says it has 4 buffers, but actually only initializes two of them).
Markus
but see, the 2 that are shoing in value -2, is because i dont know how to make them dissapear.
the windows min and max is 1 -1
the value is -2 and 2,
if you will bigger the windows they will be shown.
I dont wanna show them or their value.
But dont know how ...
In that case set:
#property indicator_buffers 2
IndicatorBuffers(2);
This didnt help either,
But i pkayed with the lines there,
Because all of the things you said,
so i deleted this 2 lines:
AlertLongBuffer[i]=-2;
AlertShortBuffer[i]=-2;
and now it is working.
Thanks a lot again
Haim
but see, the 2 that are shoing in value -2, is because i dont know how to make them dissapear.
the windows min and max is 1 -1
the value is -2 and 2,
if you will bigger the windows they will be shown.
I dont wanna show them or their value.
But dont know how ...
In that case set:
#property indicator_buffers 2
IndicatorBuffers(2);