Errors when creating an indicator - ')' - open parenthesis expected

 

bool IsValidOrderBlock(int index, const double &open[], const double &high[], const double &low[], const double &close[]) {

    if(close[index] > open[index] && close[index - 1] < open[index - 1]) {

        if((high[index] > high[index + 1] && high[index] > high[index - 1]) && (close[index] - open[index] > MinPipMove * Point)) return true;

    }

    if(close[index] < open[index] && close[index - 1] > open[index - 1]) {

        if((low[index] < low[index + 1] && low[index] < low[index - 1]) && (open[index] - close[index] > MinPipMove * Point)) return true;

    }

Please can I ask for assistance. I keep getting this errors

')' - open parenthesis expected SMC V1.0.mq5 95 128

')' - open parenthesis expected SMC V1.0.mq5 98 124


I have tried everything to fix it but it just want work. 
 
 MinPipMove * Point)) return true;

Perhaps you should read the manual, or press F1 in the editor.  Point is a function, not a variable.
   How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

 

Hi

In simple words: use this instead of your code:

(open[index] - close[index] > MinPipMove * Point()) 

Have a nice day