I have a 3rd party addon that you load onto a chart as a template, which then uses the data series (2 of them) to add indicators to the chart and color the bars (red, green, blue) once the chart is loaded.
I am trying to create a strategy that would be able to read those indicators and bar colors to use as inputs for a trading strategy.
I can't figure out how I could create a data series within the strategy that then applies the addon NinjaScript to the data, allowing me to access the indicator values.
I'm able to load the indicator into the strategy and print out the values, but all the values are 0 because the NinjaScript that creates those values doesn't get run. This is the case even if I run the strategy directly from a chart that already has the indicators loaded.
Is there some possible way to have the addon NinjaScript run within the strategy to add the indicators or other way to accomplish what I'm trying to do??
Any help would be greatly appreciated!
The developer of the addon has not been helpful at all.
Comment