Heikin RiderHeikin Rider
Smoothed Heikin Ashi Breakout Signals with Flow Confirmation
by Ben Deharde, 2025
Overview:
Heikin Rider is a trend-following indicator that detects clean breakout signals using a custom smoothed Heikin Ashi wave (the H-Wave) with optional confirmation from a flow-based filter. It's designed for traders who want precise, momentum-aligned entries.
What It Does:
Plots dynamic high/low bands from smoothed Heikin Ashi candles.
Triggers Buy/Sell signals on full candle breakouts above/below the wave.
Colors bars based on price position and momentum relative to a custom flow line.
Optionally filters signals based on flow direction.
How the H-Wave Works:
The H-Wave is a two-stage smoothed Heikin Ashi construction:
Pre-smoothing: Price is smoothed using a short-length MA (SMA, EMA, or HMA).
HA Calculation: Heikin Ashi values are calculated from the smoothed data.
Post-smoothing: A second, longer MA is applied to the HA values.
Wave Envelope: The high and low wicks of the final smoothed HA candles form the H-Wave envelope.
Signals are generated when price fully breaks this envelope, with optional confirmation from the flow color.
Inputs:
Trend timeframe
Pre/Post smoothing type and length
Flow MA type and length
Toggle for bar coloring and signal filtering
Notes:
Built with original logic, using the open-source TAExt library (credited).
No repainting — all signals are confirmed at close.
For use on standard candles only (not HA or Renko).
Alerts:
Long Signal (Buy)
Short Signal (Sell)
Indicatori e strategie
FOREX Strength Matrix PRO | Auto·Scalp·Swing·ManualStrategy type
Multi-session FX divergence engine (long/short) designed for scalping, day-trading, swing-automation on any major/cross.
What it does
The script hunts for moments when one currency is clearly dominating another and converts that edge into trades on the selected pair.
Four strength factors (-100→+100 each)
• Price Return (STR) – raw 1-bar % change.
• Relative Volume (RVOL) – today’s volume ÷ 30-bar SMA.
• Relative Volatility (VOL) – ATR% ÷ 30-bar SMA of ATR%.
• Normalised Momentum (MOM) – price momentum / ATR%.
Matrix build
• Values from 21 symbols roll up to the 7 G-7 currencies.
• Each factor crowns a strongest & weakest currency; weights
(40 / 30 / 20 / 10 %) turn those into ± contributions.
• Result = TOTAL % score per currency.
EDGE gap trigger
• EDGE = TOTAL_base − TOTAL_quote (range −200…+200).
• Long when EDGE ≥ threshold; Short when EDGE ≤ −threshold.
• Default threshold 150 % ⇒ only act on wide divergences.
Timing rails
• Session filter: London, New-York, Tokyo, Sydney boxes.
• Optional contrarian mode: flips all entries.
Risk engine
• Stop & target = ATR × inputs (default 3×).
• Hard flat when EDGE flips sign (dominance lost).
Visual aids
• One-glance strength “Matrix” table.
• Live best-pair suggestion (strongest vs. weakest currency).
• Technical-Rating overlay (All / MA / Osc).
All request.security() calls use lookahead_off → no repaint.
Default inputs (1H template)
Reference TF = Chart
ATR length = 14
Momentum length = 10
RVOL window = 30
VOL window = 10
Factor weights = 40 / 30 / 20 / 10
Trade when EDGE ≥ = 150 %
Stop ATR× / Target ATR× = 3 / 3
Back-test properties used in screenshots
Initial capital 100 000 (quote currency)
Order size 5 % of equity
Pyramiding 1
Commission 0.01 per lot
Slippage 3 ticks
Fills Bar magnifier ✔ · On bar close ✔ · Standard OHLC ✔
How to use
Add to any major/cross chart (default set = USDJPY 1 H).
In Inputs set Pair to trade equal to chart symbol.
Tick the sessions that suit your style.
Leave threshold 150 % or tighten/loosen as desired (50–200 %).
Adjust ATR stops if your broker’s spreads are wider/narrower.
Forward-test on demo; tune commission/slippage to reality.
Important notes
Built exclusively with TradingView built-in data; no external feeds.
No look-ahead, no intrabar repaint, open-source for audit.
Works on any timeframe.
Long/short symmetric; set Reverse logic to fade extremes instead.
Historical results never guarantee future performance; markets evolve.
Credits
TradingView for their technical analysis rating script.
Trade smart, manage risk, and may the strongest currency be with you!
Binance OI Stochastic MFIibb.co Binance Open Interest Stochastic Money Flow Index (OI Stochastic MFI)
Inspiration:
This indicator is an innovative tool combining the traditional Money Flow Index (MFI) and Stochastic Oscillator concepts, enhanced by directly incorporating Open Interest data from Binance Futures BTCUSDT perpetual contracts.
What is it and what does it measure?
The traditional Money Flow Index (MFI) measures the flow of money considering both price and volume.
Open Interest represents the total number of outstanding futures contracts at any given moment, offering deeper insight into speculative involvement and investors' positioning.
This indicator replaces the traditional volume input with Open Interest, providing a more accurate perspective of speculative inflows and outflows in Bitcoin's perpetual futures market.
Advantages and Applications:
Higher accuracy for futures markets, particularly cryptocurrencies, due to direct usage of Binance Futures data reflecting real and speculative activities.
Clear identification of extreme overbought and oversold levels.
Provides objective visual signals for buying (green upward arrows) and selling (red downward arrows).
How to interpret:
The indicator oscillates between values of 0 and 100.
Values above the configured overbought level (e.g., 80) indicate potential downward reversals.
Values below the configured oversold level (e.g., 20) indicate potential upward reversals.
Crossovers of the K-line (blue) with the D-line (orange) generate immediate buy or sell signals.
Practical use:
Long (buy): Look for a green upward arrow after the indicator exits an oversold region.
Short (sell): Look for a red downward arrow after the indicator exits an overbought region.
This indicator is especially useful for traders operating perpetual futures contracts, providing increased precision and clarity for decision-making based on speculative money flows.
Average Candle Length TrendlineI developed an interesting indicator and share it with you. Generally, when the price goes up, the price movement within each minute will be large, and vice versa. Based on that, I created an indicator that averages the trend of candle length and displays it as a line. In order to display it on the screen, I adjusted it to change around the 200-day moving average. It will be a very useful long-short reference line. Based on this line, if the candle goes above this line, the candle length generally starts to get longer, so if you only hit longs, and if it goes below that, you will see a very high winning rate.
15m ORB Pip Run with Range HighlightThis marks up the first 15 minute range of the NYSE at 9:30 AM EST.
Then it counts the number of pips that price has run in the direction of the breakout.
The script it not anything amazing.
I just wrote it to help me backtest the 15 minute ORB strategy quickly.
Market PulseThe script is about getting all TF's dominant side and create a precise voting logic. GAME ON!
Previous Daily High/LowUnderstanding Previous Daily High and Low in Trading
The previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Multi-Session Marker v2Multi-Session Marker v2 is a powerful and flexible tool for visually highlighting up to 15 custom trading sessions directly on your TradingView chart’s background.
Key Features:
Up to 15 Custom Sessions: Enter up to 15 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
Single Time Zone Control: Choose your preferred time zone once in the indicator settings. All session highlights will follow this selection, ensuring accuracy and eliminating confusion—no matter where you are in the world.
Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
Universal Time Handling: Supports a comprehensive list of global time zones (including automatic daylight saving adjustment for zones like "America/New_York"). Match the indicator’s time zone to your chart’s time zone for perfect alignment.
Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
Clean, Organized Interface: All session controls are grouped and labeled for easy editing in the indicator’s settings panel.
How to Use:
In the indicator settings, select your desired time zone from the dropdown (match this to your chart’s time zone for best results).
For each session (up to 15), enter your desired session time (e.g., 0930-1130), toggle “Show Session” on or off, and pick a highlight color.
The background will automatically highlight those periods on your chart, using your chosen time zone.
Who Is This For?
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus, session-based strategies, or news/event tracking.
Updated from v1 to Include:
Additional Sessions (increased from 10 to 15)
Multiple Time Zones (dropdown menu includes 30+ time zones)
Previous Daily High/LowThe previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Example Trade Setup
Scenario: Price opens near the previous day’s high.
Bullish Case: A breakout above it targets next resistance.
Bearish Case: Rejection at the high signals a pullback.
Candlestick Pattern DetectorAll main Candlestick Pattern are available in this
Candlestick patterns are visual representations of price movements that help traders identify potential trend continuations and reversals in financial markets. Each candlestick displays four key price points: open, high, low, and close for a specific time period.
In trending markets, several patterns prove particularly valuable. **Continuation patterns** signal that the existing trend will likely persist. The bullish engulfing pattern occurs when a large green candle completely engulfs the previous red candle, indicating strong upward momentum. Conversely, a bearish engulfing pattern suggests continued downward movement.
**Hammer and doji patterns** often appear at trend extremes, potentially signaling reversals. A hammer features a small body with a long lower wick, suggesting buyers stepped in after initial selling pressure. Doji candles, where open and close prices are nearly identical, indicate market indecision and possible trend changes.
**Three-candle patterns** like morning and evening stars provide stronger reversal signals. A morning star consists of a bearish candle, followed by a small-bodied candle, then a strong bullish candle, suggesting a potential uptrend reversal.
Successful traders combine candlestick analysis with volume indicators and support/resistance levels for confirmation. While these patterns offer valuable insights into market psychology and potential price movements, they should never be used in isolation for trading decisions.
Market Regime Detector (1D RSI/ATR/MA) - Weekly ConsensusMarket Regime Detector (1D RSI/ATR/MA) — Weekly Consensus
© Łukasz Wędel
🎯 Purpose
This indicator analyzes daily (1D) price data to determine the current market regime — Bullish , Bearish , or Choppy — and displays it on an intraday chart (e.g., 1H).
It acts as a higher‑timeframe trend filter, making trend‑following or range‑trading strategies more robust.
⚡️ How It Works
RSI + ATR Method: Bullish if RSI > Bull Threshold and ATR > Threshold; Bearish if RSI < Bear Threshold and ATR > Threshold; Choppy if RSI is between thresholds and ATR <= Threshold
Moving Averages Method: Bullish if Short‑term MA > Long‑term MA, Bearish if Short‑term MA < Long‑term MA, Choppy if MAs are neutral
Final Regime Decision: Final regime is confirmed if the same state occurs in 5 out of the last 7 daily bars
🕓 Timeframe Compatibility
Works best when applied to a 1H chart (or any intraday timeframe). RSI, ATR, and MA calculations are sourced from the 1D timeframe .
🎨 Visual Output
Green background: Final regime is Bullish
Red background: Final regime is Bearish
Yellow background: Final regime is Choppy
🚨 Alerts
Three alert conditions available:
Final Bull Regime
Final Bear Regime
Final Chop Regime
✅ Why Use This?
Provides a higher‑level trend context for lower‑timeframe trading
Reduces noise by focusing only on confirmed trend regimes
Supports trend‑following and range‑trading strategies
🔥 Ideal For
Swing traders relying on trend and volatility confirmation
Day traders seeking trend context from higher timeframes
Algorithmic strategies that benefit from higher‑level trend filtering
Bitcoin Momentum Strategy RSI(5) > 70This script implements a momentum-based Bitcoin strategy using a single indicator: RSI (Relative Strength Index). The logic is simple yet powerful: it enters a long trade when RSI crosses above a certain threshold, signaling strength, and exits when momentum weakens.
🔍 How It Works
Buy Entry: RSI crosses above the Overbought Level (default: 70) and no position is open.
Exit: RSI drops back below the Overbought Level.
This strategy is designed to ride short-term bullish momentum on the 1D timeframe for BTCUSD.
All logic is handled using Pine Script v5 with fully adjustable input parameters.
🛠 Customizable Inputs
RSI Period: default 5
Overbought Level: default 70 (entry/exit trigger)
Oversold Level: default 30 (used for visual cues)
📊 Visual Enhancements
RSI line is green above Overbought (bullish), red below Oversold (bearish), and yellow in between.
Overbought/Oversold zones are marked with dotted lines and subtle background fill for easy chart reading.
⚠️ This strategy only takes long trades. It does not use any stop-loss or profit target logic and should be combined with sound risk management.
Liquidity Sweeps [SB1]### 🧠 **Liquidity Sweeps \ – Enhanced by SamB817**
> ⚠️ **Original Credit:** This script is built on the excellent foundation by **LuxAlgo**, licensed under (creativecommons.org). All core functionality and visual logic originates from LuxAlgo’s open-source framework. This version adds enhanced functionality tailored for precision intraday and swing entries using sweep behavior.
🔹 Overview
The Liquidity Sweeps indicator is designed to help traders spot bullish and bearish liquidity grabs, a key concept in smart money trading. It automatically detects swing highs and lows, identifies stop hunts, and highlights areas where institutional traders might be sweeping liquidity before price reverses.
🔹 How It Works
Detects liquidity sweeps by tracking swing points based on a user-defined lookback period.
Differentiates between:
✅ Wick-based liquidity grabs (stop hunts).
✅ Breakouts & retests (confirming liquidity sweeps).
✅ Both combined for deeper analysis.
Draws liquidity zones with extendable boxes to visualize areas where liquidity was taken.
Provides alerts when a liquidity sweep occurs. ---
---
### 📈 **WHAT THIS INDICATOR DOES**
This tool identifies **liquidity sweeps**—key moments where price **wicks above/below swing highs/lows**, often triggering stop losses or absorbing institutional orders. These zones frequently precede powerful reversals or continuations.
It draws:
* 🔹 **Dotted lines** at the top or bottom of the candle wicks when a sweep is confirmed.
* 🔹 **Shaded sweep zones** (boxes) which extend until price decisively trades through them.
* 🔹 **Breakout confirmation lines** when price reclaims or mitigates a swept level.
---
### 🔧 **FEATURES & ENHANCEMENTS BY SAM**
* ✅ **Dotted Lines Extension**: Liquidity sweep dotted lines now **automatically extend** until they’re traded through, allowing for reliable reference levels even dozens of bars later.
* ✅ **Thickness Upgrade**: Dotted lines now appear **thicker** for better visibility during fast market conditions.
* ✅ **Visual Cleanup**: Auto-deletion of outdated sweeps (older than 2000 bars or already mitigated).
* ✅ **Optimized Wicks-Only Mode**: Improved behavior when in *Only Wicks* mode, ideal for tracking stop hunts without false triggers.
---
### 🚨 **ALERTS INCLUDED**
1. 🔔 **New Bullish Sweep (Wick)**
2. 🔔 **New Bearish Sweep (Wick)**
These alerts let you react **in real-time** when liquidity has been swept and price is beginning to show directional intent.
---
### 📚 **HOW TO USE IT EFFECTIVELY**
1. **Timeframes**:
* Use on **2H / 4H** for swing setups.
* Use on **1min–15min** for scalping or day trading around NY/LO open.
2. **Entry Logic**:
* Wait for the **dotted line to form after a sweep**.
* **Do not enter immediately.** Wait for: Close of candle!!!!
* A clean **break of the sweep line**, OR
* A **retest of the line within 3–45 bars**, followed by rejection.
3. **Best When Combined With**:
* Fair Value Gaps (FVGs)
* Market Structure Shift (MSS)
* Order Flow Clusters
* Anchored VWAP and Volume Profile
---
### 💡 **TIPS & STRATEGIC INSIGHTS**
* **Sweeps on higher timeframes** (like 2H/4H) are more powerful and often mark **institutional reversals**.
* **Double lines** (dotted lines on both wick ends) = high-volatility trap. Wait for a clean break before entry.
* Use the **sweep box + dotted line** as a **zone**, not a pinpoint level.
* Be patient. Sweeps are **traps first**, **opportunities second**.
---
### 🔓 Attribution
Script forked and expanded from the open-source **LuxAlgo Liquidity Sweeps**. Original License: (creativecommons.org).
Enhancements by **SamB817**.
--- 🧠 1. It Tracks Sweep Behavior — Not Just Breakouts
Purpose: It identifies where liquidity has been taken — stops hit — not where price is "breaking out" in the traditional sense.
The dotted lines show wick-based stop hunts (liquidity raids).
The boxes show sweep zones, including body-to-wick range when applicable.
🟢 Use case: Smart money is taking stops here → expect reaction, not chase the move.
🕓 2. Timeframe Matters — Sweeps on Higher TF = More Impact
15m & 1h: Intraday trap sweeps, good for scalps or fast directional shifts.
2h/4h: Institutional-level sweeps. Often lead to major intraday reversals or the start of a new leg.
Daily/Weekly: Macro-level stops taken → these are often trend changers.
🔑 Rule of thumb: The higher the timeframe the sweep occurs on, the more meaningful the response tends to be.
🎯 3. Entry Logic: Always Wait for Price to Show Direction
After a sweep appears:
Wait for price to break above/below the dotted line or box, depending on the direction.
Don’t enter blindly on the sweep — it's a trap until proven otherwise.
✅ Best entries often occur on retests of the sweep line or area, especially 3–45 bars later (as you’ve already implemented).
🧲 4. Sweeps Often Magnetize Price
Liquidity sweeps act like magnets — if a sweep hasn't been hit yet, price may drift toward it to "collect" those orders.
Use this to anticipate potential targets and reversal zones.
🧪 5. Sweeps Work Best With These Confirmations:
🔹 FVG (Fair Value Gaps) in the same direction immediately after a sweep.
🔹 Market Structure Shift (MSS) right after a sweep = high-probability reversal.
🔹 Order Flow Confirmation: Strong buy/sell imbalances, absorption at sweep level.
🔹 Liquidity voids: If price sweeps and then enters an inefficient zone — fast move likely.
📊 6. Combines Best With These Tools:
Tool Why It Works Well With Sweeps
1.🎯🎯🧠 🧠 Order Flow (AlgoAlpha)Confirm absorption or intent at sweep zone🎯🎯🧠🧠 2.✅ Volume Profile - See if the sweep occurred at a low-volume node (ideal)
3.✅ VWAP or Anchored VWAP - Catch reclaims or rejections off institutional zones
4.✅ Session Highs/Lows Sweeps of session extremes are often the trap setups
🧩 7. Psychology Behind the Sweeps
Sweeps represent stop runs, trap moves, or liquidity grabs by larger players.
The goal is to trigger weak hands before moving in the true direction.
Train yourself to:
Expect the opposite of the sweep direction once structure confirms.
Think like the liquidity provider, not the victim.
TS Multi-Indicator Trend Detector📌 TS Multi-Indicator Trend Detector
This indicator is built for traders who want trend confirmation from multiple technical signals before making a move. It combines 5 powerful trend indicators—EMA, RSI, MACD, ADX, and DMI—into a single score system.
🔍 How It Works
If at least 3 of the 5 indicators confirm a trend, the script plots a floating trend line above the price:
• Yellow Line = Bullish Trend Detected
• Blue Line = Bearish Trend Detected
This makes it easier to visually identify trend bias and filter noise from the market.
🧠 Why It’s Useful
• Helps avoid false signals by requiring confirmation from multiple sources
• Works on any timeframe and instrument
• No repainting
• Fully customizable input values
• Designed for traders who prefer confirmation-based strategies
⸻
✅ Step 3: Screenshots for Publishing
Take 2–3 screenshots on different chart types and timeframes, for example:
1. 1-hour chart on NASDAQ
2. Daily chart on EUR/USD
3. 15-min chart on BTC/USD
Make sure both yellow (bullish) and blue (bearish) lines are shown if possible.
Greer Revenue Yield📊 Greer Revenue Yield – RPS%
Author: Sean Lee Greer
Date Published: June 23, 2025
🔍 Overview
The Greer Revenue Yield indicator evaluates a stock's Revenue Per Share Yield (RPS%), giving investors a unique lens into how much top-line revenue a company produces per share relative to its stock price. This can help identify under- or over-valued conditions based on fundamental efficiency.
Revenue per Share = Total Revenue ÷ Shares Outstanding
Revenue Yield (%) = Revenue per Share ÷ Stock Price × 100
A simple yet powerful valuation metric, dynamically visualized with smart coloring:
🟢 Green = Yield is above average (potential value opportunity)
🔴 Red = Yield is below average (potentially overvalued)
🧠 Use Case
Use this tool to assess whether a company’s price justifies its revenue output on a per-share basis. Especially useful in combination with other indicators in the Greer Financial Toolkit:
📘 Greer Value – Tracks year-over-year growth consistency across 6 key financial metrics
📊 Greer Value Yields Dashboard – Visualizes multiple valuation-based yields
🟢 Greer BuyZone – Identifies long-term technical entry points based on trend cycles and valuation zones
⚠️ Disclaimer
This script is for educational purposes only and should not be considered financial advice. Always conduct your own research or consult a financial advisor before making investment decisions.
My script//@version=5
indicator("Gold Spot vs Futures Diff", overlay=false)
spot = request.security("OANDA:XAUUSD", timeframe.period, close)
futures = request.security("COMEX:GCQ2025", timeframe.period, close)
diff = futures - spot
plot(diff, title="GCQ2025 - XAUUSD", color=color.orange, linewidth=2)
hline(0, "Zero Line", color=color.gray)
Uptrick: Fusion Trend Reversion SystemOverview
The Uptrick: Fusion Trend Reversion System is a multi-layered indicator designed to identify potential price reversals during intraday movement while keeping traders informed of the dominant short-term trend. It blends a composite fair value model with deviation logic and a refined momentum filter using the Relative Strength Index (RSI). This tool was created with scalpers and short-term traders in mind and is especially effective on lower timeframes such as 1-minute, 5-minute, and 15-minute charts where price dislocations and quick momentum shifts are frequent.
Introduction
This indicator is built around the fusion of two classic concepts in technical trading: identifying trend direction and spotting potential reversion points. These are often handled separately, but this system merges them into one process. It starts by computing a fair value price using five moving averages, each with its own mathematical structure and strengths. These include the exponential moving average (EMA), which gives more weight to recent data; the simple moving average (SMA), which gives equal weight to all periods; the weighted moving average (WMA), which progressively increases weight with recency; the Arnaud Legoux moving average (ALMA), known for smoothing without lag; and the volume-weighted average price (VWAP), which factors in volume at each price level.
All five are averaged into a single value — the raw fusion line. This fusion acts as a dynamically balanced centerline that adapts to price conditions with both smoothing and responsiveness. Two additional exponential moving averages are applied to the raw fusion line. One is slower, giving a stable trend reference, and the other is faster, used to define momentum and cloud behavior. These two lines — the fusion slow and fusion fast — form the backbone of trend and signal logic.
Purpose
This system is meant for traders who want to trade reversals without losing sight of the underlying directional bias. Many reversal indicators fail because they act too early or signal too frequently in choppy markets. This script filters out noise through two conditions: price deviation and RSI confirmation. Reversion trades are considered only when the price moves a significant distance from fair value and RSI suggests a legitimate shift in momentum. That filtering process gives the trader a cleaner, higher-quality signal and reduces false entries.
The indicator also visually supports the trader through colored bars, up/down labels, and a filled cloud between the fast and slow fusion lines. These features make the market context immediately visible: whether the trend is up or down, whether a reversal just occurred, and whether price is currently in a high-risk reversion zone.
Originality and Uniqueness
What makes this script different from most reversal systems is the way it combines layers of logic — not just to detect signals, but to qualify and structure them. Rather than relying on a single MA or a raw RSI level, it uses a five-MA fusion to create a baseline fair value that incorporates speed, stability, and volume-awareness.
On top of that, the system introduces a dual-smoothing mechanism. It doesn’t just smooth price once — it creates two layers: one to follow the general trend and another to track faster deviations. This structure lets the script distinguish between continuation moves and possible turning points more effectively than a single-line or single-metric system.
It also uses RSI in a more refined way. Instead of just checking if RSI is overbought or oversold, the script smooths RSI and requires directional confirmation. Beyond that, it includes signal memory. Once a signal is generated, a new one will not appear unless the RSI becomes even more extreme and curls back again. This memory-based gating reduces signal clutter and prevents repetition, a rare feature in similar scripts.
Why these indicators were merged
Each moving average in the fusion serves a specific role. EMA reacts quickly to recent price changes and is often favored in fast-trading strategies. SMA acts as a long-term filter and smooths erratic behavior. WMA blends responsiveness with smoothing in a more balanced way. ALMA focuses on minimizing lag without losing detail, which is helpful in fast markets. VWAP anchors price to real trade volume, giving a sense of where actual positioning is happening.
By combining all five, the script creates a fair value model that doesn’t lean too heavily on one logic type. This fusion is then smoothed into two separate EMAs: one slower (trend layer), one faster (signal layer). The difference between these forms the basis of the trend cloud, which can be toggled on or off visually.
RSI is then used to confirm whether price is reversing with enough force to warrant a trade. The RSI is calculated over a 14-period window and smoothed with a 7-period EMA. The reason for smoothing RSI is to cut down on noise and avoid reacting to short, insignificant spikes. A signal is only considered if price is stretched away from the trend line and the smoothed RSI is in a reversal state — below 30 and rising for bullish setups, above 70 and falling for bearish ones.
Calculations
The script follows this structure:
Calculate EMA, SMA, WMA, ALMA, and VWAP using the same base length
Average the five values to form the raw fusion line
Smooth the raw fusion line with an EMA using sens1 to create the fusion slow line
Smooth the raw fusion line with another EMA using sens2 to create the fusion fast line
If fusion slow is rising and price is above it, trend is bullish
If fusion slow is falling and price is below it, trend is bearish
Calculate RSI over 14 periods
Smooth RSI using a 7-period EMA
Determine deviation as the absolute difference between current price and fusion slow
A raw signal is flagged if deviation exceeds the threshold
A raw signal is flagged if RSI EMA is under 30 and rising (bullish setup)
A raw signal is flagged if RSI EMA is over 70 and falling (bearish setup)
A final signal is confirmed for a bullish setup if RSI EMA is lower than the last bullish signal’s RSI
A final signal is confirmed for a bearish setup if RSI EMA is higher than the last bearish signal’s RSI
Reset the bullish RSI memory if RSI EMA rises above 30
Reset the bearish RSI memory if RSI EMA falls below 70
Store last signal direction and use it for optional bar coloring
Draw the trend cloud between fusion fast and fusion slow using fill()
Show signal labels only if showSignals is enabled
Bar and candle colors reflect either trend slope or last signal direction depending on mode selected
How it works
Once the script is loaded, it builds a fusion line by averaging five different types of moving averages. That line is smoothed twice into a fast and slow version. These two fusion lines form the structure for identifying trend direction and signal areas.
Trend bias is defined by the slope of the slow line. If the slow line is rising and price is above it, the market is considered bullish. If the slow line is falling and price is below it, it’s considered bearish.
Meanwhile, the script monitors how far price has moved from that slow line. If price is stretched beyond a certain distance (set by the threshold), and RSI confirms that momentum is reversing, a raw reversion signal is created. But the script only allows that signal to show if RSI has moved further into oversold or overbought territory than it did at the last signal. This blocks repetitive, weak entries. The memory is cleared only if RSI exits the zone — above 30 for bullish, below 70 for bearish.
Once a signal is accepted, a label is drawn. If the signal toggle is off, no label will be shown regardless of conditions. Bar colors are controlled separately — you can color them based on trend slope or last signal, depending on your selected mode.
Inputs
You can adjust the following settings:
MA Length: Sets the period for all moving averages used in the fusion.
Show Reversion Signals: Turns on the plotting of “Up” and “Down” labels when a reversal is confirmed.
Bar Coloring: Enables or disables colored bars based on trend or signal direction.
Show Trend Cloud: Fills the space between the fusion fast and slow lines to reflect trend bias.
Bar Color Mode: Lets you choose whether bars follow trend logic or last signal direction.
Sens 1: Smoothing speed for the slow fusion line — higher values = slower trend.
Sens 2: Smoothing speed for the fast line — lower values = faster signal response.
Deviation Threshold: Minimum distance price must move from fair value to trigger a signal check.
Features
This indicator offers:
A composite fair value model using five moving average types.
Dual smoothing system with user-defined sensitivity.
Slope-based trend definition tied to price position.
Deviation-triggered signal logic filtered by RSI reversal.
RSI memory system that blocks repetitive signals and resets only when RSI exits overbought or oversold zones.
Real-time tracking of the last signal’s direction for optional bar coloring.
Up/Down labels at signal points, visible only when enabled.
Optional trend cloud between fusion layers, visualizing current market bias.
Full user control over smoothing, threshold, color modes, and visibility.
Conclusion
The Fusion Trend-Reversion System is a tool for short-term traders looking to fade price extremes without ignoring trend bias. It calculates fair value using five diverse moving averages, smooths this into two dynamic layers, and applies strict reversal logic based on RSI deviation and momentum strength. Signals are triggered only when price is stretched and momentum confirms it with increasingly strong behavior. This combination makes the tool suitable for scalping, intraday entries, and fast market environments where precision matters.
Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice. All trading involves risk, and no tool can predict market behavior with certainty. Use proper risk management and do your own research before making trading decisions.
FMT by C.ball [XAUUSD Version]// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © 2025 Ball Goldricher - For XAUUSD
//@version=5
indicator("FMT by C.ball ", shorttitle="FMT-XAU", overlay=true)
// === Moving Averages ===
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
// === Cross Logic ===
crossUp = ta.crossover(close, ema20)
crossDown = ta.crossunder(close, ema20)
// === Persistent Counters ===
var int upCount = 0
var int downCount = 0
// === Count Crosses ===
if crossUp
upCount := upCount + 1
if crossDown
downCount := downCount + 1
// === Entry Signals on 2nd Cross + EMA50 Filter ===
buySignal = crossUp and upCount == 2 and close > ema50
sellSignal = crossDown and downCount == 2 and close < ema50
// === Show Buy/Sell Labels on Chart ===
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// === Reset Counters after Entry ===
if buySignal or sellSignal
upCount := 0
downCount := 0
// === Show EMA Lines for Reference ===
plot(ema20, color=color.orange, title="EMA 20")
plot(ema50, color=color.blue, title="EMA 50")
Multi-Position DashMulti-Position Dash — Risk Dashboard for Forex, Stocks & Indices
Overview:
The Multi-Position Dash is a highly customizable trading dashboard designed to help active traders manage up to 8 simultaneous positions across Forex, Stocks, and Indices. Whether you're trading single entries, layering positions, using DCA (Dollar Cost Averaging), or running complex hedging setups, this tool provides essential, real-time risk and P&L insights—directly on your chart.
Key Features:
✔️ Supports Forex, Stocks, Indices — with automatic pip and contract conversions
✔️ Track up to 8 manual positions, each with customizable direction, lot size or contracts, entry price, Take Profit, and Stop Loss
✔️ Full GBP-based P&L and risk calculation, including automatic USD-to-GBP conversion for non-FX assets
✔️ Real-time display of:
Total potential Take Profit (GBP)
Total potential Stop Loss (GBP)
Risk % relative to account balance
Live P&L (GBP) based on current price
✔️ Breakeven price calculation, even across mixed-direction positions (DCA & hedging aware)
✔️ Visual breakeven line, live P&L arrows, and entry price markers
✔️ Shared Stop Loss option for all positions — perfect for DCA traders
✔️ Easy export strings for logging trades to external tools like spreadsheets
Ideal For:
✅ Forex traders using lot-based risk models
✅ Stock & Index traders wanting simplified contract-based position tracking
✅ Traders managing multiple active positions, with or without hedging
✅ Anyone needing at-a-glance P&L and risk monitoring, independent of broker platforms
Notes & Usage:
This is a manual tracking tool—you enter your positions, TP, SL levels, etc., and the dashboard calculates the rest. It does not place or manage live orders.
Supports both Long and Short positions.
All calculations are based on your inputs and market price—accuracy depends on maintaining your inputs properly.
Shared Stop Loss feature applies a single, unified stop across all active positions for simplified risk control in DCA setups.
GBP is used as the account currency—USD-to-GBP conversion is applied to stocks and indices as needed.
Disclaimer:
This tool is for educational and planning purposes only. It does not place or manage live trades, and is not a substitute for broker risk management tools. Always double-check your own position sizing and risk before placing live orders.
ATR FX DashboardATR FX Dashboard – Multi-Timeframe Volatility Monitor
Overview:
The ATR FX Dashboard provides a quick, at-a-glance view of market volatility across multiple timeframes for any forex pair. It uses the well-known Average True Range (ATR) indicator to display real-time volatility information in both pips and percentage terms, helping traders assess potential risk, position sizing, and market conditions.
How It Works:
This dashboard displays:
✔ ATR in Pips — The average price movement over a given timeframe, converted to pips for easy interpretation, automatically adjusting for JPY pairs.
✔ ATR as a Percentage of Price — Shows how significant the ATR is relative to the current price. Higher percentages often signal higher volatility or more active markets.
✔ Color-Coded Volatility Highlights — On the daily timeframe, ATR % cells are color-coded:
Green: High volatility
Orange: Moderate volatility
Red: Low volatility
Timeframes Displayed:
15 Minutes
1 Hour
4 Hour
Daily
This gives traders a clear, multi-timeframe view of short-term and broader market volatility conditions, directly on the chart.
Ideal For:
✅ Forex traders seeking quick, reliable volatility reference points
✅ Day traders and swing traders needing help with risk assessment and position sizing
✅ Anyone using ATR-based strategies or simply wanting to stay aware of changing market conditions
Additional Features:
Toggle option to display or hide ATR % relative to price
Automatic pip conversion for JPY pairs
Simple, clean table layout in the bottom-right corner of the chart
Supports all forex symbols
Disclaimer:
This tool is for informational purposes only and is not financial advice. As with all technical indicators, it should be used in conjunction with other tools and proper risk management.
Rifle LONG Rifle Shooter Long Indicator
Provides buy/sell signals on DOW symbols including YM, MYM, and US30. Algorithm monitors price action for a drop of price of X points within N minutes. On achieving this drop, the algorithm waits for the price action to drop below one of three levels. Levels end in 23/43/73. For example, 42223 or 42273. Once dropping below the level the algorithm is considered setup if the RSI is below 30. Once setup, it will remain setup until the RSI exceeds 30 or a buy signal is triggered. A buy signal triggers when setup and the following conditions are achieved: 1) price action rises above the level, change in RSI indicates an end/exhaustion of the price drop, and the bar has positive upward momentum.
After signal entry a customizable stop loss and take profit are plotted on the chart adjusting to price action. It will signal exit accordingly.
Requirements for use:
1) 30 second chart
2) Dow symbol
The script has a matching indicator for the SHORT entry. Both indicators rely on common cod within the RifleShooterLib library.
Additionally, the BackTesterLib library is used to provide backtesting statistics and presentation.
Quantum Reversal# 🧠 Quantum Reversal
## **Quantitative Mean Reversion Framework**
This algorithmic trading system employs **statistical mean reversion theory** combined with **adaptive volatility modeling** to capitalize on Bitcoin's inherent price oscillations around its statistical mean. The strategy integrates multiple technical indicators through a **multi-layered signal processing architecture**.
---
## ⚡ **Core Technical Architecture**
### 📊 **Statistical Foundation**
- **Bollinger Band Mean Reversion Model**: Utilizes 20-period moving average with 2.2 standard deviation bands for volatility-adjusted entry signals
- **Adaptive Volatility Threshold**: Dynamic standard deviation multiplier accounts for Bitcoin's heteroscedastic volatility patterns
- **Price Action Confluence**: Entry triggered when price breaches lower volatility band, indicating statistical oversold conditions
### 🔬 **Momentum Analysis Layer**
- **RSI Oscillator Integration**: 14-period Relative Strength Index with modified oversold threshold at 45
- **Signal Smoothing Algorithm**: 5-period simple moving average applied to RSI reduces noise and false signals
- **Momentum Divergence Detection**: Captures mean reversion opportunities when momentum indicators show oversold readings
### ⚙️ **Entry Logic Architecture**
```
Entry Condition = (Price ≤ Lower_BB) OR (Smoothed_RSI < 45)
```
- **Dual-Condition Framework**: Either statistical price deviation OR momentum oversold condition triggers entry
- **Boolean Logic Gate**: OR-based entry system increases signal frequency while maintaining statistical validity
- **Position Sizing**: Fixed 10% equity allocation per trade for consistent risk exposure
### 🎯 **Exit Strategy Optimization**
- **Profit-Lock Mechanism**: Positions only closed when showing positive unrealized P&L
- **Trend Continuation Logic**: Allows winning trades to run until momentum exhaustion
- **Dynamic Exit Timing**: No fixed profit targets - exits based on profitability state rather than arbitrary levels
---
## 📈 **Statistical Properties**
### **Risk Management Framework**
- **Long-Only Exposure**: Eliminates short-squeeze risk inherent in cryptocurrency markets
- **Mean Reversion Bias**: Exploits Bitcoin's tendency to revert to statistical mean after extreme moves
- **Position Management**: Single position limit prevents over-leveraging
### **Signal Processing Characteristics**
- **Noise Reduction**: SMA smoothing on RSI eliminates high-frequency oscillations
- **Volatility Adaptation**: Bollinger Bands automatically adjust to changing market volatility
- **Multi-Timeframe Coherence**: Indicators operate on consistent timeframe for signal alignment
---
## 🔧 **Parameter Configuration**
| Technical Parameter | Value | Statistical Significance |
|-------------------|-------|-------------------------|
| Bollinger Period | 20 | Standard statistical lookback for volatility calculation |
| Std Dev Multiplier | 2.2 | Optimized for Bitcoin's volatility distribution (95.4% confidence interval) |
| RSI Period | 14 | Traditional momentum oscillator period |
| RSI Threshold | 45 | Modified oversold level accounting for Bitcoin's momentum characteristics |
| Smoothing Period | 5 | Noise reduction filter for momentum signals |
---
## 📊 **Algorithmic Advantages**
✅ **Statistical Edge**: Exploits documented mean reversion tendency in Bitcoin markets
✅ **Volatility Adaptation**: Dynamic bands adjust to changing market conditions
✅ **Signal Confluence**: Multiple indicator confirmation reduces false positives
✅ **Momentum Integration**: RSI smoothing improves signal quality and timing
✅ **Risk-Controlled Exposure**: Systematic position sizing and long-only bias
---
## 🔬 **Mathematical Foundation**
The strategy leverages **Bollinger Band theory** (developed by John Bollinger) which assumes that prices tend to revert to the mean after extreme deviations. The RSI component adds **momentum confirmation** to the statistical price deviation signal.
**Statistical Basis:**
- Mean reversion follows the principle that extreme price deviations from the moving average are temporary
- The 2.2 standard deviation multiplier captures approximately 97.2% of price movements under normal distribution
- RSI momentum smoothing reduces noise inherent in oscillator calculations
---
## ⚠️ **Risk Considerations**
This algorithm is designed for traders with understanding of **quantitative finance principles** and **cryptocurrency market dynamics**. The strategy assumes mean-reverting behavior which may not persist during trending market phases. Proper risk management and position sizing are essential.
---
## 🎯 **Implementation Notes**
- **Market Regime Awareness**: Most effective in ranging/consolidating markets
- **Volatility Sensitivity**: Performance may vary during extreme volatility events
- **Backtesting Recommended**: Historical performance analysis advised before live implementation
- **Capital Allocation**: 10% per trade sizing assumes diversified portfolio approach
---
**Engineered for quantitative traders seeking systematic mean reversion exposure in Bitcoin markets through statistically-grounded technical analysis.**
ATR FX DashboardATR FX Dashboard – Multi-Timeframe Volatility Monitor
Overview:
The ATR FX Dashboard provides a quick, at-a-glance view of market volatility across multiple timeframes for any forex pair. It uses the well-known Average True Range (ATR) indicator to display real-time volatility information in both pips and percentage terms, helping traders assess potential risk, position sizing, and market conditions.
How It Works:
This dashboard displays:
✔ ATR in Pips — The average price movement over a given timeframe, converted to pips for easy interpretation, automatically adjusting for JPY pairs.
✔ ATR as a Percentage of Price — Shows how significant the ATR is relative to the current price. Higher percentages often signal higher volatility or more active markets.
✔ Color-Coded Volatility Highlights — On the daily timeframe, ATR % cells are color-coded:
Green: High volatility
Orange: Moderate volatility
Red: Low volatility
Timeframes Displayed:
15 Minutes
1 Hour
4 Hour
Daily
This gives traders a clear, multi-timeframe view of short-term and broader market volatility conditions, directly on the chart.
Ideal For:
✅ Forex traders seeking quick, reliable volatility reference points
✅ Day traders and swing traders needing help with risk assessment and position sizing
✅ Anyone using ATR-based strategies or simply wanting to stay aware of changing market conditions
Additional Features:
Toggle option to display or hide ATR % relative to price
Automatic pip conversion for JPY pairs
Simple, clean table layout in the bottom-right corner of the chart
Supports all forex symbols
Disclaimer:
This tool is for informational purposes only and is not financial advice. As with all technical indicators, it should be used in conjunction with other tools and proper risk management.