position_draw_on_chart
The chart-only long/short position drawing tool. Draw an entry, stop and target box immediately when those price levels are known. It needs no account equity or risk percentage, performs no position sizing and places no order. Use position_plan_on_chart instead only when the user also wants quantity and risk calculations. Without explicit timestamps the illustrative box spans recent closed candles for visibility, not future bars or an executed historical trade. Changes the chart you are building; finish with chart_link, or analysis_prepare for a sharing draft that needs human review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| stop | Yes | ||
| entry | Yes | ||
| symbol | No | ||
| target | Yes | ||
| toTime | No | Optional end timestamp in seconds. | |
| barsWide | No | Width when timestamps are omitted. Default 20 bars. | |
| fromTime | No | Optional start timestamp in seconds. | |
| timeframe | No |