
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,
Optimization process. Many settings are tested. Some of these settings can be exclude during the OnInit (return(INIT_PARAMETERS_INCORRECT);). One of my function calculates some value from these parameter set, it correlates it with the price. Since it's using the symbol price I can't check from the OnInit if the parameter used is good or no.
I tried to call OnDeinit as a function but it doesn't work.
How to deinit from inside the OnTick ? Or how to get symbol price from inside the OnInit ?