kapoo: it only alert after the closure of the current candle that shows arrow. Open[0] == Low[0] && Open[0] == High[0] && Open[0] == Close[0] | When can open equal the low and the high and the close at the same time? |
whroeder1:
When can open equal the low and the high and the close at the same time? |
was trying to stop the repetition of alert , because have tried it like the below codes before, and it use to alert once the arrow comes out but alert use to got repeated on every tick until the candle close.
if ( signalup[0] != 0.0 ) Alert(Symbol()," Signal UP"); if ( signaldown[0] != 0.0 ) Alert(Symbol(),"Signal DOWN");
![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
i have been baffling with the alert when on the current candle , that is i want it to be given immediately the arrow show on current candle.
Have worked on the arrow to be showing on current candle when conditions are met by changing the array to 0 (zero) in other be reading current candle.
And here is what i also did for alert immediately the arrow shows on current candle but is not working , it only alert after the closure of the current candle that shows arrow.
Below is the whole codes