Affirmify AI — Entry PrecisionAffirmify AI — Entry Precision is a multi-factor directional model with entry-quality filter and ATR-based SL/TP, synced with the Affirmify core engine.
What is Affirmify AI — Entry Precision?
Affirmify AI — Entry Precision is the TradingView front-end of the Affirmify core model.
It combines:
multi-timeframe trend filters
momentum & volatility conditions
an entry-quality check (candle body vs ATR)
ATR-based SL/TP engine
The script is designed to mirror the logic of the Affirmify Python backend used on AffirmifyHub.com.
Core idea
1.Score (core direction):
Built from ADX, EMA trend, RSI zone, MACD histogram, DI+/DI- and ATR volatility penalty.
Score ≥ +2 → BUY bias
Score ≤ −2 → SELL bias
Between −1 and +1 → no clear direction.
2.Higher-timeframe (MTF) confirmation:
Same style of scoring on a higher TF (default 4H).
If MTF direction conflicts with the main timeframe, the script will show “MTF conflict / NO TRADE” and block signals.
3.Entry quality filter:
Checks if the candle body is large enough vs ATR (Min body size (x ATR)).
Output:
CONFIRMED – direction + volatility + body are aligned
WAIT FOR BETTER ENTRY – direction ok, but body is too small
NO QUALITY ENTRY – conditions are not met.
4.ATR-based SL/TP engine:
Internal engine (uses ATR × multiplier or minimal tick distance).
Values are shown on the panel only (no lines drawn on chart), so the chart stays clean.
Panel overview
The panel in the top-right shows:
Action – BUY / SELL / NO TRADE
Status – CONFIRMED / WAIT FOR BETTER ENTRY / NO SIGNAL / MTF conflict
Entry – last confirmed entry price
SL / TP – suggested ATR-based stop-loss and take-profit
Higher TF – higher timeframe filter state (ON/OFF and TF used)
Score – core multi-factor score on the current timeframe
Vol – “Normal volatility” or “Low volatility (ATR penalized)”
Inputs – quick guide
Trend & Filters
EMA Fast / Mid / Slow – EMAs used for trend & bias detection
ADX Length – period for ADX (trend strength)
RSI Length – period for RSI zone filter
ATR Length – ATR used for volatility & body/SL/TP logic
Low ATR threshold (% of price) – defines when the market is considered “low volatility”.
Higher timeframe confirmation
Use higher timeframe filter – enable / disable MTF confirmation
Higher TF – e.g. 240 (4H), 60 (1H), etc.
Entry Precision
Min body size (x ATR) – minimum body vs ATR required for a CONFIRMED entry.
SL / TP
Min SL = ATR x – minimal ATR distance for SL
Min TP = ATR x – minimal ATR distance for TP
Min SL in ticks / Min TP in ticks – hard floor, based on instrument tick size.
Visuals
Show info panel – show / hide the top-right dashboard
Show status badges – textual badges above the last candle
Draw ENTRY/SL/TP (panel only, legacy) – kept for compatibility; does not draw lines in this version.
Alerts
The script provides three alert conditions:
Affirmify: BUY confirmed
Triggered when BUY direction is aligned and entry quality is CONFIRMED (no MTF conflict).
Affirmify: SELL confirmed
Triggered when SELL direction is aligned and entry quality is CONFIRMED (no MTF conflict).
Affirmify: wait for better entry
Direction is valid, but candle body is not yet strong enough – potential setup forming.
You can connect these alerts to your own automation, bots or dashboards.
How to use it (typical workflow)
Select your symbol and timeframe (most users focus on 1H / 4H).
Wait for the panel to show a clear Action (BUY or SELL) with a solid Score (≥ +2 or ≤ −2).
Look for Status = CONFIRMED for actual entries.
Use the panel SL / TP values as a starting point for your own risk management.
Avoid trades when:
Status shows “NO SIGNAL” or “NO CLEAR DIRECTION”
MTF conflict is active
Volatility is extremely low for your style.
Access & subscription
This is an invite-only script connected to the AffirmifyHub ecosystem.
Access is managed via private subscription on AffirmifyHub.com.
After activation you will receive TradingView access to this indicator from the author account.
For questions about access, licensing or private use, please contact the author via TradingView DM or through AffirmifyHub.
Important notice
This tool does not guarantee profits and should never be used as a standalone decision engine.
Always combine it with:
your own price action reading
multi-timeframe context
strict position sizing and risk management.
Markets are risky – never trade money you cannot afford to lose.Multi-factor directional model with entry-quality filter and ATR-based SL/TP levels, synced with the Affirmify core Python engine.
Centered Oscillators
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
TTM Squeeze Pro Enhanced v1.5.1 [pyrevo]# TTM Squeeze Pro Enhanced
**Version:** 1.5.1
**Author:** pyrevo
**License:** MPL 2.0
## Credits
This indicator is a collective work based on the contributions of the TradingView community:
* **John Carter**: Creator of the original TTM Squeeze and TTM Squeeze Pro concepts.
* **Lazybear**: Original interpretation of the TTM Squeeze (Squeeze Momentum Indicator).
* **Makit0**: Evolution of Lazybear's script to factor in TTM Squeeze Pro upgrades (Squeeze PRO Arrows).
* **marsrides**: Some aesthetics solutions.
* **Beardy_Fred**: The base code from which this enhanced version was derived.
## Overview
**TTM Squeeze Pro Enhanced** is a professional-grade momentum and volatility indicator designed to identify explosive breakout opportunities. It is a refined version of the community's collective works, with amendments primarily to the Squeeze Conditions and visual aesthetics to provide a clearer, more actionable reading of market state.
### The Concept
For those unfamiliar with the TTM Squeeze, it is a visual way of seeing how Bollinger Bands (standard deviations from a simple moving average) relate to Keltner Channels (average true range bands) compared with the momentum of the price action.
The concept is that as Bollinger Bands compress within Keltner Channels, price volatility decreases, giving way for a potential explosive price movement up or down.
### TTM Squeeze vs. TTM Squeeze Pro
* **Original TTM Squeeze:** Uses a 1.5 ATR Keltner Channel.
* **TTM Squeeze Pro (Enhanced):** Uses 1.0, 1.5, and 2.0 ATR Keltner Channels.
This helps differentiate between levels of squeeze (compression). The greater the compression (Bollinger Bands moving deeper into tighter Keltner Channels), the more potential for explosive moves.
## Indicator Analysis
### 1. Squeeze Detection (Dots)
The colored dots along the zero line represent the state of market volatility. This enhanced version uses a distinct color palette to indicate compression levels:
* **🔴 Red Dots (High Compression):** Extreme squeeze. One or both Bollinger Bands are inside the 1.0 ATR Keltner Channel.
* **🟠 Orange Dots (Medium Compression):** Significant squeeze. One or both BBs are inside the 1.5 ATR Keltner Channel.
* **⚪ Gray Dots (Low Compression):** Standard squeeze. One or both BBs are inside the 2.0 ATR Keltner Channel.
* **◽ Light Gray Dots (No Squeeze):** Volatility is normal or expanding. Squeeze has "fired".
### 2. Momentum (Histogram)
The histogram bars show price momentum relative to the squeeze:
* **Bright Green:** Positive, increasing momentum (Bullish).
* **Dark Green:** Positive, decreasing momentum (Bullish exhaustion).
* **Bright Red:** Negative, increasing momentum (Bearish).
* **Dark Red:** Negative, decreasing momentum (Bearish exhaustion).
### 3. Dual Momentum System
An optional secondary system to gauge trend strength:
* **Fast & Slow Momentum Lines:** Moving averages of the momentum to help identify crossovers.
* **Trend Crossovers:** Triangle markers indicate when fast momentum crosses slow momentum.
## Ideal Scenario
As the ticker enters the squeeze, **Gray dots** would warn of the beginning of a low compression squeeze. As the Bollinger bands continue to constrict, **Orange dots** would highlight a medium compression. As the price action and momentum continues to compress, a **Red dot** shows warning of high compression.
As price action leaves the squeeze, the coloring would reverse (Red → Orange → Gray → Light Gray). Any compression squeeze is considered "fired" at the first Light Gray dot that appears.
*Note: This is an ideal progression, however any type of squeeze sequence may appear at anytime.*
## Entry and Exit Guide
* **Entry:** John Carter recommends entering a position after at least 5 dots of compression (Gray/Orange/Red) or waiting for the first "No Squeeze" dot (Light Gray) to appear with confirming momentum.
* **Exit:** Exit on the second bar of decreasing momentum (Dark Green or Dark Red), or remain in the position after confirming a continuing trend through a separate indicator.
## Settings & Customization
* **Timeframe:** Built-in Multi-Timeframe (MTF) support allowing you to view higher-timeframe squeeze signals on lower-timeframe charts.
* **Appearance Modes:**
* **Default:** Standard enhanced palette.
* **Modern:** High-contrast palette (Teal/Red/Gold).
* **Classic MACD:** Traditional Blue/Orange line configuration.
* **Dashboard:** An on-chart table providing real-time data on squeeze status, momentum value, and trend strength.
STUDENT WYCKOFF Smart RSISTUDENT WYCKOFF Smart RSI is not just “RSI above 70 / below 30”.
It adapts its levels to volatility, highlights real extreme zones and marks the moments when momentum is leaving them.
Use it to see where buying or selling pressure is truly exhausting and combine it with your own price action and Wyckoff logic.
STUDENT WYCKOFF Smart RSI is a flexible, context-driven version of the classic RSI. It is designed for traders who want to read momentum in a more intelligent way than just “RSI above 70, RSI below 30”.
━━━━━━━━━━
1. Concept
━━━━━━━━━━
Instead of fixing RSI to one rigid set of levels, this script lets you choose how sensitive you want the oscillator to be and how you want to visualize that information:
• Classic 70/30 – standard overbought/oversold bands, familiar to most traders.
• Aggressive 80/20 – fewer but more extreme signals, useful for strong trends.
• Dynamic Std Bands – adaptive zones based on the mean and standard deviation of RSI, so the levels “breathe” with volatility rather than staying flat.
The goal is not to create magic entry signals, but to give you a clean, configurable picture of buying/selling pressure that fits different market conditions and styles of trading.
━━━━━━━━━━
2. RSI logic and plotting
━━━━━━━━━━
• Base indicator: standard RSI calculated on a chosen source (by default – close) with a configurable length.
• Optional smoothing: a short SMA of RSI (signal length) to reduce noise. If you set the smoothing length to 1, the script plots the raw RSI.
• Auto-coloring:
– Above 50 → “bullish pressure” color.
– Below 50 → “bearish pressure” color.
– Around 50 → neutral color.
You can fully customize all colors directly in the settings.
The script can also show:
• Overbought / oversold level lines (depending on the selected mode).
• A middle line at 50 to quickly see which side of the market is dominant.
• Background highlighting when RSI is inside overbought or oversold zones, so you can read the context at a glance without staring at numbers.
━━━━━━━━━━
3. Smart zone exits and signals
━━━━━━━━━━
Instead of signaling every time RSI simply “touches” a level, the script focuses on exits from extreme zones:
• LONG context signal
– RSI has been below the lower band (oversold).
– Then RSI crosses back above this lower band.
– A small green upward triangle is plotted at the RSI value.
• SHORT context signal
– RSI has been above the upper band (overbought).
– Then RSI crosses back below this upper band.
– A small red downward triangle is plotted at the RSI value.
All signals are calculated only on bar close using `barstate.isconfirmed`. This helps reduce repaint-like behaviour and makes the signals more reliable for alerts and discretionary decision-making.
These signals are NOT a complete trading system. They are context markers that tell you: “momentum is leaving an extreme zone, pay attention to the price action, volume and higher-timeframe structure”.
━━━━━━━━━━
4. Alerts
━━━━━━━━━━
The script contains two built-in alertconditions with constant messages:
• STUDENT WYCKOFF Smart RSI LONG – triggers when RSI exits the oversold zone upward.
• STUDENT WYCKOFF Smart RSI SHORT – triggers when RSI exits the overbought zone downward.
To use them:
1. Add the indicator to your chart.
2. Open the Alerts panel in TradingView.
3. Choose this script as the condition.
4. Select one of the available alert names (LONG or SHORT).
5. Set your preferred timeframe, expiry and notification method.
Once configured, the alerts will inform you every time a new arrow appears.
━━━━━━━━━━
5. How to use in practice
━━━━━━━━━━
• Works on any symbol and timeframe supported by TradingView.
• On higher timeframes, the Dynamic Std Bands mode can help you see where RSI is “statistically unusual” relative to its recent behaviour.
• On lower timeframes, Classic or Aggressive modes can help filter noise by waiting for strong expansions of momentum and subsequent exits.
• Combine the signals with your own price action, Wyckoff logic, volume analysis, trend structure and risk management. RSI alone should never be the only reason to enter or exit a position.
━━━━━━━━━━
6. Disclaimer
━━━━━━━━━━
This script is published for educational and analytical purposes only. It does not provide financial, investment or trading advice and does not guarantee any results. Always test tools on historical data, understand the logic behind them and use proper risk management according to your own trading plan.
Meme Cluster Strength Scanner [Ambrosia] 📌 Cluster Strength Watchlist – Leaders / Pack / Followers
A cluster overview for Memecoins & Altcoins – designed as a companion to your existing trading system.
⚠️ Note: Currently available for Bitget only
This indicator is built exclusively for the Bitget exchange.
All symbols, clusters, and strength scores are mapped to Bitget trading pairs.
📩 If you want the same logic for another exchange (e.g., Binance, Bybit, OKX):
Just leave a comment. If enough traders ask for a specific exchange, I will create a free add-on.
🧠 What this indicator is – and what it is not
This indicator:
❌ does not generate entry signals
❌ does not replace your trading system
❌ does not include SL/TP rules
It is a cluster and watchlist tool you use alongside your main system to answer questions like:
“Is my coin currently the strongest in the pack, or just a follower?”
“Are there 1–2 other coins in the same narrative worth splitting my position into?”
“How strong is the overall cluster right now – bullish, neutral, or bearish?”
Your entry comes from your main indicator.
The Cluster Strength Indicator helps you afterwards with position sizing and risk distribution.
🧩 Which clusters are included?
The indicator groups selected coins into fixed narrative clusters:
🟣 Solana Meme Cluster
BONK, WIF, POPCAT, DEGEN, GRASS, ORCA, PIXEL, ROAM, TRU
🟢 PEPE / NewGen Meme Cluster
PEPE, BOME, MEME, TURBO, PENGU, TOSHI, NEIROCTO, MEW, 10000ELON
🐕 Dog Meme Cluster
DOGE, SHIB, FLOKI, BABYDOGE, HMSTR
🔵 Layer-1 / High-Throughput Cluster
SOL, SUI, NEAR, SEI, INJ, ATOM
🟠 Layer-2 / Scaling Cluster
ARB, OP, IMX, AEVO, MANTA
🟡 Utility / CEX / Payment Cluster
BNB, XRP, ADA, DOT, TRX, LTC
Whichever chart you currently have open — the indicator automatically displays the matching cluster.
📊 What the indicator actually calculates
For each coin inside the selected cluster, the script calculates:
a structure-based strength score (0–100%)
a colored strength emoji (🟥🟧🟨🟩)
a direction arrow (↑ bullish, → neutral, ↓ weakening)
a mini sparkline showing how the score developed over the last bars
Important:
The exact internal calculation method is intentionally not disclosed.
The goal is to support your strategy — not to invite comparison with other indicator types.
The score simply answers:
"How constructive or fragile is this coin’s current structure compared to others in the same cluster?"
Additionally, the indicator calculates the overall cluster strength:
average score of all coins in the cluster
with traffic-light interpretation:
🔹 Bullish (strong average)
🟧 Neutral / mixed
🔻 Bearish / weak
You also see:
the analysis timeframe (1m, 5m, 15m, 1h, 4h, 1D — choose only one to avoid an error)
the lookback depth, adjustable per timeframe
🧭 How the table is structured
The table is divided into three columns:
Leaders – coins with high influence in the cluster
Pack – coins that tend to move in sync with the leaders
Followers – narrative participants with secondary influence
Your current symbol is highlighted, so you immediately see:
"Where does my coin stand inside the pack?"
At the top, you find:
Title / Cluster Name / Current Symbol
Cluster Strength (in % + bullish/neutral/bearish classification)
Column headers: Leader / Pack / Follower
Below that, the coins of your active cluster appear with:
ticker
strength score %
strength emoji
arrow indicator
mini sparkline
💸 Example: How this indicator helps you trade smarter
You have a 100 € risk budget for your next trade.
Your main indicator gives a long signal — let’s say on PEPE.
Without the cluster indicator:
You go 100 € all-in on PEPE (e.g., 10× leverage → 1000 € position).
If it hits SL immediately → the whole setup is lost.
With the Cluster Strength Indicator:
You open the PEPE / NewGen Meme Cluster and see:
PEPE → 78% 🟩 ↑
BOME → 74% 🟩 ↑
NEIROCTO → 71% 🟩 ↑
You decide to split:
50 € on PEPE
25 € on BOME
25 € on NEIROCTO
🔻 If the trade fails:
PEPE hits SL → others often weaken simultaneously.
The indicator shows declining scores → you can exit all positions early.
Result: smaller loss than a full single-coin position.
🔺 If the trade runs well:
PEPE hits TP, BOME and NEIRO still strong →
you adjust TPs to capture more profit from the cluster momentum.
👥 Who is this indicator for?
Traders with their own entry/strategy system
Meme, Altcoin and narrative traders
Traders who prefer sector-wide confirmation rather than a single-coin view
Anyone who doesn’t want to risk everything on a single asset
🛡️ Important Disclaimer
This is:
not a signal generator
not financial advice
not a profit guarantee
It is a watchlist and decision-support tool for:
cluster strength evaluation
leader/pack/follower identification
risk distribution within a narrative
And now:
Good luck and good profits — yours, Ambrosia.
Profitable Pair Correlation Divergence Scanner v6This strategy identifies divergence opportunities between two correlated assets using a combination of Z-Score spread analysis, trend confirmation, RSI & MACD momentum checks, correlation filters, and ATR-based stop-loss/take-profit management. It’s optimized for positive P&L and realistic trade execution.
Key Features:
Pair Divergence Detection:
Measures deviation between returns of two assets and identifies overbought/oversold spread conditions using Z-Score.
Trend Alignment:
Trades only in the direction of the primary asset’s trend using a fast EMA vs slow EMA filter.
Momentum Confirmation:
Confirms trades with RSI and MACD to reduce false signals.
Correlation Filter:
Ensures the pair is strongly correlated before taking trades, avoiding noisy signals.
Risk Management:
Dynamic ATR-based stop-loss and take-profit ensures proper reward-to-risk ratio.
Exit Conditions:
Automatically closes positions when Z-Score normalizes, or ATR-based exits are hit.
How It Works:
Calculate Returns:
Computes returns for both assets over the selected timeframe.
Z-Score Spread:
Calculates the spread between returns and normalizes it using moving average and standard deviation.
Trend Filter:
Only takes long trades if the fast EMA is above the slow EMA, and short trades if the fast EMA is below the slow EMA.
Momentum Confirmation:
Confirms trade direction with RSI (>50 for longs, <50 for shorts) and MACD alignment.
Correlation Check:
Ensures the pair’s recent correlation is strong enough to validate divergence signals.
Trade Execution:
Opens positions when Z-Score crosses thresholds and all conditions align. Positions close when Z-Score normalizes or ATR-based SL/TP is hit.
Plot Explanation:
Z-Score: Blue line shows divergence magnitude.
Entry Levels: Red/Green lines mark long/short thresholds.
Exit Zone: Gray lines show normalization zone.
EMA Trend Lines: Purple (fast), Orange (slow) for trend alignment.
Correlation: Teal overlay shows current correlation strength.
Usage Tips:
Use highly correlated pairs for best results (e.g., EURUSD/GBPUSD).
Run on higher timeframe charts (1h or 4h) to reduce noise.
Adjust ATR multiplier based on volatility to avoid premature stops.
Combine with alerts for automated notifications or webhook execution.
Conclusion:
The Profitable Pair Correlation Divergence Scanner v6 is designed for traders who want systematic, low-risk, positive P&L trading opportunities with minimal manual monitoring. By combining trend alignment, momentum confirmation, correlation filters, and dynamic exits, it reduces false signals and improves execution reliability.
Run it on TradingView and watch how it captures divergence opportunities while maintaining positive P&L across trades.
BK AK-Momentum Pivot Wolf🐺⚔️ BK AK–Momentum Pivot Wolf — The Court of Price. ⚔️🐺
Not prophecy. Procedure. Not prediction. Judgment.
Most indicators sell you a feeling: “it’s going up.”
Pivot Wolf is built to do the opposite: make the market prove it—under rules.
Price lies. Not maliciously—mechanically.
It prints motion whether there’s intent behind it or not. That’s why traders get slaughtered: they treat movement like truth.
Pivot Wolf treats movement like a defendant.
⚖️ The Law of the Tool (What It Refuses to Do)
This script does not exist to “call tops and bottoms.”
It exists to remove the sin that ruins traders:
answering before hearing.
If you trade before testimony, you’re not trading—you’re volunteering.
So Pivot Wolf is designed to withhold permission until three things line up:
Pivots = Boundary Stones
Where price must answer. Where excuses die. Where decisions become visible.
Momentum = Witness
Not what price did—what it carried. Force behind the move, not the costume of the candle.
Acceleration = Confession
The moment intent leaks. The early tell that strength is arriving—or that strength is bleeding out.
You’re not hunting “signals.”
You’re watching a case get built.
🪨 Solomon’s Hidden Layer (Why This Is a Wisdom Tool)
Solomon’s world wasn’t obsessed with forecasting. It was obsessed with right judgment.
He didn’t ask, “What do I want to happen?”
He asked, “What’s true—and what is counterfeit?”
That’s why his writing keeps returning to the same themes:
Weights & measures (standardization over vibes)
Witnesses (confirmation over impulse)
Gates & boundaries (permissioned action over chaos)
Silence (restraint as intelligence)
Pivot Wolf is built in that spirit: it’s a weights-and-witness engine disguised as an indicator.
It’s trying to keep you from trading counterfeit strength at the edge of a boundary.
🐺 How to Use It Like You Actually Respect Capital
1) Campaign Mode (Trend):
Boundaries tell you where business is allowed. Momentum/acceleration tell you whether business is justified. You press when testimony is clean—not when price is exciting.
2) Verdict Mode (Turns):
Reversals aren’t vibes. They’re a collapse of testimony: momentum fails at the boundary, acceleration flips, and the move confesses exhaustion.
3) Stand-Down Mode (The Feature Tourists Hate):
When the script goes quiet, it’s not “missing trades.”
It’s telling you: the court is not in session.
That’s the part that keeps your P&L alive.
🏷️ BK / AK
BK is the mark I’m building.
AK is honor—my mentor’s standard: clarity, patience, no shortcuts.
Above that: gratitude to Gd, the true source of wisdom, restraint, and endurance.
📜 King Solomon Lens
“Solomon didn’t predict. He judged. He built tests that made truth show itself. Pivot Wolf is that: pivots as boundary stones, momentum as witness, acceleration as the confession. No hammer in the Temple — rules are cut before entry. When it’s quiet, it’s saving you. When it speaks, it’s a ruling.”
This is not financial advice. This is structure.
If you wanted a fortune teller, you’ll hate this script.
If you wanted a system that makes the market prove itself before you strike—welcome to the Wolf.
US Market Long Horizon Momentum Summary in one paragraph
US Market Long Horizon Momentum is a trend following strategy for US index ETFs and futures built around a single eighteen month time series momentum measure. It helps you stay long during persistent bull regimes and step aside or flip short when long term momentum turns negative.
Scope and intent
• Markets. Large cap US equity indices, liquid US index ETFs, index futures
• Timeframes. 4h/ Daily charts
• Default demo used in the publication. SPY on 4h timeframe chart
• Purpose. Provide a minimal long bias index timing model that can reduce deep drawdowns and capture major cycles without parameter mining
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique concept or fusion. One unscaled multiple month log return of an external benchmark symbol drives all entries and exits, with optional volatility targeting as a single risk control switch.
• Failure mode addressed. Fully passive buy and hold ignores the sign of long horizon momentum and can sit through multi year drawdowns. This script offers a way to step down risk in prolonged negative momentum without chasing short term noise.
• Testability. All parameters are visible in Inputs and the momentum series is plotted so users can verify every regime change in the Tester and on price history.
• Portable yardstick. The log return over a fixed window is a unit that can be applied to any liquid symbol with daily data.
Method overview in plain language
The method looks at how far the benchmark symbol has moved in log return terms over an eighteen month window in our example. If that long horizon return is positive the strategy allows a long stance on the traded symbol. If it is negative and shorts are enabled the strategy can flip short, otherwise it goes flat. There is an optional realised volatility estimate on the traded symbol that can scale position size toward a target annual volatility, but in the default configuration the model uses unit leverage and only the sign of momentum matters.
Base measures
Return basis. The core yardstick is the natural log of close divided by the close eighteen months ago on the benchmark symbol. Daily log returns of the traded symbol feed the realised volatility estimate when volatility targeting is enabled.
Components
• Component one Momentum eighteen months. Log of benchmark close divided by its close mom_lookback bars ago. Its sign defines the trend regime. No extra smoothing is applied beyond the long window itself.
• Component two Realised volatility optional. Standard deviation of daily log returns on the traded symbol over sixty three days. Annualised by the square root of 252. Used only when volatility targeting is enabled.
• Optional component Volatility targeting. Converts target annual volatility and realised volatility into a leverage factor clipped by a maximum leverage setting.
Fusion rule
The model uses a simple gate. First compute the sign of eighteen month log momentum on the benchmark symbol. Optionally compute leverage from volatility. The sign decides whether the strategy wants to be long, short, or flat. Leverage only rescales position size when enabled and does not change direction.
Signal rule
• Long suggestion. When eighteen month log momentum on the benchmark symbol is greater than zero, the strategy wants to be long.
• Short suggestion. When that log momentum is less than zero and shorts are allowed, the strategy wants to be short. If shorts are disabled it stays flat instead.
• Wait state. When the log momentum is exactly zero or history is not long enough the strategy stays flat.
• In position. In practice the strategy sits IN LONG while the sign stays positive and flips to IN SHORT or flat only when the sign changes.
Inputs with guidance
Setup
• Momentum Lookback (months). Controls the horizon of the log return on the benchmark symbol. Typical range 6 to 24 months. Raising it makes the model slower and more selective. Lowering it makes it more reactive and sensitive to medium term noise.
• Symbol. External symbol used for the momentum calculation, SPY by default. Changing it lets you time other indices or run signals from a benchmark while trading a correlated instrument.
Logic
• Allow Shorts. When true the strategy will open short positions during negative momentum regimes. When false it will stay flat whenever momentum is negative. Practical setting is tied to whether you use a margin account or an ETF that supports shorting.
Internal risk parameters (not exposed as inputs in this version) are:
• Target Vol (annual). Target annual volatility for volatility targeting, default 0.2.
• Vol Lookback (days). Window for realised volatility, default 63 trading days.
• Max Leverage. Cap on leverage when volatility targeting is enabled, default 2.
Usage recipes
Swing continuation
• Signal timeframe. Use the daily chart.
• Benchmark symbol. Leave at SPY for US equity index exposure.
• Momentum lookback. Eighteen months as a default, with twelve months as an alternative preset for a faster swing bias.
Properties visible in this publication
• Initial capital. 100000
• Base currency. USD
• Default order size method. 5% of the total capital in this example
• Pyramiding. 0
• Commission. 0.03 percent
• Slippage. 3 ticks
• Process orders on close. On
• Bar magnifier. Off
• Recalculate after order is filled. Off
• Calc on every tick. Off
• All request.security calls use lookahead = barmerge.lookahead_off
Realism and responsible publication
The strategy is for education and research only. It does not claim any guaranteed edge or future performance. All results in Strategy Tester are hypothetical and depend on the data vendor, costs, and slippage assumptions. Intrabar motion is not modeled inside daily bars so extreme moves and gaps can lead to fills that differ from live trading. The logic is built for standard candles and should not be used on synthetic chart types for execution decisions.
Performance is sensitive to regime structure in the US equity market, which may change over time. The strategy does not protect against single day crash risk inside bars and does not model gap risk explicitly. Past behavior of SPY and the momentum effect does not guarantee future persistence.
Honest limitations and failure modes
• Long sideways regimes with small net change over eighteen months can lead to whipsaw around the zero line.
• Very sharp V shaped reversals after deep declines will often be missed because the model waits for momentum to turn positive again.
• The sample size in a full SPY history is small because regime changes are infrequent, so any test must be interpreted as indicative rather than statistically precise.
• The model is highly dependent on the chosen lookback. Users should test nearby values and validate that behavior is qualitatively stable.
Legal
Education and research only. Not investment advice. You are responsible for your own decisions. Always test on historical data and in simulation with realistic costs before any live use.
Kurtosis with Skew Crossover Focused OscillatorDescription:
This indicator highlights Skewness/Kurtosis crossovers for short-term trading:
Green upward arrows: Skew crosses above Kurtosis → potential long signal.
Red downward arrows: Skew crosses below Kurtosis → potential short signal.
Yellow upward arrows: Extreme negative skew (skew ≤ -1.7) → potential oversold/reversal opportunity.
Oscillator Pane:
Orange = Skewness (smoothed)
Blue = Kurtosis (adjusted, smoothed)
Zero line = visual reference
Usage:
Primarily for 2–5 minute charts, highlighting statistical anomalies and potential short-term reversals that can be used in conjunction with OBV and/or CVD
Arrows signal potential entries based on skew/kurt dynamics.
Potential ideas???????
---------------------------------------
Add Supporting Market Context
---------------------------------------
Currently, signals are purely based on skew/kurt crossovers. Adding supporting indicators could improve reliability:
Volume / CVD: Identify when crossovers occur with real buying/selling pressure.
Wick Imbalance: Detect forced moves in price structure.
Volatility Regime (Parkinson / ATR): Filter signals during high volatility spikes or compressions.
Experimentation: Try weighting these supporting signals to dynamically confirm or filter skew/kurt crossovers and see if false signals decrease on 2–5 minute charts.
--------------------------------------
Dynamic Thresholds & Scaling
--------------------------------------
Right now, the extreme skew signal is triggered at a fixed level (skew ≤ -1.7). Future improvements could include:
Adaptive thresholds: Scale extreme skew levels based on recent standard deviation or intraday volatility.
Kurtosis thresholds: Introduce a cutoff for kurtosis to identify “fat-tail” events.
Experimentation: Backtest different adaptive thresholds for both skew and kurt, and see how it affects the precision vs. frequency of signals.
--------------------------------------------------
Multi-Timeframe or Combined Oscillator
--------------------------------------------------
Skew/kurt signals could be combined across multiple intraday timeframes (e.g., 1-min, 3-min, 5-min) to improve confirmation.
Create a composite oscillator that blends short-term and slightly longer-term skew/kurt values to reduce noise.
Experimentation: Compare a single timeframe approach vs multi-timeframe composite, and measure signal reliability and lag.
I'm leaving this open so anyone can experiment with it as this project may be on the backburner, but these are my thoughts so far
VV Moving Average Convergence Divergence # VMACDv3 - Volume-Weighted MACD with A/D Divergence Detection
## Overview
**VMACDv3** (Volume-Weighted Moving Average Convergence Divergence Version 3) is a momentum indicator that applies volume-weighting to traditional MACD calculations on price, while using the Accumulation/Distribution (A/D) line for divergence detection. This hybrid approach combines volume-weighted price momentum with volume distribution analysis for comprehensive market insight.
## Key Features
- **Volume-Weighted Price MACD**: Traditional MACD calculation on price but weighted by volume for earlier signals
- **A/D Divergence Detection**: Identifies when A/D trend diverges from MACD momentum
- **Volume Strength Filtering**: Distinguishes high-volume confirmations from low-volume noise
- **Color-Coded Histogram**: 4-color system showing momentum direction and volume strength
- **Real-Time Alerts**: Background colors and alert conditions for bullish/bearish divergences
## Difference from ACCDv3
| Aspect | VMACDv3 | ACCDv3 |
|--------|---------|---------|
| **MACD Input** | **Price (Close)** | **A/D Line** |
| **Volume Weighting** | Applied to price | Applied to A/D line |
| **Primary Signal** | Volume-weighted price momentum | Volume distribution momentum |
| **Use Case** | Price momentum with volume confirmation | Volume flow and accumulation/distribution |
| **Sensitivity** | More responsive to price changes | More responsive to volume patterns |
| **Best For** | Trend following, breakouts | Volume analysis, smart money tracking |
**Key Insight**: VMACDv3 shows *where price is going* with volume weight, while ACCDv3 shows *where volume is accumulating/distributing*.
## Components
### 1. Volume-Weighted MACD on Price
Unlike standard MACD that uses simple price EMAs, VMACDv3 weights each price by its corresponding volume:
```
Fast Line = EMA(Price × Volume, 12) / EMA(Volume, 12)
Slow Line = EMA(Price × Volume, 26) / EMA(Volume, 26)
MACD = Fast Line - Slow Line
```
**Benefits of Volume Weighting**:
- High-volume price movements have greater impact
- Filters out low-volume noise and false moves
- Provides earlier trend change signals
- Better reflects institutional activity
### 2. Accumulation/Distribution (A/D) Line
Used for divergence detection, measuring buying/selling pressure:
```
A/D = Σ ((2 × Close - Low - High) / (High - Low)) × Volume
```
- **Rising A/D**: Accumulation (buying pressure)
- **Falling A/D**: Distribution (selling pressure)
- **Doji Handling**: When High = Low, contribution is zero
### 3. Signal Lines
- **MACD Line** (Blue, #2962FF): The fast-slow difference showing momentum
- **Signal Line** (Orange, #FF6D00): EMA or SMA smoothing of MACD
- **Zero Line**: Reference for bullish (above) vs bearish (below) bias
### 4. Histogram Color System
The histogram uses 4 distinct colors based on **direction** and **volume strength**:
| Condition | Color | Meaning |
|-----------|-------|---------|
| Rising + High Volume | **Dark Green** (#1B5E20) | Strong bullish momentum with volume confirmation |
| Rising + Low Volume | **Light Teal** (#26A69A) | Bullish momentum but weak volume (less reliable) |
| Falling + High Volume | **Dark Red** (#B71C1C) | Strong bearish momentum with volume confirmation |
| Falling + Low Volume | **Light Pink** (#FFCDD2) | Bearish momentum but weak volume (less reliable) |
Additional shading:
- **Light Cyan** (#B2DFDB): Positive but not rising (momentum stalling)
- **Bright Red** (#FF5252): Negative and accelerating down
### 5. Divergence Detection
VMACDv3 compares A/D trend against volume-weighted price MACD:
#### Bullish Divergence (Green Background)
- **Condition**: A/D is trending up BUT MACD is negative and trending down
- **Interpretation**: Volume is accumulating while price momentum appears weak
- **Signal**: Smart money accumulation, potential bullish reversal
- **Action**: Look for long entries, especially at support levels
#### Bearish Divergence (Red Background)
- **Condition**: A/D is trending down BUT MACD is positive and trending up
- **Interpretation**: Volume is distributing while price momentum appears strong
- **Signal**: Smart money distribution, potential bearish reversal
- **Action**: Consider exits, avoid new longs, watch for breakdown
## Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Source** | Close | OHLC/HLC3/etc | Price source for MACD calculation |
| **Fast Length** | 12 | 1-50 | Period for fast EMA (shorter = more sensitive) |
| **Slow Length** | 26 | 1-100 | Period for slow EMA (longer = smoother) |
| **Signal Smoothing** | 9 | 1-50 | Period for signal line (MACD smoothing) |
| **Signal Line MA Type** | EMA | SMA/EMA | Moving average type for signal calculation |
| **Volume MA Length** | 20 | 5-100 | Period for volume average (strength filter) |
## Usage Guide
### Reading the Indicator
1. **MACD Lines (Blue & Orange)**
- **Blue Line (MACD)**: Volume-weighted price momentum
- **Orange Line (Signal)**: Smoothed trend of MACD
- **Crossovers**: Blue crosses above orange = bullish, below = bearish
- **Distance**: Wider gap = stronger momentum
- **Zero Line Position**: Above = bullish bias, below = bearish bias
2. **Histogram Colors**
- **Dark Green (#1B5E20)**: Strong bullish move with high volume - **most reliable buy signal**
- **Light Teal (#26A69A)**: Bullish but low volume - wait for confirmation
- **Dark Red (#B71C1C)**: Strong bearish move with high volume - **most reliable sell signal**
- **Light Pink (#FFCDD2)**: Bearish but low volume - may be temporary dip
3. **Background Divergence Alerts**
- **Green Background**: A/D accumulating while price weak - potential bottom
- **Red Background**: A/D distributing while price strong - potential top
- Most powerful at key support/resistance levels
### Trading Strategies
#### Strategy 1: Volume-Confirmed Trend Following
1. Wait for MACD to cross above zero line
2. Look for **dark green** histogram bars (high volume confirmation)
3. Enter long on second consecutive dark green bar
4. Hold while histogram remains green
5. Exit when histogram turns light green or red appears
6. Set stop below recent swing low
**Example**:
```
Price: 26,400 → 26,450 (rising)
MACD: -50 → +20 (crosses zero)
Histogram: Light teal → Dark green → Dark green
Volume: 50k → 75k → 90k (increasing)
```
#### Strategy 2: Divergence Reversal Trading
1. Identify divergence background (green = bullish, red = bearish)
2. Confirm with price structure (support/resistance, chart patterns)
3. Wait for MACD to cross signal line in divergence direction
4. Enter on first **dark colored** histogram bar after divergence
5. Set stop beyond divergence area
6. Target previous swing high/low
**Example - Bullish Divergence**:
```
Price: Making lower lows (26,350 → 26,300 → 26,250)
A/D: Rising (accumulation)
MACD: Below zero but starting to curve up
Background: Green shading appears
Entry: MACD crosses signal line + dark green bar
Stop: Below 26,230
Target: 26,450 (previous high)
```
#### Strategy 3: Momentum Scalping
1. Trade only in direction of MACD zero line (above = long, below = short)
2. Enter on dark colored bars only
3. Exit on first light colored bar or opposite color
4. Quick in and out (1-5 minute holds)
5. Tight stops (0.2-0.5% depending on instrument)
#### Strategy 4: Histogram Pattern Trading
**V-Bottom Reversal (Bullish)**:
- Red histogram bars start rising (becoming less negative)
- Forms "V" shape at the bottom
- Transitions to light red → light teal → **dark green**
- Entry: First dark green bar
- Signal: Momentum reversal with volume
**Λ-Top Reversal (Bearish)**:
- Green histogram bars start falling (becoming less positive)
- Forms inverted "V" at the top
- Transitions to light green → light pink → **dark red**
- Entry: First dark red bar
- Signal: Momentum exhaustion with volume
### Multi-Timeframe Analysis
**Recommended Approach**:
1. **Higher Timeframe (15m/1h)**: Identify overall trend direction
2. **Trading Timeframe (5m)**: Time entries using VMACDv3 signals
3. **Lower Timeframe (1m)**: Fine-tune entry prices
**Example Setup**:
```
15-minute: MACD above zero (bullish bias)
5-minute: Dark green histogram appears after pullback
1-minute: Enter on break of recent high with volume
```
### Volume Strength Interpretation
The volume filter compares current volume to 20-period average:
- **Volume > Average**: Dark colors (green/red) - high confidence signals
- **Volume < Average**: Light colors (teal/pink) - lower confidence signals
**Trading Rules**:
- ✓ **Aggressive**: Take all dark colored signals
- ✓ **Conservative**: Only take dark colors that follow 2+ light colors of same type
- ✗ **Avoid**: Trading light colored signals during high volatility
- ✗ **Avoid**: Ignoring volume context during news events
## Technical Details
### Volume-Weighted Calculation
```pine
// Volume-weighted fast EMA
fast_ma = ta.ema(src * volume, fast_length) / ta.ema(volume, fast_length)
// Volume-weighted slow EMA
slow_ma = ta.ema(src * volume, slow_length) / ta.ema(volume, slow_length)
// MACD is the difference
macd = fast_ma - slow_ma
// Signal line smoothing
signal = ta.ema(macd, signal_length) // or ta.sma() if SMA selected
// Histogram
hist = macd - signal
```
### Divergence Detection Logic
```pine
// A/D trending up if above its 5-period SMA
ad_trend = ad > ta.sma(ad, 5)
// MACD trending up if above zero
macd_trend = macd > 0
// Divergence when trends oppose each other
divergence = ad_trend != macd_trend
// Specific conditions for alerts
bullish_divergence = ad_trend and not macd_trend and macd < 0
bearish_divergence = not ad_trend and macd_trend and macd > 0
```
### Histogram Coloring Logic
```pine
hist_color = (hist >= 0
? (hist < hist
? (vol_strength ? #1B5E20 : #26A69A) // Rising: dark/light green
: #B2DFDB) // Positive but falling: cyan
: (hist < hist
? (vol_strength ? #B71C1C : #FFCDD2) // Rising (less negative): dark/light red
: #FF5252)) // Falling more: bright red
```
## Alerts
Built-in alert conditions for divergence detection:
### Bullish Divergence Alert
- **Trigger**: A/D trending up, MACD negative and trending down
- **Message**: "Bullish Divergence: A/D trending up but MACD trending down"
- **Use Case**: Potential reversal or continuation after pullback
- **Action**: Look for long entry setups
### Bearish Divergence Alert
- **Trigger**: A/D trending down, MACD positive and trending up
- **Message**: "Bearish Divergence: A/D trending down but MACD trending up"
- **Use Case**: Potential top or trend reversal
- **Action**: Consider exits or short entries
### Setting Up Alerts
1. Click "Create Alert" in TradingView
2. Condition: Select "VMACDv3"
3. Choose alert type: "Bullish Divergence" or "Bearish Divergence"
4. Configure: Email, SMS, webhook, or popup
5. Set frequency: "Once Per Bar Close" recommended
## Comparison Tables
### VMACDv3 vs Standard MACD
| Feature | Standard MACD | VMACDv3 |
|---------|---------------|---------|
| **Price Weighting** | Equal weight all bars | Volume-weighted |
| **Sensitivity** | Fixed | Adaptive to volume |
| **False Signals** | More during low volume | Fewer (volume filter) |
| **Divergence** | Price vs MACD | A/D vs MACD |
| **Volume Analysis** | None | Built-in |
| **Color System** | 2 colors | 4+ colors |
| **Best For** | Simple trend following | Volume-confirmed trading |
### VMACDv3 vs ACCDv3
| Aspect | VMACDv3 | ACCDv3 |
|--------|---------|--------|
| **Focus** | Price momentum | Volume distribution |
| **Reactivity** | Faster to price moves | Faster to volume shifts |
| **Best Markets** | Trending, breakouts | Accumulation/distribution phases |
| **Signal Type** | Where price + volume going | Where smart money positioning |
| **Divergence Meaning** | Volume vs price disagreement | A/D vs momentum disagreement |
| **Use Together?** | ✓ Yes, complementary | ✓ Yes, different perspectives |
## Example Trading Scenarios
### Scenario 1: Strong Bullish Breakout
```
Time: 9:30 AM (market open)
Price: Breaks above 26,400 resistance
MACD: Crosses above zero line
Histogram: Dark green bars (#1B5E20)
Volume: 2x average (150k vs 75k avg)
A/D: Rising (no divergence)
Action: Enter long at 26,405
Stop: 26,380 (below breakout)
Target 1: 26,450 (risk:reward 1:2)
Target 2: 26,500 (risk:reward 1:4)
Result: High probability setup with volume confirmation
```
### Scenario 2: False Breakout (Avoided)
```
Time: 2:30 PM (slow period)
Price: Breaks above 26,400 resistance
MACD: Slightly positive
Histogram: Light teal bars (#26A69A)
Volume: 0.5x average (40k vs 75k avg)
A/D: Flat/declining
Action: Avoid trade
Reason: Low volume, no conviction, potential false breakout
Outcome: Price reverses back below 26,400 within 10 minutes
Saved: Avoided losing trade due to volume filter
```
### Scenario 3: Bullish Divergence Bottom
```
Time: 11:00 AM
Price: Making lower lows (26,350 → 26,300 → 26,280)
MACD: Below zero but curving upward
Histogram: Red bars getting shorter (V-bottom forming)
Background: Green shading (divergence alert)
A/D: Rising despite price falling
Volume: Increasing on down bars
Setup:
1. Divergence appears at 26,280 (green background)
2. Wait for MACD to cross signal line
3. First dark green bar appears at 26,290
4. Enter long: 26,295 (next bar open)
5. Stop: 26,265 (below divergence low)
6. Target: 26,350 (previous swing high)
Result: +55 points (30 point risk, 1.8:1 reward)
Key: Divergence + volume confirmation = high probability reversal
```
### Scenario 4: Bearish Divergence Top
```
Time: 1:45 PM
Price: Making higher highs (26,500 → 26,520 → 26,540)
MACD: Positive but flattening
Histogram: Green bars getting shorter (Λ-top forming)
Background: Red shading (bearish divergence)
A/D: Declining despite rising price
Volume: Decreasing on up bars
Setup:
1. Bearish divergence at 26,540 (red background)
2. MACD crosses below signal line
3. First dark red bar appears at 26,535
4. Enter short: 26,530
5. Stop: 26,555 (above divergence high)
6. Target: 26,475 (support level)
Result: +55 points (25 point risk, 2.2:1 reward)
Key: Distribution while price rising = smart money exiting
```
### Scenario 5: V-Bottom Reversal
```
Downtrend in progress
MACD: Deep below zero (-150)
Histogram: Series of dark red bars
Pattern Development:
Bar 1: Dark red, hist = -80, falling
Bar 2: Dark red, hist = -95, falling
Bar 3: Dark red, hist = -100, falling (extreme)
Bar 4: Light pink, hist = -98, rising!
Bar 5: Light pink, hist = -90, rising
Bar 6: Light teal, hist = -75, rising (crosses to positive momentum)
Bar 7: Dark green, hist = -55, rising + volume
Action: Enter long on Bar 7
Reason: V-bottom confirmed with volume
Stop: Below Bar 3 low
Target: Zero line on histogram (mean reversion)
```
## Best Practices
### Entry Rules
✓ **Wait for dark colors**: High-volume confirmation is key
✓ **Confirm divergences**: Use with price support/resistance
✓ **Trade with zero line**: Long above, short below for best odds
✓ **Multiple timeframes**: Align 1m, 5m, 15m signals
✓ **Watch for patterns**: V-bottoms and Λ-tops are reliable
### Exit Rules
✓ **Partial profits**: Take 50% at first target
✓ **Trail stops**: Use histogram color changes
✓ **Respect signals**: Exit on opposite dark color
✓ **Time stops**: Close positions before major news
✓ **End of day**: Square up before close
### Avoid
✗ **Don't chase light colors**: Low volume = low confidence
✗ **Don't ignore divergence**: Early warning system
✗ **Don't overtrade**: Wait for clear setups
✗ **Don't fight the trend**: Zero line dictates bias
✗ **Don't skip stops**: Always use risk management
## Risk Management
### Position Sizing
- **Dark green/red signals**: 1-2% account risk
- **Light signals**: 0.5% account risk or skip
- **Divergence plays**: 1% account risk (higher uncertainty)
- **Multiple confirmations**: Up to 2% account risk
### Stop Loss Placement
- **Trend trades**: Below/above recent swing (20-30 points typical)
- **Breakout trades**: Below/above breakout level (15-25 points)
- **Divergence trades**: Beyond divergence extreme (25-40 points)
- **Scalp trades**: Tight stops at 10-15 points
### Profit Targets
- **Minimum**: 1.5:1 reward to risk ratio
- **Scalps**: 15-25 points (quick in/out)
- **Swing**: 50-100 points (hold through pullbacks)
- **Runners**: Trail with histogram color changes
## Timeframe Recommendations
| Timeframe | Trading Style | Typical Hold | Advantages | Challenges |
|-----------|---------------|--------------|------------|------------|
| **1-minute** | Scalping | 1-5 minutes | Fast profits, many setups | Noisy, high false signals |
| **5-minute** | Intraday | 15-60 minutes | Balance of speed/clarity | Still requires quick decisions |
| **15-minute** | Swing | 1-4 hours | Clearer trends, less noise | Fewer opportunities |
| **1-hour** | Position | 4-24 hours | Strong signals, less monitoring | Wider stops required |
**Recommendation**: Start with 5-minute for best balance of signal quality and opportunity frequency.
## Combining with Other Indicators
### VMACDv3 + ACCDv3
- **Use**: Confirm volume flow with price momentum
- **Signal**: Both showing dark green = highest conviction long
- **Divergence**: VMACDv3 bullish + ACCDv3 bearish = examine price action
### VMACDv3 + RSI
- **Use**: Overbought/oversold with momentum confirmation
- **Signal**: RSI < 30 + dark green VMACD = strong reversal
- **Caution**: RSI > 70 + light green VMACD = potential false breakout
### VMACDv3 + Elder Impulse
- **Use**: Bar coloring + histogram confirmation
- **Signal**: Green Elder bars + dark green VMACD = aligned momentum
- **Exit**: Blue Elder bars + light colors = momentum stalling
## Limitations
- **Requires volume data**: Will not work on instruments without volume feed
- **Lagging indicator**: MACD inherently follows price (2-3 bar delay)
- **Consolidation noise**: Generates false signals in tight ranges
- **Gap handling**: Large gaps can distort volume-weighted values
- **Not standalone**: Should combine with price action and support/resistance
## Troubleshooting
**Problem**: Too many light colored signals
**Solution**: Increase Volume MA Length to 30-40 for stricter filtering
**Problem**: Missing entries due to waiting for dark colors
**Solution**: Lower Volume MA Length to 10-15 for more signals (accept lower quality)
**Problem**: Divergences not appearing
**Solution**: Verify volume data available; check if A/D line is calculating
**Problem**: Histogram colors not changing
**Solution**: Ensure real-time data feed; refresh indicator
## Version History
- **v3**: Removed traditional MACD, using volume-weighted MACD on price with A/D divergence
- **v2**: Added A/D divergence detection, volume strength filtering, enhanced histogram colors
- **v1**: Basic volume-weighted MACD on price
## Related Indicators
**Companion Tools**:
- **ACCDv3**: Volume-weighted MACD on A/D line (distribution focus)
- **RSIv2**: RSI with A/D divergence detection
- **DMI**: Directional Movement Index with A/D divergence
- **Elder Impulse**: Bar coloring system using volume-weighted MACD
**Use Together**: VMACDv3 (momentum) + ACCDv3 (distribution) + Elder Impulse (bar colors) = complete volume-based trading system
---
*This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.*
Currency Strength Meter (8 Majors) — invincible3
📊 Currency Strength Meter (8 Majors) — Description
The Currency Strength Meter (8 Majors) calculates the relative performance of the major global currencies — USD, EUR, GBP, JPY, AUD, NZD, CAD, CHF — using aggregated logarithmic returns across all major FX pairs. Strength values are normalized on every bar, allowing users to quickly identify the strongest and weakest currencies at any moment in time.
Each currency’s strength is computed from a basket of 7 related currency pairs, smoothed with EMA, converted into z-scores, and finally normalized to a 0–100 scale for easy comparison.
A built-in table displays the real-time strength for all currencies, along with bar-to-bar delta and directional arrows.
🔶 SETTINGS
General
Broker Prefix
Select the broker symbol prefix used for pair requests (e.g., OANDA:, FX_IDC:).
Calculation Timeframe
Timeframe used to calculate the log returns of currency pairs.
Higher timeframes reduce noise, lower timeframes increase sensitivity.
Lookback Bars
Number of bars (on the calculation timeframe) used to measure logarithmic performance.
Smoothing (EMA)
Smooths currency strength with an EMA of selectable length.
Plot Lines
Option to display the normalized strength of each currency (0–100) directly on the chart.
🔹 Strength Meter Table
Show Table
Enables the on-chart strength meter table.
Show ▲▼ Delta Arrows
Displays directional arrows indicating bar-over-bar momentum:
▲ increasing strength
▼ decreasing strength
• neutral
Size
Controls the table text size (Tiny → Huge).
Layout
Shows:
Currency name & flag
Strength (0–100)
Delta (current – previous bar)
🔶 USAGE
This indicator helps traders quickly determine which currencies are strong and which are weak , and how that strength evolves over time.
Because currencies are evaluated relative to one another , trend strength becomes easier to identify across FX pairs.
Use cases include:
Finding strong vs. weak currency pair combinations
Confirming trend continuation or exhaustion
Identifying momentum shifts through the delta column
Spotting early reversals when strength begins to diverge
Comparing currency performance over multiple timeframes
📈 Example Interpretation
If the USD shows:
Strength = 82
Delta = +3 (▲)
…USD is not only strong, but also getting stronger relative to the previous bar.
If AUD shows:
Strength = 22
Delta = -5 (▼)
…AUD is weak and weakening further.
This makes strong/weak pairing intuitive:
Prefer strong vs weak pairs (e.g., USD/AUD if USD strong & AUD weak)
Avoid neutral or mixed-strength pairs
🔶 DETAILS
Currency Strength Calculation
For each currency pair, the indicator calculates the log-return over the selected lookback window.
Each currency aggregates 7 major related pairs to form a composite strength value.
The aggregated value is smoothed using EMA.
All 8 currencies are converted into z-scores, then normalized to a 0–100 scale for cross-sectional comparison.
A bar-to-bar delta is computed to reveal strengthening or weakening momentum.
This structure ensures the indicator remains stable, consistent, and highly responsive for intraday and higher-timeframe trading.
Supertrend + MACD + HMAIndicator Description: Supertrend + MACD + HMA
General Summary
It is a composite technical indicator that combines three analysis tools to generate buy and sell signals in institutional trading. It uses confirmation from multiple indicators to increase the precision of market entries.
Components
1. Supertrend (ST)
Function: Identifies the main market trend (bullish or bearish)
Parameters: ATR Length 10, Factor 3.0
Visualization:
Green line = Bullish trend
Red line = Bearish trend
Semi-transparent green/red background that fills the area according to direction
How it works: Uses ATR (Average True Range) to calculate dynamic support and resistance bands
2. MACD (Moving Average Convergence Divergence)
Function: Measures price momentum and direction
Parameters: Fast 18, Slow 144, Signal Smoothing 9
Components:
MACD Line (orange): Difference between two EMAs
Signal Line (purple): EMA of the MACD
Histogram (green/red columns): Difference between MACD and its signal
Green = Positive histogram (bullish momentum)
Red = Negative histogram (bearish momentum)
3. HMA 100 (Hull Moving Average)
Function: Identifies support/resistance level and price direction
Parameters: Length 100
Visualization: Blue thick line
Characteristics:
Less lag than traditional moving averages
Price > HMA = Bullish trend
Price < HMA = Bearish trend
Signal Logic
🟢 BUY SIGNAL
Generated when ANY of these conditions is met:
Total Confluence:
MACD positive (histogram > 0)
Price above HMA 100
Supertrend in Bullish mode
Supertrend Change:
Supertrend changes from Bearish to Bullish
MACD remains positive
Price above HMA
Price Crossover:
Price crosses above HMA (at candle close)
Supertrend is in Bullish mode
MACD is positive
🔴 SELL SIGNAL
Generated when ANY of these conditions is met:
Total Confluence:
MACD negative (histogram < 0)
Price below HMA 100
Supertrend in Bearish mode
Supertrend Change:
Supertrend changes from Bullish to Bearish
MACD remains negative
Price Crossover:
Price crosses below HMA (at candle close)
Supertrend is in Bearish mode
MACD is negative
Important Features
✅ Single Signal Per Type
Once a BUY is generated, no other BUY is generated until a SELL appears
Avoids multiple entries in the same direction
✅ Crossover Detection
The indicator generates signals at candle close when price crosses HMA
Allows capturing quick market moves
✅ Trend Changes
Detects when Supertrend changes direction
Provides early exits from the market
✅ Automatic Alerts
Push notifications when BUY or SELL is generated
Ideal for automated trading
CRT EngineContrarian Reversal Timing Engine (CRT Engine) is a precision tool designed to highlight moments when market conditions become favorable for reversal trades, specifically in areas where liquidity, volatility, and institutional flow behavior tend to converge.
This indicator does not use traditional oscillators, lagging signals, or simple pattern recognition.
Instead, it synthesizes several internal market dynamics into two simple, actionable signals.
🔹 How to Use
Buy Reversal Signal (Green Triangle)
A green upward‑pointing triangle appears below the candle when internal conditions align in a way that historically precedes short‑term upward reversals.
This signal tends to appear after:
Downside exhaustion
Aberrant selling behavior
A shift in underlying order‑flow balance
A short‑term reversion in market microstructure
How to trade it:
Consider long entries on or immediately after the signal bar.
Works best during sharp pullbacks, liquidity sweeps, forced unwinds, and algorithmic overextensions.
Sell Reversal Signal (Red Triangle)
A red downward‑facing triangle appears above the candle when an upward move is likely nearing its limit and conditions favor a downward reversal.
This typically occurs when:
Buying pressure overextends
Internal volatility begins contracting
Upward thrust loses structural support
Short‑term flow shifts direction
How to trade it:
Consider short entries on or immediately after the signal bar.
Particularly effective near blow‑off moves, stop‑runs, or aggressive squeezes.
🔹 Background Color Highlights (Optional Filter)
Faint Green Background: Market environment is favorable for upside reversal.
Faint Red Background: Market environment is favorable for downside reversal.
These zones can help avoid trading against stronger conditions.
🔹 Recommended Usage
Works on any timeframe, but intraday periods (1m–15m) often show the cleanest signals.
Pairs well with VWAP, liquidity sweeps, key levels, and structural displacement.
Designed for traders who favor contrarian, mean‑reversion, or liquidity‑based setups.
🔹 What This Indicator Does Not Do
It does not follow trends.
It does not measure overbought/oversold like RSI.
It does not use MACD, moving average crosses, or classical oscillators.
Instead, it focuses on internal flow conditions, extreme extension behavior, and short‑term market inefficiencies that often precede reversals driven by liquidity algorithms and institutional positioning.
🔹 Important Notes
Signals do not repaint once the candle closes.
This is not a high‑frequency timing tool; it identifies high‑probability reversal zones, not exact bottoms/tops.
Works best when combined with good execution, structure awareness, and market context AND IS NOT DESIGNED TO OPERATE AS A STANDALONE.
EBC 310 Pullback EngineEBC 310 Pullback Engine
A proprietary momentum oscillator designed specifically for identifying high-probability pullback entries in trending markets.
📊 What It Does:
The EBC 310 Pullback Engine calculates the difference between 3-period and 10-period simple moving averages, then smooths this differential with a 16-period moving average to identify momentum shifts and trend exhaustion points.
🎯 How To Use:
For LONG Entries (Pullback in Uptrend):
Wait for fast line (histogram) to dip below zero line
Enter when fast line turns GREEN (momentum returning)
Best when slow line is above zero (confirming uptrend)
For SHORT Entries (Pullback in Downtrend):
Wait for fast line to spike above zero line
Enter when fast line turns RED (momentum failing)
Best when slow line is below zero (confirming downtrend)
🔧 Features:
✅ Color-Coded Momentum:
Green bars = Rising momentum (bullish)
Red bars = Falling momentum (bearish)
Blue bars = No change (consolidation)
✅ Trend Confirmation:
Blue slow line = Rising trend strength
Purple slow line = Weakening trend
Orange slow line = Trend pause
✅ Zero Line Reference:
Gray line marks equilibrium
Above = bullish bias
Below = bearish bias
⚙️ Settings:
3-10 Diff Moving Average Window: Default 16
Lower values (10-12) = More sensitive, faster signals
Higher values (20-25) = Smoother, fewer false signals
💡 Trading Strategy:
Identify overall trend direction on higher timeframe
Wait for pullback (fast line crosses zero against trend)
Enter when momentum returns (color change with trend)
Exit when fast line crosses zero in opposite direction
📈 Best Timeframes:
Scalping: 1-5 min charts
Day Trading: 15-30 min charts
Swing Trading: 1H-4H charts
⚠️ Risk Disclaimer:
This indicator is a momentum tool and should be used in conjunction with proper risk management, support/resistance levels, and additional confirmation signals. No indicator guarantees profitable trades.
Pro Trader SystemPro Trader System is a comprehensive trading indicator that combines multiple technical analysis tools into one powerful system. It provides clear BUY/SELL signals with a proprietary scoring system (0-100) to help traders make informed decisions across all timeframes and markets.
Vacs - Trade Support Panel 📈 Multi-Function Trade Support Panel (MACD + CVPE + MTF Bias)
This is a comprehensive Pine Script indicator designed to provide **multi-timeframe (MTF) bias** and **cumulative volume analysis** alongside standard **Moving Average Convergence Divergence (MACD)**, primarily intended as a **support panel** for confirming signals generated by other trading indicators and strategies.
🛠️ Included Modules and Functionality
This panel combines three powerful analysis tools into a single, unified view, all with customizable input controls for visibility and calculation:
1. **MACD (Moving Average Convergence Divergence) Module**
Function: Calculates and plots the standard MACD line, Signal line, and Histogram.
*Key Feature: Supports an **MTF mode**, allowing you to calculate the MACD based on a higher timeframe (e.g., 4H on a 1H chart) to identify broader momentum shifts.
Controls : Separate toggles for the MACD Line, Signal Line, and Histogram plots, along with standard length inputs (Fast EMA, Slow EMA, Signal Length).
2. **CVPE (Cumulative Volume & Position Engine) Module**
Function: Provides deeper insight into market pressure by analyzing the cumulative delta/volume flow.
CVD (Cumulative Volume Delta):** Tracks the running sum of buying or selling pressure, indicating the direction of order flow and potential accumulation/distribution.
Position Bias: Calculates the rate of change (slope) of the CVD, normalized by volatility, to show the immediate strength and conviction of buyers versus sellers.
Purpose: Helps identify divergences and confirm the conviction behind price moves.
Controls: A master toggle to enable/disable the entire CVPE engine and customizable smoothing methods/lengths.
3. **MTF Bias Panel (Dashboard)
Function: Provides a weighted, holistic score for the market bias across **four custom timeframes** (e.g., 1H, 4H, Daily, Weekly).
Calculation: The total bias score is derived by combining the directional signals from the MACD Histogram and the CVD Slope (Position Bias) for each selected timeframe, weighted according to user preference.
Purpose: Offers a quick, top-down view of the market structure and helps traders align their entries/exits with the larger trend direction.
Controls: Master toggle to show/hide the panel, independent weight adjustments for each of the four timeframes, and customizable component weights (MACD vs. CVD) for scoring.
💡 Recommended Use
This panel is designed to serve as a **critical confirmation tool** for any existing strategy:
1. **Trend Confirmation:** Use the **MTF Bias Panel** to confirm that the higher timeframes align with your trade direction before entering a signal generated by your primary indicator.
2. **Momentum Confirmation:** Use the **MACD** and **CVPE** modules to confirm that momentum is strong and order flow supports the anticipated move. Look for rising MACD Histograms and increasing Position Bias (CVD slope) in the direction of your trade.
3. **Divergence Spotting:** CVPE is excellent for identifying cumulative volume divergences against price, signaling potential reversals or exhaustion.
By providing multiple layers of analysis from different perspectives (momentum, order flow, and multi-timeframe), this indicator significantly reduces noise and helps traders take only the highest-conviction setups.
Would you like me to write a short, punchy title or tagline for this description?
Sk Macd TrendSk Macd Trend + Hidden Bullish MACD Divergence (Enhanced)
Original Author: Sujeetjeet1705
Enhanced by: Community Contribution (MACD-style Hidden Bullish Signal)
A powerful and widely respected WaveTrend-based oscillator with all the original premium features intact:
• Laguerre-smoothed WaveTrend (WT1 & WT2)
• Professional 4-color momentum histogram (strong/weak bull & bear)
• Filled MACD/Signal area for instant trend bias
• Built-in regular + hidden divergences (signal & histogram)
• Smart trailing stop system with ATR-based dynamic stops
• Clean buy/sell cross signals with overbought/oversold filtering
NEW POWERFUL ADDITION:
Hidden Bullish MACD-Style Divergence Detector
(Exactly like institutional MACD hidden bullish setups)
The indicator now highlights — with a bright blue histogram bar and a blue square below the price candle — when ALL three high-probability conditions are met simultaneously:
1. WaveTrend Histogram (wt3) is below zero (still in bearish territory)
2. Histogram is rising (wt3 > wt3 ) → momentum turning up
3. Price makes a higher low (low > low ) → bullish hidden divergence
This is one of the strongest early-reversal signals in technical analysis and often marks the exact bottom before explosive bounces.
Key Features:
• Blue square appears directly on the main chart (overlay)
• Histogram turns solid blue only on valid setups (very easy to spot)
• No repainting — 100% real-time reliable
• Works perfectly on all timeframes and assets
• All original features, colors, and logic preserved
Perfect for swing traders, reversal hunters, and anyone looking to catch major turns early.
Use with confidence — this is now one of the most complete and visually intuitive WaveTrend oscillators available on TradingView.
Enjoy the edge!
options millionaireOptions Millionaire is an advanced market-timing indicator designed to identify high-probability turning points by combining volatility analysis with momentum exhaustion levels.
The script uses the Bollinger Band Width Percentage (BBW%) to detect volatility compression (low volatility) and expansion phases (high volatility), and it colors the chart background accordingly.
Green background highlights favorable bullish expansion conditions, while red background signals bearish expansion phases.
How the indicator works (concept overview)
Volatility Model:
BBW% is used to measure how “tight” or “wide” the Bollinger Bands are.
• Low BBW% = volatility compression (potential breakout zone)
• High BBW% = expansion (trend acceleration)
Momentum Exhaustion:
The Stochastic %K identifies overbought and oversold conditions.
Turning-point signals occur when the market reaches an exhaustion level and volatility enters a specific phase.
Signal Generation:
• CALL signals appear when the market is oversold during a bullish or expanding volatility phase.
• PUT signals appear when the market is overbought during a bearish or expanding volatility phase.
How to use it
Works well for options strategies, reversal setups, and mean-reversion entries.
Effective across multiple assets (stocks, crypto, forex).
Best performance on 5m–1h timeframes.
Use with market structure or confirmation indicators to refine entry points.
What makes it original
While BBW% and Stochastic are classic tools, Options Millionaire combines them into a turning-point engine that focuses specifically on volatility compression → expansion transitions aligned with momentum exhaustion.
This dual-filter approach helps identify reversals with better timing compared to using standard indicators separately.
RSI MACD Proportional ComboThis indicator combines two of the most widely used momentum tools in the market:
RSI and MACD into a single proportional framework.
MACD values are normalized so they can be displayed together with RSI on the same 0–100 scale. This allows both signals to be compared directly and interpreted more intuitively.
In this structure, RSI’s 50 midline effectively functions like MACD’s zero line, helping traders quickly identify momentum shifts without needing to view separate panels or raw MACD values. The result is a clean, unified momentum indicator that simplifies trend direction, overbought/oversold conditions, and MACD-style crossovers within one combined visual tool.
Center and Volume AnalyzerCenter and Volume Analyzer that utilizes the chart's Center of Gravity alongside the Rate of Change with Bollinger Bands with a basis for the midpoint. As always, none of this is investment or financial advice. Please do your own due diligence and research.
White Crow**White Crow — cluster reversal signals + market structure**
> Indicator that helps you read market structure (pivots, trend, last extremes) and spot potential reversals through CCI/RSI signal clusters. This is *not* a standalone trading system and does not guarantee any result — it is a tool for filtering and confirming your own market ideas.
---
## 1. Concept
White Crow combines three core blocks:
1. **Pivots & market structure**
Automatically detects **local tops/bottoms** and derives a *Bullish / Bearish / Sideways* bias from them.
In the top-right corner you see a compact panel with current trend and **Last Bottom / Last Top** prices.
2. **Momentum & overbought/oversold zones**
Inside, the indicator uses:
* **CCI** with fixed levels `+100 / -100`;
* an optional **RSI filter** with overbought/oversold levels (`80 / 20`).
These generate basic *Buy / Close* signals.
3. **Cluster signals Buy X / CloseV**
The script tracks **clusters of signals inside a 4-bar window** and highlights rarer, “amplified” events:
* **Buy X** — cluster buy signal (multiple buy conditions in a row);
* **CloseV** — cluster signal for exit/reversal.
**Buy X and CloseV are the strongest and most reliable signals in this indicator** because they are based on repeated conditions rather than a single bar. They work **best on higher timeframes (1H–4H)**, where they reflect meaningful shifts in order flow instead of noise.
> ⚠️ Important: Buy X and CloseV are *only signals*. They must be used as **one of several confirmation factors** for your own view of market structure (support/resistance, trend, price action, volume, etc.), not as standalone reasons to enter or exit trades.
---
## 2. How it works
### 2.1. Pivots and trend detection
* The indicator builds a **zigzag-like structure**:
after a local high, once price retraces down by a given percentage (`pivotSigma`), a **Top** is marked;
after a local low, once price retraces up by the same percentage, a **Bottom** is marked.
* Using the sequence of recent tops and bottoms, the script determines the trend:
* *Bullish* — the last low is higher than the previous one (HL);
* *Bearish* — the last high is lower than the previous one (LH);
* otherwise — *Sideways*.
* The info table shows:
* **Market Trend** — Bullish / Bearish / Sideways;
* **Last Bottom / Last Top** with adaptive decimal precision (works for crypto, FX, stocks, etc.).
### 2.2. Base Buy / Close signals
* **Long condition (Buy):**
* `CCI < -100` (oversold),
* if RSI filter is enabled — `RSI < 20`.
* **Short/Exit condition (Close):**
* `CCI > +100` (overbought),
* if RSI filter is enabled — `RSI > 80`.
These conditions generate the regular **Buy** and **Close** labels on the chart.
### 2.3. Clusters: Buy X and CloseV
To reduce noise, the indicator evaluates not only the current bar, but also the **last 4 bars**:
* `buy_count` — how many times the long condition was true within the last 4 bars;
* `sell_count` — how many times the short condition was true within the last 4 bars.
Then:
* **Buy X** appears when:
* `buy_count ≥ 2` (conditions for Buy were met on at least 2 of the last 4 bars),
* the time filter between two Buy X signals is satisfied (`Min Bars Between Signals`).
* **CloseV** appears when:
* `sell_count ≥ 2`,
* the required number of bars has passed since the previous CloseV.
> ✅ This is why **Buy X / CloseV are stronger and more trustworthy than single Buy/Close signals**, especially on **1H–4H** timeframes: the market confirms the same overbought/oversold condition several times in a row.
### 2.4. Order Blocks
* When `Show Order Blocks` is enabled, the indicator highlights **impulsive candles** whose body exceeds a threshold based on ATR.
* Colored rectangles mark **potential order blocks** (areas where strong buying or selling previously occurred).
## 3. Inputs and customization
Inputs are grouped in TradingView-friendly categories.
### 3.1. Pivot Settings
* `Show Pivots` — enable/disable **Top / Bottom** markers.
* `Sigma (% retracement)` — pivot sensitivity (minimum retracement in % required to confirm a pivot).
* Colors for Top/Bottom — for visual tuning.
**Tip:**
On H1–H4 you can keep near-default values.
On lower timeframes, reduce `Sigma` if you want more detailed local structure.
### 3.2. CCI / RSI Settings
* `CCI Period` — CCI length (short by default for faster reaction).
* `Enable RSI Filter` / `RSI Period` — toggle and length for RSI filter.
* RSI levels are fixed at **20 / 80** to mark strong oversold/overbought zones.
**Usage:**
* For more conservative entries — keep the RSI filter enabled.
* For more frequent signals (e.g. scalping) — you can disable the RSI filter.
### 3.3. Order Blocks
* `Show Order Blocks` — display order block zones.
* `Block Threshold (ATR multiplier)` — how large a candle must be (vs ATR) to be considered significant.
### 3.4. Signals & Filters
* `Show Buy / Show Buy X / Show Close / Show CloseV` — choose which labels you want to see.
* `Enable Time Filter` — enable minimum spacing between amplified signals.
* `Min Bars Between Signals` — how many bars must pass between two Buy X or two CloseV signals.
**Tip:**
If you see too many amplified signals, increase `Min Bars Between Signals`.
If you want more activity, decrease it.
### 3.5. Alerts
* `Buy Alerts / Buy X Alerts / Close Alerts / CloseV Alerts` — choose which signal types should trigger alerts.
* `One Alert Per Bar` — when enabled, alerts are triggered only once per bar (recommended for H1–H4).
Alerts are generated via `alert()`, with messages that include signal type, ticker, timeframe and current price.
---
## 4. How to trade with White Crow
### 4.1. Recommended timeframes
* 📌 **Main focus: 1H–4H.**
On these timeframes:
* pivots and trend are more stable;
* CCI/RSI reflect meaningful swings;
* **Buy X / CloseV clusters** filter out a lot of intrabar noise.
You can still experiment on M1–M15, but expect more signals and more sensitivity to noise.
### 4.2. Reading the signals step by step
1. **Start with context**
* Look at **Market Trend / Last Bottom / Last Top** in the info panel.
* See where price is relative to these points: near resistance, near support, inside a range, etc.
2. **Identify zones of interest**
* Use pivots and order blocks as potential support/resistance areas.
* Wait for price to approach these zones.
3. **Watch the signals**
* **Buy** — early sign of local oversold conditions.
* **Buy X** — amplified cluster signal; more weight than a single Buy.
* **Close** — early warning of potential exhaustion in the current move.
* **CloseV** — amplified cluster exit/reversal signal.
4. **Practical approach**
* In a *Bullish* trend:
* focus on **Buy / Buy X** near bottoms and demand blocks;
* use **Close / CloseV** for partial profit-taking or tightening stops.
* In a *Bearish* trend:
* focus on **Close / CloseV** near tops and supply blocks;
* use **Buy / Buy X** mainly for countertrend scalps with strict risk control.
---
## 5. Important notes and disclaimer
1. **Buy X / CloseV are stronger — but not “magic” signals.**
They are statistically more meaningful than single Buy/Close signals because:
* they require multiple confirmations within a cluster;
* they are time-filtered.
However, **false signals are still possible**, especially in news spikes and low-liquidity conditions.
2. **Best performance on higher timeframes (1H–4H).**
Here, Buy X and CloseV usually reflect genuine shifts in supply/demand rather than micro noise.
3. **This is a confirmation tool, not a complete system.**
Pro Trading White Crow:
* does not manage risk;
* does not define position size or stop-loss;
* does not replace your own analysis.
Always use its signals as **one of several confluence factors** together with structure, trend, price action, volume, and your trading plan.
4. **Educational purpose only.**
This script and description are for educational and analytical purposes only.
They **do not constitute investment advice or a guarantee of profit**.
You are fully responsible for all trading decisions and risk management.
---
---
## White Crow — кластерные сигналы разворота + структура рынка
> Индикатор помогает читать рыночную структуру (пивоты, тренд, последние экстремумы) и находить потенциальные развороты через кластеры сигналов CCI/RSI. Это *не* готовая торговая система и *не* гарантия результата — а инструмент для фильтрации и подтверждения ваших собственных идей по рынку.
---
## 1. Концепция
White Crow объединяет три ключевых блока:
1. **Пивоты и структура рынка**
Автоматически находит **локальные вершины и впадины** и на их основе формирует трендовое смещение: *Bullish / Bearish / Sideways*.
В правом верхнем углу — компактная панель с текущим трендом и ценами **Last Bottom / Last Top**.
2. **Моментум и зоны перегрева**
Внутри используются:
* **CCI** с фиксированными уровнями `+100 / -100`;
* опциональный **фильтр RSI** с уровнями перепроданности/перекупленности (`20 / 80`).
По ним строятся базовые сигналы *Buy / Close*.
3. **Кластерные сигналы Buy X / CloseV**
Скрипт отслеживает **кластеры сигналов внутри окна в 4 бара** и выделяет более редкие, «усиленные» события:
* **Buy X** — кластерный сигнал покупки (несколько buy-условий подряд);
* **CloseV** — кластерный сигнал выхода/разворота.
Именно **Buy X и CloseV являются наиболее сильными и достоверными сигналами индикатора**, так как возникают при повторяющемся выполнении условий, а не на одном баре. Лучше всего они работают **на старших таймфреймах (1–4 часа)**, где отражают реальное смещение баланса спроса/предложения, а не рыночный шум.
> ⚠️ Важно: Buy X и CloseV — *это всего лишь сигналы*. Они должны использоваться **как один из факторов подтверждения** вашего видения структуры рынка (уровни, тренд, price action, объём и т.д.), а не как единственная причина для входа или выхода.
---
## 2. Как это работает
### 2.1. Пивоты и определение тренда
* Индикатор строит **структуру в стиле зигзага**:
после локального максимума, когда цена откатывает вниз на заданный процент (`pivotSigma`), отмечается **Top**;
после локального минимума, когда цена откатывает вверх на тот же процент, отмечается **Bottom**.
* По последовательности последних вершин и впадин определяется тренд:
* *Bullish* — последний минимум выше предыдущего (HL);
* *Bearish* — последний максимум ниже предыдущего (LH);
* иначе — *Sideways*.
* В информационной таблице отображаются:
* **Market Trend** — Bullish / Bearish / Sideways;
* **Last Bottom / Last Top** с адаптивным количеством знаков (подходит под крипту, форекс, акции и т.д.).
### 2.2. Базовые сигналы Buy / Close
* **Условие для Buy (лонг):**
* `CCI < -100` (зона перепроданности),
* при включённом фильтре — `RSI < 20`.
* **Условие для Close (шорт/выход):**
* `CCI > +100` (зона перекупленности),
* при включённом фильтре — `RSI > 80`.
По этим условиям индикатор рисует обычные метки **Buy** и **Close**.
### 2.3. Кластеры: Buy X и CloseV
Чтобы отсеять лишний шум, индикатор оценивает не только текущий бар, но и **4 последних бара**:
* `buy_count` — сколько раз условие на покупку выполнялось за последние 4 бара;
* `sell_count` — сколько раз условие на продажу/выход выполнялось за последние 4 бара.
Далее:
* **Buy X** появляется, когда:
* `buy_count ≥ 2` (минимум на 2 из 4 баров были условия для покупки),
* соблюдён фильтр по времени между усиленными сигналами (`Min Bars Between Signals`).
* **CloseV** появляется, когда:
* `sell_count ≥ 2`,
* прошло достаточно баров с момента предыдущего CloseV.
> ✅ Поэтому **Buy X и CloseV заметно сильнее и надёжнее одиночных Buy/Close**, особенно на **таймфреймах 1–4 часа**: рынок несколько раз подряд подтверждает один и тот же перегрев/разрядку момента.
### 2.4. Order Blocks
* При включённом `Show Order Blocks` индикатор выделяет **импульсные свечи**, чьё тело больше заданного множителя ATR.
* По таким свечам строятся цветные прямоугольники — **потенциальные блоки ордеров** (области поддержек/сопротивлений, где ранее проходил крупный объём).
---
## 3. Настройки и кастомизация
Настройки сгруппированы в привычные разделы TradingView.
### 3.1. Pivot Settings
* `Show Pivots` — включить/выключить метки **Top / Bottom**.
* `Sigma (% retracement)` — чувствительность к пивотам (минимальная глубина отката в процентах).
* Цвета Top/Bottom — визуальная настройка.
**Совет:**
На H1–H4 можно оставить значения близкие к стандартным.
На младших ТФ уменьшайте `Sigma`, если нужна более детальная структура.
### 3.2. CCI / RSI Settings
* `CCI Period` — период CCI (по умолчанию короткий, для более быстрой реакции).
* `Enable RSI Filter` / `RSI Period` — включение и длина RSI-фильтра.
* Уровни RSI фиксированы: **20 / 80**, выделяя сильную перепроданность/перекупленность.
**Использование:**
* Для более консервативной торговли — держите фильтр RSI включённым.
* Для более частых сигналов (скальпинг и т.п.) — можно фильтр отключить.
### 3.3. Order Blocks
* `Show Order Blocks` — отображение блоков ордеров.
* `Block Threshold (ATR multiplier)` — насколько большой должна быть свеча относительно ATR, чтобы считаться значимой.
### 3.4. Signals & Filters
* `Show Buy / Show Buy X / Show Close / Show CloseV` — выбор типов отображаемых меток.
* `Enable Time Filter` — включение минимального интервала между усиленными сигналами.
* `Min Bars Between Signals` — сколько баров должно пройти между двумя Buy X или двумя CloseV.
**Совет:**
Если усиленных сигналов слишком много — увеличьте `Min Bars Between Signals`.
Если хотите больше активности — уменьшите это значение.
### 3.5. Alerts
* `Buy Alerts / Buy X Alerts / Close Alerts / CloseV Alerts` — выбор типов сигналов для алертов.
* `One Alert Per Bar` — при включении алерты отправляются один раз на бар (рекомендуется для H1–H4).
Алерты формируются через `alert()` с сообщением, включающим тип сигнала, тикер, таймфрейм и текущую цену.
---
## 4. Как использовать White Crow в торговле
### 4.1. Рекомендуемые таймфреймы
* 📌 **Основной фокус: 1–4 часа.**
На этих ТФ:
* структура по пивотам и тренд более стабильны;
* CCI/RSI отражают существенные ценовые колебания;
* кластеры **Buy X / CloseV** лучше отсеивают шум.
На M1–M15 индикатор тоже можно применять, но нужно быть готовым к большему количеству сигналов и чувствительности к микродвижениям.
### 4.2. Пошаговое чтение сигналов
1. **Начните с контекста**
* Посмотрите на **Market Trend / Last Bottom / Last Top** в панели.
* Определите, где находитесь относительно этих уровней: у сопротивления, у поддержки, внутри диапазона и т.п.
2. **Найдите зоны интереса**
* Используйте пивоты и order blocks как потенциальные области спроса/предложения.
* Ждите подхода цены к этим зонам.
3. **Отслеживайте сигналы**
* **Buy** — ранний признак локальной перепроданности.
* **Buy X** — усиленный кластерный сигнал, более значимый, чем одиночный Buy.
* **Close** — ранний сигнал возможного ослабления текущего движения.
* **CloseV** — усиленный кластерный сигнал выхода/разворота.
4. **Практическое применение**
* В *бычьем* тренде:
* фокус на **Buy / Buy X** возле впадин и зон спроса;
* **Close / CloseV** использовать для частичной фиксации и подтягивания стопа.
* В *медвежьем* тренде:
* фокус на **Close / CloseV** возле вершин и зон предложения;
* **Buy / Buy X** — для аккуратных контртрендовых входов с жестким риском.
---
## 5. Важные замечания и дисклеймер
1. **Buy X / CloseV сильнее, но не «волшебные» сигналы.**
Они статистически более значимы, чем одиночные Buy/Close, потому что:
* требуют нескольких подтверждений в кластере;
* фильтруются по времени.
Однако **ложные срабатывания всё равно возможны**, особенно на новостях и в условиях низкой ликвидности.
2. **Оптимальная область применения — старшие ТФ (1–4 часа).**
Здесь Buy X и CloseV обычно отражают реальное изменение баланса спроса/предложения, а не шум.
3. **Это инструмент подтверждения, а не полноценная система.**
Pro Trading White Crow:
* не управляет рисками;
* не считает размер позиции и уровень стоп-лосса;
* не заменяет ваше собственное видение рынка.
Всегда используйте его сигналы **как один из факторов согласованности** вместе со структурой, трендом, price action, объёмом и персональным торговым планом.
4. **Образовательный характер.**
Скрипт и описание предназначены для обучения и анализа графиков.
Они **не являются инвестиционной рекомендацией и не гарантируют прибыль**.
Вы самостоятельно принимаете все торговые решения и несёте полную ответственность за риск.
---
Buyer-Seller Locomotive IndexBuyer-Seller Locomotive Index (BSLI)
An original indicator that measures buyer and seller pressure, momentum shifts, and structural control in the market.
Overview
The Buyer-Seller Locomotive Index evaluates candle-level positioning relative to an adaptive EMA-based reference price. It calculates bull vs bear strength percentages and Total Power momentum using fast and slow EMAs, providing insight into which side currently dominates market structure. By combining pressure analysis with momentum smoothing, BSLI highlights both the intensity and direction of market control.
Features
Bull/Bear Strength Percentages: Normalized 0–100 values showing current dominance and threshold-based high-strength alerts.
Total Power Momentum: Fast and slow EMA crossover signals with a histogram to visualize expansion or contraction of pressure.
Visual Markers: Optional fight diamonds highlight candles intersecting the reference price, while dynamic labels show the exact strength percentages.
Crossover Signals: Circles mark potential shifts in momentum, helping to identify early transitions in market control.
Customizable Display: Users can toggle labels, markers, and histogram visibility for a clean or detailed chart view.
How to Use
BSLI provides traders with a multi-layered view of market structure:
Observe shifts in buyer vs seller dominance.
Spot early momentum transitions before trends become obvious.
Confirm price structure with Total Power and strength percentages.
Highlight periods of compression, conflict, or indecision for additional context.
This indicator is intended as a supportive analysis tool. Traders should combine it with personal methodology, risk management, and other analysis techniques. It is not a standalone trade signal.
Important Notes
Measures relative pressure, not absolute volume.
Percentages reflect current structure, not predicted price direction.
Signals are contextual; do not rely solely on crossovers for trading decisions.
Uses no lookahead; all calculations are based on completed bars.
Results may vary by asset, timeframe, and market volatility.
Originality
BSLI uniquely combines adaptive pressure extraction, normalized strength percentages, dual-EMA power momentum, conflict detection, and integrated labeling. This multi-component approach provides a clear and actionable view of the evolving balance between buyers and sellers, supporting both short-term and structural analysis.
VPT Osc - Call/Put Mirror# 📊 VPT Oscillator with Call/Put Mirror & Trading Signals Dashboard
## Overview
Advanced **Volume Price Trend (VPT) Oscillator** specifically designed for **options traders** who want to analyze both CALL and PUT options simultaneously. This indicator provides real-time divergence detection, signal strength scoring, and mirror analysis to identify high-probability reversal and continuation setups.
## 🎯 What Makes This Unique?
### **Call/Put Mirror Technology**
- Automatically detects if you're viewing a CALL or PUT option
- Simultaneously plots the VPT of the opposite option (mirror)
- Identifies contrarian opportunities when current and mirror options show conflicting signals
- Perfect for options spreads and hedging strategies
### **Comprehensive Trading Signals Dashboard**
A real-time dashboard displays:
- **Active Signal** - Current divergence type (Regular/Hidden Bullish/Bearish)
- **Signal Score** - 0-100 probability rating based on multiple confirmation filters
- **Trade Action** - Clear BUY CALLS/PUTS recommendations
- **Position Size** - Risk-adjusted sizing based on signal strength
- **Mirror Analysis** - Opposite option's signal for contrarian plays
- **Volume & Change%** - Live price action data for both options
- **Risk Management** - Automatic stop-loss and target calculations
## 🔍 Key Features
### 1. **Four Divergence Types**
**Primary Entry Signals:**
- ✅ **Regular Bullish Divergence** - Price makes lower low, VPT makes higher low → BUY CALLS
- ✅ **Regular Bearish Divergence** - Price makes higher high, VPT makes lower high → BUY PUTS
**Advanced Continuation Signals:**
- 🔄 **Hidden Bullish Divergence** - Price makes higher low, VPT makes lower low → ADD TO CALLS
- 🔄 **Hidden Bearish Divergence** - Price makes lower high, VPT makes higher high → ADD TO PUTS
### 2. **Multi-Factor Signal Scoring System**
Each signal receives a score (0-100) based on:
- **Divergence Strength** (30 points) - Magnitude of price/volume divergence
- **Volume Confirmation** (20 points) - Above-average volume present
- **ADX Trend Filter** (20 points) - Strong trend confirmation
- **Multi-Timeframe Alignment** (20 points) - Higher timeframe agreement
- **RSI Extremes** (10 points) - Oversold/overbought confirmation
**Score Interpretation:**
- 90-100: Extremely Strong → Full position size (3-5% capital)
- 70-89: Strong → Standard position (2-3% capital)
- 50-69: Moderate → Half position (1% capital)
- <50: Weak → AVOID or paper trade only
### 3. **Zero Line Cross Strategy**
- 🚀 **Bullish Cross** - VPT crosses above zero → Mass buying pressure entering
- ⚠️ **Bearish Cross** - VPT crosses below zero → Distribution phase starting
- Best when combined with divergence signals (Score 70+)
### 4. **ATR Dynamic Bands**
Identifies extreme overbought/oversold conditions:
- **Upper Band Touch + Bearish Divergence (75+)** = 🔴 AGGRESSIVE PUT buying
- **Lower Band Touch + Bullish Divergence (75+)** = 🟢 AGGRESSIVE CALL buying
- Auto-adjusts to market volatility
### 5. **Contrarian Mirror Analysis**
🔥 **High Probability Reversals** detected when:
- Current option shows bearish divergence (Score 70+)
- Mirror option shows bullish divergence (Score 70+)
- Suggests sharp market reversal imminent
## 📈 Trading Strategies
### Strategy 1: Primary Divergence Entry
1. Wait for Regular Bullish/Bearish divergence
2. Confirm Score ≥ 70
3. Check volume confirmation (✓ Confirmed)
4. Enter with standard position size
5. Stop loss: Below recent swing low (for calls) / Above swing high (for puts)
6. Target: 2:1 to 3:1 risk-reward ratio
### Strategy 2: Hidden Divergence - Add to Winners
1. Already holding CALL/PUT position
2. Hidden divergence appears in same direction
3. Add to position during pullback/bounce
4. Lower risk (trend already established)
### Strategy 3: Mirror Contrarian Play
1. Current option shows bearish divergence
2. Mirror option shows strong bullish signal
3. Both scores ≥ 70
4. **EXIT current position → SWITCH to mirror option**
5. Captures sharp reversals
### Strategy 4: Zero Line Momentum
1. VPT crosses above/below zero line
2. Combine with Score 65+ divergence
3. Use ATM or slightly OTM options
4. Best for 1-3 day expiries (quick moves)
### Strategy 5: ATR Band Extremes
1. Wait for VPT to touch upper/lower band
2. Confirm with opposing divergence (Score 75+)
3. Enter aggressive position
4. Target: Return to zero line
## ⚙️ Customizable Settings
### Signal Filters
- **ADX Trend Filter** - Minimum ADX threshold for trend strength
- **Volume Confirmation** - Volume multiplier (1.2x default)
- **MTF Confirmation** - Higher timeframe alignment
- **Signal Cooldown** - Minimum bars between signals (prevents spam)
- **Minimum Score** - Filter signals below threshold
### Visual Options
- **ATR Dynamic Bands** - Show/hide volatility bands
- **Mirror Display** - Toggle mirror option VPT
- **Table Position** - 9 positions (top/middle/bottom × left/center/right)
- **Table Size** - Auto, Tiny, Small, Normal, Large, Huge
- **Risk Management Display** - Show/hide stop-loss and targets
### Divergence Detection
- **Pivot Lookback** - Sensitivity for divergence detection
- **Lookback Range** - Min/max bars for divergence confirmation
- **Individual Toggle** - Enable/disable each divergence type
## 📱 Dashboard Layout
**Top Rows (Critical Info):**
1. Mirror Signal & Score
2. Active Signal
3. Signal Score (0-100)
4. Zero Line Status
5. Volume Confirmation
6. Trade Action
**Middle Rows (Confirmations):**
7. Position Sizing
8. ADX Trend Strength
9. Higher Timeframe Alignment
10. ATR Band Status
**Bottom Rows (Risk Management):**
11. Contrarian Alert (if applicable)
12. Stop Loss Level
13. Target (R:R Ratio)
14. Expected Win Rate
## 🎨 Visual Elements
- **Color-coded VPT areas** - Aqua (bullish) / Orange (bearish)
- **Mirror VPT overlay** - Fuchsia (bull) / Yellow (bear) with transparency
- **Divergence lines** - Connect pivot points automatically
- **Score labels** - Show signal strength directly on chart
- **ATR bands** - Dynamic support/resistance zones
- **Background colors** - MTF trend confirmation (subtle)
## 💡 Best Practices
1. **Wait for Score ≥ 70** on primary signals for best win rate
2. **Always check volume confirmation** before entering
3. **Use mirror analysis** for additional edge
4. **Respect stop losses** - Options decay fast
5. **Consider expiry dates** - Minimum 5-7 days recommended
6. **Scale positions** based on score (90+ = full size)
7. **Watch zero line** for momentum shifts
## ⚠️ Risk Disclaimer
- This indicator is designed for **educational purposes** and analysis
- Options trading carries substantial risk of loss
- Past divergences do not guarantee future performance
- Always use proper position sizing (1-5% per trade recommended)
- Expected win rate ranges from 55-80% depending on score threshold
- Combine with fundamental analysis and broader market context
## 📊 Recommended Timeframes
- **Intraday Scalping:** 5min, 15min charts
- **Swing Trading:** 1H, 4H charts
- **Position Trading:** Daily charts
Works best on **liquid option contracts** with tight bid-ask spreads.
## 🔧 Technical Details
- Built on **Volume Price Trend (PVT)** oscillator
- Dual EMA crossover (Short: 3, Long: 20 default)
- Multi-factor scoring algorithm with weighted components
- Real-time mirror symbol parsing for NSE/exchange formats
- Dynamic ATR-based volatility bands
- Automatic pivot detection for divergences
## 📚 What You Get
✅ Professional-grade divergence detection
✅ Real-time signal scoring (0-100)
✅ Automatic mirror option analysis
✅ Trading signals dashboard
✅ Risk management calculator
✅ Volume and price change tracking
✅ Multiple confirmation filters
✅ Fully customizable settings
✅ Works on all option exchanges
***
**Perfect for:** Options traders, day traders, swing traders, divergence traders, volume analysis enthusiasts
**Works with:** CALL options, PUT options, Index options, Stock options, Futures options
**Supports:** NSE, NYSE, NASDAQ, and other major exchanges (auto-detects option format)
***
*If you find this indicator useful, please leave a comment or boost! Your feedback helps improve future versions.*
*For questions or feature requests, feel free to comment below.*
***
## 📝 Version History
**v1.0** - Initial Release
- Call/Put mirror functionality
- Four divergence types with scoring
- Trading signals dashboard
- ATR dynamic bands
- Zero line cross detection
- Volume and change% tracking
- Risk management module
***
**Tags:** #options #VPT #divergence #volumeanalysis #callput #tradingsignals #optionstrading #technicalanalysis #volumepricetrend






















