Developed a scalping strategy in my live (IG) account that looked viable (see image).
I then transfered the code to my demo environment to run simulation for a while.
Problem was that backtestning didn’t even come close to what I got in live account (see image 2).
Yes it’s the same settings, same instrument, timeframe and what have you.
Find this rather distressing.
Any ideas?
and what have you.
Tick by tick selected and spread = same in both cases?
GraHal > All settings are the same (tickmode, timezone) and so on.
Read the other thread and they were talking about a different engine on the demo-accounts. I’m not sure how that would make a difference since I’m not using multi-timeframe in my code.
It is not about only MTF support, the most recent backtest engine has also been almost completely revamped.
Ok. That sort of makes sense. Well, I’m going to ask IG to switch back to the old engine and go from there.
BTW, in theory, the most recent engine is the most accurate. Only a precise orders analysis of the backtest should tell you.
Interesting approach — develop on LIVE system and test on DEMO 😉
Just kiddin – please see my answer a couple of minutes ago in the other discussion linked above. Hope it helps!