Can I work Open & Close button EA in Strategy Tester Visualization ?
Please help me use Open & Close button in in Strategy Tester Visualization. Thank you.
Yes it is possible.
You must check the button state in OnTick() because OnChartEvent() doesn't work for EA's in strategy tester.
Post your code that you are having problems with.
Yes, My button state isn't in OnTick(), how can I fix it and work in strategy tester.
Please teach me ,thank you.
You need to check the state of the button (whether it is on or off) in OnTick().
Uncompiled / Untested:
Thank you. That’s impressive!
The button can work in strategy tester.