Masood Abak:
This is because, OnChartEvent(), doesn't work on the tester..
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?
pipspider:
This is because, OnChartEvent(), doesn't work on the tester..know
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.
Any idea how to run my app dialog on Strategy Tester???!
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 ()
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?