V625 StrategyTester Optimization bug ObjectFind ??
try to
Print(GlobalVariableCheck("New_Buy "+Symbol()));
and see the result maybe it false
for what reason to do that globalvariable is working in optimization,
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
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
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
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