try to
Print(GlobalVariableCheck("New_Buy "+Symbol()));
and see the result maybe it false
deVries:
for what reason to do that globalvariable is working in optimization,
for debugging reasons only
qjol:
for debugging reasons only
for debugging reasons only
Print is not done while you run optimization
I didn't know that i'm not using StrategyTester or optimization
qjol:
I didn't know that i'm not using StrategyTester or optimization
LOL...why are you answering...
I didn't know that i'm not using StrategyTester or optimization
deVries:
The object is created by your EA ?
for what reason to do that globalvariable is working in optimization,
the problem i found was using function ObjectFind in optimization while it worked in normal test StrategyTester
angevoyageur:
The object is created by your EA ?
The object is created by your EA ?
yes it is, created by the EA. normally testing it did do all the trades,
with optimization you don't see a chart but also with same setting as in testing result of optimization was no trade in optimization
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 made an EA that when price passed a line condition for opening a trade was true
The level was found with
The EA was working well in testing lot of trades and on demoaccount
but moment I tried to optimize the settings with Optimization all results of optimization were no trades done
It was by using ObjectFind this happend
Changing the code
using a globalvariable made the EA also doing the Optimization