Click or drag to resize

Strategy Methods

The Strategy type exposes the following members.

Methods
  NameDescription
Public methodInitialize(Pattern, Entry, Int32)
Initializes algorithmic strategy.
Public methodInitialize(Pattern, Pattern, Entry, Int32)
Initializes algorithmic strategy.
Public methodIsTrade
Public methodLog
Logs the text depending on LogLevel property.
Public methodStatic memberLogFolderPath
Log folder path.
Public methodLogHeader
Public methodLogLF
Logs line feed.
Public methodLogNinjaScriptProperties
Logs public properties with NinjaScriptProperty attribute. LogLevel must contain LogLevel.PROPERTIES.
Public methodOnEntryPatternNotValidated
Public methodOnEntryPatternValidated
Public methodOnExitPatternValidated
Public methodOnOrderFilled
Override to implement custom behavore on native NinjaTrader order filling.
Public methodOnOrderUpdate
Override to implement custom behavore on native NinjaTrader order update. base.OnOrderUpdate() call required.
Public methodOnPositionOpenFilter
Override to implement filter before openig a position.
Public methodOnPositionUpdate
Override to implement custom behavore on native NinjaTrader position update. base.OnPositionUpdate() call required.
Public methodOnValidateEntryPatternFilter
Override to implement filter before validation process of entry pattern of the strategy.
Public methodOnValidateExitPatternFilter
Override to implement filter before validation process of exit pattern of the strategy.
Public methodPriceToTicks
Converts price to ticks depending on tick size.
Public methodReset
Public methodTicksToPrice
Converts ticks to price depending on tick size.
Protected methodTradingTimeFilter
Top
See Also