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
Hi all,
Before all, let me define "first run". From MQL documentation, https://docs.mql4.com/runtime/running
Loading and Unloading of Indicators
Indicators are loaded in the following cases:
I add "(This is first run)" in the list, so only the first two cases are first run.
How to detect if an indicator is first run?
What I want to do is, when an indicator is first run, pop up a dialog to ask to input license code. If the dialog is pop up on every parameter change, it will be too annoying.
Or an alternative question, how to let the user input the license code? Maybe an alternative method is to put a button on the chart?
Thanks for your any advice.