use case for this would be to dynamically choose a timeframe that I'll use inside
State.Configure
AddDataSeries();
what I actually need to do for my current script is to check if a new candle has appeared on the selected timeframe
I've seen on this post
https://forum.ninjatrader.com/forum/...e-in-indicator
we can try to use custom PropertyEditor
[PropertyEditor("NinjaTrader.Gui.Tools.InputEditor" )]
can I setup a custom variable which will be BarsPeriodType
and then have an int variable for the time?
EDIT: I've found out I can use NinjaTrader.Gui.Tools.BarsPeriodTypeSelector or NinjaTrader.Gui.Tools.BarsPeriodTypeEditor
what is the difference between the 2?
also it offers options like HeikenAshi, can I limit it to only time based values?
Ideal would be the panel that opens up when you add an Additional Data series when making a new indicator with Use primary instrument already selected
but I guess that's not possible

Comment