I am in the process of creating a strategy. I have a custom bar type that I had created based on Renko.
When i want to use this custom bar type, how can i add it to my strategy?
This is what i have:
else if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.myCustomBarType, 4, 5, 11);
}
I am trying to do this but it doesn't show my custom bar type listed and when i add it anyways, it complains with the following error message:
"NinjaTrader.Data.BarsPeriodType' does not contain a definition for 'myCustomBarType'
Comment