Good day, Please i want to know how objects (Buttons,labels,lines etc.) can be enable or made to work in strategy tester visual testing. There is a product in the market which uses the functionality and i want to know how its done. Tried asking the developer but he said its a secret. Here is the product link https://www.mql5.com/en/market/product/4630 . Please if anyone knows how this is achieved, i would greatly appreciate your contribution. God bless you in advance.
The thread opener asked how its possible to enable controls in the strategy tester, not how to create them.
Yes it is possible, but not with conventional methods. The strategy tester is not handling any mouse events and does not send anything through OnChartEvent(). If you just need text inputs and buttons, you can do it with those objects and ask the value through OnTick().
If you're familiar with the Windows API, observe the mouse pointer and create the chart events yourself.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Good day, Please i want to know how objects (Buttons,labels,lines etc.) can be enable or made to work in strategy tester visual testing. There is a product in the market which uses the functionality and i want to know how its done. Tried asking the developer but he said its a secret. Here is the product link https://www.mql5.com/en/market/product/4630 . Please if anyone knows how this is achieved, i would greatly appreciate your contribution. God bless you in advance.