BTC ETH 4H SMC Score SystemBTC & ETH 4H SMC Score System
BTCとETHの4時間足専用に設計された、スマートマネーコンセプト(SMC)をベースとした高精度トレンドフォローインジケーターです。
一般的なSMCインジケーターは多くのシグナルを表示しますが、本インジケーターはノイズを減らし、実際のトレードで使いやすいシグナルだけを表示するよう最適化しています。
市場構造(BOS・CHoCH)を中心に、Order Block、Fair Value Gap(FVG)、EMA50・EMA200、ATR、出来高、RSIを組み合わせ、複数の条件をスコア化します。
条件が一定以上揃った場合のみBUY・SELLシグナルを表示するため、無駄なエントリーを減らし、高確率なトレード機会に集中できます。
主な機能
4時間足専用に最適化
BTC・ETH専用ロジック
BOS(Break of Structure)
CHoCH(Change of Character)
Smart Order Block
Fair Value Gap(FVG)
EMA50・EMA200によるトレンド判定
ATRによるボラティリティフィルター
出来高フィルター
RSIフィルター
BUY / SELLスコアリングシステム(100点満点)
アラート対応
スコアシステム
以下の条件を総合評価し、100点満点でスコアリングします。
トレンド方向
市場構造
ボラティリティ
出来高
RSI
FVG
スコアが設定値以上になった場合のみシグナルを表示します。
推奨設定
Timeframe:4H
Asset:BTCUSD・ETHUSD
Minimum Score:70〜80
このインジケーターは裁量トレードをサポートすることを目的としており、単独での売買ではなく、市場構造・サポートレジスタンス・リスク管理と組み合わせて使用することを推奨します。
BTC & ETH 4H SMC Score System
The BTC & ETH 4H SMC Score System is a professional Smart Money Concepts (SMC) indicator specifically optimized for Bitcoin and Ethereum on the 4-hour timeframe.
Unlike traditional SMC indicators that generate excessive signals, this version focuses on filtering market noise and highlighting only high-probability trading opportunities.
It combines Market Structure (BOS & CHoCH), Smart Order Blocks, Fair Value Gaps (FVG), EMA 50/200, ATR, Volume, and RSI into a comprehensive scoring model.
Instead of generating signals from a single condition, every setup is evaluated using multiple confirmations. Buy and Sell signals are displayed only when the overall score reaches the predefined threshold.
Features
Optimized exclusively for the 4H timeframe
Designed specifically for Bitcoin and Ethereum
Break of Structure (BOS)
Change of Character (CHoCH)
Smart Order Blocks
Fair Value Gaps (FVG)
EMA 50 & EMA 200 trend confirmation
ATR volatility filter
Volume confirmation
RSI momentum filter
100-point Buy/Sell scoring system
PulseWire alert support
Scoring System
Each trading opportunity is evaluated using multiple factors:
Trend direction
Market Structure
Volatility
Volume
RSI momentum
Fair Value Gaps
Signals are generated only when the total score exceeds the user-defined minimum score, helping traders avoid low-quality setups and focus on stronger opportunities.
Recommended Settings
Timeframe: 4 Hours
Assets: BTCUSD / ETHUSD
Minimum Score: 70–80
This indicator is designed as a decision-support tool rather than a fully automated trading system. For the best results, combine it with proper risk management, higher-timeframe analysis, and key support/resistance levels. Indicator

SBP Structured OscillatorSBP Structured Oscillator
SBP Structured Oscillator is a composite momentum and market-context oscillator designed to present directional pressure, price displacement, and momentum rotation in a single normalized display.
The purpose of the indicator is not to combine several traditional indicators as separate visual tools. Instead, different measurements are processed together to create one structured oscillator. Each component has a specific role in determining whether price movement is extended, directional pressure is improving or weakening, and the current market environment provides sufficient context for a signal marker.
How the Oscillator Works
The oscillator begins by measuring the distance of price from a smoothed price basis. This distance is normalized by Average True Range (ATR), helping the calculation adapt to instruments with different prices and volatility characteristics.
The normalized displacement is then standardized over a historical lookback period.
A directional composite is added to this displacement measurement. The composite evaluates:
• Price position relative to a smoothed trend basis
• Direction of an adaptive Hull-style weighted average
• ATR-normalized price impulse
• Relative bullish and bearish directional strength
• Changes in directional strength, referred to internally as acceleration
These elements work together because displacement alone can show that price has moved away from its recent equilibrium but does not explain whether directional pressure is strengthening or weakening. The trend and impulse components provide this additional context.
The resulting value is normalized into an oscillator range of approximately -100 to +100.
Adaptive Oscillator Smoothing
The indicator provides three Trading Modes:
SCALPING – uses faster oscillator smoothing and shorter signal spacing.
INTRADAY – applies medium smoothing and spacing for general intraday chart analysis.
SWING – uses stronger smoothing and wider signal spacing to reduce sensitivity to short-term fluctuations.
Volatility is measured relative to its recent ATR average. This volatility relationship is used as a blending weight between faster and smoother oscillator calculations.
The objective is to adjust the oscillator's visual rhythm while maintaining fixed calculation branches suitable for Pine Script execution.
Directional Balance
An adaptive directional-balance calculation compares the position of price within a recent high-low range.
The observation length changes according to a price-efficiency measurement. More directional movement and less efficient movement can therefore produce different observation lengths.
The resulting balance value is used as additional context when evaluating bullish and bearish conditions.
Market Context Filters
Optional context filters are included to reduce signals that occur without sufficient supporting conditions.
Higher-Timeframe Context compares higher-timeframe price with a smoothed higher-timeframe basis.
Structure Context evaluates confirmed pivot progression and recent range expansion.
Directional Context evaluates the current bullish or bearish dominance calculation.
Compressed Regime Filter identifies conditions where both trend separation and ATR are relatively contracted.
These components are intentionally used as contextual filters rather than plotted as separate indicators. Their purpose is to support the oscillator's displacement and rotation logic.
Context Score
The script calculates a deterministic Context Score from directional dominance, directional acceleration, and normalized impulse.
This value is a composite technical score. It is not a statistical probability, prediction, or historical win-rate measurement.
The Minimum Context Score input allows the user to control the amount of directional activity required for primary signal evaluation.
Red and Green Dots
Small dots are plotted directly on the oscillator line to identify filtered changes in oscillator direction.
A green dot marks a change in the smoothed oscillator slope from non-positive to positive.
A red dot marks a change in the smoothed oscillator slope from non-negative to negative.
The dot engine uses mode-dependent smoothing and minimum bar spacing to reduce reactions to minor oscillator fluctuations.
Dots follow an alternating directional sequence so repeated dots of the same colour are suppressed until an opposite directional event occurs.
The dots are analytical rotation markers and should be interpreted together with price structure and the broader chart context.
BUY and SELL Markers
Primary BUY and SELL markers use stricter conditions than the red and green dots.
The oscillator must first reach or recently leave a defined displacement area. Directional rotation, the internally smoothed oscillator trend, selected context conditions, Context Score, and market-regime conditions are then evaluated.
Three Signal Modes are available:
EARLY – uses shallower displacement requirements and less contextual agreement.
BALANCED – provides a middle setting between responsiveness and filtering.
SELECTIVE – requires deeper displacement and greater contextual agreement.
When the Alternate BUY / SELL Sequence option is enabled, repeated primary signals in the same direction are suppressed until an opposite primary signal occurs.
A minimum bar-spacing control is also applied to the primary signal sequence.
Closed-Bar and Higher-Timeframe Handling
When Signals On Closed Bars Only is enabled, signal conditions are evaluated on completed chart bars.
For higher-timeframe context, the script uses completed higher-timeframe values when closed-bar mode is active.
If closed-bar mode is disabled, live higher-timeframe values may change while the higher-timeframe candle is still developing.
Visual Interpretation
The blue oscillator line represents the combined normalized displacement and directional-pressure calculation.
Values above zero generally indicate positive composite pressure, while values below zero generally indicate negative composite pressure.
The optional upper and lower reference bands provide visual displacement references. They should not automatically be interpreted as conventional overbought or oversold levels.
Green and red dots identify filtered oscillator rotations.
BUY and SELL labels identify stronger analytical events where displacement, rotation, and the selected contextual conditions align.
Intended Use
SBP Structured Oscillator is designed as a technical analysis and decision-support tool.
It may be used to study:
• Changes in directional momentum
• Extended price displacement
• Oscillator rotation
• Trend and momentum alignment
• Higher-timeframe context
• Market compression and expansion behaviour
The indicator is not a strategy and does not execute trades.
Signals and markers are generated from deterministic technical conditions based on historical and current chart data. They do not predict future price movement or guarantee a market outcome.
Users should evaluate the indicator together with their own analysis, risk management, and testing process.
Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Trading and investing involve risk. Historical chart behaviour and indicator signals do not guarantee future results. Indicator

Cardwell Range Analyze [MarkitTick]💡 A comprehensive, all-in-one technical analysis suite designed to decode market regimes, identify high-probability momentum shifts, and automate risk management visualization. Built upon the foundation of Andrew Cardwell's advanced Relative Strength Index (RSI) theories, this tool transcends traditional oscillator analysis. Rather than relying on static overbought and oversold thresholds, it dynamically tracks regime shifts by observing where momentum consolidates. When combined with trend confirmation, volatility-based targets, and directional movement filters, it provides a holistic view of the market state directly on your chart.
✨ Originality and Utility
Most traders utilize momentum oscillators in a vacuum, searching for mean-reversion signals at arbitrary boundaries. The utility of this script lies in its departure from that static approach. It introduces a multifaceted evaluation system that cross-references momentum bands with structural trend data. By integrating a Higher Timeframe (HTF) directional filter and an Average Directional Index (ADX) volatility threshold, it systematically filters out market noise and chop.
Its originality shines through the automated Trade Tools suite. Upon detecting a valid regime shift, the indicator instantly projects Average True Range (ATR) based Stop Loss and Take Profit levels, complete with risk-to-reward zoning. This allows traders to visually assess the mathematical viability of a setup before execution. The inclusion of a real-time diagnostic dashboard further elevates its utility, offering a heads-up display of all underlying metrics without cluttering the primary price action.
🔬 Methodology and Concepts
● Cardwell RSI Framework
Traditional RSI theory dictates that an asset is overbought at 70 and oversold at 30. However, the foundational concept here relies on range shifts. In a robust uptrend, RSI rarely reaches 30; instead, it finds support around 40 and can push up to 80. Conversely, in a downtrend, RSI encounters resistance around 60 and can fall to 20. This script mathematically codifies these ranges.
● Regime Confirmation
A raw regime is identified when the price resides on the correct side of the Trend Moving Average (SMA) while the RSI operates within the corresponding Cardwell range. To eliminate premature signals, a confirmation threshold requires the market to sustain this raw state for a consecutive number of bars.
● Structural and Volatility Filtering
To ensure signals align with macro momentum, the script queries a higher timeframe's trend state using non-repainting historical referencing. Additionally, the ADX is calculated to measure the absolute strength of the current trend. If the ADX falls below the minimum threshold, the market is deemed sideways, and signals are suppressed.
● Dynamic Risk Mapping
Once a validated signal fires, the script calculates dynamic price levels based on current market volatility (ATR). The Stop Loss is mapped at a fractional multiplier against the entry, while Take Profit levels are projected at linear multiples, mapping out a structured trade lifecycle.
🎨 Visual Guide
● Heatmap Candles
The standard price candles are dynamically recolored to reflect the prevailing market regime.
Teal Candles: Indicate a confirmed Bullish Regime.
Red Candles: Indicate a confirmed Bearish Regime.
Gray Candles: Indicate a Neutral state where conditions are mixed.
Black Wicks/Borders: Maintain visual clarity regardless of the body color.
● Trade Levels and Zones
When a signal triggers, specific horizontal projections appear on the chart:
Entry Line: A dashed blue line representing the closing price of the signal bar.
Stop Loss (SL) Line: A solid red line marking the invalidation point.
Take Profit (TP1, TP2, TP3) Lines: Dashed teal lines marking incremental profit targets.
Risk Fill: A translucent red background shading the area between the Entry and the Stop Loss.
Reward Fill: A translucent teal background shading the area between the Entry and the highest Take Profit.
● Dashboard
A specialized table anchored to the chart corner providing real-time data:
Regime: Displays current state (BULLISH, BEARISH, or NEUTRAL) in respective colors.
RSI Value: A visual progress bar measuring current RSI against a 100-scale, color-coded by intensity.
Trend & Ranges: Explicit text readouts of the current MA trend direction and defined RSI boundaries.
ADX Strength: A progress bar indicating the conviction of the trend.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
● Interpreting Regimes
Monitor the color of the candles. A transition from Gray to Teal suggests a bullish momentum shift aligning with the underlying trend. This is your primary directional bias. You should generally look for buying opportunities when candles are Teal and selling opportunities when they are Red.
● Acting on Signals
When all conditions (Cardwell Range, Trend MA, HTF Trend, and ADX Chop Filter) align, a BUY or SELL label will populate below or above the price. These represent active momentum shifts.
● Managing Risk
Do not trade blindly on signals. Upon a signal firing, visually inspect the red Risk Zone versus the teal Reward Zone. Ensure the projected Stop Loss aligns with logical market structure (like a recent swing low or high). Use the progressive TP1, TP2, and TP3 lines to scale out of positions as the market moves in your favor.
● Monitoring the Dashboard
Keep an eye on the ADX Strength bar in the dashboard. If the bar is predominantly empty and red, the market is consolidating. Wait for the ADX bar to fill and turn orange or green before expecting strong follow-through on any signals.
⚙️ Inputs and Settings
• Core Settings
RSI Length: The lookback period for momentum calculation (default 14).
Trend MA Length: The lookback period for the primary structural trend baseline (default 50).
• Filters
Bull/Bear Ranges: The upper and lower bounds for the Cardwell RSI shifts.
Regime Confirm Bars: The consecutive number of bars required to validate a new regime.
Use HTF Confirmation: Toggles the higher timeframe trend filter.
HTF Timeframe: Select the specific higher timeframe to query (e.g., 240 for 4-hour).
Use Chop Filter: Toggles the ADX volatility requirement.
ADX Min Strength: The threshold value ADX must exceed to allow signals.
• Trade Tools
ATR Length: The lookback period for volatility modeling.
SL/TP Multipliers: Fractional inputs to dictate how wide the Stop Loss and Profit Targets are projected relative to the ATR.
• Alerts
Action Strings: Customizable JSON payload strings for integrating with third-party automated execution platforms via webhooks.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator synthesizes three foundational pillars of quantitative market analysis: momentum distribution, structural mean, and volatility modeling.
First, it deconstructs the Relative Strength Index, initially formulated by J. Welles Wilder Jr. in 1978. Wilder mathematically defined momentum as the ratio of average gains to average losses. However, the Cardwell extension incorporated into this script addresses a fundamental flaw in Wilder's fixed bounding by applying regime-dependent probability distributions. In a positively skewed asset (uptrend), the probability mass of the RSI shifts upward, meaning a reading of 40 represents a statistically significant mean-reversion point (oversold) rather than 30.
Second, the script applies directional movement theory via the Average Directional Index (ADX). The ADX smooths the differences between the positive and negative directional indicators (+DI and -DI) to isolate the scalar strength of the trend vector, devoid of direction. By requiring a minimum ADX threshold, the algorithm mathematically enforces a non-stationary environment, filtering out random walk (white noise) conditions where momentum signals carry no statistical edge.
Finally, the projection of trade levels utilizes the Average True Range (ATR). ATR is a rigorous measure of the variance in asset prices, accounting for opening gaps and limit moves. By mapping target boundaries as functional multiples of ATR, the script ensures that standard deviation and local market dispersion strictly govern risk parameters, adapting dynamically to expanding or contracting market distributions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

CQ_(L)_Reverse MACD Overlay================================================================================
CQ_(L)_REVERSE MACD OVERLAY
User Manual
================================================================================
OVERVIEW
--------------------------------------------------------------------------------
This indicator draws a full MACD system (MACD line, EMA signal, SMA signal,
and histograms) directly on the price chart instead of in a separate pane,
and adds "Reverse MACD" math that back-solves for the exact price level at
which the MACD line would turn, cross its signal line, or cross zero. In
other words, instead of just showing where MACD is now, it can tell you
what price needs to happen next for MACD's behavior to change.
It combines two lineages of prior work: the reverse-MACD price-solving
formulas (adapted from The_Caretaker) and a price-scaled overlay/dashboard
rendering engine (also adapted from The_Caretaker's dashboard work, with an
overlay rendering approach adapted from dgtrd).
SECTION 1 — MACD PROPERTIES
--------------------------------------------------------------------------------
Price Source (default: close)
Fast Period (default: 12)
Slow Period (default: 26)
EMA Signal Length (default: 9) - length of the EMA-based signal line
SMA Signal Length (default: 9) - length of the SMA-based signal line
Both an EMA-based and an SMA-based signal line are calculated simultaneously;
each can be shown or hidden independently (see Sections 3 & 4).
SECTION 2 — MACD LINE PLOT SETTINGS
--------------------------------------------------------------------------------
Show MACD Line - toggle the main MACD line on/off
Color Type - "Single" (one fixed color) or "Dual" (color changes
based on whether MACD is rising or falling bar to bar)
Single Color - color used when Color Type = Single
Dual Colors - separate Rising / Falling colors when Color Type = Dual
Line Width - 1-4
SECTION 3 — EMA SIGNAL LINE SETTINGS
--------------------------------------------------------------------------------
Same structure as the MACD line settings, applied to the EMA signal line:
Show EMA Signal, Color Type (Single/Dual), Single Color, Dual Rising/Falling
colors, Line Width. Shown by default.
SECTION 4 — SMA SIGNAL LINE SETTINGS
--------------------------------------------------------------------------------
Same structure again, applied to the SMA signal line. Hidden by default —
enable "Show SMA Signal" if you want to compare an SMA-based signal against
the EMA-based one.
SECTION 5 — EMA HISTOGRAM SETTINGS
--------------------------------------------------------------------------------
Show EMA Histogram - toggle histogram (MACD minus EMA signal)
Histogram Scaling Factor (0-10) - multiplies histogram height for visibility
Upper Rising / Upper Falling colors - used when histogram is >= 0
Lower Rising / Lower Falling colors - used when histogram is < 0
("Rising/Falling" is determined bar-to-bar on the histogram value itself)
SECTION 6 — SMA HISTOGRAM SETTINGS
--------------------------------------------------------------------------------
Same structure as the EMA histogram, but built from MACD minus the SMA
signal line. Hidden by default.
Note: if both EMA and SMA histograms are off, the "active histogram" used
internally falls back to raw MACD; if EMA histogram is on it takes
priority over SMA for any calculation that needs a single active series.
SECTION 7 — OVERLAY LAYOUT
--------------------------------------------------------------------------------
Highlight MACD/Signal Area
Fills the area between the MACD line and whichever signal line is
active (EMA takes priority if both are on). Fill color reflects
whether MACD is currently above (bullish, blue) or below (bearish,
orange) that signal line.
Display MACD/Signal Crosses
Shows small up/down triangle labels on the price chart itself
whenever MACD crosses over/under its active signal line.
Display Length (bars) (default 50, range 10-250)
How many recent bars are included in the overlay panel.
Placement (Top / Bottom, default Bottom)
Anchors the overlay panel to the highest or lowest visible price
over the Display Length window.
Height (default 7, internally inverted: 12 - input)
Controls how tall the MACD/signal/histogram panel appears. Lower
input values here produce a taller panel; higher input values
produce a shorter, more compressed one.
Vertical Position Adjustment (default 5, i.e. 0.5 internally)
Pushes the panel's baseline further from price based on the recent
high/low range, giving more or less separation from candles.
SECTION 8 — DASHBOARD
--------------------------------------------------------------------------------
Display Reverse MACD Dashboard - toggles an on-chart table
Position / Size - standard table placement and text size
(use Tiny on mobile, Small on web)
Text Color - table text color
BG MACD Falling / BG MACD Rising - background color used throughout the
table, switching based on whether MACD
is currently rising or falling
Table layout (columns: REVERSE MACD / ACTUAL / PROJECTION / LEVEL / DIF.):
Row 1 - Tendency: whether MACD is now rising or falling, the price
level ("Reverse ▲/▼") where that would flip, and the
dollar difference from current price.
Row 2 - EMA Signal: bars since the last EMA signal cross (with
direction arrow), the price level needed for MACD
to cross the EMA signal the *other* way, and the
dollar difference. Shows "OFF" if EMA signal is
disabled.
Row 3 - SMA Signal: same as Row 2, but for the SMA signal line. Shows
"OFF" if SMA signal is disabled.
Row 4 - Zero Cross: bars since MACD last crossed zero, the price level
needed for the next zero cross, and the dollar
difference.
Row 5 - MACD Now: current MACD, EMA signal, and EMA histogram values
(raw numbers, 4 decimal places).
Inline Label on Overlay (separate from the table)
Show Inline Label on Overlay - places a compact text label directly
next to the price-scaled MACD line
on the overlay panel, showing:
tendency (rising/falling), reverse
level + $ difference, EMA/SMA cross
levels + bars-ago, and the zero-cross
level + bars-ago.
Label Bar Offset (1-10) - how many bars to the right of the
last drawn bar the label sits.
Label Text Size - tiny/small/normal/large.
SECTION 9 — REVERSE MACD MATH (what the numbers mean)
--------------------------------------------------------------------------------
These are closed-form solutions (not simulations) for the exact price that
would need to print on the current bar to produce a specific MACD outcome:
Reverse Level (macd_eq)
The price at which the MACD line's slope would flip — i.e. the point
where MACD stops rising and starts falling, or vice versa.
Zero Cross Level (macd_level at 0)
The price at which MACD would cross the zero line.
EMA Cross Level (macd_cross_ema)
The price at which MACD would cross its EMA signal line.
SMA Cross Level (macd_cross_sma)
The price at which MACD would cross its SMA signal line.
Each of these is recalculated every bar using the prior bar's EMA/SMA
values algebraically solved for the current bar's price, so they update in
real time as price moves intrabar.
SECTION 10 — SIGNALS & ALERTS
--------------------------------------------------------------------------------
Long Cross / Short Cross shapes
Small up/down labels plotted below/above bars when MACD crosses over
or under whichever signal line is active (EMA preferred, otherwise
SMA). Controlled by "Display MACD/Signal Crosses."
Four built-in alerts (set these up in PulseWire's Alert dialog):
Long : Early Warning - fires the moment MACD crosses over signal
Long : Trading Opportunity - fires one bar after, once the cross
has held (confirmation)
Short : Early Warning - mirror of the long early warning
Short : Trading Opportunity - mirror of the long confirmation
All four alert messages include exchange, ticker, price, and time.
SECTION 11 — HOW THE OVERLAY IS DRAWN (for reference)
--------------------------------------------------------------------------------
On the last bar, all previously drawn lines, histogram boxes, and fills are
deleted and redrawn across the "Display Length" window:
1. A baseline price is anchored to the highest (Top placement) or lowest
(Bottom placement) price over that window, adjusted outward using the
Vertical Position Adjustment and the recent price range.
2. Each bar's MACD, EMA signal, and SMA signal values are scaled relative
to the largest recent absolute MACD value ("oscHighest") and the
Height setting, then converted into a price offset from the baseline.
3. Line segments are drawn bar-to-bar for each enabled series (MACD, EMA
signal, SMA signal), plus histogram boxes for each enabled histogram.
4. If "Highlight MACD/Signal Area" is on, a colored fill is drawn between
the MACD line and the active signal line for each bar pair.
5. The inline label (if enabled) is placed a few bars to the right of the
last drawn bar, at the price-scaled Y position of the current MACD
value.
SECTION 12 — PRACTICAL NOTES & LIMITS
--------------------------------------------------------------------------------
- Declared limits: max_lines_count = 500, max_boxes_count = 250,
max_bars_back = 500. The drawing loop stops adding new lines once 501
are queued, as a safety guard.
- "Display Length" is capped at 250 bars; larger values increase how many
lines/boxes get drawn per refresh (relevant if you also enable both
histograms and the highlight fill at once).
- The Dashboard and the Inline Label are independent features — you can
run either, both, or neither without affecting the overlay lines
themselves.
- EMA signal takes priority over SMA signal for cross detection, active
histogram fallback, and the "Highlight MACD/Signal Area" fill whenever
both are enabled at the same time.
- The Reverse MACD levels (Reverse, Zero Cross, EMA Cross, SMA Cross) are
price *projections* based on current EMA/SMA state — they describe what
price would need to do, not a prediction that it will.
================================================================================
End of manual — CQ_(L)_Reverse MACD Overlay
================================================================================ Indicator

CQ_(L)_Oscillators Overlay================================================================================
CQ_(L)_OSCILLATORS OVERLAY
User Manual
================================================================================
OVERVIEW
--------------------------------------------------------------------------------
This indicator takes a sub-pane oscillator engine (originally built for a
separate pane) and re-renders it directly on the price chart as an overlay.
You choose one of eight oscillator types, and the script draws it as a
scaled, floating panel above or below price action, using a rolling window
of recent bars. It borrows its array-based collection/redraw technique and
box-drawing style from the CQ Larry Williams Vix Fix overlay script.
Because the oscillator is bidirectional (it can swing both above and below
its own midline, unlike Vix Fix which only measures magnitude), the drawing
engine scales values based on distance from the midline rather than raw
value, and can mirror in either direction.
SECTION 1 — INDICATOR SELECTION
--------------------------------------------------------------------------------
A dropdown lets you choose which oscillator drives the overlay:
MACD - Standard MACD/Signal/Histogram
VMACD - Volume-weighted MACD (volume-weighted EMAs)
RSI - Relative Strength Index
MFI - Money Flow Index (volume-weighted RSI)
CCI - Commodity Channel Index
DRM - Directional Range Momentum (custom range-breakout momentum)
Stochastic - Standard %K / %D
Stoch RSI - Stochastic applied to RSI instead of price
A second dropdown ("Trend") controls an optional trend filter used by the
buy/sell signal logic:
Off - No trend filter; signals fire on oscillator conditions alone
200 EMA Trend - Filters signals using a 200-period EMA of price
VWAP Trend - Filters signals using session VWAP instead of the 200 EMA
Range - Same trend line, but skips the "must agree with trend"
requirement (used for range-bound markets)
SECTION 2 — COLOR & LINE STYLE
--------------------------------------------------------------------------------
- Two color pickers set the oscillator line color and the
basis/signal line color.
- "Alternate Colors" toggle: when on, the signal/basis line becomes
transparent, and the main oscillator line instead turns green when above
its midline and red when below it (a simple directional color scheme).
SECTION 3 — MACD / VW-MACD SETTINGS
--------------------------------------------------------------------------------
Fast Length (default 12)
Slow Length (default 26)
Signal Length (default 9)
These only apply when MACD or VMACD is the selected indicator. VMACD uses
volume-weighted EMAs instead of plain EMAs for the fast/slow lines.
SECTION 4 — OSCILLATOR SETTINGS (RSI / Stochastic family)
--------------------------------------------------------------------------------
Length (default 14) - lookback for RSI, MFI, CCI, DRM, or Stochastic %K
Smoothing (default 3) - smoothing applied to the raw oscillator/%K
Signal (default 14) - length of the basis/EMA signal line, or %D length
OB/OS (Overbought/Oversold)
OB/OS value (default 70) - sets the overbought line; the oversold line is
mirrored automatically around the midline
Extreme (default 10) - added to OB/OS to define an "Extreme" zone
(used for stronger/"slow-cooldown" signals)
Volume Pressure
A toggle that overlays a secondary line built from a fast/slow blended MFI
reading, compressed through a power curve. Useful as a volume-based
confirmation line drawn against the same midline.
Options row
Fill Lines - shades the area between the oscillator and its basis line
(blue when oscillator is above basis, orange when below)
Fill OB/OS - shades the area between the oscillator and the OB/OS
reference lines when price pushes into those zones
(deeper shade in the "Extreme" zone)
Divergence - draws bullish/bearish divergence lines and labels comparing
price pivots against oscillator pivots
SECTION 5 — OVERLAY DISPLAY OPTIONS (Group: "OVERLAY — Display Options")
--------------------------------------------------------------------------------
Number of Bars to Show (default 50, max 150)
How many of the most recent bars are drawn in the overlay panel.
Capped at 150 to respect PulseWire's per-indicator object budget.
Oscillator Height (default 300, price units)
The vertical distance (in price units) that the extreme OB/OS+Extreme
value is stretched out to, measured from the panel's baseline.
Separation from Price (default 150%, range 100-1400%)
How far the panel's baseline sits from the highest/lowest visible
candle. 100% means the baseline touches price; higher values add gap.
Placement (Top / Bottom, default Bottom)
Whether the panel is drawn above the visible highs or below the
visible lows.
Flip Upside Down
Mirrors the panel vertically (useful if you prefer overbought
readings to point toward price rather than away from it).
Show OB/Mid/OS Reference Lines
Draws dotted horizontal lines marking the midline, overbought, and
oversold levels across the visible window.
Show OB/OS Zone Fill
Shades the band between the OB and OS reference lines.
SECTION 6 — HOW THE OVERLAY IS DRAWN (for reference)
--------------------------------------------------------------------------------
Each bar's oscillator, basis, histogram, and volume-pressure values are
pushed into rolling arrays capped at "Number of Bars to Show." On the last
bar, all previous drawings are deleted and redrawn:
1. A baseline price level is computed from the visible high/low range,
offset by Height x Separation%.
2. A scale factor ("wMax") is derived from the OB+Extreme distance and the
actual oscillator/basis range, so the panel never clips.
3. Oscillator and basis values are converted to price-scale y-coordinates
relative to the midline and drawn as connected line segments.
4. For MACD/VMACD, histogram bars are drawn as thin boxes from the
baseline out to each bar's scaled histogram value, colored by
rising/falling and above/below-zero state.
5. A text label with the selected indicator's name is placed at the end
of the panel.
This mirrors the same rolling-window / redraw-on-last-bar technique used in
the Vix Fix overlay script, adapted for a two-sided (bidirectional)
oscillator instead of a one-sided magnitude series.
SECTION 7 — SIGNALS & ALERTS
--------------------------------------------------------------------------------
MACD Signals (only when MACD is selected)
- Buy: MACD crosses over Signal while price is above the trend EMA/VWAP,
and the cross happens at or near zero (MACD or its prior value
below zero).
- Sell: Mirror image condition for a bearish cross.
- Both have dedicated alertcondition() alerts.
Oscillator Signals (RSI, CCI, DRM, Stochastic, Stoch RSI)
Two signal speeds, each with its own cooldown to prevent rapid repeat
firing:
Fast (5-bar cooldown) - oscillator crosses its basis line while still
inside normal territory, OR crosses the
"Extreme" OB/OS+Extreme level.
Slow (10-bar cooldown) - oscillator crosses the standard OB/OS level.
If the Trend filter is not "Off" or "Range", signals additionally require
price to agree with the trend EMA/VWAP direction.
Buy/Sell background highlighting (green/red) marks bars where any of
these signals fire, matched to whichever oscillator is active.
SECTION 8 — DIVERGENCE
--------------------------------------------------------------------------------
When "Divergence" is enabled, the script compares 5-bar-left/5-bar-right
pivot highs and lows in price against the oscillator's own pivots:
- Bullish divergence: price makes a lower low while the oscillator makes
a higher low -> green line + "Bull Div" label below the bar.
- Bearish divergence: price makes a higher high while the oscillator
makes a lower high -> red line + "Bear Div" label above the bar.
SECTION 9 — PRACTICAL NOTES & LIMITS
--------------------------------------------------------------------------------
- "Number of Bars to Show" is capped at 150 bars to stay within Pine's
line/box drawing budget when combined with fills, reference lines, and
histogram boxes.
- The overlay drawing loop stops adding new line objects once the combined
oscillator + basis + volume-pressure line count reaches 480, as a safety
margin under the 500-object limit declared at the top of the script.
- Volume Pressure, Fill Lines, Fill OB/OS, and Divergence are independent
toggles and can be combined freely, but turning on several at once with a
high bar count will use more of the drawing budget.
- OB/OS zone fill and reference lines are skipped for MACD/VMACD, since
those use a zero-centered histogram instead of a fixed OB/OS band.
- All original oscillator calculations run on the current chart's timeframe
by default (the internal multi-timeframe parameter is left blank), so the
overlay reflects the chart timeframe you have open.
================================================================================
End of manual — CQ_(L)_Oscillators Overlay
================================================================================ Indicator

Euphoria Momentum Oscillator📊 Euphoria Momentum Oscillator
🧾 Brief Description
A momentum oscillator that combines WaveTrend-style smoothing, adaptive overbought/oversold zones, and signal-line pivot detection to visualize momentum expansion, exhaustion, and reversals.
📖 Full Description
🔍 Overview
The Euphoria Momentum Oscillator is a smooth momentum tracking tool designed to help you understand market emotion cycles inside price action.
Instead of only showing overbought/oversold levels, it builds a continuous momentum wave that highlights:
📈 Momentum expansion
📉 Momentum exhaustion
🔄 Potential reversal zones
⚖️ Trend pressure shifts
It is built for context, not prediction, helping traders read structure inside momentum behavior.
⚙️ Core Engine
At its core, the indicator:
Builds a smoothed momentum wave from price deviation
Applies dual-layer smoothing to reduce noise
Scales movement using an amplitude multiplier for adaptability
👉 Result: a clean oscillator that reacts smoothly to market cycles.
📡 Signal Logic
A hidden signal line is used to detect momentum turning points.
This helps identify:
🔴 Peak momentum exhaustion (possible reversal down)
🟢 Trough momentum exhaustion (possible reversal up)
⚡ Transition phases between expansion & contraction
These signals are only shown when structure confirms a shift — not raw noise.
🌡️ Market Zones
The oscillator uses dynamic sentiment zones:
🔴 Overbought zone (Euphoria region)
→ Momentum may be extended or overheating
🟢 Oversold zone (Fear region)
→ Momentum may be oversold or exhausted
👉 These zones are contextual, not direct buy/sell signals.
🎯 Visual Language
🟢 Rising line = increasing bullish momentum
🔴 Falling line = increasing bearish momentum
🌈 Gradient zones = intensity of emotional pressure
🟡 Yellow dots = entry into extreme zone
🔴 / 🟢 dots = confirmed momentum pivot points
📊 Dashboard
A built-in dashboard shows:
📌 Sentiment state (Fear / Neutral / Euphoria)
📊 Current oscillator value
📉 Trend bias vs 50 EMA
This helps quickly understand market context at a glance.
🔔 Alerts
You can set alerts for:
🚨 Entering Euphoria zone (overbought pressure)
🚨 Entering Fear zone (oversold pressure)
📉 Momentum peak formation
📈 Momentum trough formation
All alerts are triggered only after structural confirmation.
⚙️ Inputs
Customize:
Channel length (momentum sensitivity)
Smoothing strength
Signal line speed
Amplitude scaling
Overbought / oversold thresholds
Visual vertical lines toggle
🧠 How to Use
Best used for:
📈 Momentum tracking
🔄 Reversal context spotting
📊 Trend continuation vs exhaustion analysis
🧩 Multi-timeframe confirmation setups
👉 Works best when combined with:
Price structure
Support/resistance
Trend indicators
⚠️ Limitations
This is a context tool, not a prediction system.
Momentum extremes can persist in strong trends
Signals should not be used alone
Confirmation from price action is recommended
💡 Originality
This indicator is not a standard oscillator.
It introduces:
🌊 WaveTrend-inspired momentum engine
🧠 Dual smoothing architecture
📡 Signal-line pivot detection
🌡️ Adaptive sentiment zones
📊 Structured dashboard context layer
👉 The goal is to transform raw momentum into readable market emotion cycles, not just overbought/oversold signals. Indicator

Adaptive Momentum Oscillator (MTF Signal Framework)📖 Overview
The Adaptive Momentum Oscillator is a multi-layer analytical tool designed to evaluate market momentum through a combination of smoothed price deviation, signal averaging, and regime-based visualization.
Instead of relying on a single momentum calculation, the indicator builds a structured view of market behavior by separating:
underlying momentum pressure
signal smoothing
and trend regime states
This allows traders to interpret market conditions with reduced noise and clearer directional context.
⭐ Key Features
🔹 Multi-Layer Momentum Structure
The oscillator combines raw momentum movement with smoothed signal lines to separate short-term fluctuations from broader directional bias.
🔹 Signal Confirmation Logic
Buy and sell conditions are derived from structured momentum shifts rather than single threshold crossings, helping reduce premature signals in choppy conditions.
🔹 Trend Regime Visualization
The indicator highlights different market phases:
bullish expansion zones
bearish expansion zones
neutral or transition phases
This helps contextualize momentum behavior instead of treating all movement equally.
🔹 Histogram Momentum Tracking
The histogram represents the acceleration and deceleration of momentum, allowing traders to observe weakening or strengthening trends.
🔹 Dynamic Signal Behavior
Signals adapt to market conditions instead of using fixed static rules, improving responsiveness during volatility changes.
📊 How to Interpret
🟢 Buy Signal
Indicates that momentum has shifted upward and confirmation conditions are aligned with bullish pressure.
🔴 Sell Signal
Indicates that momentum has shifted downward and bearish pressure dominates recent structure.
📉 Histogram
Increasing bars = strengthening momentum
Decreasing bars = weakening momentum
Color shifts = regime transitions
🎯 Best Applications
Swing trading
Momentum confirmation
Trend filtering
Reversal detection
Market structure analysis
⚠️ Limitations
This indicator should not be used as a standalone trading system.
Momentum signals may lag during rapid reversals, and additional confirmation from price action or risk management is recommended.
💡 Originality
Unlike traditional oscillators such as MACD or RSI, this script is designed as a multi-layer momentum framework, where:
raw momentum
smoothed signal behavior
and regime classification
are combined into a unified structure.
The goal is not to generate isolated signals, but to provide a continuous model of market momentum behavior across different phases. Indicator

Adaptive Multi-Timeframe RSI Divergence📈 Adaptive Multi-Timeframe RSI Divergence
Brief Description
A multi-timeframe RSI oscillator that combines weighted higher-timeframe momentum, adaptive trend confirmation, divergence detection, and configurable Flip alerts into a unified momentum analysis framework.
📖 Overview
Adaptive Multi-Timeframe RSI Divergence expands the traditional RSI by introducing a Composite RSI calculated from multiple higher timeframes.
Instead of evaluating momentum from a single timeframe, the indicator compares local RSI behavior with broader market momentum while integrating trend confirmation, divergence detection, and adaptive visualization into one oscillator.
The objective is to reduce noise while providing a more reliable interpretation of momentum shifts.
⭐ Key Features
🔹 Composite Multi-Timeframe RSI
• Combines RSI values from three configurable higher timeframes.
• Uses customizable weighting for each timeframe.
• Smooths the result with an EMA to reduce noise.
🔹 Adaptive Trend Detection
Trend changes require multiple confirmation conditions:
✅ RSI crossover
✅ Minimum RSI distance
✅ RSI slope confirmation
✅ Confirmation bars
✅ Deadband filtering
This helps avoid false flips during ranging markets.
🔹 Flip Detection Engine
The Flip Engine confirms bullish and bearish momentum transitions only after all validation rules have been satisfied.
Flip labels and alerts are generated after confirmation rather than immediately at crossover.
🔹 RSI Divergence Detection
Supports:
• Regular Bullish
• Hidden Bullish
• Regular Bearish
• Hidden Bearish
using configurable pivot detection and lookback filtering.
🔹 Dynamic RSI Zones
Highlights active overbought and oversold regions only when RSI enters those zones, improving readability without permanently coloring the oscillator.
🔹 Trend Ribbon
🟢 Green = Confirmed Bullish Momentum
🔴 Red = Confirmed Bearish Momentum
🟣 Purple = Momentum Transition
🔔 Alerts
Includes alert conditions for:
• Bullish Flip
• Bearish Flip
Alerts trigger only after confirmation.
⚙️ Inputs
The script allows customization of:
• RSI Settings
• Composite RSI Timeframes
• Timeframe Weights
• Flip Detection
• Confirmation Rules
• Divergence Settings
📊 How to Interpret
🟢 Bullish Flip
Momentum has shifted toward bullish conditions after confirmation.
🔴 Bearish Flip
Momentum has shifted toward bearish conditions after confirmation.
📈 Composite RSI
Represents weighted higher-timeframe momentum.
📍 Divergences
Highlight potential exhaustion or continuation depending on the divergence type.
🎯 Best Applications
• Swing Trading
• Trend Confirmation
• Momentum Analysis
• Multi-Timeframe Analysis
• Divergence Confirmation
⚠️ Limitations
Like all momentum indicators, this script should be used as a decision-support tool rather than a standalone trading system.
Divergences and momentum shifts may persist before price reacts. Additional confirmation from price action or risk management techniques is recommended.
💡 Originality
Unlike a traditional RSI indicator, this script introduces several original concepts:
✔ Weighted Composite RSI using multiple higher timeframes.
✔ Adaptive trend confirmation using RSI distance, slope, persistence filters, and deadband logic.
✔ Configurable Flip Detection Engine.
✔ Trend-state ribbon.
✔ Integrated divergence detection.
✔ Built-in alert system.
Rather than simply combining existing indicators, the objective is to create a unified momentum framework that filters market noise while providing a broader view of momentum across multiple time horizons. Indicator

Gaussian RSI | NAL1. Overview
Gaussian RSI | NAL is a smoothed momentum-regime indicator built around an RSI engine filtered through a Gaussian weighting model. Instead of plotting raw RSI, the indicator applies Gaussian smoothing to reduce noise and create a cleaner momentum line.
The signal is then refined with an optional Gaussian confluence filter. This adds a second smoothing layer that acts as a directional confirmation structure, helping separate stronger momentum regimes from weaker internal fluctuations.
2. Calculation
The indicator starts by calculating RSI from the selected source. This creates the base momentum reading used by the rest of the model.
The RSI is then passed through a Gaussian filter. The Gaussian filter weights the lookback window using a bell-curve style distribution, creating a smoother momentum line while still preserving directional movement.
A second Gaussian filter can also be applied as a confluence line. This creates a slower reference layer for the Gaussian RSI, allowing the indicator to judge whether the current RSI structure is aligned with its own smoothed trend.
The bullish condition requires the Gaussian RSI to move above the upper threshold. When confluence is enabled, the Gaussian RSI must also be above the Gaussian confluence line.
The bearish condition requires the Gaussian RSI to move below the lower threshold. When confluence is enabled, the Gaussian RSI must also be below the Gaussian confluence line.
The final state holds its previous direction when neither condition is active. This creates a cleaner regime output instead of constantly flipping to neutral between threshold zones.
3. Key Features
Gaussian-smoothed RSI momentum engine.
Optional Gaussian confluence filter.
Upper and lower threshold-based regime detection.
State-based candle coloring and RSI coloring.
Glow-style RSI plot, regime fills, confluence line, and transition labels.
Designed to reduce raw RSI noise while preserving momentum structure.
4. Use
Gaussian RSI is designed to identify when momentum begins shifting into a stronger bullish or bearish regime. A move above the upper threshold reflects bullish momentum pressure, while a move below the lower threshold reflects bearish momentum pressure.
The confluence filter adds an additional layer of structure by requiring the Gaussian RSI to align with its own smoother reference line. This can help separate cleaner momentum expansions from weaker internal movement.
This indicator is best used as a specialized momentum module within a complete strategy framework. Its role is to isolate a refined RSI-based momentum layer, where the full value comes from how the signal is integrated into a broader process for regime, timing, and execution.
Indicator

Indicator

Technical 4x4 MatrixTechnical 4x4 Matrix:
Can Rethinking Common Sense Bring New Insights?
Description:
Does reviewing existing common sense bring new insights? The "Technical 4x4 Matrix" challenges the traditional way we view technical analysis. Instead of stacking endless line charts or reading boring data tables, this indicator reimagines 16 classic technical indicators (RSI, MACD, Bollinger Bands, etc.) by projecting them onto a unified, 4x4 analog meter interface directly on your chart.
By standardizing completely different mathematical models into a single visual language, we can uncover hidden confluences and macro alignments that isolated indicators often miss.
To make this matrix function, the script performs heavy data normalization and correlation calculations behind the scenes. Here is why these calculations are used and what they actually output:
1. Data Normalization Engine (The Analog Meters)
Why it's used: You cannot simply average an RSI (measured 0 to 100) with a MACD (absolute price differences). To create a unified "Average Flow," every indicator must be converted to a uniform scale.
The Calculation: The script uses a custom normalization formula:
Normalized Value = (Current Value - Min Value) / (Max Value - Min Value)
Actual Output Value: Regardless of the indicator's native scale, the output value for every single meter is strictly constrained between 0.0 (Absolute Cold/Oversold) and 1.0 (Absolute Hot/Overbought). For example, a neutral RSI of 50 outputs exactly 0.5.
2. Master HUD Crosshair (Macro Correlation)
Why it's used: To determine if the current micro price action is actually aligned with the macro trend, rather than just reacting to short-term noise.
The Calculation:
First, it creates a ratio: Macro Ratio = SMA(Close, 250) / SMA(Close, 1)
Next, it calculates the correlation between the closing price and this ratio over 20 periods, scaling it for the HUD's Y-Axis:
Y-Axis Ratio = (Correlation + 1.0) / 2.0
Actual Output Value: The raw correlation ranges from -1.0 to 1.0. After scaling, the final Y-Axis output is a coordinate between 0.0 and 1.0. The X-Axis is the simple average of all active 0.0 to 1.0 normalized indicators. If the crosshair intersects at (0.8, 0.8), it outputs a mathematically backed signal of strong macro and micro bullish alignment.
16 togglable indicators rendered as square analog meters with dynamic needle tracking and LED status lights.
Garbage Collection: Efficient array clearing prevents memory leaks and visual ghosting.
Master Crosshair: A central HUD that tracks the aggregated flow of all 16 indicators (X-axis) against macro-trend correlation (Y-axis).
Indicator

Indicator

Linda Raschke MACD + Stochastic# Linda Raschke MACD + Stochastic
This indicator combines a fast **MACD (3,10,16)** with a **Stochastic Oscillator (7,10,3)**, inspired by trading concepts commonly associated with professional trader Linda Raschke.
Instead of relying on a standard MACD (12,26,9), this version uses a faster configuration to detect short-term momentum shifts and potential trend changes more quickly.
## Features
* MACD (3,10,16)
* Stochastic (7,10,3)
* Automatic BUY and SELL signals
* Momentum confirmation using both indicators
* Built-in alert conditions
* Designed for day trading and swing trading
## Buy Signal
A BUY signal is generated when:
* The MACD line crosses above the Signal line.
* The Stochastic forms a bullish Hook, indicating momentum is turning upward.
## Sell Signal
A SELL signal is generated when:
* The MACD line crosses below the Signal line.
* The Stochastic forms a bearish Hook, indicating momentum is turning downward.
Signals are displayed only when both conditions occur together, helping reduce false entries.
## Recommended Usage
This indicator is intended to be used as a momentum confirmation tool rather than a standalone trading system.
For better trade selection, consider combining it with:
* 3 EMA & 10 EMA
* ATR Trailing Stop
* Previous Day High / Low
* Support & Resistance
* Price Action Analysis
## Disclaimer
This indicator is provided for educational and informational purposes only. It does not guarantee profitable trades and should always be used alongside proper risk management and independent market analysis.
Indicator

Crypto Market RSI Heatmap [BigBeluga]🔵 OVERVIEW
The Crypto Market RSI Heatmap is a comprehensive, institutional-grade sector momentum matrix built for PulseWire. It consolidates relative strength metrics for up to 20 cross-sectional crypto assets into a single, highly readable multi-group pane. Instead of forcing you to open dozens of browser tabs or flip back and forth between charts, this system runs concurrent structural background queries to map real-time market overbought expansions and oversold depressions using an advanced, color-gradient visual framework.
🔵 FEATURES
The indicator tracks cross-asset momentum cycles through an isolated data processing engine:
1 — Multi-Asset Matrix Architecture
Modular Asset Grouping: Assets are automatically split into 4 distinct structural sectors (Group A through Group D). Each section handles up to 5 completely customizable tickers, allowing you to organize setups by Layer 1s, DeFi, Memes, or Major pairs.
Independent Timeframe Anchors: Every group has an isolated execution timeframe filter ( Timeframe ). This allows you to monitor short-term scalping momentum in one sector while simultaneously tracking macroscopic daily trend structures in another.
Dynamic Highlight Tracking: The background matrix scans the active workspace. The exact asset loaded on your current open chart is highlighted with a custom accent marker ( Current Chart Asset Highlight ) so you never lose your visual anchor.
2 — Momentum Filters & Statistical Computations
Flexible Core Oscillators: The engine isn't limited to standard RSI calculations. Users can instantly toggle between a classic Relative Strength Index, Money Flow Index (MFI) to capture volume distribution, or a fast-response Stochastic RSI.
Group Average Horizon Lines: Dotted real-time horizontal baselines calculate the mean historical mathematical score of each active group, providing an instant look at overall sector health.
Real-Time Cluster Stats: A live sub-label maps out the active average, minimum, and maximum value points for every cluster directly across the base of the indicator workspace.
// 3-Point Color Gradient Engine & Highlighting Mechanism
color dynamicCoinColor = colorMidYel
if coinRSI >= 50.0
dynamicCoinColor := color.from_gradient(coinRSI, 50.0, 75.0, colorMidYel, colorMaxRed)
else
dynamicCoinColor := color.from_gradient(coinRSI, 25.0, 50.0, colorMaxGrn, colorMidYel)
bool isActiveChartAsset = str.contains(str.split(symbol, ":").last(), syminfo.ticker)
if isActiveChartAsset
dynamicCoinColor := colorActive
🔵 HOW TO USE
Using the system to gauge sector rotation requires a systematic analysis flow:
Evaluating Sector Divergences: Monitor the separate group structures to identify relative market leaders and laggards. When Group A’s average baseline pushes deeply into the upper red expansion zone while Group B remains pinned inside the lower green oversold region, money is explicitly rotating out of one pocket and into the other.
Tracking Active Momentum Continuations: Watch the trailing dashed historical lines to catch velocity expansions. Assets that break heavily out of the neutral 50 level and carry an institutional-grade gradient color shift provide high-probability breakout opportunities.
Isolating Market Anomalies: Use the bottom statistics panel to hunt down structural outliers. If a major sector average is floating heavily at a overbought 75 reading, but an individual coin within that exact cluster is sitting at a depressed 35 minimum level, you have found an inefficiencies setup.
🔵 NOTES
Why this implementation is unique:
It completely replaces standard, bulky multi-pane monitor clusters by arranging up to 20 assets side-by-side using a clean, space-staggered horizontal charting layout.
The dual-layer label framework overlays readable ticker identifiers directly on top of real-time momentum tracking nodes, preserving chart real estate without sacrificing readability.
It bridges standard price-derived momentum structures with user-defined asset lists, creating a bespoke internal crypto index tracking workspace.
Indicator

X-trenderThis script is designed to identify the market trend, its momentum, and potential reversal points by combining Arnaud Legoux Moving Averages (ALMA) and the Relative Strength Index (RSI).
The indicator is plotted in a separate pane below the price chart (overlay=false).
Here is a detailed breakdown of how the script works:
1. Core Logic (The Calculation)
The indicator filters out market noise by combining two powerful tools:
- ALMA (Arnaud Legoux Moving Average): An advanced moving average that reduces lag while maintaining superior smoothness. The script allows you to choose your preferred price source (e.g., Close, HLC3, OHLC4).
- RSI (Relative Strength Index): Instead of applying RSI directly to raw prices, the script calculates the RSI of the smoothed ALMA values and subtracts 50. This centers the indicator around a zero (0) baseline:
x - Values above 0 signal a bullish (upward) trend.
x - Values below 0 signal a bearish (downward) trend.
2. Dual Time Horizons (Short vs. Long)
The indicator analyzes the market from two perspectives simultaneously, creating two overlapping histograms:
- ShortTermXtrender: Calculates the RSI based on the difference between two fast ALMA lines. This captures rapid, local changes in price momentum.
- LongTermXtrender: Calculates the RSI directly from a single long ALMA line. This tracks the more stable, macro market trend.
3. Visual Signals and Charting
- Histogram Colors: Bright green/dark green represents upward momentum, while bright red/dark red represents downward momentum. The color brightens when the move accelerates and darkens when it slows down.
- Signal Line: A further smoothed ALMA of the short-term indicator. It turns bright green when moving up and red when moving down.
- Reversal Dots (Tiny Circles): Plotted at the exact pivot points of the signal line. A green dot marks a local bottom (potential buy signal), and a red dot marks a local peak (potential sell signal).
- Fixed Levels: Horizontal lines at 30 / -30 and 40 / -40 help identify overbought and oversold conditions.
4. Dynamic ATR Bands
When enabled, orange bands are drawn around the short-term indicator based on market volatility (Average True Range). These work similarly to Bollinger Bands. When the histogram breaks outside these bands, it signals an extreme market condition and a high probability of a price correction.
5. Multi-Timeframe (MTF) Dashboard
The script features an MTF dashboard that creates a clean table in the corner of your chart. It fetches the long-term trend data from multiple higher timeframes (e.g., 15m, 1h, 4h, 1D) at the same time:
- Displays BULL (green) if the long-term trend on that timeframe is positive.
- Displays BEAR (red) if the trend on that timeframe is negative.This allows you to quickly check the "higher timeframe bias" without switching charts. Indicator

CTZ BTC ULTIMATE CYCLE v3.3 Vector
CTZ BTC Ultimate Cycle v3.3 — Vector Edition
Two frameworks. One chart. Cycle timing tells you when a low is due — regime analysis tells you whether the market agrees. v3.3 fuses them.
The Cycle Engine tracks Bitcoin's rhythm across four nested cycles — Daily (~30 days), Intermediate (~80 days), Yearly (~365 days), and the 4-Year cycle — detecting each low as it forms, learning from actual cycle lengths, and projecting forward: cycle lines, projection boxes with price targets, countdown timers, and progress bars for every degree. Star-rated confidence on every DCL and ICL (divergence, volume, regularity, translation), cycle failure detection with bull/bear context, invalidation levels, win/fail streaks, and multi-cycle sync detection.
The Vector Engine runs a six-component regime model alongside — trend structure, momentum, MACD, rate of change, drawdown, and Supertrend — scored into a composite that classifies the market as Strong Risk-On, Risk-On, Risk-Off, or Strong Risk-Off, with a live count of how many internals are improving. The regime also powers smarter bull/bear detection for the cycle engine's failure logic (toggleable).
Where they agree is where it matters:
⚡★ CONFLUENCE LOW — a cycle timing window is active and the Vector confirms: deep capitulation, internals turning up together, composite rising. The clock says a low is scheduled; the internals say it's actually forming.
⚠ V-TOP — the regime flips Risk-On → Risk-Off within bars of a fresh cycle high while translation is weak. Timing and condition both warning at once.
A full dashboard covers everything: cycle progress for all four degrees, translation, MA breakout status, upcoming low countdowns, zone alerts, invalidation prices, signal quality, and a dedicated Vector section with regime, score, and improvement breadth.
Comprehensive alerts: confluence signals, new cycle lows, high-conviction setups, cycle failures, sync events, zone entries, and MA breakouts.
Designed for BTCUSD daily.
Cycle projections and regime signals describe probabilities, not certainties. Not financial advice. Indicator

Swell - Fast/Slow Consensus OscillatorThis oscillator plots one statistic at two speeds and trades their consensus. Both lines measure the same thing — the volatility-normalized deviation of price from a moving mean, a z-score. The fast line is raw Bollinger percent-B; the slow line is the same deviation passed through triple smoothing, in the style of the Firefly oscillator. Think of one sea surface decomposed into two frequencies: the slow line is the swell, the long-wavelength energy that sets the direction of the water; the fast line is the chop on top of it. Consensus signals ride the chop in the direction of the swell — the century-old tide-and-wave reading of markets, made spectral. The slow line defines the directional regime and wears its verdict as color: teal when it sits above the midline and rises, red when it sits below and falls, amber when position and slope disagree — the regime is on hold and regime-gated signals disarm until the two agree again.
Markers are emoji, and every extreme marker sits directly on the boundary that fired it. A bull prints when the fast line reclaims the midline inside a bullish regime; a bear prints on the mirror event. A sprout prints when the fast line turns up through an oversold boundary, a diamond when that happens inside a bullish regime. A fire prints when the fast line rolls over through an overbought boundary, a trap when that happens inside a bearish regime, and a siren when the rollover coincides with the slow line stalling at elevated levels. Overbought and oversold are hybrid by default: enclosing bands drawn from the fast line's own recent statistics, lagged one bar so a spike is judged against pre-spike conditions, tighten the definition of extreme in quiet stretches, while the fixed levels stay armed as an absolute safety net — a crossback fires on either boundary. All four trigger boundaries are drawn as thin lines, so every marker can be traced to the exact line it crossed.
Background tints follow the short-term motion and carry small labels with the judgment, drawn along the top of the pane and horizontally centered on each episode; the ongoing episode's label slides until the episode closes, then freezes. A red tint marks a pullback zone — the slow line bullish while the fast line sits below the midline, a dip within an uptrend. A green tint marks a suspect rally — the slow line bearish while the fast line pushes above the midline, a bounce to distrust. A violet tint marks a volatility squeeze, when Bollinger bandwidth sits below a percentile threshold of its own history — quiet stretches that tend to precede expansions. An optional filter restricts the four entry signals to a release window after a squeeze; advisories and regime alerts are never filtered. Every event on the chart is subscribable as an alert: each of the seven markers fires exactly when its emoji prints, plus regime turns, zone starts, squeeze start and release, and a catch-all condition covering any marker.
Inputs. The fast side takes the usual Bollinger length and multiplier. The slow side takes the Firefly lookback and smoothing length, with optional double smoothing and a ZLEMA variant. The consensus block sets the midline, the adaptive band length and multiplier, the fixed overbought and oversold levels, the elevated threshold for exhaustion, and a toggle requiring slope agreement for the regime, which makes signals stricter and later. The squeeze block sets the bandwidth lookback, the percentile threshold, and the release window.
Scope. An oscillator reads stretch, not regime-appropriateness: in a strong trend, extreme readings often mark strength rather than reversal, and the overheat cue in particular will fire repeatedly while price keeps running. Treat the markers as cues to investigate, not as a trading system, and let the slow line's color arbitrate which side of the book is open. The fast line is based on BBPCT% by AlgoAlpha; the slow line is based on the Firefly Oscillator by LazyBear, from an original idea by Yasu. Indicator

HBAR RSI Indicator [3Commas]HBAR RSI Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a long-only DCA workflow on HBAR / USDT. It tracks a single virtual position: a base entry opens when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the virtual position at fixed deviations from the base entry, each larger than the last; the position is then closed at a fixed take-profit above the blended average entry. The indicator computes running average entry, deployed capital, open PnL, and lifetime realized PnL from honest fill-by-fill bookkeeping, and emits a webhook-ready JSON alert payload on the base order, every safety order, and the close.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit on the blended average entry; no trailing, no stop loss.
- Honest virtual bookkeeping: avg entry, deployed capital, Open PnL, and cumulative realized PnL displayed live on the chart.
🔷 Who is it for:
- Swing traders accumulating HBAR on deep RSI flushes who want a chart-driven signal source.
- Bot operators who want base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Traders who want strategy-tester-equivalent insight (live realized / unrealized PnL) without running a backtest engine.
🔷 How does it work:
Base Entry: On each closed 4h bar the indicator reads RSI(14). When RSI falls below 28 and there is no open virtual position, it marks a virtual base order at the close price and dispatches the entry webhook.
Averaging Orders: Once in a virtual position, the indicator watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding safety order is recorded and its webhook fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Honest Virtual Bookkeeping: Total cost and qty are updated incrementally on every event, so the avg entry, deployed capital, and Open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut, no synthetic averaging.
Take Profit & Lifetime PnL: When price closes at or above the take-profit level (a fixed percentage above the average entry), the virtual position is closed, its round-trip profit is added to a persistent realized-PnL counter, and the close webhook fires. The status table displays both Open PnL (current unrealized state) and cumulative realized PnL, so live performance is visible directly on the chart.
Capital Bounds: Total virtual deployed capital cannot exceed the base order plus the five safety orders. Once all five are filled, no further adds occur — the position simply waits for the take-profit.
🔷 Why it's unique:
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the signal quiet in normal conditions and only fires after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads. One PulseWire alert with "Any alert() function call" drives a 3Commas DCA Bot end-to-end.
- Live PnL Tracking: Open PnL and cumulative realized PnL are displayed live on the chart — the indicator gives strategy-tester-equivalent insight without running a backtest.
🔷 Considerations Before Using the Indicator:
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If HBAR trends hard below the −25% AO5 level without recovering to take-profit, the virtual position sits fully loaded with no further adds and no stop — Open PnL can grow deeply negative until price reverts.
No Stop Loss: There is no exit signal on adverse moves. Risk is bounded only by the fixed ladder allocation (base + five AOs ≈ $20,633 at default sizing). If a hard exchange-side stop is required, configure it on the bot directly.
Match Sizing to Your Bot: The avg-entry and PnL display becomes meaningful only when the indicator's base/AO sizing matches your real DCA Bot configuration.
Cross Detection Granularity: Base, safety-order, and take-profit events are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester — but the live realized-PnL counter in the status table gives a running approximation. For full metrics over the reference ~30-month sample (81 closed trades, 82.72% win rate, 0.92% max drawdown, profit factor 11.248, +3.90% net return over January 1, 2024 – July 2, 2026), use the companion strategy version on identical parameters. Note the 81-trade sample is below the ~100-trade floor for statistical confidence — treat those metrics, including the high profit factor, as indicative.
🔷 How to Use It:
🔸 Add the indicator to a 4h HBAR / USDT chart.
🔸 Confirm the RSI level (28), the five AO deviations and sizes, and the take-profit percentage match your bot's configuration. Match the base/AO sizing so the avg-entry and PnL display stays meaningful.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_HBAR).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The base order, each safety order, and the close will each emit a dedicated JSON payload formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size: Virtual capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Virtual capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table (shows status, AOs filled, base/avg entry, TP target, deployed capital, open PnL, RSI, and cumulative realized PnL).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicator

HBAR RSI Strategy [3Commas]HBAR Long Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for HBAR / USDT that opens a position only in deep-oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 Who is it for:
- Swing traders accumulating HBAR on deep RSI flushes rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 28 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price a fixed percentage above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the strategy out of the market in normal conditions and only commits capital after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads. The strategy can drive a 3Commas DCA Bot end-to-end with no glue layer.
- On-Chart Transparency: The AO ladder, average entry, and take-profit target are plotted live, and the status table reports RSI, AOs filled, base/average entry, TP target, and max deployable capital — so the position state is always visible.
🔷 Considerations Before Using the Strategy:
Trade Volume — Below the Statistical Floor: The reference backtest produced 81 closed trades over ~30 months. This is below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high profit factor as indicative rather than conclusive. The strict RSI < 28 filter is what keeps the trade count low.
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If HBAR trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts. The 1.8× scaling amplifies both the recovery speed and the downside.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Capital Deployment & Drawdown: The reference backtest reached a 0.92% maximum equity drawdown at default sizing — but that depends on the configured ladder fitting within HBAR's observed swings. A deeper or more prolonged decline than the test sample would produce a larger drawdown.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees. With a fixed 3% take-profit the per-trade edge is modest, so a fee mismatch matters.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:HBARUSDT.P (Perpetual) — strategy is portable to any HBAR / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 2, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 28.
Take Profit: 3% above average entry.
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +3,902.32 USDT (+3.90%)
Max Equity Drawdown: 938.07 USDT (0.92%)
Total Closed Trades: 81
Percent Profitable: 82.72% (67 / 81)
Profit Factor: 11.248
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (28), the five AO deviations and sizes, and the take-profit percentage match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note this configuration reached just 0.92%. Keep in mind the 81-trade sample is below the ~100-trade floor for statistical confidence, and the 11.248 profit factor reflects that small, favorable sample.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Triple Confluence Navigator [MarkitTick]💡 A highly sophisticated analytical framework designed to identify high-probability market setups by demanding alignment across three distinct dimensions of market data: momentum crossovers, adaptive volatility momentum tracking, and structural price action. Instead of relying on a single lagging variable, this system synthesizes traditional oscillators, advanced digital signal processing (such as Kalman filtering), and structural swing analysis. By integrating automated risk management, multi-take-profit targeting, and a real-time tracking dashboard, it operates as a comprehensive suite for systematic market analysis.
✨ Originality and Utility
● A Multi-Dimensional Consensus Model
Most standard technical tools assess the market through a single lens, such as pure price action or pure momentum. The originality of this system lies in its stringent confluence requirements. It isolates three independent mathematical models and requires all of them to agree within a user-defined chronological window. This significantly filters out market noise and reduces the frequency of false positive signals commonly associated with sideways or choppy conditions.
● Oscillatory Supertrend Application
While a Supertrend is traditionally overlaid on raw price action, this script innovates by calculating an Average True Range (ATR) directly on the Adaptive RSI (ARSI) oscillator. By establishing a Supertrend over momentum rather than price, the tool identifies the structural trend of the underlying momentum itself, offering a preemptive view of market shifts before they fully materialize in physical price movement.
● Dynamic Risk-Bounding
The utility is heavily elevated by its integrated risk management architecture. Rather than relying on static pip/tick stops, the system calculates dynamic risk parameters comparing structural pivot ranges against ATR-capped maximums. This ensures that the generated stop-loss levels are mathematically sound, adapting to prevailing market volatility while adhering to strict structural invalidation points.
🔬 Methodology and Concepts
• Pillar One: The Cardwell Momentum Averages
The first confluence pillar focuses on moving average crossovers applied to the Relative Strength Index (RSI). Instead of standard Simple Moving Averages, the system utilizes advanced smoothing algorithms—specifically Kalman Filters or Low Latency Adaptive Moving Averages (LLAMA). This separates the underlying momentum signal from high-frequency market noise, establishing a primary directional bias.
• Pillar Two: Adaptive RSI and Oscillator Supertrend
The second pillar generates an Adaptive RSI (ARSI), normalizing the absolute differences of price movement against historical highest highs and lowest lows. This adaptive data stream is then heavily filtered and paired with a momentum-based Supertrend. A crossover between the ARSI and its own moving/volatility band dictates the secondary momentum confirmation.
• Pillar Three: Market Structure and Swing Pivots
The third pillar grounds the mathematical momentum in tangible price action. The engine calculates precise pivot highs and pivot lows over a specified lookback period. A confirmed signal requires price to physically breach these structural swing levels, registering a Break of Structure (BoS) or a Change of Character (ChoCh).
• The Confluence Window and HTF Bias
Signals from these three pillars rarely occur on the exact same bar. The system tracks the bars elapsed since each respective signal. If all three pillars trigger in the same direction within the defined confluence window, a master setup is generated. Furthermore, an overarching Higher Timeframe (HTF) security check ensures that these local confluences do not contradict the macro directional trend.
🎨 Visual Guide
• On-Chart Trade Mapping
Entry Line: A dashed line indicating the exact closing price of the signal bar.
Stop Loss (SL) Line: A dashed line representing the structural or volatility-based invalidation point, labeled with an X.
Take Profit (TP) Lines: Three distinct dashed lines projecting the target levels based on the calculated risk multiplier.
• Signal Markers and Fills
Labels: Distinct textual markers reading BUY or SELL highlight the precise candle where the triple confluence is met.
Risk Zone: A translucent shaded area bridging the Entry line and the Stop Loss line, visualizing the total capital exposure.
Reward Zone: A differently colored translucent shading extending from the Entry to the final Take Profit (TP3) level.
• Real-Time Dashboard
The Heads-Up Display (HUD) is a table anchored to the chart corner. It outputs the live status of the Cardwell MA, Adaptive ARSI, and Structure modules. It includes dynamic visual bars indicating current RSI and ADX levels, displays the state of the HTF bias, and calculates the live floating risk-to-reward ratio of an active setup.
📖 How to Use
• Identifying Setups
Monitor the chart for the appearance of the signal labels. When a setup is validated, the system will immediately draft the Entry, SL, and TP lines on the chart. Assess the Risk Zone and Reward Zone visuals to ensure the potential setup aligns with your personal risk tolerance.
• Dashboard Monitoring
Use the dashboard to evaluate the health of the confluence. If the ADX visual bar is extremely low, it indicates market chop, suggesting that even a confluence signal might suffer from lack of follow-through. Monitor the structural trend state in the dashboard to understand the broader context of the immediate signal.
• Trade Management
The predefined TP1, TP2, and TP3 lines serve as partial profit-taking areas. As price achieves TP1, consider shifting risk to breakeven, utilizing the subsequent lines as trailing markers. The HUD's Live R metric tracks the real-time fractional gain or loss based on the initial risk unit.
⚙️ Inputs and Settings
• Momentum & Averages
RSI Len: Defines the lookback period for the base oscillator.
Fast/Slow Len: Defines the lookback for the moving averages applied to the oscillator.
Filter Type: Dropdown to select between standard RMA, recursive Kalman Filtering, or adaptive LLAMA.
• Adaptive Volatility
Kalman Process & Measurement Noise: Granular inputs adjusting the responsiveness and smoothness of the Kalman state estimation.
LLAMA Min/Max Alpha: Bounds for the dynamic efficiency ratio used in the adaptive moving average.
ST Factor: The volatility multiplier that determines the width of the ARSI Supertrend band.
• Structure & Trade Configuration
Swing Len: The number of bars required to confirm a structural high or low.
SL ATR Mult: The maximum allowable distance for a stop loss, based on True Range.
SL Struct Buffer: The fractional ATR distance placed beyond a swing pivot to prevent premature stop outs.
TP1/TP2/TP3 R:R: The dynamic risk multiples used to project the take profit levels.
Confluence Window: The maximum number of bars allowed to pass between the three distinct pillar signals for them to remain valid together.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
• Recursive State Estimation (Kalman Filter)
The inclusion of a Kalman-inspired filter applies concepts from control theory and digital signal processing. Unlike simple averaging which inherently introduces phase lag, this algorithm estimates the true state of the momentum by predicting the next value and updating its estimation based on the actual measured value. By weighing the process noise against the measurement noise, the script aggressively smooths erratic momentum spikes while instantly snapping to genuine directional shifts.
• Adaptive Linear Regression (LLAMA)
The Low Latency Adaptive Moving Average applies statistical regression to determine the current market phase. It calculates the slope of the data over a set period and compares it to the absolute range of that period to derive an Efficiency Ratio. This ratio acts as a dynamic alpha coefficient. In highly efficient, directional markets, the alpha increases, forcing the average to tightly track the data. In inefficient, mean-reverting markets, the alpha decreases, flattening the average to ignore statistical noise.
• Statistical Variance and Orthogonal Agreement
By mandating a Triple Confluence, the system relies on the reduction of statistical variance. The three pillars—price structure, base momentum, and adaptive momentum bands—are mathematically orthogonal; they calculate market state using distinctly different algorithms. The probability of all three aligning purely by chance (random walk) is exceptionally low. Therefore, when confluence is achieved, it represents a statistically significant deviation from market equilibrium, highlighting a high-probability directional vector.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Order Flow OBV MACDOverview
Order Flow OBV MACD is an open-source oscillator that extends the classic OBV-style MACD idea with Pine Script v6 order-flow tools. It can run from a traditional OBV-style cumulative volume source or from CVD built with PulseWire footprint delta. The script then transforms that cumulative flow into a MACD-style oscillator, applies a T-channel style direction line, and adds an adaptive confidence score that weighs recent signal components by how well they have aligned with price direction.
This is not a strategy and it does not place trades. It is intended as a market structure and confirmation tool for studying momentum, volume flow, and order-flow agreement.
What Makes It Different
The indicator combines four layers:
A selectable cumulative volume engine: OBV-style signed volume or CVD from footprint delta.
Optional footprint-adjusted CVD using Point of Control, Value Area, and POC row imbalance context.
A MACD-style oscillator derived from the transformed cumulative flow.
An adaptive confidence score that estimates bullish/bearish agreement from MACD direction, channel direction, delta direction, and footprint bias.
The goal is not to predict the future or claim a fixed win rate. The goal is to show when several volume and order-flow components are aligned, conflicting, or neutral.
How It Works
1. Cumulative Volume Source
The script starts by building a cumulative flow series.
OBV mode uses close direction multiplied by volume, then cumulates it.
CVD mode uses footprint delta, which is buy volume minus sell volume for the bar, then cumulates it.
OBV mode is broadly compatible. CVD mode uses PulseWire's `request.footprint()` data, so footprint availability and account plan support matter.
2. Footprint-Adjusted CVD
When CVD Mode is set to Footprint-adjusted, the raw delta can be boosted or softened by row-level footprint context:
Price relative to the footprint Point of Control row.
Price relative to Value Area High and Value Area Low.
Buy or sell imbalance on the POC row.
If delta and footprint context agree, delta can be strengthened. If they conflict, delta can be reduced. The Footprint Row Influence setting controls how strong this adjustment is.
3. MACD Layer
The selected cumulative flow source is normalized through the original OBV-MACD style transformation and smoothed. The script then compares the transformed fast order-flow line against a slow EMA-based MACD leg.
The slow MACD leg can optionally adapt based on the previous bar's adaptive confidence. Strong confidence makes it more responsive. Weak confidence makes it smoother. This uses the prior bar's score to avoid circular logic.
4. T-Channel Direction Line
The main plotted blue/red line is a channel-style directional line based on the slope of the MACD output. Blue indicates positive channel direction and red indicates negative channel direction. Optional cross markers can show direction changes.
5. Adaptive Confidence
The Adaptive Confidence plot is a centered score:
Above 0 favors bullish agreement.
Below 0 favors bearish agreement.
+25 and -25 are guide levels for stronger directional confidence.
The score weighs four components:
MACD direction.
T-channel direction.
Delta/CVD direction.
Footprint bias.
Each component receives an adaptive reliability weight based on how well its previous signal aligned with the current bar's price direction over the selected lookback.
Key Inputs
Cumulative Volume Source
Choose OBV for classic compatibility or CVD for footprint delta-based flow.
CVD Mode
Raw delta uses footprint delta directly. Footprint-adjusted adds row-level POC, Value Area, and imbalance context.
Footprint Ticks Per Row
Controls the price height of each footprint row. Lower values create finer detail. Higher values smooth noisy row behavior.
Footprint Value Area %
Controls the amount of volume used to define the footprint Value Area. 70 is a common default.
Footprint Imbalance %
Controls how strong a row imbalance must be before it is considered meaningful. Higher values are stricter.
Footprint Row Influence %
Controls how much row-level footprint context can adjust bar delta in Footprint-adjusted mode.
Adaptive Weight Lookback
Controls how quickly component weights adapt. Shorter values react faster but can be noisy. Longer values are smoother.
Adapt MACD With Confidence
When enabled, the slow MACD leg adjusts using the previous bar's adaptive confidence. Disable it to keep the MACD closer to classic fixed-length behavior.
Suggested Use
Look for stronger bullish conditions when the channel is blue, the confidence score is above zero, and CVD/footprint settings support the move.
Look for stronger bearish conditions when the channel is red, the confidence score is below zero, and delta/footprint context agrees.
Treat low or mixed confidence as a warning that the components are not aligned.
Use the indicator with price structure, support/resistance, market context, and risk management. Do not use it as a standalone trading system.
Limitations
This is an indicator, not a strategy.
It does not guarantee accuracy, profitability, or future performance.
CVD and footprint-adjusted features depend on PulseWire footprint data availability.
PulseWire states that scripts using `request.footprint()` require Premium or Ultimate access.
The adaptive confidence score is a heuristic based on recent alignment, not machine learning training.
Like any oscillator, it can lag, whipsaw, or conflict with price during chop, news events, thin liquidity, or unusual volume conditions.
Credits
This script builds on an OBV MACD concept and includes a T-channel style directional component inspired by Alex Grover's T-Channels work. The v6 version extends the idea with footprint delta, CVD, row-level footprint context, adaptive confidence scoring, and optional confidence-adjusted MACD smoothing.
Disclaimer
This script is for educational and analytical use only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset. Always test settings on your own symbol and timeframe, and use independent risk management. Indicator

xKen-t Williams %R + EMA w/COT Bias GateWhat's original here
This isn't a Williams %R repaint. Standard %R gives a level; this script converts it into a filtered, context-aware timing engine through four combined mechanisms: (1) exit-from-extreme triggers that fire when %R crosses back out of −80/−20 rather than when it reaches them, so signals mark the reversal instead of the ongoing move; (2) EMA-side confirmation that validates the exit against the 13-EMA; (3) a −50 regime filter that blocks counter-regime signals; and (4) a directional-bias gate that normalizes any external series you feed it (e.g. a COT commercial-net line) to a 0–100 position-in-range index and suppresses every signal that disagrees with that bias. The gate is the core idea — it makes the oscillator time entries only in a separately chosen direction, turning a reversal oscillator into a with-context pullback tool. A status table surfaces %R, its EMA, the regime, the active bias, the higher-timeframe read, and the last signal in one place.
Overview
A Williams %R momentum tool rebuilt around three ideas: it signals on the exit from an extreme rather than the touch, confirms that exit with the %R/EMA relationship, and can gate every signal by an external directional bias (such as Commitments of Traders positioning) so only signals agreeing with that bias are shown. This targets the two classic Williams %R weaknesses — catching falling knives at the band, and firing endless counter-trend reversals during strong trends.
What it calculates
- Williams %R (default 21): the standard oscillator (0 to −100) measuring where the close sits within the lookback's high-low range.
- 13-EMA of %R: a smoothing/confirmation line.
- Triggers: in "Band exit" mode a long fires when %R crosses back up through −80 (leaving oversold) and a short when it crosses back down through −20 (leaving overbought). In "EMA cross in zone" mode the trigger is %R crossing its EMA while in the lower/upper half. Either way, it marks the turn, not the extreme reading itself.
- EMA confirmation (optional): requires %R on the trigger side of its EMA at signal time.
Regime filter (optional): longs only when the %R EMA is above the −50 midline, shorts only when below.
- COT Bias Gate: point the "COT source" input at any external series on the chart — e.g. a Commitments of Traders commercial-net or COT-index line. The script converts it to a 0–100 position-in-range index over a lookback; ≥80 is treated as bullish bias, ≤20 as bearish. With the gate on, longs show only in a bullish bias and shorts only in a bearish one; opposite-bias signals are suppressed. You can also set the bias manually or turn the gate off for standalone %R.
- Divergence (optional): regular bull/bear divergence between price pivots and %R pivots.
Higher-timeframe read (optional): shows a higher-timeframe %R value in the table for top-down context.
How to use it
1. Add it on your entry timeframe (defaults: %R 21, EMA 13, band-exit, EMA confirmation on).
2. Set the bias — manually (Bullish/Bearish), or "Auto" pointed at a COT/context line, or Off.
3. Trade the markers: green up-triangle = confirmed long trigger, red down-triangle = confirmed short. Combine with your own levels and risk management.
Notes and limitations
- Divergence markers are drawn back at the confirmed pivot using an offset — they plot in the past and can repaint until the pivot forms. Treat them as context, not a standalone trigger.
- The gate reads whatever series feeds the source input; on the default (Close) the "bias" is computed from price, not COT — point it at a real COT/context line for it to be meaningful.
- The higher-timeframe read uses non-lookahead requests (no future data).
- Analysis tool for timing within a chosen bias. It does not predict outcomes and is not financial advice. Indicator

Kurdistani Macro Regime# Kurdistani Macro Regime
## Overview
Kurdistani Macro Regime is a comprehensive macroeconomic dashboard designed to help traders evaluate the current global macro environment using publicly available economic data.
Rather than predicting future prices, the script converts multiple macroeconomic indicators into a rule-based market regime model that helps identify whether current conditions favor:
• Expansion
• Recovery
• Slowdown
• Stagflation
• Recession
The indicator combines inflation, monetary policy, liquidity, labor market conditions, yield curve dynamics, credit spreads and volatility into a single analytical framework.
This script is intended for macro analysis and portfolio positioning rather than short-term price forecasting.
---
# Data Sources
The indicator retrieves macroeconomic information directly from the FRED (Federal Reserve Economic Data) database whenever available.
Main datasets include:
• CPI Inflation
• Federal Funds Rate
• ECB Policy Rate
• GDP
• Unemployment Rate
• M2 Money Supply
• Treasury Yields
• Credit Spreads
• VIX
• Inflation Breakevens
• Oil Prices
Because macroeconomic releases occur weekly, monthly or quarterly, values update only when new official data become available.
---
# Macro Regime Engine
The script evaluates three major components of the economy.
## 1. Growth
Growth is estimated using:
• GDP Growth
• PMI Trend
• Labor Market
• Growth Momentum
Higher scores indicate stronger economic expansion.
---
## 2. Inflation
Inflation analysis includes:
• CPI Level
• CPI Trend
Higher inflation increases the probability of restrictive monetary policy.
---
## 3. Liquidity
Liquidity considers:
• M2 Growth
• Federal Funds Rate
• Yield Curve
• Market Volatility
Higher liquidity generally supports risk assets.
---
These components are combined into five macro regimes.
Expansion
Strong growth with controlled inflation.
Recovery
Improving growth following economic weakness.
Slowdown
Moderating economic activity.
Stagflation
High inflation combined with weak growth.
Recession
Broad deterioration across multiple macro indicators.
---
# Advanced Macro Indicators
The dashboard includes several composite indicators.
## Macro Health Score
A composite score between 0 and 100 summarizing overall macro conditions.
Higher values indicate healthier macro environments.
---
## Recession Risk Score
A rule-based composite using:
• Yield Curve
• GDP
• PMI
• Labor Market
• Credit Spreads
• Real Interest Rates
This score is **not** a statistical recession probability.
---
## Fed Pivot Score
Measures whether macro conditions are becoming more favorable for future monetary easing.
Inputs include:
• Inflation
• GDP
• Unemployment
• Yield Curve
• Interest Rates
This is an analytical score rather than a forecast.
---
## Dollar Milkshake Score
Estimates relative USD strength using:
• Interest Rate Differential
• Credit Stress
• Emerging Market Stress
• Volatility
• Real Rates
Higher values suggest stronger demand for USD liquidity.
---
# Asset Outlook
The indicator estimates macro conditions for several asset classes.
## Gold
Gold generally benefits from:
• Negative Real Rates
• Higher Inflation
• Recession Risk
• Easier Liquidity
---
## Bitcoin
Bitcoin is evaluated primarily through:
• Global Liquidity
• Risk Appetite
• Real Rates
• Monetary Conditions
---
## US Dollar
The Dollar score reflects:
• Rate Differentials
• Risk-Off Conditions
• Real Rates
• Credit Stress
---
## US Equities
The equity model incorporates:
• Growth
• Liquidity
• Yield Curve
• Credit Conditions
---
## Long-Term Treasury Bonds
Bond scoring focuses on:
• Recession Risk
• Fed Pivot
• Yield Curve
• Real Rates
---
# Dashboard
The dashboard summarizes:
Current Macro Regime
Risk-On / Risk-Off Environment
Macro Health
Recession Risk
Fed Pivot Score
Dollar Milkshake Score
Yield Curve
Interest Rates
Inflation
GDP
PMI
Employment
Oil Trend
Asset Scores
Signal History
Upcoming Economic Calendar
---
# Trading Signals
The script generates several informational signals.
Gold Macro Bullish
Appears when macro conditions become favorable for gold.
Bitcoin Risk-On
Appears when liquidity and risk conditions support Bitcoin.
Yield Curve Inversion
Highlights significant inversion events.
Fed Pivot
Indicates improving conditions for potential future monetary easing.
Oil Shock
Flags unusually large oil price movements.
These signals are informational and should be confirmed with market structure and price action.
---
# Risk Management
This indicator is designed to complement—not replace—technical analysis.
Possible workflow:
1. Determine the current macro regime.
2. Evaluate risk appetite.
3. Compare asset scores.
4. Wait for technical confirmation.
5. Execute trades according to your own trading plan.
---
# Inputs
Users can customize:
• Macro thresholds
• Dashboard visibility
• Signal visibility
• Calendar dates
• Watermark
• Risk profile
• Alert system
• Bullish thresholds
---
# Limitations
This script uses macroeconomic data that update less frequently than market prices.
Economic releases may be revised after publication.
Some FRED series may be unavailable depending on PulseWire data availability.
The model is deterministic and rule-based.
It does not employ machine learning or statistical forecasting.
---
# Disclaimer
This indicator is intended solely as an educational and analytical tool.
All scores, regimes, probabilities and signals are generated using predefined rule-based logic and should not be interpreted as predictions or guarantees of future market performance.
Always combine macro analysis with technical analysis, sound risk management and your own independent research before making trading decisions. Indicator
