Strategy Methods |
The Strategy type exposes the following members.
Name | Description | |
---|---|---|
Initialize(Pattern, Entry, Int32) |
Initializes algorithmic strategy.
| |
Initialize(Pattern, Pattern, Entry, Int32) |
Initializes algorithmic strategy.
| |
IsTrade | ||
Log |
Logs the text depending on LogLevel property.
| |
LogFolderPath |
Log folder path.
| |
LogHeader | ||
LogLF |
Logs line feed.
| |
LogNinjaScriptProperties |
Logs public properties with NinjaScriptProperty attribute. LogLevel must contain LogLevel.PROPERTIES.
| |
OnEntryPatternNotValidated | ||
OnEntryPatternValidated | ||
OnExitPatternValidated | ||
OnOrderFilled |
Override to implement custom behavore on native NinjaTrader order filling.
| |
OnOrderUpdate |
Override to implement custom behavore on native NinjaTrader order update. base.OnOrderUpdate() call required.
| |
OnPositionOpenFilter |
Override to implement filter before openig a position.
| |
OnPositionUpdate |
Override to implement custom behavore on native NinjaTrader position update. base.OnPositionUpdate() call required.
| |
OnValidateEntryPatternFilter |
Override to implement filter before validation process of entry pattern of the strategy.
| |
OnValidateExitPatternFilter |
Override to implement filter before validation process of exit pattern of the strategy.
| |
PriceToTicks |
Converts price to ticks depending on tick size.
| |
Reset | ||
TicksToPrice |
Converts ticks to price depending on tick size.
| |
TradingTimeFilter |