You can do it blindfolded with one hand tied behind your back Roberto!
Thank You
Well I’m not going to give up, I enjoy the journey of learning. I’ve really appreciated your help and support on this today!
Thanks so much Roberto, that’s spot on what I wanted it to do. I really can’t thank you enough for taking the time to put that together for me!
I’ll have a play, initial backtesting of it looks to be behaving as I expected, but the results are so different to when I manually backtested, so I’m scratching my head over that. I’ve accounted for an average spread on it, can’t think what else might be skewing the results, because your code seems to cover everything perfectly.
It’s really interesting for me to learn from seeing what you’ve done there using:
Timeframe(Daily,UpdateOnClose)
EmaD = average[200,1](close)
//
TimeFrame(30 minute,UpdateOnClose)
Ema30 = average[200,1](close)
MyMACD = ExponentialAverage[12](close) - ExponentialAverage[26](close)
MySignalLine = ExponentialAverage[9](MyMACD)
//MyHisto = MyMACD - MySignalLine
Thanks again, will keep you posted!
Have a great upcoming week – you guys rock!
Regards
Matt
Take spread (and trading hours, as well) into account. That will not affect much your performance of you open 50-70 trades yearly, but if you open 1K+ trades…. well it can impair your strategy.
the results are so different to when I manually backtested
Were you manually trading 24 hours per day? 🙂
The Auto-System is trading 24/5 and so will give different results?