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
I wanted to write an expert which sends an email signal when the body of the last candle is more than 50 pips. How can I do it?
Is this a correct code?
static int prevtime = 0;
int start() {
if (Time[0] == prevtime)
{
return(0);
}
if ((High[1] - Low[1]) > (50.0 * Point)&&(Close[0]<Open[0]))\
{
SendMail("Signal", "U got a signal");
prevtime = Time[0];
}
return(0);
}
I added it but it doesnt send any email(((( HHHeeelp Pleasee!!!