Click or drag to resize

MZpackStrategyBase Properties

The MZpackStrategyBase type exposes the following members.

Properties
  NameDescription
Public propertyBuyMarkerBrush
Public propertyBuyMarkerBrushSerializable
Public propertyControlPanelShow
Public propertyControlPanelWidth
Public propertyDashboardAnyCellStroke
Public propertyDashboardGridShowLegend
Public propertyDashboardGridViewOffset
Public propertyDashboardGridViewPosition
Public propertyDashboardGridViewRowHeight
Public propertyDashboardLongCellStroke
Public propertyDashboardNoneCellStroke
Public propertyDashboardShortCellStroke
Public propertyDashboardSimpleFont
Public propertyEnableBacktesting
Public propertyEntryMarkup
Public propertyExitPatternValidatedAlertEnable
Public propertyExitPatternValidatedAlertSound
Public propertyLog_Entry
Public propertyLog_NotValidatedPatternOBC
Public propertyLog_Order
Public propertyLog_Position
Public propertyLog_Properties
Public propertyLog_ValidatedPattern
Public propertyLogLevel
Log level of the strategy as set from UI
Public propertyLogTarget
Public propertyLogTime
Public propertyCode exampleOnCreateAlgoStrategy
Assign delegate for creating MZpack Algo strategy object.
Public propertyCode exampleOnCreateIndicators
Assign delegate to create and return list of MZpack indicators.
Public propertyCode exampleOnEachTickHandler
The handler triggered on each tick. currentBarIdx is the index of the current bar.
Public propertyCode exampleOnMarketDepthHandler
The handler triggered on each market depth event.
Public propertyOperating
Operating mode of the strategy. Default is StrategyOperating.Auto.
Public propertyPatternValidatedAlertEnable
Public propertyPatternValidatedAlertSound
Public propertySellMarkerBrush
Public propertySellMarkerBrushSerializable
Public propertyShowPatterns
Shows patterns on the chart.
Public propertyShowPatternsDashboard
Public propertySignalValidatedAlertEnable
Public propertySignalValidatedAlertSound
Public propertyStrategy
Algo strategy instance. MZpack.NT8.Algo.Strategy is a class containing strategy logic/pattern, entries, positions, etc.
Public propertyCode exampleSync
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)
        {  ...  }
    }
}
Public propertySyncStateChanged
Public propertyWorkingStateHistorical
True if the strategy is working in Historical state. Default value is false.
Public propertyWorkingStateRealtime
True if the strategy is working in Real-time state. Default value is true.
Top
See Also