Download MetaTrader 5

'i got errror in the jam trade function not define please help me im newbie here

To add comments, please log in or register
wahyudi09
17
wahyudi09  
 int Jam_trade()
{
   bool trade = false;
   if(Mulai_Jam > Akhir_Jam){
     if (Hour() >= Mulai_Jam || Hour() < Akhir_Jam) trade = true;
   } else
     if (Hour() >= Mulai_Jam && Hour() < Akhir_Jam) trade = true;
  
   return (trade);
}
wahyudi09
17
wahyudi09  
i got error in this , trade not define iam newbie here please help me
Carl Schreiber
6975
Carl Schreiber  

1) please use the SRC button beside the camera!!

2) use Print(..) to see what is going wrong - I my crystal ball told me that the definition of Mulai_Jam and Akhir_Jam might be wrong?

To add comments, please log in or register