is it possible to make a single notification appear on my mql4 indicator set so that when you change an indicator, you only send me a note? the indicator I have programmed sends me a notification every second until the indicator changes. thank you so much
- How to link the MT4 (PC) with my android phone..? to get any notification from MT4 through the phone.
- alarm help please
- Closed position (Push Notification) (Help)
valfid: the indicator I have programmed sends me a notification every second
So fix it. Don't alert on a condition, alert on a change in condition.
yes but send notifications every second on the whole duration of the change then on a T.F. of 5 minutes for 5 minutes every second sends a notification there is a function to let me get a single notification?
valfid:
So what ?Fix it.
Post your code if you need coding help.
whroeder1:
So fix it. Don't alert on a condition, alert on a change in condition.
int prevtime=0; int start() { if(Time[0] == prevtime) return(0); prevtime=Time[0]; // only Alert for your chart TimeFrame //SendNotification(Symbol()+" TF:"+IntegerToString(Period())+" "+"Haskaya BUY: "); }
datetime timeBar=0; int start() { bool isNewBar = (Time[0]!=timeBar); timeBar = Time[0]; // only Alert for your chart TimeFrame if(isNewBar) SendNotification(Symbol()+" TF:"+IntegerToString(Period())+" "+"Haskaya BUY: "); }

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