Is there any reason whatsoever not to derive from the Strategy class?
For example, will the following rise any issues:
File MyStrategyBase.cs:
namespace NinjaTrader.Strategy { class MyStrategyBase: Strategy { protected override void OnBarUpdate() { Print("Hello from MyStrategyBase"); } } }
namespace NinjaTrader.Strategy { class MyKickAssStrategy: MyStrategyBase { protected override void OnBarUpdate() { Print("Hello from MyKickAssStrategy"); base.OnBarUpdate(); } } }
Boaz
Comment