I'm trying to store the value of Bars.Period.Id in a variable.
When I print it I get MInute, Tick, or whatever the current value is, but I can't store it.
for example:
Type = Bars.Period.Id (Type is a string varible) or
Tppe = (string)Bars.Period.Id
I get "Cannot convert type 'NInja Trader.Data.PeriodType" to 'string'
ANy thoughts?
Comment