I think it should be like this
extern int stop_loss=10; // (10) extern int take_profit=6; // Gross PIP Profit (has to remove spread) (6)
I tried that too on the first time. It didn't work.
Select the "optimization results" panel, then bring up the right-click menu and untick "Skip Useless Results", and then try again....
richplank:
Select the "optimization results" panel, then bring up the right-click menu and untick "Skip Useless Results", and then try again....
I've been able to debug it now, thanks!
Select the "optimization results" panel, then bring up the right-click menu and untick "Skip Useless Results", and then try again....
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 wrote my own EA and I'm testing it with MetaTrader Optimizer..
On simple testing it's okay, I got the report and graph.
But when I want to optimize the 2 main vars of my EA, the 2 panels related to vars optimization stay blank.
Here is how my vars are coded, out of any function:
What did I miss?
MT4build210