chart_set_type
Switch between chart types like Candles, Bars, Line, Area, Renko, or HeikinAshi to match specific analysis needs by name or index.
Instructions
Change chart candle rendering type (Bars, Candles, Line, Area, Renko, HeikinAshi, etc.). WHEN TO USE: Call when specific analysis requires alternate bar representations (e.g., Heikin Ashi for trend smoothing). SIDE EFFECTS: STATE_MUTATING (Modifies chart canvas display mode). LIMITATIONS: Accepts chart type name or numeric index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_type | Yes | Chart type: Bars(0), Candles(1), Line(2), Area(3), Renko(4), Kagi(5), PointAndFigure(6), LineBreak(7), HeikinAshi(8), HollowCandles(9) — pass name or number |