I have a chart using a custom PeriodType of "BWT Renko".
I'm working on creating a strategy, but the following line is being rejected by compiler.
Add(PeriodType.BWTRenko, 12);
I'm getting, "NinjaTrader.Data.PeriodType' does not contain a definition for 'BWTRenko'"
Is there a way of defining the BWTRenko type to the compiler?
Why does NT recognize the type for building a chart, but not for the Add(PeriodType.xx) statement?
Regards,
R. C.
Comment