Download MetaTrader 5

How Do You Enable Objects In Strategy Tester?

To add comments, please log in or register
Are you accustomed to using the standard library? MQL5 has one!
Nesimeye Oswald
52130
Nesimeye Oswald 2015.09.06 14:11 

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.

Alain Verleyen
Moderator
30722
Alain Verleyen 2015.09.06 22:05  
Nesimeye Oswald:

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.

ObjectCreate().
Doerk Hilger
1154
Doerk Hilger 2015.09.09 00:43  

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. 

fazalajk
14
fazalajk 2015.11.05 17:25  

Dear 

 

please check this is not working  on my mt4 proprly

 my broker is xness  

please help  

Files:
To add comments, please log in or register