I have the MA Croosover alert indicator which will alert when two moving averages cross. It plays an alert sound and sends an email.
The indicator works very well, but once the alert has been triggered, it keeps repeating the same alert over and over again.
Could someone please help me adjust the indicator, so that once an alert has been triggered, it does not repeat the same alert?
Thanks
You need to decide when the Alert is reset so it can be activated again.
Actually this indicator, free, was created in 2005 by Jason Robinson and modified by Robert Hill, who added a Global Last Alert to keep the alert in each bar, but it did not work. I just wanted to know if anyone solved the problem. The idea is that the alert function once with each crossing. With a hint is enough for me. Excuse my English but I live in Venezuela.
You want a hint ? how do you expect a hint when you haven't even shown the code.
Please excuse me. This is the code. I really do not want you solve the problem and do the code. If you can give me a suggestion I would be very grateful.
I guess you get an Alert each time there is a new bar ? after you get the first Alert when do you want the next one if the reason for the Alert is still true ?
I guess you get an Alert each time there is a new bar ? after you get the first Alert when do you want the next one if the reason for the Alert is still true ?
Ideally, the new signal should occur with a new crossing of moving averages. This avoids unnecessary noise with multiple signals and indicator multiple fulfill its goal in the best way.
Ideally, the new signal should occur with a new crossing of moving averages. This avoids unnecessary noise with multiple signals and indicator multiple fulfill its goal in the best way.
Well in that case this line should be OP_BUY and the OP_BUY line should be OP_SELL, try it and see if it works.
GlobalVariableSet("SignalType"+Symbol()+Period(), OP_SELL );

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have the MA Croosover alert indicator which will alert when two moving averages cross. It plays an alert sound and sends an email.
The indicator works very well, but once the alert has been triggered, it keeps repeating the same alert over and over again.
Could someone please help me adjust the indicator, so that once an alert has been triggered, it does not repeat the same alert?
Thanks