Has anyone done this before?
public enum type{SMA,EMA}; #region Properties [Description("Profit target")] [GridCategory("Parameters")] public int PT { get { return pt; } set { pt = Math.Max(1, value); } } [Description("Dynamic profit target")] [GridCategory("Parameters")] public bool Dynamicpt { get { return DynamicPT; } set { DynamicPT = value; } } [Description("Type one for entry chart, type two for hedge chart")] [GridCategory("Parameters")] public strat StratType { get { return stratType; } set { stratType = value; } } #endregion
Comment