
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
if(Stoch1>Level && Stoch3>Level && ( Stoch2<Level || Stoch4<Level ))
{
UP[i]=Low[i]-distance*MyPoint;
DOWN[i]=EMPTY_VALUE;
if(CTime!=Time[0])
{
if(PopUpAlert){Alert(Symbol()," ","Buy Arrow");}
if(EmailAlert){SendMail(Symbol()+" Buy Arrow"+"","Buy Signal");}
if(PushAlert){SendNotification(Symbol()+" Buy Arrow"+"");}
CTime=Time[0];
}
}
if(Stoch1<Level && Stoch3<Level && ( Stoch2>Level || Stoch4>Level ))
{
DOWN[i]=High[i]+distance*MyPoint;
UP[i]=EMPTY_VALUE;
if(CTime!=Time[0])
{
if(PopUpAlert){Alert(Symbol()," ","Sell Arrow");}
if(EmailAlert){SendMail(Symbol()+" Sell Arrow"+"","Sell Signal");}
if(PushAlert){SendNotification(Symbol()+" Sell Arrow"+"");}
CTime=Time[0];
}
}
Is this more like what you are looking for?
if(Stoch1>Level && Stoch3>Level && ( Stoch2<Level || Stoch4<Level ))
{
UP[i]=Low[i]-distance*MyPoint;
DOWN[i]=EMPTY_VALUE;
if(CTime!=Time[0])
{
if(PopUpAlert){Alert(Symbol()," ","Buy Arrow");}
if(EmailAlert){SendMail(Symbol()+" Buy Arrow"+"","Buy Signal");}
if(PushAlert){SendNotification(Symbol()+" Buy Arrow"+"");}
CTime=Time[0];
}
}
if(Stoch1<Level && Stoch3<Level && ( Stoch2>Level || Stoch4>Level ))
{
DOWN[i]=High[i]+distance*MyPoint;
UP[i]=EMPTY_VALUE;
if(CTime!=Time[0])
{
if(PopUpAlert){Alert(Symbol()," ","Sell Arrow");}
if(EmailAlert){SendMail(Symbol()+" Sell Arrow"+"","Sell Signal");}
if(PushAlert){SendNotification(Symbol()+" Sell Arrow"+"");}
CTime=Time[0];
}
}
bool wasSignal = Stoch2>Level && Stoch4>Level;
if(isSignal && !wasSignal)