Manually open/close positions in the tester?
Hi guys,
someone kindly knows if it is possible to open/close positions manually in the tester?
I tried to put a button and use OnChartEvent() like in: https://www.mql5.com/en/docs/eventfunctions/eventchartcustom
No, unfortunately it's not possible.
Regarding the button idea, there are several limitations to use objects on the Strategy Tester, so, unfortunately this idea will not work as well.
Hi guys,
someone kindly knows if it is possible to open/close positions manually in the tester?
I tried to put a button and use OnChartEvent() like in: https://www.mql5.com/en/docs/eventfunctions/eventchartcustom
but it did not work.
any suggestions?
thanks
ugo
its a good question. I would sinput a int which relates to the bar count so say i set it to ten then it will count ten bars then set it to pop up a messagebox askin me if i want to open an buy order then a sell order if cancel none otherwise order and continue another ten bars or i would set it so that the box comes up when an interesting trigger like rsi 70 is hit or somethin but you can't just hit an order button directly so use your imagination.
Hi guys,
someone kindly knows if it is possible to open/close positions manually in the tester?
I tried to put a button and use OnChartEvent() like in: https://www.mql5.com/en/docs/eventfunctions/eventchartcustom
but it did not work.
any suggestions?
thanks
ugo