LengthBB = 20;
MultBB = 2;
LengthKC = 20; // In the State.SetDefaults
MultKC = 2;
iMinBar = Math.Max(LengthBB, LengthKC) + 1; // In the State.Configure
if (CurrentBar < iMinBar) return; // In OnBarUpdate
I have printed some outputs as follows:
Print(string.Format("Min bar: {0}", minBar));
Print(string.Format("Current bar: {0}", minBar));
Print(string.Format("SMI length: {0}", _smiLow.Count.ToString()));
Min bar : 21
CurrentBar: 21
SMI Length: 5484
And the indicator is not plotting

Comment