correcting the attached coding mql4

 

Hi 

please I need help correcting the attached coding mql4, there are 4 errors and 2 warnings.


Thanks in advance

Files:
omar.mq4  2 kb
Untitled.png  125 kb
 
// Sell Order  
int start()  
{  
    double low2 = iLow(NULL, 0 , 2); // Low of the second candle  
    double close3 = iClose(NULL, 0 , 3); // Close of the third candle

    if (close3 < low2)  
    {                       // Open Sell Order     int ticket = Order

        if (ticket > 0)     {       // Take Profit       double botto

        // Stop Loss       double high3=iHigh ( NULL.0.3 );      // H
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ End of file ^^^^^^^^^^^^^^^^^^^^^^^^
  1. Help you with what? Start by fixing the first; make sure each open bracket has a closing bracket.
  2. You can only have one start() function.
 
Comments that do not relate to this topic, have been moved to "Off Topic Posts".