Interface IDrawing

    Access to the chart drawing

    Namespace: TradingPlatform.BusinessLayer.Chart
    Syntax
    public interface IDrawing

    Properties

    Availability

    Determines, the availability of drawing - only current chart or all charts with same symbol

    Declaration
    DrawingAvailability Availability { get; }
    Property Value
    Type Description
    DrawingAvailability

    CreationMode

    Determines, the way how chart drawing was created: manually or programmatically

    Declaration
    DrawingCreationMode CreationMode { get; }
    Property Value
    Type Description
    DrawingCreationMode

    Id

    The unique ID of the chart drawing

    Declaration
    string Id { get; }
    Property Value
    Type Description
    string

    MoveToBackground

    Determines, whether chart drawing draws above or below the main chart

    Declaration
    bool MoveToBackground { get; set; }
    Property Value
    Type Description
    bool

    State

    Determines, state of the chart drawing: Locked or Unlocked

    Declaration
    DrawingState State { get; set; }
    Property Value
    Type Description
    DrawingState

    Type

    Access to the chart drawing

    Declaration
    DrawingType Type { get; }
    Property Value
    Type Description
    DrawingType

    Methods

    GetPoint(int)

    Get time and price of the particular point of the chart drawing

    Declaration
    (DateTime, double) GetPoint(int pointIndex)
    Parameters
    Type Name Description
    int pointIndex
    Returns
    Type Description
    (DateTime, double)

    SetPoint(int, DateTime, double)

    Set time and price value for particular point of the chart drawing

    Declaration
    void SetPoint(int pointIndex, DateTime time, double price)
    Parameters
    Type Name Description
    int pointIndex
    DateTime time
    double price
    Back to top Copyright QUANTOWER LLC. © 2017-2023. All rights reserved.