Add comment explaining the usage of the max patterns property
This commit is contained in:
parent
ddb7d11ce5
commit
a25747bbb3
@ -45,6 +45,8 @@ namespace NinjaTrader.NinjaScript.Indicators
|
|||||||
BarLookback = 5;
|
BarLookback = 5;
|
||||||
BullishLevelStroke = new Stroke(Brushes.LimeGreen, DashStyleHelper.Solid, 2);
|
BullishLevelStroke = new Stroke(Brushes.LimeGreen, DashStyleHelper.Solid, 2);
|
||||||
BearishLevelStroke = new Stroke(Brushes.Red, DashStyleHelper.Solid, 2);
|
BearishLevelStroke = new Stroke(Brushes.Red, DashStyleHelper.Solid, 2);
|
||||||
|
|
||||||
|
// For use when backtesting in order to limit the number of patterns processed.
|
||||||
MaxPatterns = 0;
|
MaxPatterns = 0;
|
||||||
}
|
}
|
||||||
if (State == State.DataLoaded)
|
if (State == State.DataLoaded)
|
||||||
|
Loading…
Reference in New Issue
Block a user