Stochastic with Alert

Jajaofopobo

Trader
Sep 6, 2021
20
2
9
I don't think, I will get to this in the next few years, but if you have some specific questions on coding that change yourself, I can try helping you out.



Thank you so much; I roughed my way round it.

Another question: Is it possible for notifications, particularly phone alerts, to have an up or down indication in the terminal messages.
It will now be "The stochastic indicator trigged a buy signal" instead of "The stochastic indicator trigged a signal."
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,536
919
144
Odessa
www.earnforex.com
Thank you so much; I roughed my way round it.

Another question: Is it possible for notifications, particularly phone alerts, to have an up or down indication in the terminal messages.
It will now be "The stochastic indicator trigged a buy signal" instead of "The stochastic indicator trigged a signal."
You can work with this part of the code:
MQL4:
   if(Signal!=SIGNAL_NEUTRAL){     
      Text+="The Stochastic indicator triggered a signal";
   }
Signal variable can take also SIGNAL_BUY and SIGNAL_SELL values, and you can change the text depending on them.
 

Jajaofopobo

Trader
Sep 6, 2021
20
2
9
You can work with this part of the code:
MQL4:
   if(Signal!=SIGNAL_NEUTRAL){    
      Text+="The Stochastic indicator triggered a signal";
   }
Signal variable can take also SIGNAL_BUY and SIGNAL_SELL values, and you can change the text depending on them.
Thanks so much, Enivid. I have done it
 
  • 👍
Reactions: Enivid