How to Run my AppDialog on Strategy Tester

To add comments, please log in or register
Masood Abak
157
Masood Abak  

I create an Appdialog from #include <Controls/Dialog.mqh> and I need to use Run function to run my app dialog on Strategy Tester mode. How can I do that?

Where should I put myAppDialog.Run();  to run my appdialog on Tester mode?

App dialog

pipspider
195
pipspider  
Masood Abak:

I create an Appdialog from #include <Controls/Dialog.mqh> and I need to use Run function to run my app dialog on Strategy Tester mode. How can I do that?

Where should I put myAppDialog.Run();  to run my appdialog on Tester mode?


This is because, OnChartEvent(), doesn't work on the tester..
Masood Abak
157
Masood Abak  
pipspider:
This is because, OnChartEvent(), doesn't work on the tester..know

 I know it. I put my code on OnTick(). My buttons works properly but I app dialog doesn't move on chart.

I don't put it on OnChartEvent. I want to know where should I put my appdialog.Run() code.

Masood Abak
157
Masood Abak  
Any idea how to run my app dialog on Strategy Tester???!
Luiz_Nunes
25
Luiz_Nunes  
Masood Abak:

I create an Appdialog from #include <Controls/Dialog.mqh> and I need to use Run function to run my app dialog on Strategy Tester mode. How can I do that?

Where should I put myAppDialog.Run();  to run my appdialog on Tester mode?


Hello Masood Abak


You should put it in OnInit ()
To add comments, please log in or register