I changed nothing in the indicator code meaning I did not replace the “Plot0.Set(Close[0]);” statement in the “OnBarUpdate()” section [reproduced below in larger font].
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(Close[0]);
}
I added an “Add(joeHACindicator());” statement to my strategy
expecting a line to appear on a strategy analyzer chart passing
thru the close of every bar.
However , the strategy failed to compile with the error CS1501 “no overload for method ‘joeHACindicator’ takes ‘0’ arguments.”
I have absolutely no idea what that means or where to start trying to resolve the problem so will greatly appreciate any help.
Comment