I get ';' - open parenthesis expected error..

 
   if(maFilter == 0 || maFilter == 1)
         if(cl > xATRTrailingStop[i] && crossUp == true)
            ArrowUp[i + s] = low[i + s] - p * Point;
      // Sell Signal
      if(maFilter == 0 || maFilter == -1)
         if(cl < xATRTrailingStop[i] && crossDn == true)
            ArrowDn[i + s] = high[i + s] + p * Point;
     } 

After the Point I get an error could you help me 

';' - open parenthesis expected 186 52
';' - open parenthesis expected 190 53
Improperly formatted code edited by moderator.
 

Good morning
You should start with the most common syntaxes to start writing the codes

if (condition if true){

Instruction if true

}

else if (condition if true)

{

Instruction if true

}

else {

Unknown error, and instruction block

}


All other more concise forms are to be used later

 
Gerard Willia G J B M Dinh Sy #:

Good morning
You should start with the most common syntaxes to start writing the codes


All other more concise forms are to be used later

Thanks

 

Improperly formatted code edited by moderator. Please, always use the CODE button (Alt-S) when inserting code.

Code button in editor

 
Your topic has been moved to the section: Technical Indicators
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Kestutis Fokas:

After the Point I get an error could you help me 

Improperly formatted code edited by moderator.
Point()