AperonFx Pivot Points 1.1This indicator plots ATR-based pivot levels with a clean, institutional layout.
The central pivot (P) is calculated from the selected timeframe and price formula, while support and resistance levels are placed at equal distance steps above and below the pivot.
Users can choose between an automatic step based on ATR or a fixed price step for fully controlled, symmetric levels.
All levels are drawn as continuous segments that align precisely with the active pivot period.
Price annotations are displayed in a minimal, unobtrusive style and always match the exact level values.
The indicator is designed to remain consistent across chart timeframes without recalculation drift.
It is intended for traders who want clear, structured reference levels rather than reactive signals.
지표 및 전략
ARM-EMA COLOR BUY SELLPrice action trading is about reading what the market is doing, so you can deploy the right trading strategy to reap the maximum benefits. In simple words, price action is a trading technique in which a trader reads the market and makes subjective trading decisions based on the price movements, rather than relying on technical indicators or other factors.
At its most simplistic, it attempts to describe the human thought processes invoked by experienced, non-disciplinary traders as they observe and trade their markets. Price action is simply how prices change - the action of price. It is most noticeable in markets with high liquidity and price volatility, but anything that is traded freely (in price) in a market will per se demonstrate price action.
Bull/Bear vs Base vs Index (% Change Spread)Visualizes the performance gap ("Beta Decay") between 3x Leveraged ETFs (SOXL/SOXS) and their underlying sector (SOXX), relative to the S&P 500 (SPY).
This indicator is designed for traders who trade leveraged products (like SOXL/SOXS, TQQQ/SQQQ) and need to see true relative strength beyond simple price action.
It calculates the percentage change over a user-defined lookback period for four instruments:
Base (1x): The sector benchmark (Default: SOXX).
Bull (3x): The leveraged long ETF (Default: SOXL).
Bear (-3x): The leveraged inverse ETF (Default: SOXS).
Index: The broad market zero-line (Default: SPY).
It then plots the Spread to reveal the health of the trend:
Bull Spread (Green Line): Bull % - Base %
Bear Spread (Red Line): Bear % - Base %
Base vs Index (Filled Area): Base % - SPY %
🧠 The Logic: Why Use Spreads?
In a perfectly efficient trending market, a 3x Bull ETF should move exactly 300% of the underlying asset. However, in choppy or volatile markets, volatility decay (beta slippage) causes leveraged ETFs to underperform mathematically.
Positive Spread: The leveraged ETF is successfully capturing momentum (The "Sweet Spot").
Negative Spread: The leveraged ETF is suffering from drag or the underlying asset is chopping.
📈 Recommended Trading Plan
Note: This indicator works best as a filter for entry conditions, not a standalone signal. Always use proper risk management.
Strategy A: The "Clean Trend" (Momentum)
Goal: Enter a 3x position only when volatility drag is minimal.
1. Bull Signal:
Condition 1: The Base vs Index (Area) is Green (Sector is outperforming SPY).
Condition 2: The Bull Spread (Green Line) is Positive (> 0).
Why: This confirms the sector is strong AND the 3x ETF is amplifying that move efficiently without decay eating the profits.
2. Bear Signal:
Condition 1: The Base vs Index (Area) is Red (Sector is lagging SPY).
Condition 2: The Bear Spread (Red Line) is Positive (> 0).
Why: This confirms the sector is crashing and the Bear ETF is successfully capturing the downside momentum.
Strategy B: The "Decay Avoidance" (Cash is King)
Goal: Avoid leveraged funds during chop.
Condition: If BOTH the Bull Spread and Bear Spread are Negative (< 0) (below the zero line).
Action: Stay in Cash or trade the 1x underlying (SOXX) only.
Why: When both spreads are negative, it mathematically proves that the market is too choppy for leverage. Both the Long and Short leveraged funds are losing value relative to the underlying asset.
Features:
Pine Script® v6: Updated for the latest engine performance and visuals.
Dashboard Table: Real-time percentage spreads displayed directly on the chart (customizable position).
Fully Customizable: Works on any sector (e.g., set inputs to QQQ/TQQQ/SQQQ for Tech).
Disclaimer:
Trading leveraged ETFs involves significant risk. This script is for educational purposes only.
ARM-EMA TREND BARSPrice action trading is about reading what the market is doing, so you can deploy the right trading strategy to reap the maximum benefits. In simple words, price action is a trading technique in which a trader reads the market and makes subjective trading decisions based on the price movements, rather than relying on technical indicators or other factors.
At its most simplistic, it attempts to describe the human thought processes invoked by experienced, non-disciplinary traders as they observe and trade their markets. Price action is simply how prices change - the action of price. It is most noticeable in markets with high liquidity and price volatility, but anything that is traded freely (in price) in a market will per se demonstrate price action.
Resumo de Velas (120) ROMANOCounting the last 120 candles with volume data
Count of positive candles + count of negative candles
Ratio between negative and positive candles
If the ratio is greater than 1.20, enter a sell position
If the ratio is less than 0.80, enter a buy position
Use on a high timeframe chart
------------------------
Contagem das ultimas 120 velas com volumes
Contagem velas positivas + contagem velas negativas
Razão entre negativas e positivas
Se a razão é maior que 1.20 entra em venda
Se a razão é menor que 0.80 entra em compra
Uso no grafico de alto timeframe
Apex Trend & Liquidity Master V2.1The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers or standalone support/resistance tools, this script integrates a volatility-adaptive "Trend Cloud" with a "Smart Liquidity" engine.
This integration allows the script to offer unique filtering capabilities, such as hiding counter-trend liquidity zones to reduce chart noise and focus on high-probability continuations.
How It Works
Adaptive Trend Cloud The backbone of the system is the Trend Cloud, calculated using a Hull Moving Average (HMA) base with ATR bands. The cloud expands and contracts based on market volatility.
Green Cloud: Bullish Regime. The market is trending up; look for long opportunities.
Red Cloud: Bearish Regime. The market is trending down; look for short opportunities.
Smart Liquidity Zones (with Integration) The script automatically detects Pivot Highs and Lows to draw Supply (Resistance) and Demand (Support) zones. These zones persist until price breaks through them (mitigation).
Integration Feature: A "Filter Zones by Trend" option is included in the settings. When enabled, this feature connects the Trend Cloud to the Liquidity Engine:
It will only display Demand zones when the Trend Cloud is Bullish.
It will only display Supply zones when the Trend Cloud is Bearish.
Note on Lag: Zones are based on pivots (default lookback: 10). A zone appears on the chart 10 bars after the pivot forms. These are historical structural levels.
Signal Filters Buy and Sell labels are generated when the Trend Cloud changes color, but they are filtered to ensure quality:
Volume Filter: Signals only appear if the current volume is higher than the 20-period average.
RSI Filter: Prevents buying when RSI is overbought (>70) or selling when oversold (<30).
Live HUD An on-chart dashboard provides real-time data on:
Trend Bias: Direction of the cloud.
Momentum: RSI strength (Weak/Neutral/Strong).
Volume: High vs. Low activity.
Usage Guide
Identify the Trend: Use the background fill color to determine if you should be looking for longs (Green) or shorts (Red).
Wait for Structure: Look for price to pull back into a "Smart Liquidity" zone. For example, in a Green Trend, wait for price to touch a Green Demand box.
Confirm with Momentum: Check the Dashboard. Ideally, you want to see "Strong" momentum aligning with your trade direction.
Settings: If the chart is too cluttered, enable "Filter Zones by Trend" in the settings menu to hide counter-trend boxes.
Credits & Attribution This script combines original integration logic with adapted open-source concepts:
Smart Liquidity Logic: The method for generating Supply/Demand boxes via Pivot Highs/Lows and array management is adapted from open-source logic commonly used in Smart Money Concepts (SMC) indicators, notably popularized by LuxAlgo and the broader Pine community.
Trend Logic: The volatility cloud utilizes standard Hull Moving Average (HMA) and ATR formulas.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance of pivot levels or trend signals does not guarantee future results.
SMT Divergence [Kodexius]SMT Divergence is a correlation-based divergence detector built around the Smart Money Technique concept: when two normally correlated instruments should be making similar swing progress, but one prints a new extreme while the other fails to confirm it. This “disagreement” can be a valuable contextual signal around liquidity runs, distribution phases, and potential reversal or continuation points.
The script compares the chart symbol (primary) with a user-selected comparison symbol (for example BTC vs ETH, ES vs NQ, EUR/USD vs GBP/USD) and automatically scans both instruments for confirmed swing highs and swing lows using pivot logic. Once swings are established, it checks for classic SMT conditions:
Primary makes a new swing extreme while the comparison symbol forms a non-confirming swing .
To support a wider range of markets, the indicator includes an Inverse Correlation option for pairs that typically move opposite to each other (for example DXY vs EUR/USD). With this enabled, the divergence rules are logically flipped so that the script still detects “non-confirmation” in a way that is consistent with the pair’s relationship.
The indicator is designed to be readable and actionable. It can draw divergence labels directly on the main chart, connect the relevant swing points with lines, show a compact information table with the last signal and settings, and optionally render the comparison symbol as a mini candle chart in the indicator pane for quick visual validation.
🔹 Features
🔸 Two-Symbol SMT Analysis (Primary vs Compare)
Select any comparison symbol to evaluate correlation structure and divergence. The script fetches the comparison OHLC data using the current chart timeframe to keep both series aligned for analysis.
🔸 Inverse Correlation Mode
For inversely correlated pairs, enable “Inverse Correlation” so the script interprets confirmation appropriately (for example, a higher low on the comparison instrument might be expected to correspond to a lower low on the primary, depending on the relationship). This helps avoid false conclusions when the pair naturally moves opposite.
🔸 Pivot-Based Swing with Adjustable Sensitivity
Swings are detected using confirmed pivots (left bars and right bars). This provides cleaner structural swing points compared with raw candle-to-candle comparisons, and it lets you control sensitivity for different market conditions and timeframes. The script also limits stored swing history to keep performance stable.
🔸 Flexible Detection Mode: Time Matched or Independent Swings
You can choose how swings are paired across instruments:
Time Matched searches for a comparison swing that occurred at the same pivot time as the primary swing.
Independent Swings compares each symbol’s own last two swings without requiring an exact time match.
🔸 Range Control and Noise Filtering
To reduce weak or irrelevant signals:
“Max Bars Between Swings” ensures the two swings being compared are close enough in structure to be meaningful.
“Min Price Diff (%)” can require a minimum percentage change between the primary’s last two swing prices to confirm the move is significant.
🔸 Clear Visual Output with Tooltips
When a divergence is detected, the script can print a label (“SMT”) with bullish or bearish styling and a tooltip that includes the symbol pair and the primary swing price for quick context.
🔸 Divergence Lines for Context
Optional lines connect the relevant swing points, making it easier to see the exact structure that triggered the signal. One line can be drawn on the main chart and another in the indicator pane for the comparison series.
🔸 Info Table (At a Glance)
A compact table can display the active symbols, correlation mode, total divergences stored, and the most recent signal type.
🔸 Alerts Included
Built-in alert conditions are provided for bullish SMT, bearish SMT, and any SMT event so you can automate notifications without editing the code.
🔸 Optional Comparison Candle Panel
If enabled, the indicator can plot the comparison symbol as candles in the indicator pane. This is useful for confirming whether the divergence is happening around major levels, consolidations, or impulsive legs on the secondary instrument.
🔹 Calculations
This section summarizes the core logic used by the script.
1. Data Synchronization (Comparison Symbol)
The comparison instrument is requested on the chart’s current timeframe so swing calculations are performed consistently:
=
request.security(compareSymbolInput, timeframe.period, )
This ensures pivots and swing times are derived from the same bar cadence as the primary chart.
2. Swing Detection via Confirmed Pivots
Swings are detected using pivot logic with user-defined left and right bars:
primaryPivotHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
primaryPivotLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
Because pivots are confirmed only after the “right bars” have closed, the script stores each swing using an offset so the swing’s bar index and time reflect where the pivot actually occurred, not where it was confirmed.
3. Swing Storage and Retrieval
Both symbols maintain arrays of SwingPoint objects. Each new swing is pushed into the array, and older swings are dropped once the array exceeds the configured maximum. This makes the divergence engine predictable and prevents uncontrolled memory growth.
The script then retrieves the last and previous swing highs and lows (per symbol) to evaluate structure.
4. Matching Logic (Time Matched vs Independent)
When “Time Matched” is selected, the script searches the comparison swing array for a pivot that occurred at the exact same timestamp as the primary swing. When “Independent Swings” is selected, it simply uses the comparison symbol’s last two swings of the same type.
5. Bullish SMT Condition (LL vs HL)
A bullish SMT event is defined as:
Primary forms a lower low (last low < previous low)
Comparison forms a higher low (last low > previous low)
If inverse correlation is enabled, the comparison condition flips to maintain logical confirmation rules
The two primary swings must be within the configured bar distance window
Optional minimum percentage difference must be satisfied
A simple anti duplication rule prevents repeated triggers on the same structure
These checks are implemented directly in the bullish detection block.
6. Bearish SMT Condition (HH vs LH)
A bearish SMT event is defined as:
Primary forms a higher high (last high > previous high)
Comparison forms a lower high (last high < previous high)
Inverse correlation flips the comparison rule
Range checks, minimum difference filtering, and duplicate protection apply similarly
These checks are implemented in the bearish detection block.
7. Percentage Difference Filter
The optional “Min Price Diff (%)” filter measures the relative distance between the last two primary swing prices. This prevents very small structural changes from being treated as valid SMT signals.
priceDiffPerc = math.abs(lastSwing.price - prevSwing.price) / prevSwing.price * 100.0
The divergence condition is only allowed to trigger if this value exceeds the user defined threshold.
priceOk = priceDiffPerc >= minPriceDiff
This filter is especially useful on higher timeframes or during low volatility conditions, where micro structure noise can otherwise produce misleading signals.
8. Visualization and Output
When a divergence is confirmed, the script:
Stores the event in a divergence array (limited by “Max Divergences to Display”)
Draws a directional SMT label with a tooltip (optional)
Draws connecting lines using time based coordinates for clean alignment (optional)
It also updates an information table on the last bar only, and exposes alertconditions for automation workflows.
Razzere Cloned! V.8.1The foreign exchange market (forex, FX, or currency market) is a global decentralized or over-the-counter (OTC) market for the trading of currencies. This market determines foreign exchange rates for every currency. By trading volume, it is by far the largest market in the world, followed by the credit market.
The main participants are the larger international banks. Financial centres function as anchors of trading between a range of multiple types of buyers and sellers around the clock, with the exception of weekends. As currencies are always traded in pairs, the market does not set a currency's absolute value, but rather determines its relative value by setting the market price of one currency if paid for with another. Example: 1 USD is worth 1.1 Euros or 1.2 Swiss Francs etc. The market works through financial institutions and operates on several levels. Behind the scenes, banks turn to a smaller number of financial firms known as "dealers", who are involved in large quantities of trading. Most foreign exchange dealers are banks, so this behind-the-scenes market is sometimes called the "interbank market". Trades between dealers can be very large, involving hundreds of millions of dollars. Because of the sovereignty issue when involving two currencies, Forex has little supervisory entity regulating its actions. In a typical foreign exchange transaction, a party purchases some quantity of one currency by paying with some quantity of another currency.
Midnight Opening RangeThis script uses the SMC/ICT midnight opening range to gain insight into the daily highs and lows.
It plots the opening range quadrants and the 0.5 and 1 standard deviations higher and lower.
These levels are often used as support/resistance at certain times of the day.
To be used in concert with other PD arrays.
Market Pressure Regime [Interakktive]The Market Pressure Regime (MPR) is a 4-state market classifier that models how structural forces create "pressure zones" — regions where price movement is either supported (Release) or suppressed (Pinned) by market microstructure.
It combines compression analysis, follow-through efficiency, and stress detection into a composite pressure score, classifying markets into Release, Suppressed, Transition, or Trap states — helping traders understand WHY price is moving (or not moving) in the current environment.
█ USAGE
MPR addresses a core question traders face: Is the market in a regime where directional moves are likely to follow through, or is it structurally pinned?
For swing traders, MPR identifies Release phases where momentum strategies work best, and Suppressed phases where mean reversion dominates.
For day traders, it highlights Trap conditions — high effort with no follow-through — where reversals are probable and trend entries fail.
🔹 The 4-State Model
The indicator classifies markets into four distinct regimes:
• Release (Teal): Pressure score ≥ +5. Directional flow dominates. Price moves efficiently with follow-through. Favor trend continuation.
• Suppressed (Grey): Pressure score ≤ -5. Compression dominates. Price is range-bound or pinned. Fade extremes, expect reversion.
• Transition (Amber): Score between thresholds OR instability detected. Regime is uncertain — wait for confirmation before committing.
• Trap (Magenta): High stress + low follow-through. Effort without result. Expect reversals.
🔹 Reading the Pressure Histogram
The histogram displays the composite Pressure Score (range approximately -100 to +100):
• Positive values: Follow-through exceeds compression. Market is "releasing" — directional moves are supported.
• Negative values: Compression exceeds follow-through. Market is "suppressed" — price movement is constrained.
• Color reflects confirmed state: The histogram uses persistence filtering — a state must hold for N bars before the color changes, preventing false signals from noise.
🔹 The 5-Stage Calculation
MPR synthesizes five analytical stages into the final state:
1. Compression Score: Measures how tight the current range is relative to ATR. High compression suggests structural forces are pinning price.
2. Follow-Through Score: Measures price path efficiency (MER-style). Efficient moves indicate genuine directional flow, not chop.
3. Stress Score: Detects effort-without-result (ERD-style). High volume or range with no price progress = absorption.
4. Composite Pressure: Combines follow-through and compression into a single directional score.
5. Persistence Filter: Requires states to hold for configurable bars before confirming, eliminating flickering.
█ SETTINGS
Core Settings
• ATR Length: Period for volatility normalization. Default 14.
• Baseline Lookback: Period for compression and efficiency baselines. Default 20.
• Volume Average Length: Period for stress calculation baseline. Default 20.
State Classification
• Release Threshold: Pressure score above this = Release. Default +5.
• Suppressed Threshold: Pressure score below this = Suppressed. Default -5.
• Trap Threshold: Stress score above this (with low follow-through) = Trap. Default 30.
• Persistence Bars: Bars required to confirm state change. Default 3.
• Stability Lookback: Period for stability calculation. Default 20.
• Stability Threshold: Below this = forced Transition state. Default 0.5.
Visual Settings
• Show Pressure Histogram: Display the main pressure score histogram.
• Show Zero Line: Display the zero reference line.
• Show Background Tint: Subtle background color by state (default OFF).
Data Window
• Show Data Window Values: Export all calculated scores for analysis.
█ INTERPRETATION GUIDE
When to Use Trend Strategies (Release):
• Histogram tall and positive
• Teal coloring confirmed
• Price making efficient higher highs or lower lows
When to Use Mean Reversion (Suppressed):
• Histogram flat or negative
• Grey coloring confirmed
• Price oscillating without follow-through
When to Wait (Transition):
• Amber coloring
• Mixed signals — don't force trades
• Wait for state to resolve
When to Expect Reversals (Trap):
• Magenta coloring
• High volume moves that don't stick
• Often occurs at structural inflection points
█ COMPLEMENTARY TOOLS
MPR pairs well with:
• Volatility State Index (VSI) — Confirms whether volatility is expanding into the pressure regime
• Effort-Result Divergence (ERD) — Provides bar-by-bar absorption/vacuum detection
• Market Efficiency Ratio (MER) — Validates follow-through quality
█ SUITABLE MARKETS
Works across all liquid markets:
• Equities: SPY, QQQ, liquid single stocks
• Futures: ES, NQ, CL, GC
• Crypto: BTC, ETH
• Forex: Major pairs
Works on any timeframe, but 1H–Daily provides cleanest regime classification. Intraday (5m–15m) useful for session-level tactical decisions.
█ OPEN SOURCE
This indicator is open-source for educational purposes. Review the code to understand the full calculation methodology.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
GC1 Orderflow Engine - sudoTLDR
This indicator measures relative buying and selling pressure by comparing GC1! futures returns against XAU price returns, normalized by their own volatility and weighted by GC1! volume. The result is a pressure histogram and line that show whether futures orderflow is leading, lagging, or diverging from spot gold in real time.
What this indicator does
The Orderflow Engine is designed to answer one core question:
Is GC1! futures orderflow applying net pressure in the same direction as XAU, or pushing against it?
It does this by isolating relative strength and weakness between futures and spot, rather than looking at price direction alone.
How the pressure calculation works
1. GC1! futures returns and XAU returns are calculated bar by bar
2. Each return is normalized by its own recent volatility
3. The normalized XAU return is subtracted from the normalized GC1! return
This creates a relative pressure value:
Positive pressure - GC1! futures are outperforming XAU
Negative pressure - GC1! futures are underperforming XAU
Near zero - futures and spot are moving in balance
To emphasize meaningful activity:
GC1! volume is converted into a normalized score
Higher-than-normal futures volume increases the weight of the pressure
Low-volume pressure is naturally dampened
The final output is clamped to keep the scale stable across different market conditions.
Visual output
Histogram
Green bars - positive futures pressure
Red bars - negative futures pressure
Gray bars - neutral or minimal pressure
Pressure line
A smoother view of the same pressure data
Useful for spotting momentum shifts and divergence
Zero line
Represents balance between futures and spot
Crosses often mark changes in orderflow control
Optional annotations
Regime shift markers based on futures participation
Optional percent-change labels for studying pressure acceleration
How to use it
-Confirm whether price moves are supported by futures orderflow
-Spot early divergence between GC1! and XAU
-Identify absorption , distribution , or initiative behavior
-Filter entries by trading only when pressure aligns with your bias
-This tool is best used as confirmation and context, not as a standalone signal generator.
Design philosophy
-Self-normalizing across sessions and volatility regimes
-No fixed thresholds that break over time
-Focused on relative behavior, not prediction
-Built to pair naturally with the Participation Regime indicator
GC1 Participation Regime - sudoThis indicator analyzes COMEX GC1! futures activity and maps it directly onto your XAU price chart, allowing you to see when gold futures participation meaningfully increases or fades - without cluttering your workflow.
Here is the TLDR version of the description (below):
The "regime" is calculated by measuring how active GC1! futures are, compared to their own recent history. On each bar, the indicator looks at two things - volume (how much trading occurred) and true range (how much price actually moved). Each of these is compared to its recent average using a normalized score, which simply answers whether today’s activity is higher, normal, or lower than usual. Those two normalized values are then combined into a single participation score , optionally smoothed to reduce noise. That score is compared against user-defined thresholds and classified into one of four regimes - Low, Normal, High, or Extreme participation . In short, the regime shows whether current GC1! futures activity is unusually quiet or unusually active relative to its own recent behavior , without making any directional assumptions.
What this indicator does
-Measures GC1! futures volume and true range relative to their own historical behavior using z-scores
-Combines those metrics into a single participation score
-Classifies the market into four participation regimes
Low
Normal
High
Extreme
Projects those regimes directly onto the XAU price chart
Visual elements
Background shading
-Gray - Low participation
-Blue - Normal participation
-Green - High participation
-Orange - Extreme participation
Regime shift markers
-Upward triangle below price when participation increases
-Downward triangle above price when participation decreases
Volume-informed candle coloring (optional)
-High GC volume + bullish candle
-High GC volume + bearish candle
-Low GC volume + bullish candle
-Low GC volume + bearish candle
These visuals help you instantly identify whether price movement is occurring with real futures participation or during thinner conditions.
How to use it
-Identify high-quality environments for execution when participation is elevated
-Filter breakouts, trends, and reversals based on whether GC futures are involved
-Avoid overconfidence during low-participation regimes, where price moves are more prone to failure
-Use regime transitions as context , not signals!!
-This indicator is designed to be contextual , not predictive .
Customization
-Adjustable lookback lengths for volume and range
-Fully tunable regime thresholds
-Optional background shading
-Optional regime shift markers
-Optional candle recoloring based on GC volume behavior
Everything can be dialed up or down depending on how visually minimal you want your chart to be.
Notes
-Built specifically around COMEX GC1! futures
-Designed to disappear if GC data is unavailable
-Works on all intraday and higher timeframes
CandelaCharts - Composite Pressure Index 📝 Overview
The CandelaCharts – Composite Pressure Index (CPI) is a multi-factor oscillator that blends RSI , Money Flow Index (MFI) , and Chaikin Money Flow (CMF) into a single, stretchable “pressure” line. Instead of looking at three separate indicators, CPI compresses price momentum and volume flow into one normalized curve around 0 , then amplifies extremes using a rolling z-score .
The result is a dynamic gauge of buying vs. selling pressure that can travel beyond ±1 during strong regime shifts, helping you spot exhaustion, climaxes, and trend-strength phases more intuitively.
📦 Features
Composite pressure engine – Combines RSI, MFI, and CMF into a single normalized oscillator around 0, giving you a unified view of market pressure.
Custom weighting of components – Independently weight RSI, MFI, and CMF to prioritize pure price momentum or volume-driven signals.
Rolling z-score stretch – Uses a configurable z-score window to “stretch” the composite values, letting the line exceed ±1 during extremes instead of staying capped.
Adaptive amplitude control – An amplitude (gain) factor lets you scale how aggressive or subtle the CPI swings appear.
EMA smoothing – Optional smoothing removes noise while preserving the timing of swings and reversals.
Visual pressure band – Zero, +1, and -1 reference lines with a shaded band make it easy to see when pressure is “normal” vs. extended.
Dynamic color gradients – Warm/orange tones above 0 for bullish pressure and cool/blue tones below 0 for bearish pressure, with saturation increasing as pressure intensifies.
NA-safe statistics – Custom mean and standard deviation routines ensure stable behavior from the start of the chart and during partial history.
⚙️ Settings
RSI Length : Lookback length for RSI . Higher values smooth the RSI component; lower values make it more reactive to short-term price momentum.
MFI Length : Lookback length for the manual Money Flow Index . Adjust this to control how sensitive CPI is to price–volume interaction.
CMF Length : Lookback length for Chaikin Money Flow . This defines the window used to assess accumulation/distribution through volume flow.
RSI Weight : Relative importance of RSI within the composite. Increasing this emphasizes pure price momentum in the CPI.
MFI Weight : Relative importance of MFI. Higher values strengthen the influence of volume-weighted price moves.
CMF Weight : Relative importance of CMF. Raising this highlights accumulation/distribution as a driver of the pressure index.
Smoothing : EMA length applied to the stretched CPI line. A value of 1 effectively disables smoothing, while higher values reduce noise at the cost of a slight lag.
Z-score Window : Rolling window used to compute the mean and standard deviation of the raw composite. This defines the statistical context for what counts as “extreme”. Shorter windows adapt faster; longer windows give a more stable regime.
Amplitude : Gain factor applied to the z-scored composite. Values above 1.0 exaggerate swings and make extremes more visually pronounced; values below 1.0 compress them.
⚡️ Showcase
Composite Pressure Index
Mean Line
Divergences
📒 Usage
1. Identify directional pressure regimes
Use 0 as the key balance line:
CPI > 0 → Net bullish pressure (buyers in control).
CPI < 0 → Net bearish pressure (sellers in control).
You can treat prolonged stays above or below 0 as confirmations of trend direction, especially when price structure agrees.
2. Read statistical extremes instead of fixed levels
Because CPI is stretched via a z-score , values beyond ±1 typically represent statistically meaningful extremes within your chosen window:
CPI > +1 → Overextended bullish pressure / potential euphoria.
CPI < -1 → Overextended bearish pressure / potential capitulation.
These zones are not automatic reversal signals, but they highlight areas where monitoring for exhaustion, blow-offs, or risk-reward shifts can be beneficial.
3. Spot divergences with price
Classic divergence logic applies particularly well when pressure is composite:
Bearish divergence – Price makes higher highs, but CPI makes lower highs or fails to confirm.
Bullish divergence – Price makes lower lows, but CPI makes higher lows or shows less downside extension.
These patterns can be integrated with support/resistance, liquidity levels, and other CandelaCharts tools.
4. Tune the weights to your strategy
Adjust the three weights to match your focus:
Higher RSI weight → More sensitivity to pure price momentum (good for breakout or trend-following systems).
Higher MFI weight → Greater emphasis on price–volume interaction (ideal for spotting volume-confirmed moves).
Higher CMF weight → Stronger focus on accumulation/distribution (helpful for swing and position traders).
5. Integrate with existing setups
The CPI is designed to sit comfortably below price:
Use it as a “context” oscillator underneath your main price-action and liquidity models.
Combine CPI extremes and divergences with key levels, range models, or order flow signals for higher-confluence entries.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Triple EMA// Triple EMA indicator designed for TradingView free users.
// Displays 3 standard EMAs in one indicator slot.
SMH DualMomentum Signals (ROC + Volume)SMH Dual Momentum (ROC + Volume Confirmation)
This indicator identifies high-quality bullish trends by combining price momentum (Rate of Change) with volume confirmation, and exits when momentum structurally fails.
Core Logic
BUY signal
Rate of Change (ROC) over N periods is above a positive threshold (strong upside momentum)
Current volume is above its moving average (rising market participation)
SELL signal
ROC crosses below zero, indicating loss of bullish momentum
Why It Works
ROC measures the speed and strength of price movement, filtering out weak or drifting trends
Volume confirmation ensures momentum is supported by real capital flow, reducing false breakouts
Momentum-based exit avoids prolonged drawdowns and capital stagnation
Key Advantages
Focuses on trend continuation, not prediction
Filters out low-quality price moves and range-bound markets
Captures long, high-conviction trends with relatively few trades
Simple, robust rules using only price and volume
Best Use Cases
Designed for trend-driven ETFs such as SMH (Semiconductors)
Suitable for swing to position trading on daily charts
Works best in markets with strong sector rotation and institutional participation
Notes
This is a trend-following momentum tool, not a mean-reversion indicator
No stop-loss is built in; risk management should be handled externally if required
Parameters can be adjusted to match different timeframes or assets
Williams %RDescription
This is a modified version of the classic Williams %R oscillator, adapted for markets with defined trading sessions (e.g., FTSEMIB, DAX, US stocks, etc.). It adjusts the lookback period based on the actual trading session length, making it more accurate on intraday timeframes.
Key Features
Session Adjustment:
Automatically scales the period to trading days (default: 8.5 hours for FTSEMIB, DAX, CAC; customizable for any market).
Formula (classic Williams %R):
%R = 100 × (Close - Highest High) / (Highest High - Lowest Low)
over a user-defined period (default 14 days).
Standard Levels:
-20 (overbought)
-50 (middle line)
-80 (oversold)
Visual Enhancements:
- Customizable colors for the line, levels, and background fill
- Shaded overbought/oversold zone
How to Use:
Overbought (above -20):
Potential sell signal or reversal (especially after a prolonged uptrend).
Oversold (below -80):
Potential buy signal or reversal (especially after a downtrend).
Divergences:
Look for bullish/bearish divergences between price and %R for early reversal warnings.
Best Markets:
Indices (FTSEMIB, DAX, SPX), stocks, futures. For 24/7 markets (crypto), set session duration to 24 hours.
Timeframes:
Works on intraday (15m, 1h, etc.) and daily charts.
Customization Tips:
- Adjust the period (shorter = more sensitive, longer = smoother).
- Change session duration for different markets.
- Customize colors to match your chart theme.
Note: Williams %R is a momentum oscillator and should be used in combination with other tools (trendlines, support/resistance, volume). Always practice proper risk management.
Friday Statistical Zones - Last 30 Fridays Only BTC 📊 Friday Statistical Zones (Pre / Dump / After)
This indicator highlights statistical risk zones for Fridays, based on the last 30 completed Fridays.
It analyzes historical price and volume behavior to determine:
• When a Pre-Dump phase typically starts
• When selling pressure statistically peaks
• When the After-Dump phase usually occurs
The result is a time-based overlay with three zones:
🟡 Pre-Dump · 🔴 Dump · 🟡 After-Dump
⚠️ This is not a signal indicator.
It does not predict price direction.
It provides risk-timing context only.
Best used for risk management and situational awareness on Fridays, not as a standalone trading strategy.
Volume OscillatorDescription
The Volume Oscillator measures the momentum of trading volume by calculating the percentage difference between a fast and a slow Simple Moving Average (SMA) of daily volume. It helps traders identify periods of increasing or decreasing market participation, often signaling potential trend strength or exhaustion.
Key Features:
Adaptive to Trading Session:
Automatically adjusts SMA periods based on the actual trading session length (default: 8.5 hours for FTSEMIB, customizable for any market — e.g., 6.5h for US stocks, 24h for crypto).
Fast & Slow SMAs:
Compares a short-term SMA (default 10 days) with a longer-term SMA (default 25 days) of volume.
Oscillator Formula:
100 × (Fast SMA / Slow SMA - 1)
→ Positive values = increasing volume momentum (bullish)
→ Negative values = decreasing volume momentum (bearish)
Signal Line (optional):
A moving average of the oscillator (default 7 days) for smoother trend identification and crossover signals.
Overbought/Oversold Levels:
User-defined horizontal lines (default +40 / -40) to highlight extreme volume conditions.
Customizable Colors:
Change the oscillator and signal line colors to match your chart style.
How to Interpret:
Bullish Conditions:
Oscillator crosses above the zero line
Oscillator crosses above the signal line
Readings near or above +40 may indicate strong buying pressure (watch for possible exhaustion if too extreme)
Bearish Conditions:
Oscillator crosses below the zero line
Oscillator crosses below the signal line
Readings near or below -40 may indicate selling pressure or capitulation
Divergences:
Look for divergences between price and the Volume Oscillator (e.g., price makes new highs but oscillator fails to confirm with higher highs) — a classic sign of weakening momentum.
Best Use Cases:
Indices (FTSEMIB, DAX, CAC, SPX, etc.), stocks and futures with defined trading hours, crypto (set session duration to 24 hours).
Works well on intraday (e.g., 15m, 30m, 1h) and daily charts.
Customization Tips:
- Shorten fast/slow lengths for faster signals (more noise)
- Lengthen them for smoother, longer-term analysis
- Adjust session duration for non-standard market hours
- Enable/disable the signal line in the settings
Note: Volume data quality can vary by symbol and exchange. Always combine this indicator with price action and other tools. Use proper risk management.
Volume ROC (smoothed)Description
The Volume ROC (Rate of Change) indicator is designed to measure the momentum of trading volume over a user-defined period, adjusted for the trading session length of the symbol (e.g., 8.5 hours for the FTSEMIB index). This makes it particularly useful for intraday charts where standard daily calculations might not align with actual trading days.
By focusing on volume changes rather than price, it helps identify potential shifts in market participation, such as accumulation, distribution, or unusual activity that could precede price movements.
How It Works:
Session Adjustment:
The indicator calculates the number of candles per trading day based on the input session duration (in hours) and the chart's timeframe. This ensures that the ROC and other calculations are based on "trading days" rather than calendar days, making it adaptable to markets with non-standard hours like European indices (e.g., FTSEMIB).
Daily Data Fetch:
It retrieves daily high, low, close, and volume data using "request.security" to ensure consistency across timeframes.
ROC Calculation:
The Rate of Change (ROC) is computed on volume using "ta.change" over the specified length (in days), multiplied by the candles-per-day factor for timeframe independence. By chosing the subtraction method instead of the division method we avoid distortions of the ROC below the zero line (method ok for timespans inferior to two years).
Smoothing with SMA:
A Simple Moving Average (SMA) is applied to the ROC to reduce noise and highlight trends in volume momentum.
Standard Deviation Bands:
The standard deviation of the smoothed ROC is calculated over a lookback period. Bands are plotted at +2σ (overbought) and -2σ (oversold) to provide context for extreme volume changes, similar to Bollinger Bands but applied to volume ROC.
Key Plots:
SMA Line (Orange): The smoothed ROC value. Positive values indicate increasing volume momentum; negative values suggest decreasing momentum.
Zero Line (Black Dotted): A reference line at 0, separating positive and negative ROC territories.
+2σ Band (Red Dotted): Upper overbought threshold. Crossings above this may signal excessive buying volume.
-2σ Band (Green Dotted): Lower oversold threshold. Dips below this could indicate capitulation or low interest.
Usage and Interpretation:
Trend Confirmation:
Use the SMA crossing above/below zero to confirm price trends with volume backing. For example, a rising price with positive Volume ROC suggests strong conviction.
Divergences:
Look for divergences between price and Volume ROC (e.g., price making new highs but ROC weakening), which can signal reversals.
Overbought/Oversold Signals:
The ±2σ bands act as dynamic levels. Volume ROC spiking above +2σ might precede pullbacks, while below -2σ could indicate buying opportunities.
Best Applied To:
European indices (like FTSEMIB or DAX), stocks, or futures with defined session hours. Test on intraday (e.g., 2h) and combine with price-based indicators like RSI or MACD for confluence.
Customization:
Adjust the ROC/SMA lengths for sensitivity (shorter for scalping, longer for swings). The STDEV lookback affects band width—longer periods create smoother bands.
Limitations:
Volume data can be noisy in low-liquidity symbols. This indicator assumes consistent session lengths; irregular holidays may affect accuracy. Always backtest and use with risk management.
This indicator is original and built for educational/trading purposes.



















