Updating Information on tick ?

 
//O
double O()
{
return iOpen (_Symbol, _Period, 0);
}
//H
double H()
{
return iHigh (_Symbol, _Period, 0);
}
//L
double L()
{
return = iLow (_Symbol, _Period, 0);
}
//C
double C()
{
return iClose (_Symbol, _Period, 0);
}
bool calcLong1()
{
      O=O();
      H=H();
      L=L();
      C=C();
      bool GHammer = 2*(C-O)<=O-L && 2*(H-C)<=C-O;
      return GHammer;
}

would this mean the OHLC price data will update then calcLong1 function is called ?

Reason: