When trying to use the "protected override void OnBarUpdate()" method in a Bars Type I am receiving the following error:
'Ninjatrader.NinjaScript.BarsTypes.GoldBricks8.OnB arUpdate()': no suitable method found to override
Does this mean that I inherently can't use the protected override void OnBarUpdate() method within the script of a Bars Type, or am I simply doing it wrong?
Looking forward to your reply.
Edit #1: I am able to provide the full script in a private e-mail should that be useful to solve my inquiry.
Edit #2: My ultimate goal is to modify a double value within the Bars Type script when the "Close[0] > Close[1]" is true.
Comment