Simon Liu
Simon Liu
  • Information
5+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends 1
Simon Liu
Added topic Ontick and OnTimer not working for an indicator
Hello all, I have tried searching for this answer, but could not find the answer I am looking for. I would like my OBJ_HLINE to update every tick to be at the current bid price. To test if OnTick or OnTimer were working I used these: void OnTick () {
Simon Liu
Added topic Stuck in while-loop (MT4)
Hi, In my code i have two lines EntryPriceLine and StopLossLine If i drag my EntryPriceLine i would like to have real time feedback of the StopLossLine. So the two lines should always be 12 pips apart. Even while dragging. I thought using a while
Simon Liu
Added topic Create a Hline using a custom button (MT4)
Hi, I want my EA to have a custom button on screen. When I press this button it should allow me to place a horizontal line on the chart. However, whenever I click on my button, the Hline(s) is/are also immediately placed. It seems the CHAREVENT_CLICK
Simon Liu
Registered at MQL5.community