As I am trying to use anabettervolume indicator as a part of my strategy.
Different volume types are assigned to different barcode which is defined as IntSeries.
// when climax bar, enterlong
if ( bettervolume(period).BarCode == 1)
EnterLong();
While the error message shows " Operator '==' cannot be applied to operands of type "NinjaTrader.Data.IntSeries" and int"
Is anybody have an idea with this issue?
Thanks

Comment