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
extern double v=0.05;
extern int Temp=0;
double Points;
int init ( )
{
Points = MarketInfo (Symbol( ), MODE_POINT);
return(0);
}
int deinit( )
{
return(0);
}
int start( )
{
if(High[1]-Low[1]> v )
{
Temp=0;}
if(High[1]-Low[1]<=v&&
Temp!=5)
{
Alert(Symbol( )," had a small candle line"); PlaySound("alert.wav");
Temp++;
}
}
i compiled it and there was no errors. However, when i used it in trading, it kept playing the sound without stopping. i have checked it but i dont know what's wrong with my work. Could you please help me to resolve this problem? thank you in advance.