Stochastic with Alert

Jajaofopobo

Trader
Sep 6, 2021
63
7
24
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
18,534
1,355
144
Odesa
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
63
7
24
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