I found this posted by NinjaTrader_ZacharyG:
"To utilize a custom bar type when using AddDataSeries(), for example, you would need to utilize the integer value of the bar type and cast it to BarsPeriodType.
Example:
AddDataSeries((BarsPeriodType)14, 1);
The main issue is I did not create the custom bar type and I do not have access to the code. How can I find the BarsPeriod value of a custom bar type when I can't see the code?
Comment