Get Chart
get_chartGet a pre-rendered candlestick chart image for a trading symbol and timeframe (candles, day and session separators and the last price; no indicators are drawn). USE IT TO SEE THE PICTURE: market structure (higher highs / lower lows), trend and channels, ranges and compressions, chart patterns (flags, wedges, triangles, head and shoulders, double tops), liquidity sweeps, fair value gaps, and price versus the indicators. Patterns and context are much easier to spot in the image than in a list of numbers, so start an analysis with the chart (higher timeframe first, then the entry timeframe). Do NOT read exact prices from the image: take entry, stop loss and take profit levels from get_ohlc, and the broker's live price from get_quote. Each image is heavy: use it for context, not on every message. Charts are updated every minute from the TraderWAI market feed, which can differ slightly from the user's broker (use get_quote for the broker's exact bid/ask). The image is © TraderWAI: do not edit or redraw it, and do not generate chart images yourself. To DRAW levels, zones, trendlines, patterns or a trade setup on the chart for the user, call draw_chart (you decide the marks, TraderWAI draws them on the real candles).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading symbol (e.g. EUR_USD, XAU_USD, BTC_USD). | |
| timeframe | Yes | Chart timeframe: M1, M5, M15, H1, H4, or D. |