if( sum >= 5 ) BarColor = Color.Blue; else if( sum <= -5 ) BarColor = Color.Red; else BarColor = Color.Yellow;
if( sum >= 5 ) Bias = 1.0; else if( sum <= -5 ) Bias = -1.0; else Bias = 0.0;
// #region Properties
// [Description("")]
// [Category("Parameters")]
// public double Bias
// {
// get { return bias; }
// set { bias = Math.Max(1, value); }
// }
// #endregion
}
I commented it out so the code would compile. So my question is, "How can I make the variable "Bias" visible when I use this indicator in strategy. right now it isn't visible.
Thanks
DaveN

Comment