Thanks for the reply, hope you had a great holiday weekend and everything is well.
I took your advice and implemented your provided code. Comparing the current strategy results to a set of signals that I've verified from live trading, the signals do not match up. It seems like what's still happening is that the signal happens one bar too late (forward).
I'm not sure if this has to do with displacement or this topic, but I noticed at the current bar (in strategy analyzer chart), there is no value for a non displaced MA. Instead, the value ends at the bar previous to it, and for a displaced Bollinger of -2, two bars previous to that. Could this be why some of the signals above are not lining up? It seems like all the signals I'm given in Strategy Analyzer are moved one bar forward.
Thanks again and I look forward to your response.
Comment