Error Operand expected but it is there

 
Hi, total noob here.  I have an error and several warning s but I cant work out the issue.  It says there is a '>=' - operand expected, but it is right there where it says the error is(marked in red background).  What am I missing??  Also does anyone know of a tutor to help with learning MQL4? Happy to pay an hourly rate.
//+------------------------------------------------------------------+
//|                                                  PriceAction.mq4 |
//|                        Copyright 2019, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2019, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 2

double UpArrow[],
       DownArrow[];

int OnInit()
  {
   SetIndexBuffer(0,UpArrow);
   SetIndexBuffer(1,DownArrow);
   SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2,clrLime);
   SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2,clrRed);
   SetIndexArrow(0,233);
   SetIndexArrow(1,234);
   return(INIT_SUCCEEDED);
  }

int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   for(int i=rates_total-fmax(1,prev_calculated); i>0; i--)
     {
      if(ShootingStar(i)) UpArrow[i]  =Low[i];  else UpArrow[i]  =EMPTY_VALUE;
      if(Hammer(i)) DownArrow[i]=High[i]; else DownArrow[i]=EMPTY_VALUE;
     }
   return(rates_total);
  }
  
bool Hammer (int i)
  {
   if(MathMin(Open[i],Close[i])-Low[i])) >= (2*MathAbs(Open[i]-Close[i])) && Close[i] > (((High[i]-Low[i])/2)+Low[i]);
      return(true);
   return(false);
  }
  
bool ShootingStar (int i)   
  {
   if(High[i]-MathMax(Open[i],Close[i])) >= (2*MathAbs(Open[i]-Close[i])) && Close[i] < (((High[i]-Low[i])/2)+Low[i]);
      return(true);
   return(false);
  }

//+------------------------------------------------------------------+
//| Timer function                                                   |
//+------------------------------------------------------------------+
void OnTimer()
  {
//---
   
  }
//+------------------------------------------------------------------+
//| ChartEvent function                                              |
//+------------------------------------------------------------------+
void OnChartEvent(const int id,
                  const long &lparam,
                  const double &dparam,
                  const string &sparam)
  {
//---
   
  }
//+------------------------------------------------------------------+
Files:
 
Da dadaa:
Hi, total noob here.  I have an error and several warning s but I cant work out the issue.  It says there is a '>=' - operand expected, but it is right there where it says the error is(marked in red background).  What am I missing??  Also does anyone know of a tutor to help with learning MQL4? Happy to pay an hourly rate.

at first define variables and make your calculation there

then use them instead

i modify your code and >= solved

Files:
 
Mohsen Bjp:

at first define variables and make your calculation there

then use them instead

i modify your code and >= solved

Thanks Mohsen.  I was thinking of breaking it down like that.....  Is that something you suggest in the future to solve problems?  And really Thanks again!!
 
Da dadaa:
Thanks Mohsen.  I was thinking of breaking it down like that.....  Is that something you suggest in the future to solve problems?  And really Thanks again!!

your welcome...what kind of problem do you mean?

if you have any question about mql you can pose in forum 

if u didnt raech to answer send me a messege...i will try my best

 
Your code
   if(MathMin(Open[i],Close[i])-Low[i])) >= (2*MathAbs(Open[i]-Close[i])) && Close[i] > (((High[i]-Low[i])/2)+Low[i]);
      return(true);
   return(false);
Simplified
return MathMin(Open[i],Close[i])-Low[i])) >= (2*MathAbs(Open[i]-Close[i])) && Close[i] > (((High[i]-Low[i])/2)+Low[i];
          Increase Order after stoploss - MQL4 programming forum #1.3 2017.05.29