Your code Simplified if(pivot<=_high && pivot>=_low) { return 1==1; } else return 0==1;
return pivot<=_high && pivot>=_low;
- Albrin Memedi: it continues to send me alert every tick.
You are looking at a signal. Act on a change of signal.
MQL4 (in Strategy Tester) - double testing of entry conditions - MQL5 programming forum #1 (2017)
![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
Hello, i have a multicurrency Pivot Dashboard and i would like to add a funcion that send an Alert once per day if the pivot is touched.
I have created a Pivot Touch Function that return me True if pivot is tested and False if not.
I tried to code a onetimealert function but it doesnt work properly because it continues to send me alert every tick.
i would like to have it only one the pivot is touched and no more for the rest of the day. The next day the pivot will change and the alert has to reset.
Thanks for the Help