I have an indicator I wrote that works fine. I add it to a strategy (via OnStateChange in the Configure) but when I run a back test in the strategy analyzer it seems like the indicator's OnBarUpdate never gets called. I tried adding the indicator both with and without AddChartIndicator. I know it's not getting called as I added both Print and Log statements to the OnBarUpdate of the indicator and nothing shows up.
Is there some secret sauce I need to sprinkle on it?
While I'm at it, I'd like to be able to fire an event from my indicator that can be consumed by my strat. Is this possible?
Thanks ... Ed
Comment