Liquidity Sweep Breakout - LSBLiquidity Sweep Breakout - LSB
A professional session-based breakout system designed for OANDA:USDJPY and other JPY pairs.
Not guesswork, but precision - built on detailed observation of institutional moves to capture clear trade direction daily.
Master the Market’s Daily Bank Flow.
---
Strategy Detail:
I discovered this strategy after carefully studying how Japanese banks influence the forex market during their daily settlement period. Banks are some of the biggest players in the financial world, and when they adjust or settle their accounts in the morning, it often creates a push in the market. From years of observation, I noticed a consistent pattern, once banks finish their settlements, the market usually continues moving in the same direction that was formed right after those actions. This daily banking flow often sets the tone for the entire trading session, especially for JPY pairs like USDJPY.
To capture this move, I built the indicator so that it follows the bank-driven trend with clear rules for entries, stop-loss (SL), and take-profit (TP). The system is designed with professional risk management in mind. By default, it assumes a $10,000 account size, risks only 1% of that balance per trade, and targets a 1:1.5 reward-to-risk ratio. This means for every $100 risked, the potential profit is $150. Such controlled risk makes the system safer and more sustainable for long-term traders. At the same time, users are not limited to this setup, they can adjust the account balance in the settings, and the indicator will automatically recalculate the lot size and risk levels based on their own capital. This ensures the strategy works for small accounts and larger accounts alike.
🌍 Why It Works
Fundamentally driven: Based on **daily Japanese banking settlement flows**.
Session-specific precision: Targets the exact window when USDJPY liquidity reshapes.
Risk-managed: Always calculates lot size based on account and risk preferences.
Automatable: With webhook + MT5 EA, it can be fully hands-free.
---
✅ Recommended
Pair: USDJPY (best observed behavior).
Timeframe: 3-Minute chart.
Platform: TradingView Premium (for webhooks).
Execution: MT5 via EA.
---
🔎 Strategy Concept
The Tokyo Magic Breakout (TMB) is built on years of session observation and the unique daily rhythm of the Japanese banking system.
Every morning between 5:50 AM – 6:10 AM PKT (09:50 – 10:10 JST), Japanese banks perform daily reconciliation and settlement. This often sets the tone for the USDJPY direction of the day.
This strategy isolates that critical moment of liquidity adjustment and waits for a clean breakout confirmation. Instead of chasing noise, it executes only when price action is aligned with the Tokyo market’s hidden flows.
---
🕒 Timing Logic
Session Start: 5:00 AM PKT (Tokyo market open range).
Magic Candle: The 5:54 AM PKT candle is marked as the reference “breakout selector.”
Checkpoints: First confirmation at 6:30 AM PKT, then every 15 minutes until 8:30 AM PKT.
* If price stays inside the magic range → wait.
* If a breakout happens but the candle wick touches the range → wait for the next checkpoint.
* If by 8:30 AM PKT no clean breakout occurs → the day is marked as No Trade Day (NTD).
👉 Recommended timeframe: 3-Minute chart (3M) for precise signals.
---
📈 Trade Execution
Entry: Clean break above/below the magic candle’s range.
Stop-Loss: Opposite side of the Tokyo session high/low.
Take-Profit: Calculated by Reward\:Risk ratio (default 1.5:1).
Lot Size: Auto-calculated based on your risk model:
* Fixed Dollar
* % of Equity
* Conservative (minimum of both).
Visuals include:
✅ Entry/SL/TP lines
✅ Shaded risk (red) and reward (green) zones
✅ Trade labels (Buy/Sell with lot size & levels)
✅ TP/SL hit markers
---
🔔 Alerts & Automation (AutoTMB)
This strategy is fully automation-ready with EA + MT5:
1. Enable alerts in TMB settings.
2. Insert your PineConnector License Key.
3. Configure your risk management preferences.
4. Create a TradingView alert → in the message box simply type:
Pine Script®
{{alert_message}}
and set the EA webhook.
Now, every breakout trade (with exact entry, SL, TP, and lot size) is sent instantly.
👉 On your MT5:
* Install the EA.
* Use the same license key.
* Run it on a VPS or local MT5 terminal.
You now have a hands-free trading system: AutoTMB.
Analisis Tren
Moving Average Adaptive RSI [BackQuant]Moving Average Adaptive RSI
What this is
A momentum oscillator that reshapes classic RSI into a zero-centered column plot and makes it adaptive. It builds RSI from two parts:
• A sensitivity window that scans several recent bars to capture the strongest up and down impulses.
• A selectable moving average that smooths those impulses before computing RSI.
The output ranges roughly from −100 to +100 with 0 as the midline, with optional extra smoothing and built-in divergence detection.
How it works
Impulse extraction
• For each bar the script inspects the last rsi_sen bars and collects upward and downward price changes versus the current price.
• It keeps the maximum upward change and maximum downward change from that window, emphasizing true bursts over single-bar noise.
MA-based averaging
• The up and down impulse series are averaged with your chosen MA over rsi_len bars.
• Supported MA types: SMA, EMA, DEMA, WMA, HMA, SMMA (RMA), TEMA.
Zero-centered RSI transform
• RS = UpMA ÷ DownMA, then mapped to a symmetric scale: 100 − 200 ÷ (1 + RS) .
• Above 0 implies positive momentum bias. Below 0 implies negative momentum bias.
Optional extra smoothing
• A second smoothing pass can be applied to the final oscillator using smoothing_len and smooth_type . Toggle with “Use Extra Smoothing”.
Visual encoding
• The oscillator is drawn as columns around the zero line with a gradient that intensifies toward extremes.
• Static bands mark 80 to 100 and −80 to −100 for extreme conditions.
Key inputs and what they change
• Price Source : input series for momentum.
• Calculation Period (rsi_len) : primary averaging window on up and down components. Higher = smoother, slower.
• Sensitivity (rsi_sen) : how many recent bars are scanned to find max impulses. Higher = more responsive to bursts.
• Calculation Type (ma_type) : MA family that shapes the core behavior. HMA or DEMA is faster, SMA or SMMA is slower.
• Smoothing Type and Length : optional second pass to calm noise on the final output.
• UI toggles : show or hide the oscillator, candle painting, and extreme bands.
Reading the oscillator
• Midline cross up (0) : momentum bias turning positive.
• Midline cross down (0) : momentum bias turning negative.
• Positive territory :
– 0 to 40: constructive but not stretched.
– 40 to 80: strong momentum, continuation more likely.
– Above 80: extreme risk of mean reversion grows.
• Negative territory : mirror the same levels for the downside.
Divergence detection
The script plots four divergence types using pivot highs and lows on both price and the oscillator. Lookbacks are set by lbL and lbR .
• Regular bullish : price lower low, oscillator higher low. Possible downside exhaustion.
• Hidden bullish : price higher low, oscillator lower low. Bias to trend continuation up.
• Regular bearish : price higher high, oscillator lower high. Possible upside exhaustion.
• Hidden bearish : price lower high, oscillator higher high. Bias to trend continuation down.
Labels: ℝ for regular, ℍ for hidden. Green for bullish, red for bearish.
Candle coloring
• Optional bar painting: green when the oscillator is above 0, red when below 0. This is for visual scanning only.
Strengths
• Adaptive sensitivity via a rolling impulse window that responds to genuine bursts.
• Configurable MA core so you can match responsiveness to the instrument.
• Zero-centered scale for simple regime reads with 0 as a clear bias line.
• Built-in regular and hidden divergence mapping.
• Flexible across symbols and timeframes once tuned.
Limitations and cautions
• Trends can remain extended. Treat extremes as context rather than automatic reversal signals.
• Divergence quality depends on pivot lookbacks. Short lookbacks give more signals with more noise. Long lookbacks reduce noise but add lag.
• Double smoothing can delay zero-line transitions. Balance smoothness and timeliness.
Practical usage ideas
• Regime filter : only take long setups from your separate method when the oscillator is above 0, shorts when below 0.
• Pullback confirmation : in uptrends, look for dips that hold above 0 or turn up from 0 to 40. Reverse for downtrends.
• Divergence as a heads-up : wait for a zero-line cross or a price trigger before acting on divergence.
• Sensitivity tuning : start with rsi_sen 2 to 5 on faster timeframes, increase slightly on slower charts.
Alerts
• MA-A RSI Long : oscillator crosses above 0.
• MA-A RSI Short : oscillator crosses below 0.
Use these as bias or timing aids, not standalone trade commands.
Settings quick reference
• Calculation : Price Source, Calculation Type, Calculation Period, Sensitivity.
• Smoothing : Smoothing Type, Smoothing Length, Use Extra Smoothing.
• UI : Show Oscillator, Paint Candles, Show Static High and Low Levels.
• Divergences : Pivot Lookback Left and Right, Div Signal Length, Show Detected Divergences.
Final thoughts
This tool reframes RSI by extracting strong short-term impulses and averaging them with a moving-average model of your choice, then presenting a zero-centered output for clear regime reads. Pair it with your structure, risk and execution process, and tune sensitivity and smoothing to the market you trade.
Dual 4/8 MTFInspired on multi-timeframe Murrey’s Math Lines Channel.
Using the 4/8 , 2 times with different fractal multipliers to follow the trend
Lines and fill in between then can be =
-dynamic :(turn green/red/grey depending on price)
-static : fixed colour that wont change depending on trend
Market Imbalance Tracker (Inefficient Candle + FVG)# 📊 Overview
This indicator combines two imbalance concepts:
• **Squared Up Points (SUP)** – midpoints of large, "inefficient" candles that often attract price back.
• **Fair Value Gaps (FVG)** – 3-candle gaps created by strong impulse moves that often get "filled."
Use them separately or together. Confluence between a SUP line and an FVG boundary/midpoint is high-value.
---
# ⚡ Quick Start (2 minutes)
1. **Add to chart** → keep defaults (Percentile method, 80th percentile, 100-bar lookback).
2. **Watch** for dashed SUP lines to print after large candles.
3. **Toggle Show FVG** → see green/red boxes where gaps exist.
4. **Turn on alerts** → New SUP created, SUP touched, New FVG.
5. **Trade the reaction** → look for confluence (SUP + FVG + S/R), then manage risk.
---
# 🛠 Features
## 🔹 Squared Up Points (SUP)
• **Purpose:** Midpoint of a large candle → potential support/resistance magnet.
• **Detection:** Choose *Percentile* (adaptive) or *ATR Multiple* (absolute).
• **Validation:** Only plots if the preceding candle does not touch the midpoint (with tolerance).
• **Lifecycle:** Line auto-extends into the future; it's removed when touched or aged out.
• **Visual:** Horizontal dashed line (color/width configurable; style fixed to dashed if not exposed).
## 🔹 Fair Value Gaps (FVG)
• **Purpose:** 3-candle gaps from an impulse; price often revisits to "fill."
• **Detection:** Requires a strong directional candle (Marubozu threshold) creating a gap.
• **Types:**
- **Bullish FVG (Green):** Gap below; expectation is downward fill.
- **Bearish FVG (Red):** Gap above; expectation is upward fill.
• **Close Rules (if implemented):**
- *Full Fill:* Gap closes when the opposite boundary is tagged.
- *Midpoint Fill:* Gap closes when its midpoint is tagged.
• **Visual:** Colored boxes; optional split-coloring to emphasize the midpoint.
> **Note:** If a listed FVG option isn't visible in Inputs, you're on a lighter build; use the available switches.
---
# ⚙️ Settings
## SUP Settings
• **Candle Size Method:** Percentile (top X% of recent ranges) or ATR Multiple.
• **Candle Size Percentile:** e.g., 80 → top 20% largest candles.
• **ATR Multiple & Period:** e.g., 1.5 × ATR(14).
• **Percentile Lookback:** Bars used to compute percentile.
• **Lookback Period:** How long SUP lines remain eligible before auto-cleanup.
• **Touch Tolerance (%):** Buffer based on the inefficient candle's range (0% = exact touch).
## Line Appearance
• **Line Color / Width:** Customizable.
• **Style:** Dashed (fixed unless you expose a style input).
## FVG Settings (if present in your build)
• **Show FVG:** On/Off.
• **Close Method:** Full Fill or Midpoint.
• **Marubozu Wick Tolerance:** Max wick % of the impulse bar.
• **Use Split Coloring:** Two-tone box halves around midpoint.
• **Colors:** Bullish/Bearish, and upper/lower halves (if split).
• **Max FVG Age:** Auto-remove older gaps.
---
# 📈 How to Use
## Trading Applications
• **SUP Lines:** Expect reaction on first touch; use as S/R or profit-taking magnets.
• **FVG Fills:** Price frequently tags the midpoint/boundary before continuing.
• **Confluence:** SUP at an FVG midpoint/boundary + higher-timeframe S/R = higher quality.
• **Bias:** Clusters of unfilled FVGs can hint at path of least resistance.
## Best Practices
• **Timeframe:** HTFs for swing levels, LTFs for execution.
• **Volume:** High volume at level = stronger signal.
• **Context:** Trade with broader trend or at least avoid counter-trend without confirmation.
• **Risk:** Always pre-define invalidation; structures fail in chop.
---
# 🔔 Alerts
• **New SUP Created** – When a qualifying inefficient candle prints a SUP midpoint.
• **SUP Touched/Invalidated** – When price touches within tolerance.
• **New FVG Detected** – When a valid gap forms per your rules.
> **Tip:** Set alerts *Once Per Bar Close* on HTFs; *Once* on LTFs to avoid noise.
---
# 🧑💻 Technical Notes
• **Percentile vs ATR:** Percentile adapts to volatility; ATR gives consistency for backtesting.
• **FVG Direction Logic:** Gap above price = bearish (expect up-fill); below = bullish (expect down-fill).
• **Performance:** Limits on lines/boxes and auto-aging keep things snappy.
---
# ⚠️ Limitations
• Imbalances are **context tools**, not signals by themselves.
• Works best with trend or clear impulses; expect noise in narrow ranges.
• Lower-timeframe gaps can be plentiful and lower quality.
---
# 📌 Version & Requirements
• **Pine Script v6**
• Heavy drawings may require **TradingView Pro** or higher (object limits).
---
*For best results, combine with your existing trading strategy and proper risk management.*
The Perfect Timing IndicatorFlashes a green arrow on your screen when bullish momentum is starting to build.
Multi HTF High/Low LevelsThis indicator plots the previous high and low from up to four user-defined higher timeframes (HTF), providing crucial levels of support and resistance. It's designed to be both powerful and clean, giving you a clear view of the market structure from multiple perspectives without cluttering your chart.
Key Features:
Four Customizable Timeframes: Configure up to four distinct higher timeframes (e.g., 1-hour, 4-hour, Daily, Weekly) to see the levels that matter most to your trading style.
Automatic Visibility: The indicator is smart. It automatically hides levels from any timeframe that is lower than your current chart's timeframe. For example, if you're viewing a Daily chart, the 4-hour levels won't be shown.
Clean On-Chart Lines: The high and low for each timeframe are displayed as clean, extended horizontal lines, but only for the duration of the current higher-timeframe period. This keeps your historical chart clean while still showing the most relevant current levels.
Persistent Price Scale Labels: For easy reference, the price of each high and low is always visible on the price scale and in the data window. This is achieved with an invisible plot, giving you the accessibility of a plot without the visual noise.
How to Use:
Go into the indicator settings.
Under each "Timeframe" group, check the "Show" box to enable that specific timeframe.
Select your desired timeframe from the dropdown menu.
The indicator will automatically calculate and display the previous high and low for each enabled timeframe.
[RS] Dual Murrey 4/8 (MTF) Inspired on multi-timeframe Murrey’s Math Lines Channel.
Using the 4/8 , 2 times with different fractal multipliers to follow the trend
MasterEdge v4 — Trend & Momentum Presets with Filters & ATR RiskMasterEdge v4 — Trend & Momentum with Filters & ATR Risk
MasterEdge v4 is a multi‑timeframe trend and momentum indicator designed to help you stay on the right side of the market while controlling risk. It combines two classic signal engines—Donchian channel breakouts (à la Turtle Traders) and moving‑average crosses—with a suite of filters and risk tools to reduce false signals and keep you disciplined.
## Core features
- **Auto/manual presets:** Automatically adjusts look‑back lengths and thresholds based on the instrument (crypto, forex, indices, etc.) and chart timeframe, or lets you set them manually.
- **Higher‑timeframe bias:** Uses a non‑repainting higher‑timeframe EMA to determine whether the market is trending up or down and gates signals accordingly. You can choose the HTF yourself or let the auto‑engine pick one.
- **Dual signal modes:**
- *Donchian (Turtle)* mode enters on breakouts of an N‑bar channel and exits on a shorter channel.
- *MA Cross* mode buys when a fast EMA/SMA crosses above a slow EMA/SMA and sells on the opposite cross.
- **Advanced filters:** RSI momentum and ADX trend‑strength filters help avoid trades during choppy conditions. Optional volume and HTF‑slope filters require participation and higher‑timeframe momentum. A configurable **quality score** combines these filters so you only take higher‑probability setups.
- **ATR risk rails & position sizing:** Visual stop‑loss and target rails are calculated from ATR to adapt to volatility. An optional position‑size suggestion uses your account size and risk percentage to estimate how much to trade (for informational purposes only).
- **Session gating & status table:** Restrict signals to specific trading sessions. A live table shows your current settings, filter status, quality score and recommended position size, so you always know why a signal fired—or didn’t.
- **Alerts:** Separate long and short alerts with static JSON payloads let you hook the indicator into your notification or webhook workflow.
## How to use
1. **Select auto or manual:** Use the *Preset Mode* input. Auto mode adjusts lengths and thresholds to the ticker and timeframe; manual mode lets you set them explicitly.
2. **Choose a signal mode:** Pick between Donchian breakout or MA cross. Donchian is often better for lower‑timeframe breakouts; MA crosses smooth out noise on higher timeframes.
3. **Enable filters:** Turn on RSI, ADX, volume and/or slope filters and set your desired quality‑score threshold. Higher thresholds yield fewer, cleaner signals.
4. **Define risk:** If you want visual risk guides and position‑size suggestions, leave ATR rails on and input your account size, risk percentage and value per point.
5. **Timeframe pairing:** For intraday trading, try a 5 min chart with a 60 min bias; for swing trading, use a 1 h chart with a 4 h bias. The auto‑engine selects sensible higher‑timeframe defaults, but you can override them.
6. **Confirm signals:** The indicator plots green triangles below bars for long signals and red triangles above bars for short signals. The status table updates each bar with filter states and whether a signal is active.
**Disclaimer:** This script is for educational and analysis purposes only and is not financial advice. Always test on a demo account before trading live and tailor the settings to your strategy, risk tolerance and market behaviour.
Supertrend -Mahesh Reddy same like in zeroda best one here all super trend doesnt work perfectly so made this one
Inverse Fisher Transform COMBO XThis is a vastly improved version of the indicator "Inverse Fisher Transform COMBO STO+RSI+CCIv2" by KIVANÇ fr3762 and updated previously by lordofcodes.
This script includes all the original oscillators included in the original script including CCI, CCIv2, MFI, RSI, Stochastic, and SMI oscillators. In Inverse Fisher Transform, one looks for the indicator lines of your choosing to be either above or below the centerline as with all oscillators. In addition it has many new features that greatly enhance the variety of uses for this very helpful indicator.
-Updated the script to indicator in pinescript v6.
-An Inverse Fisher Transform of the Heikin Ashi Calculation has been included in the script, with
both a raw Heikin Ashi signal output as well as a smoothed Heikin Ashi calculation are included.
-In addition, bar coloring according to the raw Heikin Ashi calculation is included in order to
allow for a standard bar chart to also give the visual indication of the Heikin Ashi chart type
This allows the trader to maintain the accuracy of price information on the chart that standard candles provide while still being able to reference the smoothed trend calculation of Heikin Ashi candles.
-Updated the script to add smoothing method and length inputs for each indicator.
-Smoothing methods available include the original wma smoothing, as well as sma, ema, dema,
tema, rma, hma, vwma, and t3 moving average calculations.
-Now you can also select the method for calculating the Inverse Fisher Transform using either
the default method of whether the oscillator is above or below the centerline, or to be based
on the oscillator's position in relation to a signal line instead, which can potentially give more
timely and accurate signals.
-The signal line's length and moving average calculation method are also adjustable according to
the same variety as the oscillators themselves. For simplicity the same signal line calculation
will be applied to all oscillators except for the Heikin Ashi since Heikin Ashi is not an oscillator.
In general, a low smoothing input works best for a slower moving average types such as rma and t3 which are my personal preference, while a larger number works better for the faster moving average calculations such as wma, hma, ema, dema, or tema. Though in practice, the combination of different smoothing methods and lengths across the variety of included indicators are greatly variable and can offer a complete trading strategy including long and short term trend analysis as well as volume analysis and Heikin Ashi candle analysis with just this one indicator.
As always, one indicator never guarantees results, which is a problem this script seeks to address, but it still benefits one to look for confirmation from other indicators and methods.
I hope you are able to find this indicator an effect addition to your trading strategy.
Super Candle Indicator (Mark Alex Tucker)Going to be free for a while. I would like to know what everyone thinks of this. A candle indicator where the settings can be changed to find the right fit for the timeframe or the symbol you are trading. Please post any success you found with this.
SExI - Super Exhaustion Indicator [Da_Prof]As we know, the RSI can remain at "overbought" or "oversold" levels for long periods of time while the price continues in that direction. The SExI (Super Exhaustion Indicator) is an indicator designed to help detect exhaustion of strong moves.
The SExI is a combination of the RSI and "upper" Aroon. For the indicator to trigger, the RSI has to be above or below a top/bottom trigger line when the Aroon has had a set number of drives up or down correspondingly. An Aroon top drive is defined as the Aroon hitting 100% on the current candle when the previous candle was below 100%. An Aroon bottom drive is defined as the Aroon hitting 0% on the current candle when the previous candle was above 0%. Consecutive top or bottom drives are counted and exhaustion triggers when these drives hit a setpoint (default is 5 drives = the Aroon exhaustion trigger). When Aroon exhaustion is triggered and the RSI is correspondingly above/below a trigger line, the overall indicator signals exhaustion. There are two lines for bottoms and tops, one each for a "normal" trigger and and an "extreme" trigger.
The Aroon drives are visualized at the top and bottom of the indicator. The RSI is plotted as a line that crosses top and bottom trigger lines. There are extreme trigger values for both the bottom and top exhaustion triggers.
--Da_Prof
Divergences v2.4 [LTB][SPTG]Open-source credit & license
Original author: LonesomeTheBlue.
This fork by: sirpipthegreat — with attribution to the original work.
License: Open-source, published under the MPL-2.0 (same license header in the code).
I am publishing this open-source in accordance with TradingView’s Open-source reuse rules.
What’s new:
- Fixes & stability (addresses “historical offset beyond buffer” errors)
- Capped and validated all historical indexing with guarded lookbacks (e.g., min(…, 200) style limits) to prevent referencing data beyond the buffer on shorter histories/thin symbols.
- Refactored highest/lowest bars scans to obey the cap and avoid cumulative overflows on long sessions.
- Added per-bar counters with safety clamps to ensure it never exceeds available history.
- Ensured HTF switching doesn’t create invalid offsets when the higher timeframe compresses history.
Modernization & user control:
- Pine v6 upgrade and re-organization of logic for clarity/performance.
- More predictable tops/bottoms detection.
What it does:
- Detects regular (trend-reversal) and optional hidden (trend-continuation) divergences between price swing tops/bottoms and the selected oscillator(s).
- Computes candidate pivots with a light HTF alignment to reduce micro-noise; validates divergence when oscillator and price move in opposite directions across those pivots.
- Plots colored lines/labels on price to highlight bearish (regular & hidden) and bullish (regular & hidden) patterns.
How to use:
- Choose the oscillator set you trust (start with RSI + MACD).
- Consider confluence (S/R, volume, trend filters). This tool only identifies conditions
Better Pivot Points [LuminoAlgo]Overview
The Better Pivot Points indicator is an advanced trend analysis tool that combines Supertrend methodology with automated pivot point identification and zigzag visualization. This indicator helps traders identify significant price turning points and visualize market structure through dynamic pivot labeling and connecting lines.
How It Works
This indicator utilizes a Supertrend-based algorithm to detect meaningful pivot points in price action. Unlike traditional pivot point indicators that rely on fixed time periods, this tool dynamically identifies pivots based on trend changes, providing more relevant and timely signals.
The algorithm tracks trend changes using ATR-based Supertrend crossovers to determine when significant highs and lows have formed. When a trend reversal is detected, the indicator marks the pivot point and draws connecting lines to visualize price flow and market structure progression.
Key Features
• Dynamic Pivot Detection: Automatically identifies high and low pivot points using Supertrend crossovers
• Market Structure Labeling: Labels pivots as HH (Higher High), LH (Lower High), HL (Higher Low), or LL (Lower Low)
• Zigzag Visualization: Connects pivot points with customizable lines to clearly show price flow and market structure
• Color-Coded Analysis: Uses distinct colors to indicate bullish trends (green), bearish trends (red), and neutral conditions (yellow)
• Customizable Parameters: Adjustable ATR period, factor, line width, and line style
Input Settings
• ATR Length: Controls the sensitivity of the Supertrend calculation (default: 21)
• Factor: Multiplier for the ATR-based Supertrend bands (default: 2.0)
• Zigzag Line Width: Customize the thickness of connecting lines (1-4)
• Zigzag Line Style: Choose between Solid, Dashed, or Dotted line styles
What Makes This Original
This indicator combines several analytical concepts into a cohesive tool that differentiates it from standard pivot point indicators:
1. Uses Supertrend crossovers as the trigger for pivot detection rather than traditional high/low lookback periods
2. Automatically categorizes market structure using HH/LH/HL/LL labeling system based on pivot relationships
3. Provides real-time zigzag visualization with intelligent color coding that reflects trend direction
4. Integrates trend direction analysis with structural pivot identification in a single comprehensive tool
The underlying calculations use custom logic for tracking trend states, validating pivot points, and determining appropriate color coding based on market structure analysis.
How to Use
1. Trend Identification: Green lines indicate bullish market structure, red lines show bearish structure, yellow indicates transitional periods
2. Support/Resistance: Pivot points often act as future support and resistance levels for price action
3. Market Structure Analysis: HH and HL patterns suggest uptrends, while LH and LL patterns indicate downtrends
4. Entry/Exit Planning: Use pivot points and trend changes to plan potential trade entries and exits
Important Limitations and Warnings
• This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions
• Pivot points are identified after price moves occur, meaning this indicator has inherent lag and cannot predict future pivots
• False signals can occur during ranging or choppy market conditions where trends are unclear
• Past performance of any indicator does not guarantee future results or trading success
• The indicator works best in clearly trending markets and may produce less reliable signals in sideways price action
• This tool requires interpretation and should be combined with other forms of analysis
• Always use proper risk management and position sizing strategies when trading
Why This Script Is Protected
This indicator uses proprietary algorithms for pivot detection timing, trend state management, and market structure analysis that represent original research and development. The specific logic for pivot validation, color-coding methodology, and structural relationship calculations contains unique approaches that differentiate it from standard pivot point indicators available in the public library.
Disclaimer
This indicator is for educational and analysis purposes only and does not constitute investment advice. Trading involves substantial risk and is not suitable for all investors. Past results are not indicative of future performance. The future is fundamentally unknowable and past results in no way guarantee future performance. Always conduct your own research and consider your risk tolerance before making any trading decisions.
Pivot Hunter Pro [MOT]Pivot Hunter Pro - Dynamic Support & Resistance
Pivot Hunter Pro is an advanced tool for identifying and tracking meaningful support and resistance levels in real-time. Unlike traditional indicators that plot static lines and quickly clutter a chart, this script uses a dynamic methodology to draw, update, and invalidate levels based on ongoing price action. The result is a cleaner, more adaptive, and relevant view of the market structure that evolves with the current trend.
The originality of this script is centered on its "level lifecycle" management system. New levels, identified via a unique price action slope analysis, are not simply plotted and forgotten; they are continuously evaluated against a set of rules for spacing, validation, and expiration. This ensures that only the most relevant support and resistance zones remain on the chart, helping traders focus on what matters now.
METHODOLOGY & CORE CONCEPTS
1. Initial Level Detection via Price Action Slope
The foundation of the script is a detection engine that analyzes the slope of recent candle highs and lows to identify market turning points. Instead of using a smoothed moving average or a fixed pivot lookback, it examines the raw structure of price action. A resistance level is identified at the peak of a series of higher highs, precisely at the point where a lower high forms, indicating a potential shift in momentum. Conversely, a support level is marked at the trough of a series of lower lows, at the exact point where a higher low occurs. This method provides the initial, raw data for potential support and resistance, which then feeds into the script's more advanced management logic.
2. Dynamic Level Management & Originality
This is the core engine of the script. Once a potential level is identified, it is subjected to a series of unique filtering and management rules that define its lifecycle on the chart.
Internal Level Validation: Before a new major level is drawn, the script internally identifies all smaller, "temporary" swing points that have formed since the last major level. It then validates that the path beyond the new level is clear. For a breakout strategy, this is critical. A new support level will only be plotted if there are no minor support levels immediately below it. Similarly, a resistance level is only drawn if there is no minor resistance just above it. This logic is designed to ensure that when a level breaks, there is a clear path for price to travel, rather than breaking one level only to be immediately stopped by a hidden, intermediate one.
This screenshot shows the script's internal validation logic. It's not plotting a new support line because it has detected several minor, intermediate levels that are too close together, which could act as reversal points and create a false breakout signal.
Price Spacing Filter: A new level will only be drawn if it is a minimum user-defined distance away from all other existing levels. This is a crucial feature for preventing chart clutter in choppy or consolidating markets. It intelligently ignores minor, less significant turning points that form too close to already established zones.
Level Invalidation Logic: A support or resistance line is automatically removed from the chart if the price closes beyond it for a specific number of consecutive bars (default is 3). This rule is designed to clear out broken levels that are no longer being respected by the market, keeping the analysis current.
Level Adjustment Logic: If price pokes through a level but fails to close beyond it (e.g., a long wick creating a "false breakout"), the script doesn't immediately discard the level. Instead, it intelligently adjusts the level to the new wick high/low. This action effectively "strengthens" the zone, updating it to reflect the most current price rejection point.
A before and after shot showing a level being adjusted to a higher wick
Dominant Level Re-Scan: Levels are designed to be timely, so they expire after a set number of bars ("Clear Levels After"). When a level expires due to age, the script performs a lookback over that entire window to identify the single most significant, "dominant" high or low from that period and plots it as a new level. This ensures the chart adapts to the most powerful swing points over time.
3. Breakout Signal Generation The script generates simple breakout signals to alert traders when a level is breached with conviction.
Condition: A signal is triggered when the high of a candle crosses above a resistance level or the low of a candle crosses below a support level.
Breakout Buffer: To reduce false signals from minor breaches, a user-defined "Buffer" (in points) must be cleared. The price must move beyond the level by this extra amount for the signal to be considered valid, indicating stronger momentum.
A clear breakout signal label appearing after price has decisively crossed a resistance line plus the visible buffer zone.
FEATURES & CUSTOMIZATION
Level Management: Control the "Clear Levels After" window to define how long levels persist and the "Minimum Level Spacing" to adjust the indicator's sensitivity.
Visual Styling: Full customization of line colors, width, and the size, color, and positioning of price labels.
Breakout Signals: Enable or disable breakout signal labels, configure the breakout buffer distance, and choose from a variety of preset icons (or custom text).
Backtest Mode: An option to keep all historical signals and labels visible on the chart for strategy review and use with TradingView's Bar Replay feature.
The script's settings panel, showing the various customization options available.]
ALERTS
The script includes two alert conditions that can be configured in the TradingView "Alerts" panel for real-time notifications.
Pivot Hunter Pro — Break UP: Triggers when the price breaks above a resistance level plus the buffer.
Pivot Hunter Pro — Break DOWN: Triggers when the price breaks below a support level minus the buffer.
HOW TO USE & BEST PRACTICES
Interpreting Levels: Treat the plotted lines as key decision zones. As price approaches a resistance level, look for signs of rejection for a potential short, or consolidation for a potential breakout. The opposite is true for support levels.
Breakout Confirmation: The breakout signals are a starting point. For higher probability trades, confirm a breakout signal with other factors, such as a significant increase in volume or a candlestick pattern that supports the move.
Timeframe: The indicator is most effective on intraday charts (e.g., 1-minute to 15-minute) where multiple swing points develop throughout a session. On very high timeframes, fewer levels will be generated.
Markets: Works best on assets that exhibit clear swing structures and respect technical levels, such as major indices, forex pairs, and high-volume stocks. It may be less effective in very low-volatility or choppy markets.
Adjusting Sensitivity: In volatile markets, increase the "Minimum Level Spacing" to filter out more noise. In quieter markets, you can decrease it to detect more subtle levels.
⚠️ Disclaimer
This script is an analytical tool and does not provide financial advice. All trading involves risk. Past performance is not indicative of future results. Please conduct your own analysis before making any trading decisions. The creators are not responsible for any financial losses.
XAU Trend Ride - Manual Signals (9 & 21 EMA Pullbacks + Alerts)This strategy is designed for XAUUSD on the 15-minute chart and is based on mean reversion around the 50 EMA.
• A buy signal occurs when price is above the 50 EMA, the EMA is sloping upward, and price makes a pullback into the EMA before turning back up.
• A sell signal occurs when price is below the 50 EMA, the EMA is sloping downward, and price makes a pullback into the EMA before turning back down.
The system uses a fixed 2:1 risk-reward ratio, with the option to scale out partial profits at 1:1. It is intended for trending markets and may produce false signals in choppy, ranging conditions.
This makes the strategy simple, disciplined, and easy to follow without over-complicating the rules.
Ichimoku HorizonIchimoku Horizon – Multi-Timeframe Analysis
A multi-timeframe Ichimoku faithful to Hosoda, with authentic real-time calculations.
Ichimoku Horizon is an indicator based on the original method developed by Goichi Hosoda in the 1930s. It strictly respects the authentic formulas and prioritizes mathematical fidelity.
Key Features
Intelligent Multi-Timeframe
Native chart: Ichimoku from your trading timeframe
3 higher timeframes: Daily (1D), Weekly (1W), Monthly (1M) by default
Automatic projection: only higher timeframes relative to the chart are displayed
Precise offsets: displacement adapted to each timeframe
Guaranteed Authenticity
Hosoda’s original formulas fully respected
lookahead_off exclusively: lines calculated in real time with the current candle
Traditional displacement: 26 periods for cloud projection and Chikou shift
Why lookahead_off?
lookahead_off is the calculation mode that respects Hosoda’s logic:
Tenkan, Kijun, SSA and SSB all include the current candle and move in real time.
Chikou is the only exception: shifted 26 periods but calculated only with confirmed closes.
This way, what you see always matches the actual market as it is forming.
What is the no repaint approach?
A no repaint indicator displays values exactly as they exist in the present moment:
Lines update in real time during the formation of a candle.
Once the candle closes, they remain permanently fixed.
This ensures that the plots reflect the true construction of the market.
Main Parameters
Tenkan: 9 periods (short term)
Kijun: 26 periods (medium term)
SSB: 52 periods (long term)
Displacement: 26 periods (+26 for the cloud, −26 for the Chikou)
Timeframe Selection
TF1: Daily (structure aligned with trading activity)
TF2: Weekly (intermediate trend)
TF3: Monthly (macro vision)
Example Configurations
Scalping: Chart 1m → TF1: 5m, TF2: 15m, TF3: 1H
Intraday: Chart 5m → TF1: 15m, TF2: 1H, TF3: 4H
The indicator automatically hides inconsistent timeframes (lower than the chart).
Natural Line Display
Some lines will sometimes appear flat or straight: this is the normal behavior of Ichimoku, directly reflecting the highs and lows of their calculation windows.
Conclusion
Ichimoku Horizon is designed to remain true to Hosoda’s vision while offering the clarity of a modern multi-timeframe tool.
It delivers authentic, real-time calculations with no compromise.
Trend Shift Histogram By Clarity ChartsTrend Shift Histogram – A Brand New Formula by Clarity Charts
The Trend Shift Histogram is a brand-new mathematical formula designed to capture market momentum shifts with exceptional clarity.
Unlike traditional histograms, this indicator focuses on detecting early changes in market direction by analyzing underlying trend strength and momentum imbalances.
Key Features:
New Formula – Built from scratch to highlight momentum reversals and hidden trend shifts.
Visual Clarity – Green and red histogram bars make it easy to identify bullish and bearish phases, and grey area as trend reversal or sideways zone.
Trend Detection – Helps traders spot when the market is about to shift direction, often before price reacts strongly.
Scalable Settings –
Use smaller lengths for scalping and short-term trades.
Use larger lengths for swing trading and longer trend analysis.
Every Timeframe Ready – Whether you’re scalping on 1m or analyzing weekly charts, the histogram adapts seamlessly.
Power of Combining with the Fear Index
The Trend Shift Histogram becomes even more powerful when combined with Fear Index by Clarity Charts :
Fear Index by Clarity Charts
Together:
Fear Index highlights market fear & exhaustion levels, showing when traders are capitulating.
Trend Shift Histogram confirms the direction of the new trend once fear has peaked.
How to Use:
📈 Long Entry Condition
A long position is triggered when the following conditions align:
The Fear Index Bulls are showing upward momentum, indicating strengthening bullish sentiment.
The Fear Index Bears are simultaneously declining, signaling weakening bearish pressure.
The Trend Shift Histogram transitions from a short bias to a long bias, confirming a structural shift in market direction.
When all three conditions occur together, it provides a strong confluence to initiate a long trade entry.
📉 Short Entry Condition
A short position is triggered when the opposite conditions align:
The Fear Index Bears are showing upward momentum, indicating strengthening bearish sentiment.
The Fear Index Bulls are simultaneously declining, signaling weakening bullish pressure.
The Trend Shift Histogram transitions from a long bias to a short bias, confirming a structural shift in market direction.
When all three conditions occur together, it provides a strong confluence to initiate a short trade entry.
🔄 Bullish Trend Cycle
During a bullish phase as per the Fear Index, you can capture the entire cycle by:
Entry: Taking entries when the Trend Shift Histogram begins printing green bars, which mark the start of a bullish trend shift.
Exit: Closing the position when the histogram transitions to grey bars, signaling exhaustion or a potential pause in the bullish cycle.
This approach allows you to ride the bullish momentum effectively while respecting market cycle shifts.
🔻 Bearish Trend Cycle
During a bearish phase as per the Fear Index, you can capture the entire cycle by:
Entry: Taking entries when the Trend Shift Histogram begins printing red bars, which mark the start of a bearish trend shift.
Exit: Closing the position when the histogram transitions to grey bars, signaling exhaustion or a potential pause in the bearish cycle.
This approach ensures that bearish trends are traded with precision, avoiding late entries and capturing maximum move potential.
Watch for histogram color changes (green = bullish, red = bearish, grey = sideways).
Adjust length settings based on your style:
Small = intraday & scalping precision.
Large = swing & positional confidence.
Combine signals with Fear Index peaks for high-probability reversal zones.
Apply across any timeframe for flexible strategy building.
Who Can Use This
Scalpers – Catch quick intraday shifts.
Swing Traders – Ride bigger moves with confidence.
Long-Term Investors – Spot early warning signs of market trend reversals.
Contact & Support
For collaboration, premium indicators, or custom strategy building:
theclaritycharts@gmail.com
VSA Super Candles
🎯 Overview
This Pine Script was developed for VSA (Volume Spread Analysis) with a well-defined hierarchical priority system. The code identifies different types of market events based on volume, spread, and price behavior, painting candles with specific colors according to their importance.
🏗️ System Architecture
Priority System (Hierarchical)
🔴 Climatic Event (Red) - Maximum Priority
🟠 Big Boss (Orange) - Second Priority
🟣 Compression (Purple) - Third Priority
⚫ Normal (Gray) - Lowest Priority
📊 Event Types
🔴 Climatic Event (Red)
Characteristics:
Ultra-high volume (default: 310% of average)
Wide spread (above configured threshold)
"Wrong" close (opposite to bar direction)
Specific conditions:
Up bar that closes at low (Selling Climax)
Down bar that closes at high (Buying Climax)
VSA Concept: Represents extreme exhaustion of one side of the market, usually marking important reversal points.
🟠 Big Boss (Orange)
Characteristics:
Ultra-high volume (default: 250% of average)
Significant price displacement
Wide spread with real movement of candle body
Activated only when there's no Climatic Event
VSA Concept: Massive volume generating real displacement, indicating entry/exit of large players.
🟣 Compression (Purple)
Characteristics:
Average volume (between normal and high)
Signs of exhaustion or reversal
Differential: Horizontal volume analysis
Activation conditions:
Upthrust (higher high, closes down)
Minor selling climax (lower low, closes up)
Horizontal volume spike + average volume
VSA Concept: Support/resistance test with controlled volume, frequently precedes important movements.
⚫ Normal (Gray)
Characteristics:
Normal volume (default: 50% of average)
Normal displacement or automatic price exhaustion
Auto-activation: Detects exhaustion even with normal volume
🛠️ Technical Components
Storage Buffers
var bool buffer_climatico = array.new_bool()
var bool buffer_big_boss = array.new_bool()
var bool buffer_comprimido = array.new_bool()
var bool buffer_normal = array.new_bool()
Store event history
Limited to 100 values for optimization
Allow posterior statistical analysis
Horizontal Volume Analysis
Compares current volume with average of last 5 bars
Configurable multiplier factor (default: 1.5x)
Impact: Increases probability of identifying compressions
Automatic Exhaustion System
Up Exhaustion: Higher high + close lower than previous
Down Exhaustion: Lower low + close higher than previous
Works independently of volume
⚙️ Configurable Parameters
Parameter Default Description
Volume Average Length 60 Period for volume average
% Climatic Event 310% Threshold for climatic volume
% Big Boss 250% Threshold for Big Boss volume
% Normal Volume 50% Threshold for normal volume
Spread Threshold 0.7 Multiplier for wide spread
Close Position Threshold 0.3 Limit for "edge closes"
Horizontal Volume Factor 1.5 Multiplier for horizontal spike
📍 Visual Markers
Chart Symbols
🔴 Climatic Event: Red circles above/below bars
🟠 Big Boss: Orange circles indicating direction
⬆⬇ Compression: Purple arrows for reversals
H Horizontal Compression: Marks differentiated horizontal volume
Statistics Table
Position: Top right corner
Content:
Count of each event type (last 50 bars)
Current volume vs. average ratio
Update: Real-time on last bar
🎨 Color System
final_color = evento_climatico ? color.red :
big_boss ? color.orange :
comprimido ? color.purple :
vela_normal ? color.gray :
color.gray
Logic: The first true condition defines the color, respecting priorities.
🔄 Execution Flow
Basic Calculations: Average volume, spread, close position
Horizontal Analysis: Comparison with previous bars
Exhaustion Detection: Identification of reversal patterns
Priority Application: Sequential evaluation (Climatic → Normal)
Storage: Buffer updates
Visualization: Bar coloring and markers
📈 Implemented Improvements
Code Organization
Detailed comments in each section
Descriptive variable names
Clear and sequential IF/ELSE logic
Separation by functionality
Performance
Buffers with automatic cleanup
Optimized calculations
Limited history control
Advanced VSA Functionality
Hierarchical priority system
Horizontal volume analysis
Automatic exhaustion detection
Multiple types of climatic events
Usability
Configurable parameters
Real-time visual feedback
Performance statistics
Intuitive markers
🎓 Applied VSA Concepts
Volume Spread Analysis
Principle: Relationship between Volume, Spread, and Close reveals market intentions
Implementation: Each event type represents a specific VSA scenario
Smart Money vs. Retail
Climatic Event: Retail exhaustion, Smart Money entry
Big Boss: Direct Smart Money movement
Compression: Controlled testing/accumulation
Wyckoff Method
Absorption: Identified in compressions
Distribution/Accumulation: In climatic events
Mark-up/Mark-down: In Big Boss events
🚀 How to Use
Add the script to your TradingView chart
Configure parameters according to your timeframe and asset
Observe bar colors to identify events
Use markers for additional confirmation
Monitor the table for real-time statistics
📝 Important Notes
Script strictly respects priority hierarchy
Higher priority events always prevail
Horizontal analysis differentiates special compressions
Automatic exhaustion system captures subtle reversals
Performance optimized for real-time use
🔧 Installation
Open TradingView Pine Editor
Copy and paste the complete script
Click "Add to Chart"
Adjust parameters in the settings panel
Save to your indicator library
📊 Trading Applications
Entry Signals
Climatic Events: Look for reversal confirmations
Big Boss: Follow the displacement direction
Compression: Watch for breakouts after testing
Risk Management
Use event hierarchy to gauge market strength
Higher priority events suggest stronger moves
Normal events may indicate consolidation periods
Market Context
Trending Markets: Big Boss events show continuation
Range-bound Markets: Compressions at key levels
Reversal Points: Climatic events at extremes
🤝 Contributing
This script follows VSA principles and can be enhanced with:
Additional timeframe analysis
Alert system for key events
Backtesting capabilities
Custom color schemes
Version: Pine Script v6
Compatibility: TradingView
Author: Victor Eduardo Americo
HTF Candle Mean ThresholdICT Mean Threshold concept. Any time frame find the center of any Higher Time Frame candle. I made this because I couldn't find one under this name.
ICT ULT
This indicator is for lazy people like me who want to automate the process of marking certain ICT key levels using the indicator's features, such as:
Custom Killzone/Session Liquidity Levels in form of Highs and Lows
Killzone Drawings (Boxes)
Previous Day High/Low (PDH/PDL)
Previous Day Equlibrium (PDEQ)
Previous Week High/Low
New Day/Week Opening Gaps (NDOG/NWOG)
Custom Opening Prices (horizontal) (e.g. Midnight Open)
Custom Timestamps (vertical)
*Note: All features are completely customizable
inspired by: @tradeforopp
MuLegend's NQ 1m Break & Retest Sniper (clean)This indicator will mos def alert you when on NQ 1 minute time frame, to ENTER, AFTER retest:
1) if its' a bullish retest: enter on the candle HIGHER than the retest candle, with the stop loss, under the retest candle, and target is the next structure point.
2) If it's a bearish retest candle: enter on the candle LOWER than the retest candle, with the stop lost above the retest candle, and your target is the next structure point.
MuLegend
Follow me on IG @ atltime2shine