Recent content by unaizams

  1. U

    Server Time

    Greetings to all, 1- I am trying to get an EA place a pending order at the beginning of the day daily and get the EA also delete the pending order if not activated by the close of the same day so I included the following code: //------------------ if(CurTime()==00:00) //Place the order...
  2. U

    Updating Custom Indicator Line Automatically

    Hi, I noticed that some custom indicators do not redraw themselves automatically to the new bars with every incoming tick or bar. Only when you first open the chart or when you click a different time frame and then chick back their lines get redrawn to the last bar. So what is making them...
  3. U

    Question About the "For Loop"

    Thank you for taking the time to answer. I am talking about when (in MLQ4) it is suitable, allowed or mandatory to use the incremental counter (i++) and therefore count up and when it is suitable, allowed or mandatory to use the decremental counter (i--) and therefore count down. For example...
  4. U

    Question About the "For Loop"

    Hi, Question About the "For Loop". When does one use "for (i=0;i<limit;i++)" and not "for (i=limit;i>0;i--)" or vica versa? In other words, when one has to count from 1 to 10 or the opposite? Regards.
  5. U

    Request for Help

    Thank you kriss for your elaborate explanation.
  6. U

    Request for Help

    Hi, Can somebody explain to me what the following block of MQL4 code means and what it does in an expert? datetime timeprev=0; //--------------------- if(timeprev==Time[0]) return(0); timeprev=Time[0]; Thanks.
Top