here is 7
[Description("Pivot Type (Swing/ZigZag)")]
[GridCategory("Pivot Type")]
[Gui.Design.DisplayName("Pivot Type (Points/Percent)")]
public NinjaTrader.Indicator.myEnum.eZigZagDeviation ZigZagType
{
get { return eZigZagType; }
set { eZigZagType = value; }
}
here is 8
[NinjaScriptProperty]
[Display(Name = "Pivot Type (Swing/ZigZag)", Description = "", GroupName = "Pivot Type", Order = 3)]
public NinjaTrader.Indicator.myEnum.eZigZagDeviation ZigZagType
{
get { return ePivotType; }
set { ePivotType = value; }
}
I presume it is the Ninjatrader.Indicator line but what is the change?
public NinjaTrader.Indicator.myEnum.eZigZagDeviation ZigZagType
I did encapsulate in 7 and made my enum not global and I want to do this in 8
Comment