ERROR CODE IS " END OF PROGRAM NO FUNCTIONS DEFINED " HOW CAN I SOLVE THIS?

 
THE CODE IS BELOW AND ERROR CODE IS " END OF PROGRAM NO FUNCTIONS DEFINED " HOW CAN I SOLVE THIS?


 

ERROR CODE IS " END OF PROGRAM NO FUNCTIONS DEFINED " HOW CAN I SOLVE THIS?


//+------------------------------------------------------------------+

//|

//|

//| SAMPLE |

//+------------------------------------------------------------------+

extern double Lots2=0.10;

extern double Lots3=0.10;

extern double Lots4=0.10;

extern int Slippage=0;

extern int MagicNumber1=1111;

extern int MagicNumber2=2222;

extern int MagicNumber3=3333;

extern int TrailingStop =50;

extern int TrailingStep =1;

extern int SL=0, TP=0;

double Lots1=0.2;

double Zirve1,Dip1;

extern bool ticket;

extern int i=0;

/* for(i=0;i=iBars("EURUSD",PERIOD_M1,i++);

if (ilose ("EURUSD",PERIOD_M1,i)<iClose ("EURUSD",PERIOD_M1,(i+1) && iClose ("EURUSD",PERIOD_M1,(i+1))>iClose ("EURUSD",PERIOD_M1,(i+2));

Zirve1=iClose ("EURUSD",PERIOD_M1,(i+1));

if Zirve1<>0;

ticket=OrderSend(Symbol(),OP_SELL,0.1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #1",1971,0,Green);

if(ticket<0)

Print("OrderSend failed with error #",GetLastError());

return(0);

For(i=1;iBars("EURUSD";PERIOD_M1) ;++);

if((iClose ("EURUSD",PERIOD_M1,i)>iclose((i+1) && iClose ("EURUSD",PERIOD_M1,(i+2));

Dip1=iClose ("EURUSD",PERIOD_M1,(i+1))

if Dip1 <> 0;

ticket=OrderSend(Symbol(),OP_BUY,0.1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",1972,0,Red);

if(ticket<0)

{

Print("OrderSend failed with error #",GetLastError());

return(0);

}*/


 

Before posting please read some of the other threads . . . then you would have seen numerous requests like this one:

Please use this to post code . . . it makes it easier to read.

 
omeratay:
THE CODE IS BELOW AND ERROR CODE IS " END OF PROGRAM NO FUNCTIONS DEFINED " HOW CAN I SOLVE THIS?


Where is your start() function ?
 
And everything after extern int i=0; is commented out with /*. That chunk of code won't run.
 

hi again,thanks for your significant help but i couldn'r understand you Mr.Misterdog.

My English is poor sorry.

 

// this is a comment

/* this ia also a comment

but is on two lines */

 
omeratay:

hi again,thanks for your significant help but i couldn'r understand you Mr.Misterdog.

My English is poor sorry.

Sorry I will try to use better English. We are all learning a new language. The language of MQL4.

/*
nothing inside these 
comment marks will run.
*/