I created a strategy using Strategy Builder but I wanted to add a data series based upon UniRenko Bars. I then wanted to apply the data series to the MACD indicators conditions I set in Strategy Builder. In order to get an idea of what needs to be changed, I added Range Bars as a place holder for the UniRenko Bars.
I downloaded the UniRenko bars from the NjnjaTrader ecosystem.
On the forum I found where others were attempting to add it as a data series as well.
Is the code below the correct way to add the data series?
AddDataSeries(new BarsPeriod(){BarsPeriodType = (BarsPeriodType) 501, Value = 2, Value2 = 6, BaseBarsPeriodValue = 2});
What information needs to be changed to ensure the MACD is based upon it?
Also, how do I use Bar Type Identifier to find the bar enum? I added it to my chart but not seeing where find that information. Thank you.

Comment