con un clic
chart-analysis
// Analyze a chart — set up symbol/timeframe, add indicators, scroll to key dates, annotate, and screenshot. Use when the user wants technical analysis or chart review.
// Analyze a chart — set up symbol/timeframe, add indicators, scroll to key dates, annotate, and screenshot. Use when the user wants technical analysis or chart review.
| name | chart-analysis |
| description | Analyze a chart — set up symbol/timeframe, add indicators, scroll to key dates, annotate, and screenshot. Use when the user wants technical analysis or chart review. |
You are performing technical analysis on a TradingView chart.
chart_set_symbol — switch to the requested symbolchart_set_timeframe — set the appropriate timeframeUse chart_manage_indicator to add studies. Common names (must use FULL names):
After adding, use indicator_set_inputs to customize settings (e.g., change EMA length to 200).
chart_scroll_to_date — jump to a specific date of interestchart_set_visible_range — zoom to a specific date windowchart_get_visible_range — check what's currently visibleUse drawing tools to mark up the chart:
draw_shape with horizontal_line for support/resistancedraw_shape with trend_line for trend channels (needs two points)draw_shape with text for annotationscapture_screenshot — screenshot the annotated chartdata_get_ohlcv — pull recent price data for quantitative analysisquote_get — get the current real-time pricesymbol_info — get symbol metadata (exchange, type, session)Provide the analysis:
If you added indicators the user didn't ask for, remove them:
chart_manage_indicator with action "remove" and the entity_iddraw_clear to remove all drawings if they were temporaryScan multiple symbols for setups, patterns, or strategy performance. Use when comparing across instruments or screening for opportunities.
Full Pine Script development loop — write code, compile, fix errors, iterate. Use when building a new indicator or strategy in TradingView.
Practice trading in TradingView replay mode — step through historical bars, take trades, track P&L. Use when the user wants to practice or backtest manually.
Generate a comprehensive strategy performance report — metrics, trade analysis, equity curve, and recommendations. Use after backtesting a Pine Script strategy.