com um clique
multi-symbol-scan
// Scan multiple symbols for setups, patterns, or strategy performance. Use when comparing across instruments or screening for opportunities.
// Scan multiple symbols for setups, patterns, or strategy performance. Use when comparing across instruments or screening for opportunities.
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.
Post-trade review — pull losing trades from the strategy tester, screenshot each entry in context, and cluster common failure patterns. Use when the user asks "why am I losing?", "review my losses", or "what's wrong with my strategy?".
Daily morning scan — load saved morning layout, screenshot watchlist symbols, and summarize overnight pre-market state. Use when the user says "good morning", "morning prep", or asks for a pre-open briefing.
Cross-asset reasoning across a multi-pane layout — set a 2x2 grid, assign correlated symbols to each pane, and identify leader/laggard/divergence. Use when the user asks to "compare indices", "watch the complex", or wants correlated-asset reasoning.
Full Pine Script development loop — write code, compile, fix errors, iterate. Use when building a new indicator or strategy in TradingView.
Migrate Pine Script v4 / v5 source to v6 — analyze, apply migration rules, compile-check, iterate until clean. Use when the user hands over an older script or asks to "upgrade to v6" / "port this Pine code".
| name | multi-symbol-scan |
| description | Scan multiple symbols for setups, patterns, or strategy performance. Use when comparing across instruments or screening for opportunities. |
You are scanning multiple symbols for trading setups or comparing performance.
Power-toolkit shortcuts: for systematic scoring across a set of strategy parameters, prefer
strategy_sweepover a hand-rolled loop — it caps combinations, supports resume-from-partial, and uses a short cooldown when only inputs change. Usestate_snapshotto preserve the user's start state before scanning, andwatchlist_getif the user said "scan my watchlist".
Determine:
watchlist_get)Use batch_run with action get_strategy_results:
symbols: ["ES1!", "NQ1!", "YM1!", "RTY1!"]
timeframes: ["15"]
action: "get_strategy_results"
Use batch_run with action screenshot:
symbols: ["AAPL", "MSFT", "GOOGL", "AMZN"]
timeframes: ["D"]
action: "screenshot"
Loop through symbols manually:
chart_set_symbol + chart_set_timeframechart_manage_indicator — add the studydata_get_ohlcv — pull price datadata_get_indicator — read indicator valuesBuild a comparison table:
| Symbol | Key Metric 1 | Key Metric 2 | Signal |
|---|
Sort by the most relevant metric.
Present findings:
To scan the user's watchlist:
watchlist_get — read all symbolswatchlist_add — add new finds to the watchlist