-------------
# region Variables
// Wizard generated variables
private double n1 = 150;
....
// User defined variables
private double n2;
private DataSeries lc;
....
#endregion
protected override void Initialize() {
...
n2 = (n1*2+1)/3; // should I use instead n2 = (N1*2+1)/3 ??
...
}
protected override void OnBarUpdate() {
...
lc.Set(myOtherIndicator(n1)[0]) // should I use instead myOtherIndicator(N1)
...
}
#region Properties
...
[Description("")]
[GridCategory("Parameters")]
public double N1
{
get {return n1; }
set { n1 = Math.Max(1, value); }
}
#endregion
-------------
within the codes Initialize() and OnBarUpdate() is there any difference between using n1 versus N1 ?
Comment