Click or drag to resize

MZpackStrategyBaseCreateIndicators Method

Implement this method to create set of Indicators for your custom strategy and return them in the list as a result.
Examples
public override List{TickIndicator} CreateIndicators()
{
    // Initialize new Indicators list
    List{TickIndicator} Indicators = new List TickIndicator>(); 

    // Create CustomVolumeProfileIndicator instance with default settings
    customVP = new CustomVolumeProfileIndicator(this)
    {
        // Override defaults if required
        ProfileCreation = ProfileCreation.Custom,
        ProfileMode = ProfileMode.BuySell
    };

    // Add indicator instance to the list
    Indicators.Add(customVP);  

    return Indicators;
}

Namespace:  MZpack.NT8
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.14.21.0 (3.14.21.0)
Syntax
C#
public abstract List<TickIndicator> CreateIndicators()

Return Value

Type: ListTickIndicator
See Also