Indicador Pine Script®
Análise Fundamentalista
Silver Risk Management outperformed Buy & HoldThis strategy starts from a very direct idea
Stay long silver by default
step aside when risk starts to build
and step back in when structure and macro conditions calm down
Silver can reward patience, but it also has a habit of violent flushes
That is why this model does not try to predict every move
It only tries to manage exposure when pressure becomes visible
The model uses three layers
1. Silver structure
A slow EMA helps identify broader trend damage
2. Macro pressure
US10Y stress is used as the main macro exit filter
3. Flush protection
Large downside moves and volatility shocks can trigger an exit or delay re entry
The strategy also includes its own Buy and Hold benchmark from the same start date
That keeps the comparison cleaner than relying only on TradingView’s default Buy and Hold line
With the current conservative test settings
Commission: 0.10%
Slippage: 2
Start date: 2021 01 01
Benchmark start: first available daily bar after that date
The backtest currently shows the strategy outperforming its own Buy and Hold benchmark by 147% points
Strategy return: 326%
Own Buy and Hold: 179%
Max equity drawdown: 16%
Profit factor: 3.7
Total trades: 37
The goal is not to prove that silver can be timed perfectly
The goal is to study whether silver’s violent flushes create more room for risk managed exposure than passive holding
This is a backtest and research tool
It is not a buy or sell signal
and it is not financial advice
Estratégia Pine Script®
[3Commas] Gold Vault Long - Indicator Gold Vault Long — Indicator
🔷 What it does:
This indicator visualizes a long-only Dollar-Cost-Averaging signal framework for tokenized gold, mirroring the Gold Vault Long strategy. It marks base order entries continuously, projects the full 3-level safety order ladder at constant 2% intervals, tracks a virtual deal lifecycle on the chart, and exposes webhook-ready alerts for automated execution through an external DCA Bot. No orders are placed by the indicator itself — it is a pure signal and visualization layer.
- Base Order signal: opens immediately when no active deal exists (nonstop reload)
- Safety Order ladder: 3 levels at constant 2% intervals (cumulative −2% / −4% / −6%)
- Exit signal: pure 1.5% take-profit from average entry (no signal gates)
- On-chart virtual P&L tracker: Net Profit, Max Drawdown, Trades, Win Rate, Profit Factor
🔷 Who is it for:
Traders seeking visual exposure to tokenized gold DCA execution.
Bot operators who automate execution through webhook integration with a DCA Bot.
Free-tier TradingView users who want access to the same signal logic as the Strategy version without requiring backtest functionality.
Long-term accumulators who prefer predictable, simple mechanics over complex signal stacks.
🔷 How does it work:
Long Entry Signal: When no virtual deal is active, the indicator marks a Base Order fill on the next confirmed bar with a green "BO" triangle below the bar. The base price, total cost, and quantity are recorded for later P&L calculation.
Short Entry: Not used — long-only signal framework by design.
Exit Management: A take-profit signal fires when price reaches Average Entry × (1 + 1.5%). On exit, the indicator marks the bar with a cyan "TP" diamond, computes the realized P&L as (tpPrice − avgPrice) × totalQty, and resets the virtual deal state. There is no signal-based exit gate — the strategy is intentionally simple and predictable.
🔷 Why it's unique:
Tokenized gold focus — most DCA indicators target crypto-native pairs. This one specifically calibrates for tokenized precious metals like XAUT with conservative 2% SO steps and a tight 1.5% take-profit, matching gold's lower-volatility profile versus crypto.
Simplicity by design — no RSI, no trend filters, no signal stacks. Pure DCA mechanics that are easy to backtest, easy to explain, and easy to monitor. The indicator's behavior is fully deterministic given the price action.
Bot Integration — entry and exit alerts ship with webhook-ready JSON payloads. Bot ID, Email Token, and pair label are exposed as inputs and automatically embedded into the alert message format.
🔷 What you'll see on the chart:
Cyan line — Base Entry price (reference for the SO ladder)
Yellow line — Average Entry price (recalculates as SOs fill)
Lime line — Take Profit target (Average × 1.015)
Red lines (3) — Full SO ladder projected from base at constant 2% intervals; fades to gray as each level fills
Green "BO" triangle (below bar) — New virtual deal opened
Red "SO" triangle (above bar) — Safety order filled at one of the ladder levels
Cyan "TP" diamond (above bar) — Take-profit hit, deal closed
Background tints — Green on BO bar, Red on SO bar, Cyan on TP bar
Stats card (top-left, configurable) — Live virtual results: Net P&L, Max Drawdown, Total Trades, Win Rate, Profit Factor
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for 2-hour chart on tokenized gold instruments (XAUT/USDT and similar precious metals tokens). The defaults align with the Strategy version's reference backtest. Lower timeframes increase trade frequency and commission drag; higher timeframes produce slower-cycling deals with longer holding periods.
Limitations: The indicator does not place orders. It tracks a "virtual deal" state on chart for visualization purposes only — actual execution must be performed through a connected bot or manually. The signal framework carries no stop loss; in drawdowns extending beyond the deepest safety order (−6% from base), the virtual deal holds unrealized loss until either the average is recovered or the alert flow is manually overridden. Gold's historical drawdowns occasionally exceed 6% during macro stress events — combine this strategy with awareness of macro context.
Virtual P&L Accuracy: The on-chart stats card uses a simplified internal accounting model — it does not factor exchange commission or slippage. Realized profit is computed as the raw (tpPrice − avgPrice) × qty at the moment of exit. Use the Strategy version for fee-adjusted backtest results.
Backtesting & Demo Testing: Always validate the signal framework on historical data before connecting to a live bot. The companion Strategy version is available on the same profile for full backtest analysis with realistic commissions and slippage. Demo-trade for at least one month to observe behavior in conditions not represented in historical data. Past performance is not indicative of future results.
Parameter Adjustments: The 2% SO step and 1.5% TP are tuned for gold's typical intraday range. For higher-volatility precious metals tokens, widen both proportionally. SO size and base order volume should be scaled to your account's risk tolerance — the default 12 / 9-USDT structure assumes a small test account.
🔷 Backtest Validation:
This indicator shares identical signal logic with the Strategy version of the same framework, available on this profile for full historical performance review with realistic commission and slippage:
Strategy version:
Reference 3Commas built-in backtest on XAUT/USDT (Bybit Spot, 2h chart), Mar 5 2025 — Mar 5 2026:
PNL: +$19.66 (+29.21%) over 1 year
Performance during different gold market regimes (bear markets, sustained sideways ranges, geopolitical stress periods) may differ significantly. The reference period covers a relatively bullish phase for tokenized gold. Refer to the Strategy publication for the complete Pine-simulated equity curve, trade-by-trade breakdown, and Strategy Tester report with venue-specific commission applied.
🔷 How to Use It:
🔸 Adjust Settings: Configure Base Order and Safety Order volumes proportional to your account size. The default 12 / 9-USDT structure is calibrated for a 500-USDT test account with max position ≈ 40 USDT (8% capital deployment); scale linearly to your equity. The 2% SO step and 1.5% TP should be retuned proportionally if you switch from gold to higher-volatility precious metals tokens.
🔸 Visual Confirmation: Use the on-chart projections (base entry, SO ladder, average entry, TP target) to verify that the active virtual deal aligns with your bot's actual position. The indicator's virtual deal state is a 1-to-1 mirror of the Strategy version's logic (minus commission), so any major divergence between chart visuals and bot position is a flag for investigation.
🔸 Create alerts to trigger the DCA Bot: Two alert events are exposed by the indicator — "Deal Start" fires on each new base order signal, and "Deal Close" fires when the 1.5% take-profit target is hit. Configure both alerts in TradingView with the webhook URL pointing to your DCA Bot's signal endpoint. The Bot ID, Email Token, and Pair label can be set in the script's inputs and are automatically embedded into the alert JSON payload.
🔷 INDICATOR SETTINGS
Base Order Volume (USDT, ref) — Reference notional for the initial entry; used for virtual P&L calculation.
Safety Order Volume (USDT, ref) — Reference notional for the first averaging-down order.
Max Safety Orders — Total number of averaging steps tracked in the virtual deal.
Price Step % (1st SO from base) — Percentage deviation from base price for the first safety order.
Deviation Step Multiplier — Multiplier applied to each successive deviation step (default 1.0 = constant step).
Order Size Multiplier — Size multiplier applied to each successive safety order (default 1.05 = 5% per step).
Take Profit % (from avg entry) — Profit target percentage measured from average entry price.
Limit by Date Range — Constrain virtual backtest to a specific date window.
Initial Capital (ref for % calc) — Reference capital base for percentage metrics in the stats card.
Visual Layer toggles — Show/hide base line, average line, TP line, SO ladder, signal markers.
Stats card / Watermark — Display layer controls for on-chart virtual backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for DCA Bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Indicador Pine Script®
Aquila Reale Macro Dashboard PRO v1.7🦅 AQUILA REALE — MACRO DASHBOARD PRO
"Born to fly, born to dare"
A complete macro overview in a single table, with automatic interpretation of each asset's impact on Gold price and a final ACTIONABLE trade signal that resolves conflicts intelligently between macro tailwinds and price-action reality.
═══════════════════════════════════════════
📊 WHAT IT SHOWS
═══════════════════════════════════════════
For each of 12 macro assets, the dashboard displays:
- Current value (live intraday)
- Daily change %
- Auto-interpreted status (e.g. "VERY STRONG", "HIGH FEAR", "STAGFLATIONARY")
- 🥇 Gold impact (green = pro-Gold, red = anti-Gold, gray = neutral)
═══════════════════════════════════════════
📋 ASSETS COVERED (12 + 2 derived)
═══════════════════════════════════════════
US MACRO:
- DXY (Dollar Index)
- US10Y / US20Y / US30Y (Treasury yields)
- USIRYY (CPI Inflation YoY)
- S5TH (S&P 500 stocks above 200dma — market breadth)
ASIA:
- USDJPY (Yen strength)
- NI225 (Nikkei 225)
- HSI (Hang Seng Index)
SENTIMENT:
- VIX (CBOE Volatility Index — fear gauge)
GLOBAL:
- URTH (iShares MSCI World ETF)
GEOPOLITICAL:
- USDCNH (Offshore Chinese Yuan)
COMMODITIES:
- XAUUSD (Gold spot)
- USOIL (WTI Crude Oil spot)
DERIVED:
- Gold/Oil ratio (with historical valuation reading)
- Macro Scenario (synthesis of WTI level + Gold direction + yields)
═══════════════════════════════════════════
🎯 FINAL SYNTHESIS (3 dedicated rows)
═══════════════════════════════════════════
💬 SCENARIO — One of 6 macro readings:
• STAGFLATIONARY (yield squeeze, no Gold longs)
• GOLD HEDGE ACTIVE (inflation trade pro-Gold)
• RISK-OFF (cautious flight-to-safety)
• REFLATIONARY (broad pro-Gold)
• RISK-ON (anti-Gold)
• MIXED (no clear regime)
💎 MACRO BIAS — Aggregate score (±13) across all assets
🎯 TRADE SIGNAL — Final actionable verdict combining BIAS + SCENARIO:
• 🚀 LONG STRONG / ▲ LONG OK
• ⚠️ LONG CAUTIOUS
• ⏸️ WAIT (yield squeeze / mixed signals)
• 🛑 NO LONG / STAY OUT / SHORT BIAS
═══════════════════════════════════════════
🧠 KEY LOGIC INNOVATION
═══════════════════════════════════════════
Equity indices (NKY/HSI/URTH) only count as pro-Gold when VIX > 22 (true flight-to-safety). This prevents the dashboard from misreading a "bonds beat all" regime as pro-Gold — a common flaw in naive aggregations.
The TRADE SIGNAL row resolves the inevitable conflicts between macro bias (what "should" happen) and price action (what's actually happening), using a priority hierarchy where the SCENARIO has veto power over the BIAS score.
═══════════════════════════════════════════
📺 3 VIEW MODES
═══════════════════════════════════════════
- FULL: complete 19-row dashboard
- MINIMAL: only the 3 synthesis rows (SCENARIO + BIAS + SIGNAL)
- COMPACT: only the TRADE SIGNAL (1-line ticker)
Switch on-the-fly via settings — all modes use the same underlying calculations.
═══════════════════════════════════════════
⚙️ CUSTOMIZATION
═══════════════════════════════════════════
- Dark / Light theme
- 9 anchor positions + signed offsets (H/V)
- 4 text sizes (Tiny / Small / Normal / Large)
- Real-time refresh (lookahead_on for intraday)
═══════════════════════════════════════════
⚠️ IMPORTANT DISCLAIMER
═══════════════════════════════════════════
This indicator is for informational and educational purposes only and does not constitute financial advice. Macro readings are simplified models — always combine with your own analysis, risk management, and price action.
NOT suitable for backtesting strategies due to lookahead_on usage (which is intentional for real-time intraday monitoring).
Past performance does not guarantee future results.
═══════════════════════════════════════════
🦅 Born to fly, born to dare.
Indicador Pine Script®
[3Commas] Gold Vault Long Gold Vault Long
🔷 What it does:
This strategy executes a long-only Dollar-Cost-Averaging approach on tokenized gold, designed for traders who want structured accumulation exposure to precious metals through perpetual or spot tokens like XAUT. It opens base orders continuously when no active deal exists, layers a conservative 3-step safety order ladder at constant 2% intervals during price drawdowns, and exits when the position reaches a 1.5% profit from the average entry. The design philosophy is deliberately simple: no signal-based entries, no RSI exit gates, no stop loss — just clean DCA mechanics tuned for the lower-volatility profile of gold versus crypto-native pairs.
- Base Order entry: nonstop — opens immediately when no active deal exists
- Safety Order ladder: 3 levels at constant 2% intervals (cumulative −2% / −4% / −6% from base)
- Volume scale: 1.05× per SO (9.00 / 9.45 / 9.92 USDT)
- Exit: pure 1.5% take-profit from average entry (no signal gates)
- Spot trading, no leverage, no stop loss
🔷 Who is it for:
Traders seeking structured exposure to tokenized gold and precious metals through DCA logic.
Risk-conservative participants who want low maximum position size relative to capital (≈ 8% in default config).
Bot operators who automate execution through webhook integration with a DCA Bot.
Long-term accumulators who prefer steady, predictable returns over leveraged volatility plays.
🔷 How does it work:
Long Entry: A base order opens whenever no active deal exists and the bar is confirmed within the configured window. There is no signal-based entry filter — the strategy reloads continuously, treating each new deal as a fresh DCA cycle.
Short Entry: Not used — strategy is long-only by design.
Exit Management: The full position closes when price reaches Average Entry × (1 + 1.5%). The strategy carries no stop loss; invalidation is replaced by the depth of the safety order ladder (6% cumulative drawdown coverage). Gold's structurally lower volatility versus crypto pairs means the 1.5% take-profit target is hit relatively frequently during normal range trading, producing a high-frequency low-amplitude P&L profile.
🔷 Why it's unique:
Tokenized gold focus — most DCA strategies target crypto-native pairs with high volatility. This strategy specifically calibrates for the lower-volatility profile of tokenized precious metals like XAUT, with conservative 2% SO steps and a tight 1.5% take-profit. Gold's structurally bullish drift over multi-year horizons combined with intraday liquidity makes it an ideal DCA candidate.
Simplicity by design — no RSI gates, no trend filters, no signal stacks. Pure DCA mechanics. The strategy depends only on price reaching the average × 1.015 to close, which makes its behavior fully predictable and easy to reason about. Easy to backtest, easy to explain, easy to monitor.
Bot Integration — entry and exit alerts ship with webhook-ready JSON payloads, enabling direct trigger of a connected DCA Bot. Bot ID, Email Token, and pair label are exposed as inputs.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for 2-hour chart on tokenized gold instruments. Best suited for XAUT/USDT and similar precious metals tokens with sustained bullish drift and regular intraday range. Lower timeframes generate more trade frequency but also more commission drag; higher timeframes produce slower-cycling deals with longer holding periods. The default 2h aligns with the reference 3Commas backtest.
Limitations: The strategy carries no stop loss. In extreme drawdowns extending beyond the deepest safety order (−6% from base), the position holds unrealized loss until either the average is recovered or the deal is manually closed. Gold's historical drawdowns occasionally exceed 6% during macro stress events — pair this strategy with awareness of gold's macro regime context. Without a regime filter, the strategy will continue opening new deals during downtrends.
Backtesting & Demo Testing: The reference results were generated on a 1-year window covering March 2025 — March 2026 for tokenized gold. Performance during different gold market regimes (bear markets, sustained ranges, geopolitical stress periods) may differ significantly. Always validate on extended history and re-test across different gold rate environments before deploying real capital. Demo-trade for at least one month before live deployment. Past performance is not indicative of future results.
Parameter Adjustments: Commission defaults to 0.1% (Bybit spot taker). Adjust for your venue — Binance Spot ~0.10%, OKX Spot ~0.08%, Kraken Spot ~0.40%. The 2% SO step and 1.5% TP are tuned for gold's typical intraday range; for higher-volatility precious metals tokens, widen both proportionally.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:XAUTUSDT (Tether Gold / Tether spot). Strategy is generic — works on any tokenized precious metal or stable-volatility instrument.
Timeframe: 2h chart (reference; lower TFs increase trade frequency).
Test Period: April 11, 2025 — May 16, 2026 (≈ 13 months).
Initial Capital: 500 USDT.
Order Size per Trade: Base Order 12 USDT, Safety Orders 9.00 / 9.45 / 9.92 USDT (volume coef 1.05). Maximum cumulative position notional ≈ 40.37 USDT per deal — ≈ 8% of capital, very conservative envelope.
Commission: 0.1% taker (Bybit spot reference).
Slippage: 2 ticks — typical taker execution on liquid spot pairs.
Margin for Long and Short Positions: 100% (1× leverage assumed; no margin amplification).
Indicator Settings: Default Configuration.
Base Order Volume: 12 USDT
Safety Order Volume: 9.0 USDT
Max Safety Orders: 3
Price Step (1st SO): 2.0%
Deviation Step Multiplier: 1.0 (constant 2% step)
Order Size Multiplier: 1.05
Take Profit: 1.5% from average entry (pure %-TP)
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +4.66 USDT (+0.93%)
Max Drawdown: 8.64 USDT (1.69%)
Total Closed Trades: 82
Percent Profitable: 80.49% (66 / 82)
Profit Factor: 6.15
Average Trade:
Average # Bars in Trades:
Reference backtest run on BYBIT:XAUTUSDT (Spot, 2h chart), Apr 11 2025 — May 16 2026. The high Profit Factor (6.15) reflects gold's structurally bullish drift during the test window combined with low intraday volatility — the ideal regime for a conservative DCA framework with no stop loss. The 80.49% win rate and 1.69% max drawdown demonstrate the strategy's low-risk profile on tokenized gold. Re-test on your own venue with venue-specific commission before live deployment.
🔷 How to Use It:
🔸 Adjust Settings: Set Base Order and Safety Order volumes proportional to your account size. The default 12 / 9-USDT structure is calibrated for a 500-USDT test account with maximum 8% capital deployment per deal; scale linearly to your equity. The 2% SO step and 1.5% TP are tuned for gold's typical intraday range — widen both for higher-volatility instruments.
🔸 Results Review: Verify Maximum Drawdown stays within your personal risk budget. The strategy is configured for a conservative per-deal risk envelope (max position ≈ 8% of capital), but extended history may shift this profile. Re-test on your own venue using venue-specific commission. The conservative SO ladder (6% cumulative drawdown coverage) means deep gold drawdowns can leave positions underwater for extended periods — plan for this scenario.
🔸 Create alerts to trigger the DCA Bot: Two alert messages are exposed by the strategy — "Deal Start" fires on each new base order, and "Deal Close" fires when the 1.5% take-profit target is hit. Configure both alerts in TradingView with the webhook URL pointing to your DCA Bot's signal endpoint. Once configured, the strategy publishes the signal and the bot handles execution on the exchange autonomously.
🔷 INDICATOR SETTINGS
Base Order Volume (USDT) — Notional value of the initial entry per cycle.
Safety Order Volume (USDT) — Notional value of each averaging-down order (first SO).
Max Safety Orders — Total number of averaging steps available per deal.
Price Step % (1st SO from base) — Percentage deviation from base price for the first safety order.
Deviation Step Multiplier — Multiplier applied to each successive deviation step (default 1.0 = constant step).
Order Size Multiplier — Size multiplier applied to each successive safety order (default 1.05 = 5% per step).
Take Profit % (from avg entry) — Profit target percentage measured from average entry price.
Limit by Date Range — Constrain backtest to a specific date window.
Stats card / Watermark — Display layer controls for on-chart backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for DCA Bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Estratégia Pine Script®
ADAPTIVE MOMENTUM ENGINE v1Adaptive Momentum Engine (AME) is a multi-layer momentum and volatility framework built on RSI dynamics, adaptive statistical levels, and higher-timeframe confirmation.
Unlike traditional RSI systems with fixed thresholds, this indicator dynamically calculates overbought and oversold zones using percentile-based adaptive logic over a rolling lookback window. This allows the system to adjust to changing market conditions instead of relying on static levels.
The engine detects three key market phases:
• Compression Phase – Identifies low volatility RSI contraction zones where momentum is building up before a potential breakout.
• Expansion Phase – Detects directional momentum acceleration confirmed by adaptive mid-level positioning and higher-timeframe RSI bias.
• Exhaustion Phase – Highlights potential weakening moves when RSI reaches adaptive extremes and momentum begins to fade.
Additional features include:
• Higher Timeframe (HTF) RSI confirmation filter
• Automatic divergence detection (price vs RSI)
• Real-time momentum state classification (Compression / Expansion / Neutral)
• Adaptive OB/OS zones based on percentile distribution
• Visual table dashboard for quick market state reading
• Alert conditions for momentum expansion and exhaustion phases
This indicator is designed for traders who want a cleaner, adaptive alternative to traditional RSI strategies and a structured view of momentum cycles across different market regimes.
Indicador Pine Script®
Silent Edge Session Profile / Killzone Map [Market Intelligence]Silent Edge Session Profile / Killzone Map is a clean session-mapping overlay for intraday futures trading.
It highlights key global trading sessions such as:
Asia
London
New York
Late session
The tool shows session ranges, highs, lows, and midpoints to help traders understand where price expands, sweeps liquidity, or reacts during major market windows.
Indicador Pine Script®
Coinbase Bitcoin Premium IndexCoinbase Bitcoin Premium Index — Simple Explanation
What is it? It simply compares the Bitcoin price on Coinbase (a major U.S. exchange) to the average Bitcoin price across the rest of the world. That difference is the "premium."
How is it calculated? Take the Coinbase price, subtract the global price, divide by the global price. That gives you a percentage that tells you how much higher or lower Coinbase is vs the rest of the world.
What does it mean?
When it's positive (above zero), Bitcoin costs more on Coinbase than elsewhere. This usually means Americans are buying aggressively, big institutions are putting money in, and the mood in the U.S. market is optimistic.
When it's negative (below zero), Bitcoin is cheaper on Coinbase than elsewhere. This usually means Americans are selling, investors are nervous, and money is leaving the market.
Why does it matter? Coinbase is the most regulated and institution-friendly exchange in the U.S. So when this index moves, it often tells you what big U.S. investors and institutions are doing, which tends to move the market.
What happened historically?
During the 2020–2021 bull run the premium stayed positive for a long time, which matched companies like Tesla and MicroStrategy buying massive amounts of Bitcoin.
During the 2022–2023 crash it turned negative often, reflecting fear and heavy selling in the U.S.
Since 2024 traders use it to compare whether Americans or Asians are driving the Bitcoin price on any given day.
Bottom line It's a simple but powerful way to see who is buying or selling Bitcoin and where the pressure is coming from.
Why I added the EMA
The raw premium bounces a lot bar to bar, it's noisy. The EMA smooths it so you can see the trend of the premium, not just the momentary spike. For example if the premium is oscillating around zero but the EMA is slowly rising, that tells you U.S. buying pressure is quietly building even if individual bars look messy.
That said, you're right to question it. For this specific indicator, many traders prefer to read it raw because:
The premium itself is already a derived/smoothed concept
Adding an EMA on top can delay signals
The zero line crossovers are more meaningful than EMA crossovers here
What serious analysts actually use with this indicator:
Divergence — price makes a new high but premium is falling = warning sign
Extended positive streaks — premium stays positive for many consecutive bars = strong institutional accumulation phase
Spike + reversal — a sudden extreme spike followed by quick reversal often precedes a price move
Correlation with funding rates — combining this with perpetual futures funding rates gives a much clearer picture of market positioning
Asian vs U.S. session comparison — checking the premium specifically during U.S. market hours vs Asian hours reveals who is driving price
Indicador Pine Script®
SMC Supply Demand Bot [4H + 15m]✔ Multi-Timeframe Trend Scanner
• 1 Day Trend
• 4 Hour Trend
• 1 Hour Trend
• 15 Minute Trend
✔ Institutional Trend Filter
• Uses 200 EMA for major trend direction.
✔ Smart 44 EMA Retest Entry
• Detects pullback rejection entries with trend confirmation.
✔ Volume Confirmation
• Filters weak and fake moves.
✔ Automatic Risk Management
• Dynamic Stop Loss
• TP1 / TP2 / TP3 Targets
• Risk : Reward based calculations
Indicador Pine Script®
[3Commas] Equity Pulse Long - Indicator Equity Pulse Long — Indicator
🔷 What it does:
This indicator visualizes a long-only Dollar-Cost-Averaging signal framework for tokenized equity perpetuals, using an RSI-confirmed exit gate. It marks base order entries continuously, projects the full 8-level safety order ladder, tracks a virtual deal lifecycle on the chart, and exposes webhook-ready alerts for automated execution through an external DCA Bot. No orders are placed by the indicator itself — it is a pure signal and visualization layer.
- Base Order signal: opens immediately when no active deal exists (nonstop reload)
- Safety Order ladder: 8 cumulative levels (step coef 1.22), all equal size
- Exit signal: RSI(14) on 15m crosses above 70 AND profit ≥ 0.6% from average entry
- On-chart virtual P&L tracker: Net Profit, Max Drawdown, Trades, Win Rate, Profit Factor
🔷 Who is it for:
DCA traders applying averaged-entry logic to tokenized equity perpetuals.
Bot operators who automate execution through webhook integration with a DCA Bot.
Free-tier TradingView users who want access to the same signal logic as the Strategy version without requiring backtest functionality.
Discretionary traders who want clear on-chart triggers and ladder projections for manual execution.
🔷 How does it work:
Long Entry Signal: When no virtual deal is active, the indicator marks a Base Order fill on the next confirmed bar with a green "BO" triangle below the bar. The base price, total cost, and quantity are recorded for later P&L calculation.
Short Entry: Not used — long-only signal framework by design.
Exit Management: A take-profit signal fires when two conditions align simultaneously — RSI(14, 15m) crosses above 70 AND the unrealized profit from the average entry reaches the minimum threshold (default 0.6%). The dual gate filters out RSI-triggered exits that would close deep-averaged positions at a loss. On exit, the indicator marks the bar with a cyan "TP" diamond and resets the virtual deal state.
🔷 Why it's unique:
Dual-gate exit logic — neither the RSI signal nor the minimum profit gate acts alone. Closing requires both — the timing trigger AND the economic justification. This ensures every signaled close is both momentum-confirmed and accumulation-corrected.
Tokenized equity focus — calibrated for perpetuals on tokenized stocks (GOOGL, AAPL, NVDA, COIN) where bullish equity drift combines with intraday volatility. The default 8-level cumulative ladder (cumulative −8.88% from base) reflects this volatility regime.
Bot Integration — entry and exit alerts ship with webhook-ready JSON payloads. Bot ID, Email Token, and pair label are exposed as inputs and automatically embedded into the alert message format.
🔷 What you'll see on the chart:
Cyan line — Base Entry price (reference for the SO ladder)
Yellow line — Average Entry price (recalculates as SOs fill)
Lime line — Take Profit target (Average × (1 + minProfit%))
Red lines (8) — Full SO ladder projected from base; fades to gray as each level fills
Green "BO" triangle (below bar) — New virtual deal opened
Red "SO" triangle (above bar) — Safety order filled at one of the ladder levels
Cyan "TP" diamond (above bar) — Dual-gate exit triggered, deal closed
Pink × marker — RSI cross above threshold (only profit-gate condition still pending)
Background tints — Green on BO bar, Red on SO bar, Cyan on TP bar
Stats card (top-left, configurable) — Live virtual results: Net P&L, Max Drawdown, Total Trades, Win Rate, Profit Factor
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for a 15-minute chart on tokenized equity perpetuals with active intraday range. Best suited to instruments with sustained bullish drift and regular pullback structure. Less suited for sustained downtrends or instruments without structural upside bias — tokenized stocks have embedded long-term upward expectation that crypto-native pairs do not always share. Other timeframes will produce different signal density.
Limitations: The indicator does not place orders. It tracks a "virtual deal" state on the chart for visualization purposes only — actual execution must be performed through a connected bot or manually. The signal framework carries no stop loss; in sustained downtrends extending beyond the deepest safety order (−8.88% from base), the virtual deal holds unrealized loss until either the average is recovered or the alert flow is manually overridden. The structural assumption is that the underlying tokenized equity will mean-revert upward over time — if this assumption breaks during equity bear markets, the strategy is materially exposed.
Virtual P&L Accuracy: The on-chart stats card uses a simplified internal accounting model — it does not factor exchange commission or slippage. Realized profit is computed as the raw (close − avgPx) × qty at the moment of exit. Use the Strategy version for fee-adjusted backtest results.
Backtesting & Demo Testing: Always validate the signal framework on historical data before connecting to a live bot. The companion Strategy version of this script is available on the same profile for full backtest analysis with realistic commissions and slippage. Demo-trade for at least one month to observe behavior in conditions not represented in historical data. Past performance is not indicative of future results.
Parameter Adjustments: RSI threshold (70) and the minimum profit gate (0.6%) should be tuned per instrument volatility. Tighter thresholds for lower-volatility tokenized stocks, wider for high-beta tickers. SO step (0.5%) and step coefficient (1.22) define ladder depth — widen the step for instruments with bigger intraday swings.
🔷 Backtest Validation:
This indicator shares identical signal logic with the Strategy version of the same framework, available on this profile for full historical performance review with realistic commission and slippage:
Strategy version:
Reference results from the Strategy version on BITGET:GOOGLUSDT.P, 15m chart, tested period Aug 26 2025 — May 15 2026:
Net Profit: +26.75 USDT (+5.35%) | Max Drawdown: 16.37 USDT (3.11%) | Total Trades: 199 | Win Rate: 84.92% (169 / 199) | Profit Factor: 8.782
The reference window captures a strong bullish phase for Google stock — the structurally ideal regime for the strategy's nonstop reload + RSI-confirmed exit design. The unusually high Profit Factor (8.78) reflects this regime favorability and is not expected to persist through bear markets or extended sideways periods. Refer to the Strategy publication for the complete equity curve, trade-by-trade breakdown, and Strategy Tester report.
🔷 How to Use It:
🔸 Adjust Settings: Configure Base Order and Safety Order volumes proportional to your account size and risk tolerance. The default 13.5 / 9-USDT structure is calibrated for a 500-USDT test account; scale linearly to your equity. RSI threshold can be tightened to 65 for more frequent exits or widened to 75 for fewer, larger captures. SO step should be widened on instruments with higher intraday volatility.
🔸 Visual Confirmation: Use the on-chart projections (base entry, SO ladder, average entry, TP target) to verify that the active virtual deal aligns with your bot's actual position. The indicator's virtual deal state is a 1-to-1 mirror of the Strategy version's signal logic (minus commission), so any divergence between chart visuals and bot position is a flag for investigation. The pink × markers help trace when RSI conditions fire without the profit gate being met yet.
🔸 Create alerts to trigger the DCA Bot: Two alert events are exposed by the indicator — "Deal Start" fires on each new base order signal, and "Deal Close" fires when the dual-gate exit triggers. Configure both alerts in TradingView with the webhook URL pointing to your DCA Bot's signal endpoint. The Bot ID, Email Token, and Pair label can be set in the script's inputs and are automatically embedded into the alert JSON payload.
🔷 INDICATOR SETTINGS
Base Order Volume (USDT, ref) — Reference notional for the initial entry; used for virtual P&L calculation.
Safety Order Volume (USDT, ref) — Reference notional for each averaging-down order.
Max Safety Orders — Total number of averaging steps tracked in the virtual deal.
Price Step % (1st SO from base) — Percentage deviation from base price for the first safety order.
Martingale Step Coefficient — Multiplier applied to each successive deviation step.
Martingale Volume Coefficient — Size multiplier applied to each successive safety order (default 1.0 = all equal).
Require RSI cross-above for close — Toggle the dual-gate exit; off makes it pure %-profit close.
RSI Length / Threshold / Timeframe — Parameters for the exit RSI signal.
Min Profit % (from avg entry) — Minimum unrealized profit threshold required for the exit gate.
Limit by Date Range — Constrain virtual backtest to a specific date window.
Initial Capital (ref for % calc) — Reference capital base for percentage metrics in the stats card.
Visual Layer toggles — Show/hide base line, average line, TP line, SO ladder, signal markers.
Stats card / Watermark — Display layer controls for on-chart virtual backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for DCA Bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Indicador Pine Script®
[3Commas] Equity Pulse Long - DCA on Tokenized Stocks Equity Pulse Long - DCA on Tokenized Stocks
🔷 What it does:
This strategy executes a long-only Dollar-Cost-Averaging approach on tokenized equity perpetuals, using an RSI-based exit gate to capture momentum-confirmed take-profits on overbought rebounds. It opens base orders continuously when no active deal exists, layers a structured safety order ladder during price drawdowns, and exits only when the RSI crosses above the overbought threshold AND the position has accumulated the minimum profit target from the average entry. The architecture is calibrated for tokenized stocks where structural bullish drift combines with intraday volatility — instruments like GOOGLUSDT, AAPLUSDT, NVDAUSDT perpetuals on Bitget.
- Base Order entry: nonstop — opens immediately when no active deal exists
- Safety Order ladder: 8 levels, cumulative deviation from base with step coefficient 1.22, all SOs equal size (volume coefficient 1.0)
- Exit: RSI(14) on 15m crosses above 70 AND profit ≥ 0.6% from average entry (dual-gate close)
- 2× leverage (isolated), no stop loss
🔷 Who is it for:
Traders looking to apply DCA logic to tokenized equity perpetuals rather than crypto-native pairs.
Bot operators who automate execution through webhook integration with a DCA Bot.
Traders seeking exposure to mainstream equities through perpetual contracts during bullish drift periods.
Cross-instrument testers who want a single signal framework portable across multiple tokenized stocks.
🔷 How does it work:
Long Entry: A base order opens whenever no active deal exists and the bar is confirmed within the configured window. There is no signal-based entry filter — the strategy reloads continuously, treating each new deal as a fresh DCA cycle.
Short Entry: Not used — strategy is long-only by design.
Exit Management: The full position closes when two conditions align simultaneously — RSI(14, 15m) crosses above 70 (momentum-confirmed overbought signal) AND unrealized profit from average entry reaches the minimum threshold (default 0.6%). This dual gate prevents premature exits during shallow rebounds and prevents structural exits when profit is not yet above the threshold. The strategy carries no stop loss; invalidation is replaced by the depth of the safety order ladder (cumulative −8.88% from base across 8 levels) plus the underlying bullish drift assumption for tokenized equities.
🔷 Why it's unique:
Dual-gate exit logic — most DCA strategies use either a fixed-percentage TP or a signal-only exit. This combines them: the RSI signal acts as a momentum-confirmed exit trigger, but only fires if the position is also profitable above the minimum threshold. This filters out RSI-triggered exits that would close deep-averaged positions at a loss, ensuring every signaled close is both timing-confirmed and economically rational.
Tokenized equity focus — calibrated for perpetuals on tokenized stocks (GOOGL, AAPL, NVDA, COIN, etc.) where bullish equity drift combines with the intraday volatility of crypto-style perpetual contracts. This is a different volatility regime than native crypto pairs and benefits from different DCA tuning.
Bot Integration — entry and exit alerts ship with webhook-ready JSON payloads. Bot ID, Email Token, and pair label are exposed as inputs and automatically embedded into the alert message format.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for a 15-minute chart on tokenized equity perpetuals with active intraday range. Best suited to instruments with sustained bullish drift and regular pullback structure. Less suited for sustained downtrends or instruments without structural upside bias — tokenized stocks have an embedded long-term upward expectation that crypto-native pairs do not always share. The runtime expectation is 15m; other timeframes will produce different signal density.
Limitations: The strategy carries no stop loss. In sustained downtrends extending beyond the deepest safety order (−8.88% from base), the position holds unrealized loss until either the average is recovered through subsequent bounces or the deal is manually closed. The structural assumption is that the underlying instrument (tokenized equity) will mean-revert upward over time due to its embedded bullish drift. If this assumption breaks (e.g., during sustained equity bear markets), the strategy is materially exposed.
Backtesting & Demo Testing: The reference results were generated on Bitget USDT-M Perpetual Futures for GOOGLUSDT during a strong bullish phase for Google stock (Aug 2025 — May 2026). Performance during different equity market regimes (bearish, rangebound) may differ significantly. Always validate on extended history and re-test across multiple instruments before deploying real capital. Demo-trade for at least one month before live deployment. Past performance is not indicative of future results.
Parameter Adjustments: Commission defaults to 0.06% (Bitget USDT-M taker). Adjust for your venue. Leverage is set to 2× isolated — increase or decrease per your risk tolerance. RSI threshold (70) and the minimum profit gate (0.6%) should be tuned per instrument volatility — tighter thresholds for lower-volatility tokenized stocks, wider for high-beta tickers. SO step (0.5%) and step coefficient (1.22) define ladder depth; widen the step for instruments with bigger intraday swings.
🔷 STRATEGY PROPERTIES
Symbol: BITGET:GOOGLUSDT.P (GOOGLUSDTPERP Perpetual Mix Contract on Bitget). Strategy is generic — works on any tokenized equity perpetual.
Timeframe: 15m chart.
Test Period: Aug 26, 2025 — May 15, 2026 (≈ 9 months).
Initial Capital: 500 USDT.
Order Size per Trade: Base Order 13.5 USDT, Safety Orders 9 USDT each (×8 = 72 USDT). Maximum cumulative position notional ≈ 85.5 USDT per deal. With 2× isolated leverage, margin requirement ≈ 42.75 USDT.
Commission: 0.06% taker (Bitget USDT-M Perpetual reference). Adjust per venue.
Slippage: 2 ticks — typical taker execution on liquid perpetuals.
Margin for Long and Short Positions: 50% (2× isolated leverage).
Indicator Settings: Default Configuration.
Base Order Volume: 13.5 USDT
Safety Order Volume: 9.0 USDT
Max Safety Orders: 8
Price Step (1st SO): 0.5%
Step Coefficient: 1.22
Volume Coefficient: 1.0
RSI Length: 14
RSI Threshold: 70
RSI Timeframe: 15m
Min Profit: 0.6% from average entry
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +33.57 USDT (+6.71%)
Max Drawdown: 16.37 USDT (3.11%)
Total Closed Trades: 243
Percent Profitable: 86.42% (210 / 243)
Profit Factor: 10.54
Average Trade:
Average # Bars in Trades:
Reference backtest run on BITGET:GOOGLUSDT.P on 15m base chart, Aug 26 2025 — May 15 2026. This window captures a strong bullish phase for Google stock — the structurally ideal regime for the strategy's nonstop reload + RSI-confirmed exit design. The unusually high Profit Factor (8.78) reflects this regime favorability and is not expected to persist through bear markets or extended sideways periods. Re-test on your own venue and across different equity regimes before live deployment.
🔷 How to Use It:
🔸 Adjust Settings: Set Base Order and Safety Order volumes proportional to your account size and risk tolerance. The default 13.5 / 9-USDT structure is calibrated for a 500-USDT test account with 2× leverage; scale linearly to your equity. RSI threshold can be tightened to 65 for more frequent exits or widened to 75 for fewer, larger captures. The SO step should be widened on instruments with higher intraday volatility.
🔸 Results Review: Verify Maximum Drawdown stays within your personal risk budget. The strategy is configured for a conservative per-deal risk envelope (max position 85.5 USDT, DD 3.11% on the tested period), but extended history may shift this profile. Re-test on your own venue using venue-specific commission and slippage. The strategy's high Profit Factor on the tested window is regime-dependent — performance during bearish equity periods has not been validated. Demo-trade for at least one month before any live deployment.
🔸 Create alerts to trigger the DCA Bot: Two alert messages are exposed by the strategy — "Deal Start" fires on each new base order, and "Deal Close" fires when the dual-gate exit triggers. Configure both alerts in TradingView with the webhook URL pointing to your DCA Bot's signal endpoint. Once configured, the strategy publishes the signal and the bot handles execution on the exchange autonomously.
🔷 INDICATOR SETTINGS
Base Order Volume (USDT) — Notional value of the initial entry per cycle.
Safety Order Volume (USDT) — Notional value of each averaging-down order; all SOs equal size by default.
Max Safety Orders — Total number of averaging steps available per deal.
Price Step % (1st SO from base) — Percentage deviation from base price for the first safety order.
Martingale Step Coefficient — Multiplier applied to each successive deviation step.
Martingale Volume Coefficient — Size multiplier applied to each successive safety order (default 1.0 = all equal).
Require RSI cross-above for close — Toggle the dual-gate exit; off makes it pure %-profit close.
RSI Length / Threshold / Timeframe — Parameters for the exit RSI signal.
Min Profit % (from avg entry) — Minimum unrealized profit threshold required for the exit gate.
Limit by Date Range — Constrain backtest to a specific date window.
Stats card / Watermark — Display layer controls for on-chart backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for DCA Bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Estratégia Pine Script®
Elaris FVG Inversion ProElaris FVG Inversion Pro
Advanced Fair Value Gap & Inversion Mapping System
Elaris FVG Inversion Pro is a professional-grade market structure and imbalance visualization tool designed to help traders identify fair value gaps (FVGs), inversion fair value gaps (IFVGs), and potential reaction zones directly on the chart.
The indicator focuses on price inefficiencies created by aggressive directional movement and highlights areas where price may revisit, react, continue, or reverse.
Instead of displaying excessive noise, the system uses smart filtering logic, mitigation tracking, and optional trend confirmation to provide a cleaner and more structured view of market imbalance behavior.
━━━━━━━━━━━━━━━━━━
Core Features
━━━━━━━━━━━━━━━━━━
• Bullish & Bearish Fair Value Gap Detection
Automatically identifies three-candle imbalance structures in real time.
• Inversion Fair Value Gaps (IFVG)
Detects when previously established imbalance zones transition into potential reversal zones after invalidation.
• Non-Repainting Confirmed Detection
Signals and zones can be confirmed only after candle close to maintain stable historical plotting.
• Smart Gap Filtering
Optional ATR, volume, and EMA trend filters help reduce low-quality or insignificant zones.
• Dynamic Zone Management
Zones automatically extend forward and can be configured to expire or hide after mitigation.
• Mitigation Tracking
Supports multiple mitigation models including:
* Proximal
* Midpoint (50%)
* Distal
• Quality Scoring System
Each zone is evaluated using volatility and structure-based conditions to help prioritize stronger imbalances.
• Dark & Light Mode Compatible
Designed for clean visibility across different TradingView chart themes.
• Professional Dashboard
Displays active bullish, bearish, and inversion zones along with trend-state information.
━━━━━━━━━━━━━━━━━━
How It Works
━━━━━━━━━━━━━━━━━━
Bullish FVG:
Forms when price leaves an upside imbalance between candles, potentially creating a future demand area.
Bearish FVG:
Forms when price leaves a downside imbalance, potentially acting as future supply.
IFVG:
Occurs when price invalidates an existing FVG and the zone transitions into a potential reversal area.
The indicator can be used for:
* Trend continuation setups
* Pullback entries
* Liquidity-based reactions
* Market structure analysis
* Confluence with support/resistance or liquidity concepts
━━━━━━━━━━━━━━━━━━
Best Practices
━━━━━━━━━━━━━━━━━━
Higher timeframe FVGs generally produce stronger reactions than lower timeframe gaps.
Using the optional EMA and volume filters may help improve signal quality during volatile or choppy market conditions.
For confirmation-based trading approaches, combine FVG reactions with structure breaks, momentum shifts, or liquidity sweeps.
━━━━━━━━━━━━━━━━━━
Notes
━━━━━━━━━━━━━━━━━━
This indicator is intended for technical analysis and educational purposes.
No indicator guarantees future performance, and traders should always apply proper risk management and independent confirmation before making trading decisions.
Indicador Pine Script®
Performance Mobile V.Mobile version compact performance table. Can be put on either chart side/height. Custom text size. Also usefull for normal screens (additional decimals displays). Add rows/colums as you wish. Enjoy.
And thank Claude for helping me as always. This is AI !
Indicador Pine Script®
Simple Note DisplayDisplays a simple on-screen note directly on the TradingView chart for reminders, trade plans, or important market information..
You can edit your own information in the script.
Indicador Pine Script®
Indicador Pine Script®
IC Pro [Gaps MTF + Sesiones + SMA]
The Rookie Profitable Trader is an advanced indicator designed to comprehensively analyze the market and simplify decision-making:
* Normal Gaps: Detects bullish and bearish price gaps, displaying visual boxes and labels.
* FVG (Fair Value Gaps): Identifies inverse gaps to pinpoint potential price fill zones.
* Liquidation Levels: Marks significant recent highs and lows with lines and labels.
* Market Sessions: Visualizes the New York, London, and Asian trading sessions, including their respective highs and lows.
* Trend Reversal: Signals potential and confirmed trend reversals based on pivot highs and lows.
* SMA + Signals: A configurable SMA featuring dynamic colors and crossover alerts (BUY/SELL).
* Status Table: A visual summary of the SMA's condition, price vs. SMA status, open sessions, and active gaps/FVGs.
Key Features:
* Multi-Timeframe (Configurable timeframe for Gaps and FVGs).
* Customizable colors and styles for each module.
* Integrated visual and audio alerts for trend reversals and SMA crossovers.
* Compatible with Pine Script v5 and all TradingView charts.
Objective:
To provide both rookie and advanced traders with a complete visual roadmap of the market, enabling them to quickly and easily identify key zones, trends, and trading opportunities.
Indicador Pine Script®
Gemini Quant OS - Macro Rotation Dashboard Overview
Gemini Quant OS — Macro Rotation is a macro market monitoring framework designed to help traders observe broad market conditions, capital rotation behavior, and intermarket relationships.
This script is part of the broader Gemini Quant OS ecosystem.
---
Core Concepts
The framework focuses on macro-level market behavior rather than individual trade signals.
The model monitors:
capital rotation
trend structure
volatility conditions
risk sentiment
intermarket relationships
macro directional bias
The dashboard is designed to provide a broader overview of market conditions across different asset classes.
---
Features
Macro market dashboard
Capital rotation monitoring
Risk sentiment framework
Multi-asset observation
Trend condition analysis
Intermarket structure monitoring
---
Best Use Cases
Best suited for:
macro analysis
portfolio observation
intermarket monitoring
directional bias analysis
higher timeframe market structure review
---
Notes
This script is designed for educational and analytical purposes only.
Not financial advice.
Indicador Pine Script®
ATH LevelsATH Levels
All-time high distance tracker with dynamic tolerance zones, trend leg measurement, and precision alerts for SPY pullback and correction entries.
---
What it does:
ATH Levels automatically tracks the all-time high price and plots key percentage retracement levels below it. Each level represents a statistically significant support zone where SPY has historically shown mean reversion behavior — making them ideal reference points for swing and long term entry planning.
Key levels:
- ATH — current all-time high with days elapsed counter
- -3% / -4% — shallow pullback zones, first reaction levels
- -5% — standard pullback threshold, high probability bounce zone
- -10% — correction territory entry zone
- -15% / -20% — deep correction zones, high conviction long term entries
- -25% — bear market territory (disabled by default)
Dynamic tolerance zones:
Only the two nearest levels to current price show active tolerance bands — keeping the chart clean while highlighting exactly where price is most likely to react. Tolerance is tighter near ATH (-3%/-4% = 0.20%) and wider at deeper levels (0.30%).
Now label:
A floating label at current price shows exact distance from ATH in real time — instantly telling you where you stand in the pullback structure.
Trend Leg %:
Measures the current price move from the last weekly pivot low (when near ATH) or pivot high (when in correction). Displayed directly on the ATH label — showing how extended the current leg is and whether a continuation or reversal is more likely.
---
Key features:
- Analysis mode — reveals all colored level lines and tolerance boxes simultaneously for detailed review
- Anti-spam pivot engine — alerts fire once per confirmed pivot leg
- Individual and master alert system for every level
- Fully customizable colors, widths, and tolerances per level
---
Alert types (per level):
- Near — price approaching within tolerance zone
- Touch — price has intersected the level
- Over — price has broken above tolerance zone after a touch
- Under — price has broken below tolerance zone after a touch
---
How to use:
- On Daily chart — use levels for swing and long term entry planning with pyramiding
- On 1H chart — combine with Bias indicator verdicts for higher conviction entries
- Now label gives instant ATH distance context at a glance
- Trend Leg % on ATH label helps identify overextended moves before reversals
Indicador Pine Script®
SANTOSH SMART MTF BREAKOUT BOTUniversal Crypto MTF Dashboard ek advanced multi-timeframe trend indicator hai jo scalping, intraday aur swing trading ke liye design kiya gaya hai.
Ye indicator EMA, RSI aur trend confirmation ka combination use karta hai jisse trader ko clear BUY / SELL direction mil sake.
Indicador Pine Script®
IDX ELITE SCANNER V2Tujuan Utama Script
Script ini dibuat untuk:
- Memantau banyak saham sekaligus
- Menampilkan dashboard sinyal BUY / SELL
- Menemukan saham yang sedang breakout dengan volume besar
- Memberi alert otomatis
mencari sinyal BUY/SELL dari 30 saham Indonesia berdasarkan kombinasi :
- EMA trend
- RSI
- Volume spike
- Breakout
- ATR volatility filter
Indicador Pine Script®
USDT Index Overlay DQTThêm một index nữa cho tiện theo dõi nhé mọi người. Bật qua lại biểu đồ rất phiền.
Indicador Pine Script®
[3Commas] Static Geometric Grid - Indicator Static Geometric Grid — APE — Indicator
🔷 What it does:
This indicator visualizes a static geometric grid trading system for range-bound altcoins. It pre-computes 64 price levels between a configurable High and Low boundary using geometric spacing (≈ 0.61% step), tracks a virtual deal lifecycle as price crosses through levels, and displays a live on-chart stats card with virtual P&L, drawdown, fill count, win rate, and profit factor. Unlike adaptive grid variants with trailing logic, this version stays locked to the original range — no auto-shift up or down. Webhook-ready alerts are exposed for integration with an external grid bot. No orders are placed by the indicator itself — it is a pure signal and visualization layer.
64 geometrically-spaced levels rendered as horizontal lines on chart
Buy / Sell event labels on every close-cross through a grid level
Static range — grid does NOT shift on price breakout (trailing disabled by default)
Virtual P&L tracker matching the Strategy version's accounting
Stats card displaying Grid Fills, Win Rate, Profit Factor live on chart
🔷 Who is it for:
Range-bound market specialists who identify ranging altcoins and want a visual grid overlay.
Bot operators who automate grid execution through webhook integration with a connected bot.
Free-tier TradingView users who want access to the same grid logic as the Strategy version without requiring backtest functionality.
Traders who prefer predictable risk envelopes — the static range defines exact worst-case accumulation visually.
🔷 How does it work:
Long Entry Signal: When close crosses down through an unfilled grid level, the indicator marks a Buy fill at that level with a small label on chart. The level becomes "filled" in the virtual deal state, recording the buy price and quantity for later P&L calculation.
Short Entry: Not used — long-only grid visualizer.
Exit Management: For each filled level, when close crosses up through the next level above, the indicator marks a Sell fill at that target. The virtual P&L for that grid round-trip is computed as (sellLvl − buyLvl) × qty and added to the running stats. The level is reopened for another buy.
Static range — by default the grid does NOT shift when price exits the boundary. The Trailing Up toggle is provided in inputs for users who want to switch to adaptive mode, but the default static behavior produces a predictable risk envelope: if price breaks above High the grid idles; if it breaks below Low all 64 levels fill and accumulate unrealized loss until reversal.
🔷 Why it's unique:
Pure static range visualization — most grid indicators include trailing logic that compromises the original risk envelope. This variant stays locked to the configured range by default, giving traders a clear visual of the exact worst-case scenario. The trailing toggle is available as an opt-in if needed.
Live virtual P&L stats — runs a complete virtual deal accounting layer that tracks every Buy / Sell pairing and computes realized P&L in real time. The stats card matches the Strategy version's metrics closely (modulo commission, which is not factored in the indicator).
Bot Integration — entry alerts ship with webhook-ready JSON payloads. The grid_start alert fires on first activation; Bot ID, Email Token, and pair label are exposed as inputs.
🔷 What you'll see on the chart:
Red line (top) — Grid High boundary
Green line (bottom) — Grid Low boundary
Aqua lines (middle) — All 62 intermediate grid levels
Aqua "Buy L_X" label — Close crossed down through level X, virtual buy placed
Fuchsia "Sell L_X +N.NNNN" label — Close crossed up through level X+1, virtual sell with realized P&L
Stats card (top-left, configurable) — Live virtual results: Net P&L, Max Drawdown, Grid Fills, Win Rate, Profit Factor
Orange warning label — Appears if chart is on a timeframe other than the recommended 15m
Watermark (top-right, configurable) — Optional brand text overlay for screenshots
🔷 Considerations Before Using the Indicator:
Market & Timeframe: This indicator is highly timeframe-sensitive and is calibrated for a 15-minute chart. Fill density and overall virtual P&L depend directly on how often close crosses grid levels. Higher timeframes (1h+) will show far fewer fills; lower timeframes (1m, 5m) increase fills but slow chart performance. The runtime warning label flags any TF other than 15m.
Limitations: The indicator does not place orders. It tracks a "virtual deal" state on chart for visualization purposes only — actual execution must be done through a connected bot or manually. The static range design means the indicator is structurally exposed to two failure modes if price exits the configured boundary:
(1) Price breaks above High — virtual grid idles, no new fills until reversal
(2) Price breaks below Low — all 64 levels fill, unrealized loss accumulates until average is recovered
This is the trade-off of a pure static grid: predictable risk envelope, but no adaptive protection against trend breakouts.
Virtual P&L Accuracy: The on-chart stats card uses a simplified internal accounting model — it does not factor exchange commission or slippage. Realized profit is computed as the raw (sellLvl − buyLvl) × qty. Use the Strategy version for fee-adjusted backtest results.
Backtesting & Demo Testing: Always validate the grid range and step size on historical data for the specific instrument. The companion Strategy version of this script is available on the same profile for full backtest analysis with realistic commissions and slippage. Demo-trade for at least one month before any live deployment. Past performance is not indicative of future results.
Parameter Adjustments: Grid range (High/Low) and level count should be re-tuned per instrument volatility. Wider ranges and more levels for highly volatile assets; tighter setups for stable ranges. The Trailing Up toggle is provided for users who want to convert this into an adaptive grid — enable to make grid follow trends upward.
🔷 Backtest Validation:
This indicator shares identical grid logic with the Strategy version of the same framework, available on this profile for full historical performance review with realistic commission and slippage:
Strategy version:
Reference results from the Strategy version on OKX:APEUSDT (Spot), 15m chart, tested period Jan 12 — May 14, 2026:
Net Profit: +365.72 USDT (+18.29%) | Max Drawdown: 540.57 USDT (26.04%) | Total Trades: 1,026 | Win Rate: 55.26% (567 / 1,026) | Profit Factor: 1.952
The reference period included a sustained drawdown phase in Feb–Mar 2026 where APE traded near the Grid Low boundary, producing the 26% max drawdown reading. The strong recovery starting late April 2026 produced most of the realized P&L through aggressive grid unwinding. This is the representative profile of a static range grid — strong recovery returns possible but only after enduring full grid accumulation drawdowns. Refer to the Strategy publication for the complete equity curve and trade-by-trade breakdown.
🔷 How to Use It:
🔸 Adjust Settings: Set the grid High and Low boundaries based on the instrument's observed range over the past 1–3 months. The default 0.10591–0.15466 range is calibrated for ApeCoin's recent volatility envelope. The amount per level should be sized so that filling the entire ladder (all 64 levels) does not exceed your risk budget. Always confirm you are on a 15-minute chart.
🔸 Visual Confirmation: Use the on-chart grid lines and Buy/Sell labels to verify that the active virtual deal aligns with your bot's actual position. The indicator's virtual deal state is a 1-to-1 mirror of the Strategy version's grid logic (minus commission), so any major divergence between chart visuals and bot position is a flag for investigation. Pay particular attention to the Max Drawdown value in the stats card — for a static grid this can grow quickly when price breaks the Low boundary.
🔸 Create alerts to trigger the connected bot: The indicator exposes a "grid_start" alert that fires once when the first bar enters the configured backtest window. Configure the alert in TradingView with the webhook URL pointing to your bot's signal endpoint. The Bot ID, Email Token, and Pair label can be set in the script's inputs. Note that grid bots are typically configured directly within the bot interface, so this alert is primarily informational for monitoring purposes.
🔷 INDICATOR SETTINGS
Grid High Price — Upper boundary of the grid range.
Grid Low Price — Lower boundary of the grid range.
Grid Levels — Total number of price levels between Low and High (default 64).
Grid Mode — Distribution of levels: Geometric (constant % spacing) or Arithmetic (constant absolute spacing).
Amount per Level (USDT, ref) — Reference notional for virtual P&L calculation.
Trailing Up — Disabled by default; enable to make grid shift on breakout (turns this into adaptive grid behavior).
Trail Up Threshold % — Percentage above High at which trailing-up triggers (only used if Trailing Up enabled).
Shift Up Magnitude % — How much of the current range to shift when trailing-up fires (only used if Trailing Up enabled).
Limit by Date Range — Constrain virtual backtest to a specific date window.
Initial Capital (ref for % calc) — Reference capital base for percentage metrics in the stats card.
Show grid lines on chart — Toggle visual display of all level lines.
Show fill labels on chart — Toggle Buy / Sell event labels.
Recommended TF (for warning) — Timeframe baseline for the runtime mismatch warning (default 15m).
Stats card / Watermark — Display layer controls for on-chart virtual backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for connected bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Indicador Pine Script®
[3Commas] Static Geometric Grid Static Geometric Grid
🔷 What it does:
This strategy implements a static geometric grid trading system, designed for instruments expected to oscillate within a defined range. It pre-computes 64 price levels between a configurable High and Low boundary using geometric spacing (≈ 0.61% step), buys at each level on close-cross-down, and sells at the next level up on close-cross-up. Unlike adaptive grid variants with trailing logic, this version stays locked to the original range — no auto-shift up or down. Profit comes from capturing the spread between adjacent grid lines on every oscillation; losses occur when price exits the range and filled levels remain underwater until reversal.
- 64 geometrically-spaced levels between Low (0.10591) and High (0.15466)
- Buy on close-cross-down through an unfilled level; sell on close-cross-up through the next level
- Fixed notional per level (24.15 USDT default), all fills equally sized
- No trailing up — grid stays locked to the configured range
- No stop loss — positions held until matching sell level is hit
🔷 Who is it for:
Range-bound market specialists who identify ranging instruments and want to monetize the oscillations.
Bot operators who automate grid execution through webhook integration with a connected bot.
Traders who prefer predictable risk envelopes — the static range defines exact worst-case accumulation.
Spot traders with a strong directional view that the instrument will remain inside the configured boundaries.
🔷 How does it work:
Long Entry: When close crosses down through an unfilled grid level, the strategy opens a long position sized to the per-level notional amount. Each level is independent — multiple buys can stack across the ladder simultaneously, creating the grid accumulation effect during downtrends.
Short Entry: Not used — this is a long-only spot grid.
Exit Management: For each filled level, the strategy places a limit exit at the next level up. When close crosses up through that target, the position closes and the level becomes available to buy again. No stop loss is used; the grid's Low boundary defines the structural worst-case accumulation point.
Static range — the grid does NOT shift when price exits the boundary. If price breaks above High, the strategy stops opening new buys until price returns. If price breaks below Low, all 64 levels are filled and the position holds unrealized loss until either the average is recovered or the user closes manually.
🔷 Why it's unique:
Pure static range — most grid implementations include trailing-up to follow trends, which compromises the original risk envelope. This variant stays locked to the configured range, which gives a predictable worst-case scenario: maximum unrealized loss is bounded by (Current Price − Grid Low) × Total Position. Traders know exactly what they are signing up for.
Geometric distribution — constant percentage step across the entire range (≈ 0.61% per step in default config) rather than constant absolute spacing. This is structurally fairer when the instrument is far from zero and is the same model used by professional grid bots.
Bot Integration — entry and exit alerts ship with webhook-ready JSON payloads. The grid_start alert fires on first activation. Bot ID, Email Token, and pair label are exposed as inputs.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: This strategy is highly timeframe-sensitive and is calibrated for a 15-minute chart. Fill density depends directly on how often close crosses grid levels. Higher timeframes (1h+) produce far fewer fills; lower timeframes (1m, 5m) generate more fills but slow backtests. The runtime warning label flags any TF other than 15m.
Limitations: No stop loss and no trailing range adjustment. The strategy is structurally exposed to two failure modes:
(1) Price breaks above High — strategy idles, no new fills until reversal back into range
(2) Price breaks below Low — all 64 levels fill, unrealized loss accumulates until average is recovered or position is manually closed
This is the trade-off of a pure static grid: predictable risk envelope, but no adaptive protection against trend breakouts. Pair this strategy with manual range validation and an exit plan before deploying capital.
Backtesting & Demo Testing: Always validate the grid range and step size on historical data for the specific instrument. Each pair has a different volatility profile, and the optimal grid parameters vary accordingly. Re-test on your own venue using venue-specific commission and slippage. Demo-trade for at least one month before any live deployment. Past performance is not indicative of future results.
Parameter Adjustments: Commission defaults to 0.10% (Bybit spot taker). Adjust for your venue — OKX Spot ~0.08%, Binance Spot ~0.10%, Coinbase Advanced ~0.50%. Slippage of 2 ticks is conservative for liquid pairs — increase for thin order books. Grid range and level count should be re-tuned per instrument volatility; wider ranges and more levels for higher-volatility assets.
🔷 STRATEGY PROPERTIES
Symbol: OKX:APEUSDT (ApeCoin/USDT Spot). The strategy is generic and runs on any spot pair — APE is the reference instrument.
Timeframe: 15m chart (mandatory — strategy is calibrated for this TF).
Test Period: Jan 12, 2026 — May 14, 2026 (≈ 4 months).
Initial Capital: 2,000 USDT.
Order Size per Trade: 24.15 USDT per grid level. Total investment envelope ≈ 1,545.84 USDT (64 levels × 24.15). Maximum simultaneous position count: 64 levels.
Commission: 0.10% taker — Bybit spot reference; adjust for OKX (~0.08%) or your venue.
Slippage: 2 ticks — typical taker execution on liquid spot pairs.
Margin for Long and Short Positions: 100% (1× leverage assumed; no margin amplification).
Indicator Settings: Default Configuration.
Grid Mode: Geometric
High Price: 0.15466
Low Price: 0.10591
Levels: 64
Amount per Level: 24.15 USDT
Trailing Up: disabled
Step (computed): 0.61%
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +365.72 USDT (+18.29%)
Max Drawdown: 540.57 USDT (26.04%)
Total Closed Trades: 1,026
Percent Profitable: 55.26% (567 / 1,026)
Profit Factor: 1.952
Average Trade:
Average # Bars in Trades:
Reference backtest run on OKX:APEUSDT on 15m base chart, Jan 12 — May 14, 2026. The period included a sustained drawdown phase in Feb–Mar 2026 where APE traded near the Grid Low boundary, producing the 26% max drawdown reading. The strong recovery starting late April 2026 produced most of the realized P&L through aggressive grid unwinding. This is a representative profile for a static range grid: strong recovery returns are possible but only after enduring full grid accumulation drawdowns.
🔷 How to Use It:
🔸 Adjust Settings: Set the grid High and Low boundaries based on the instrument's observed range over the past 1–3 months. Use 50–80 levels for high-volatility altcoins, 30–50 for major pairs. The amount per level should be sized so that filling the entire ladder (all 64 levels) does not exceed your risk budget. The default 24.15-USDT structure is calibrated for a 2,000-USDT account; scale linearly to your equity. Always confirm you are on a 15-minute chart.
🔸 Results Review: Verify Maximum Drawdown stays within your personal risk budget. This static grid showed a 26% drawdown on the tested period, which is well above the typical 10% threshold many traders target. The trade-off is a strong absolute return of +18.29% over 4 months — the question is whether the recovery profile fits your psychological and capital risk tolerance. Calculate the full-grid-filled scenario before going live: if all 64 levels fill at the Low boundary and price drops another 10% below, what is the unrealized loss? That is your hard floor.
🔸 Create alerts to trigger the connected bot: The strategy exposes a "grid_start" alert that fires once when the first bar enters the configured backtest window. Configure the alert in TradingView with the webhook URL pointing to your bot's signal endpoint. The Bot ID, Email Token, and Pair label can be set in the script's inputs. Note that grid bots are typically configured directly within the bot interface, so this alert is primarily informational for monitoring purposes.
🔷 INDICATOR SETTINGS
Grid High Price — Upper boundary of the grid range.
Grid Low Price — Lower boundary of the grid range.
Grid Levels — Total number of price levels between Low and High (default 64).
Grid Mode — Distribution of levels: Geometric (constant % spacing) or Arithmetic (constant absolute spacing).
Amount per Level (USDT) — Notional value of each buy fill.
Total Investment (USDT, ref) — Reference total capital deployed across all levels (informational).
Trailing Up — Disabled by default; enable to make grid shift up on breakout (turns this into the adaptive Geometric Grid Machine variant).
Trail Up Threshold % — Percentage above High at which trailing-up triggers (only used if Trailing Up enabled).
Shift Up Magnitude % — How much of the current range to shift when trailing-up fires (only used if Trailing Up enabled).
Limit by Date Range — Constrain backtest to a specific date window.
Show grid lines on chart — Toggle visual display of all level lines.
Recommended TF (for warning) — Timeframe baseline for the runtime mismatch warning (default 15m).
Stats card / Watermark — Display layer controls for on-chart backtest summary and branding.
Webhook — Bot ID, Email Token, and Pair label for connected bot signal routing.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Estratégia Pine Script®






















