SL, TP etc. in a Info Panel
Forums › ProRealTime English forum › ProOrder support › SL, TP etc. in a Info Panel
- This topic has 4 replies, 4 voices, and was last updated 11 months ago by robertogozzi.
-
-
12/16/2023 at 11:17 AM #225317
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
12/16/2023 at 12:15 PM #225324You 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 ?
1 user thanked author for this post.
12/16/2023 at 1:20 PM #225330Thx, i ll check it out.
Maybe you have an example to show it in the upper right corner?
12/18/2023 at 12:44 PM #225383https://www.prorealcode.com/topic/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)12/18/2023 at 1:12 PM #225384Graphic instructions arer not available from inside a strategy.
GRAPH and GRAPHONPRICE are meant to help debugging only, they cannot plot data on charts.
3 users thanked author for this post.
-
AuthorPosts