SL, TP etc. in a Info Panel

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #225317 quote
    killerplatuze
    Participant
    New

    How can I display variables in an info screen in the chart in a strategy?

    For example, I would like the SL, TP to be displayed to me.

     

    Thx

    #225324 quote
    PeterSt
    Participant
    Master

    You can use the Graph command to show the variable data in a separate pane.
    Or use the Print command in V12 to show the data in a separate window. Notice, however, that only the last 200 bars’ data shows. But you can date-limit the backtest.

    Does this help you ?

    killerplatuze thanked this post
    #225330 quote
    killerplatuze
    Participant
    New

    Thx, i ll check it out.

    Maybe you have an example to show it in the upper right corner?

    #225383 quote
    LaMaille
    Participant
    Junior

    New drawing instructions: anchoring in pixels

    Xshift : defines an abscissa coordinate in pixel offset from the anchor point

    Yshift : defines an ordinate coordinate in vertical pixel offset from the anchor point

    Index : Defines an abscissa coordinate in barindex (classic way)

    Value : Set an ordinate coordinate in price/value (classic way)

    bottomright : bottom-right corner of the chart, the offset values will always be negative to shift left (X axis) and positive to shift up (Y axis).

    bottomleft : bottom-left corner of the graph

    the offset values will always be positive in order to shift to the right (X axis) and up (Y axis).

    topright : top-right corner of the graph

    the offset values will always be negative in order to shift to the left (X axis) and down (Y axis).

    topleft : top-left corner of the graph
    the offset values will always be positive in order to shift to the right (X axis) and negative in order to shift down (Y axis).

    right : middle-right point of the graph

    the shift values will always be negative to shift to the left (X axis) and can be positive or negative to shift up(+)/down(-) (Y axis)

    left : middle-left point of the graph
    the shift values will always be positive to shift to the right (X axis) and can be positive or negative to shift up(+)/down(-) (Y axis)

    top : middle-top point of the graph
    the shift values can be positive or negative for shift right(+)/left(-) (X axis) and will always be negative to shift down (Y axis)

    bottom : middle-low point of the graph
    the shift values can be positive or negative for shift to the right(+)/left(-) (X-Axis) and will always be positive in order to shift up (Y-Axis)

    middle: middle point of the graph
    the shift values can be positive or negative for shift to the right(+)/left(-) (X-Axis) and can be positive or negative for shift up(+)/down(-) (Y-Axis)

    #225384 quote
    robertogozzi
    Moderator
    Master

    Graphic instructions arer not available from inside a strategy.

    GRAPH and GRAPHONPRICE are meant to help debugging only, they cannot plot data on charts.

    LaMaille, ashehzi and killerplatuze thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

SL, TP etc. in a Info Panel


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by robertogozzi
2 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/16/2023
Status: Active
Attachments: No files
Logo Logo
Loading...