MZpackStrategyBase Methods |
The MZpackStrategyBase type exposes the following members.
Name | Description | |
---|---|---|
Compare | ||
ControlPanel_AttachEventHandlers |
Override to attach event handlers of chart controls for the strategy.
| |
ControlPanel_DetachEventHandlers |
Override to detach event handlers of chart controls for the strategy.
| |
CreateControlPanelElements |
Override to create chart controls for the strategy.
| |
DefaultAlert | ||
HandleThrowExceptionAndTerminate |
Logs, terminates the strategy, and trows specified exception in Ninja's trace file and Log tab.
| |
LogException |
Logs specified exception in Ninja's trace file and Log tab.
| |
OnConnectionStatusUpdate | (Overrides NinjaScriptBase.OnConnectionStatusUpdate(ConnectionStatusEventArgs).) | |
OnOrderUpdate | (Overrides StrategyBase.OnOrderUpdate(Order, Double, Double, Int32, Int32, Double, OrderState, DateTime, ErrorCode, String).) | |
OnPanelRenderTargetChanged | ||
OnPositionUpdate(Object, PositionEventArgs) | ||
OnPositionUpdate(Position, Double, Int32, MarketPosition) | (Overrides StrategyBase.OnPositionUpdate(Position, Double, Int32, MarketPosition).) | |
OnPropertyChanged | ||
OnRender | (Overrides StrategyRenderBase.OnRender(ChartControl, ChartScale).) | |
OnRenderPanel | ||
OnRenderTargetChanged |
Ninja's OnRenderTargetChanged() overridden method.
(Overrides StrategyRenderBase.OnRenderTargetChanged.) | |
OnStateChange | (Overrides NinjaScriptBase.OnStateChange.) | |
PriceAddTick | ||
PriceAddTicks | ||
PriceDiffTicks | ||
PriceSubtractTick | ||
PropertyChangedEventHandler | ||
RoundToTickSize |