[GAP-066]: run base initialization before ORB defaults
This commit is contained in:
@@ -111,6 +111,8 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
|
||||
protected override void OnStateChange()
|
||||
{
|
||||
base.OnStateChange();
|
||||
|
||||
if (State == State.SetDefaults)
|
||||
{
|
||||
Name = "Simple ORB NT8";
|
||||
@@ -159,8 +161,6 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
{
|
||||
// NT8StrategyBase adds the shared daily series for regime and ORB context at BarsArray[1].
|
||||
}
|
||||
|
||||
base.OnStateChange();
|
||||
}
|
||||
|
||||
protected override void OnBarUpdate()
|
||||
|
||||
Reference in New Issue
Block a user