MZpackStrategyBase Properties |
The MZpackStrategyBase type exposes the following members.
Name | Description | |
---|---|---|
BuyMarkerBrush | ||
BuyMarkerBrushSerializable | ||
ControlPanelShow | ||
ControlPanelWidth | ||
DashboardAnyCellStroke | ||
DashboardGridShowLegend | ||
DashboardGridViewOffset | ||
DashboardGridViewPosition | ||
DashboardGridViewRowHeight | ||
DashboardLongCellStroke | ||
DashboardNoneCellStroke | ||
DashboardShortCellStroke | ||
DashboardSimpleFont | ||
EnableBacktesting | ||
EntryMarkup | ||
ExitPatternValidatedAlertEnable | ||
ExitPatternValidatedAlertSound | ||
Log_Entry | ||
Log_NotValidatedPatternOBC | ||
Log_Order | ||
Log_Position | ||
Log_Properties | ||
Log_ValidatedPattern | ||
LogLevel |
Log level of the strategy as set from UI
| |
LogTarget | ||
LogTime | ||
OnCreateAlgoStrategy |
Assign delegate for creating MZpack Algo strategy object.
| |
OnCreateIndicators |
Assign delegate to create and return list of MZpack indicators.
| |
OnEachTickHandler |
The handler triggered on each tick.
currentBarIdx is the index of the current bar.
| |
OnMarketDepthHandler |
The handler triggered on each market depth event.
| |
Operating |
Operating mode of the strategy. Default is StrategyOperating.Auto.
| |
PatternValidatedAlertEnable | ||
PatternValidatedAlertSound | ||
SellMarkerBrush | ||
SellMarkerBrushSerializable | ||
ShowPatterns |
Shows patterns on the chart.
| |
ShowPatternsDashboard | ||
SignalValidatedAlertEnable | ||
SignalValidatedAlertSound | ||
Strategy |
Algo strategy instance. MZpack.NT8.Algo.Strategy is a class containing strategy logic/pattern, entries, positions, etc.
| |
Sync |
Sync object
Examples protected override void OnStateChange() { base.OnStateChange(); // Base OnStateChange() call is required lock (Sync) // Sync event handler { // Place strategy logic here if (State == State.SetDefaults) { ... } } } | |
SyncStateChanged | ||
WorkingStateHistorical |
True if the strategy is working in Historical state. Default value is false.
| |
WorkingStateRealtime |
True if the strategy is working in Real-time state. Default value is true.
|