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.
Yoursuggestionworked.Nowthe signalsare given witheach crossingofmoving averages andremovenoisealerts.There is only a repaintingarrows that appears to be adefect of the indicator, but it resolvesrefreshingthe chart.Thank you very muchfor your helpand I attachedthe codeto sharewith the community.This indicatoris powerfulusing with theMACDand Stochastic. God bless you.
You will find the solution in this article translated from Russian by "komposter"
Sound Alerts in Indicators"
https://www.mql5.com/en/articles/1448
Is the best I have read on the subject.
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.
Your suggestion worked. Now the signals are given with each crossing of moving averages and remove noise alerts. There is only a repainting arrows that appears to be a defect of the indicator, but it resolves refreshing the chart. Thank you very much for your help and I attached the code to share with the community. This indicator is powerful using with the MACD and Stochastic.
God bless you.
WHRoeder:
You begged. You offered nothing. You're welcome. Now get off your lazy butt and learn to code it or pay someone.
May God have mercy upon you
You will find the solution in this article translated from Russian by "komposter"
Sound Alerts in Indicators"
https://www.mql5.com/en/articles/1448
Is the best I have read on the subject.
Have you bothered to read the book? There are numerous examples where you must do the work first, before God helps.
Well, Thanks for the reference. I'm 60 years old, and you?
William is 900 years old, as Yoda :-D
William is 900 years old, as Yoda :-D
May the Force be with you
You need to decide when the Alert is reset so it can be activated again.