I’ve been working on a code using an EMA crossover strategy on the 1 hour Wall St Index to enter long.
The code has produced good results on optimising, but then I noticed it didn’t enter where I would have expected on some trades on back tested results.
I then did a comparison with a very simple crossover entry built from the wizard & stripped back my code to match it. On back testing I found that the two codes had different results and different entry positions.
I’ve loaded up the two test codes:c(my striped down original code). & SAW DOW 1Hr Long Test 02 (My comparison code built in the wizard).
I’ve also loaded up the equity curve and market entry screens and the results for both codes.
Can anybody explain this as if it is a backtesting anomaly I am wary of the results produced!
Thanks in advance
Steve
PS Please note the codes below are the entry only section of the overall codes, but all the backtesting and results are from running these two same codes
Topic moved to ProOrder forum which is for strategy topics. You posted in the ProBuilder forum which is for indicators. I think that is a better place for it as although your question is about an indicator it is about an indicator in a strategy!