I have a Strategy that uses 3 standard indicators and price for 3 time frames. I created an 4th custom indicator called "Radar" that I want to plot (in a panel) a visual of certain states (downtrend, uptrend, sideways, buy signals, etc) from the Strategy. The Strategy uses the 3 indicators to determine these states and signals. I've coded the Strategy to give the 4th Radar indicator access to the 3 indicators. The Strategy creates/instantiates the 4th Radar indicator after the 3 standard indicators to ensure the first 3 process first and have updated values for the 4th Radar indicator to use.
By the time the 4th custom Radar indicator OnBarUpdate() gets called the other 3 indicators and closes[] will be done processing and available to the Radar indicator OnBarUpdate(). Will this sharing Strategy Indicators with another indicator work with the event sequence in NinjaTrader? If not, can you recommend another way to achieve this type of sharing?
Thanks!
Comment