CISD Projections [LuxAlgo]The CISD Projections tool automatically plots mechanical price projection targets based on fractal market structure and swing manipulation legs. These projections offer dynamic, statistically informed targets that align with how prices tend to expand after a reversal point is confirmed.
🔶 USAGE
Projections are mechanical target levels derived from the manipulation leg following a confirmed change in state of delivery (CISD). They estimate where price is most likely to travel next by applying extended Fibonacci projection levels off the swing that initiated the move.
The tool works in the following way:
1. Detect the reversal bar that signals a shift in delivery.
2. Identify the manipulation leg: the swing that caused the reversal.
3. Anchor projections from this leg using customized Fibonacci levels such as 1, 2, 2.5, 4, 4.5 — each representing a potential target based on leg size and market expansion expectation.
For a correct target interpretation:
Average-sized legs often target between 2 and 2.5 levels.
Expanding legs may reach 4 to 4.5.
Large manipulation legs may warrant conservative expectations, focusing on 1 target.
As we can see in the image, traders must be aware of current market conditions and manipulation leg size in order to decide which levels to target and ask the right questions: Is volatility contracting or expanding? Is this manipulation leg smaller or larger than the previous ones?
Ultimately, projections provide objective, mechanical targets rather than subjective guesswork. They can be used on their own or in conjunction with liquidity zones, CISDs, and structural levels. They also help identify realistic price targets based on measured swing magnitude.
🔹 Filtering Setups
The chart shows how the output is affected by different filtering options:
Bars Threshold: show setups with a minimum number of bars in the manipulation leg.
CISD Filter: show setups only at the top or bottom of the range for the last X bars.
Invalidate CISDs on CHoCH: setups stop expanding after the first close beyond the manipulation leg.
We can obtain more meaningful setups with larger filter values by filtering the setups, or we can zoom in on details at the trader's discretion by disabling all filters.
🔶 SETTINGS
Bars Threshold: Minimum number of bars of each setup.
CISD Filter: Enable or disable the filter and select the length. This filter identifies setups at the top or bottom of the range over the last X bars.
Invalidate CISDs on CHoCH: Stop the level extension on ChoCH against CISD. This occurs when there is a close below the bottom on bullish setups and a close above the top on bearish setups.
🔹 Projections
Enable or disable each projection, select the projection level, and choose a style.
🔹 Style
CISD Level: Enable or disable CISD price level and select style.
Labels size: Select the size of the labels.
Bullish Color: Select a color for bullish setups.
Bearish Color: Select a color for bearish setups.
Background Fill: Enable or disable the background fill between the price and the extreme projection.
อินดิเคเตอร์และกลยุทธ์
Order Blocks Volume Delta 3D | Flux ChartsGENERAL OVERVIEW:
Order Blocks Volume Delta 3D by Flux Charts is a rule-based order block and volume delta visualization tool. It detects bullish and bearish order blocks using a profile-of-price approach: the indicator finds the most actively traded price area (Point of Control, or POC) between a swing high/low and the Break of Structure (BOS), then anchors the order block to the earliest still-valid candle that traded through that POC band. From there, it tracks all candles that continue to interact with that zone and overlays both 2D and 3D volume delta views directly inside the order block.
Unlike traditional order block tools that simply use candle bodies or wicks, this indicator is volume-aware. It lets you optionally pull volume from a lower timeframe feed (for example, using 1-minute data while watching a 5-minute chart) to build a much more accurate picture of how buyers and sellers actually traded inside the zone. This makes every block not just a price box, but a volume story: which side dominated, where, and by how much.
All order blocks printed by this indicator are confirmed: BOS and retests are evaluated strictly on closed candles. Nothing is drawn or alerted on partially formed bars, which helps avoid repaint-style flicker and keeps the signals clean and stable.
What is the theory behind the indicator?:
The core idea behind Order Blocks Volume Delta 3D is that not all price levels inside an order block are equal. Some prices are barely touched, while others act like magnets where candles repeatedly trade and heavy volume passes through.
The indicator first finds a swing high or swing low, waits for a clear Break of Structure (BOS), then scans the candles between the swing point and the BOS to find the price level that was touched the most. That level is treated as the POC.
From all candles in the swing-to-BOS range that interact with this POC band, the indicator looks for the earliest candle that is not already mitigated and uses that as the anchor candle for the order block:
The top of the block equals the anchor candle’s high (for a bearish OB) or the top of its wick zone.
The bottom equals the anchor candle’s low (for a bullish OB) or the bottom of its wick zone.
This “earliest valid POC-touching candle” rule makes it easier to visualize how price and volume developed from the very start of a meaningful zone, while ignoring POC touches that are already fully mitigated by the time the structure is confirmed. On top of that, each candle is split into bullish and bearish volume. If you choose a lower timeframe volume input, the tool aggregates lower timeframe candles into your chart timeframe, giving a more granular bull-versus-bear breakdown for each bar. The result is
an order block that not only shows where price moved but also which side pushed it, how aggressively, and how that balance shifted over time.
ORDER BLOCKS VOLUME DELTA 3D FEATURES:
The Order Blocks Volume Delta 3D indicator includes 4 main features:
1. Order Blocks
2. Volume Delta
3. 3D Visualization
4. Alerts
ORDER BLOCKS:
🔹What is an Order Block
An order block is a price zone where a clear displacement move began after liquidity was taken. It usually forms around the last consolidation or cluster of candles before price breaks structure with a strong move.
In this indicator, order blocks are defined as structured zones that:
Begin at the earliest unmitigated candle that interacted with the most-touched price level (POC) between swing and BOS.
Extend through the full wick range of that anchor candle.
Stretch forward in time, tracking how price continues to trade through, respect, retest, or invalidate the zone.
Are only printed once the BOS is fully confirmed on closed candles (confirmed order blocks only).
Example of bullish and bearish order blocks anchored at the earliest unmitigated candle in the POC zone:
🔹How are Order Blocks detected
The indicator uses a step-by-step, rules-based process to detect bullish and bearish order blocks. The logic is designed to match discretionary Smart Money concepts but with strict, repeatable rules.
Step 1: Detect swing highs and swing lows
Swing High: a candle whose high is higher than the highs of surrounding candles.
Swing Low: a candle whose low is lower than the lows of surrounding candles.
The Swing Length input controls how many candles are checked to the left and right.
Example of swing high and swing low detection:
Step 2: Confirm Break of Structure (BOS)
Once a swing is confirmed, the indicator waits for price to break past that swing:
Bullish BOS: price closes above a previous swing high.
Bearish BOS: price closes below a previous swing low.
To avoid “live” flicker, BOS logic is evaluated based on the previous closed candle. The order block is only confirmed once the BOS candle has fully closed and the next bar has opened. This is one of the reasons the script only shows confirmed, non-repainting order blocks.
Example of bullish BOS and bearish BOS:
Step 3: Build the POC range between swing and BOS
Between the swing candle and the BOS candle, the indicator:
Scans all candles in that range.
Tracks every price level touched using binning (POC bins).
Counts how many times each price band was touched by candle wicks.
The bin with the highest touch count becomes the POC band. This is where price traded most often, not necessarily where volume was highest.
Example of the POC band between swing and BOS.
Step 4 – Anchor the order block to the earliest valid POC candle
From all candles in the swing-to-BOS range, the indicator finds the earliest candle whose high/low overlaps the POC band and whose zone is not already mitigated. That candle becomes the anchor candle for the order block:
For a bearish OB, the block spans the anchor candle’s full wick range, with its top at the high.
For a bullish OB, the block spans the anchor candle’s full wick range, with its bottom at the low.
By requiring the anchor to be the earliest unmitigated interaction with POC, the script avoids building blocks from price action that has already been fully traded through and is less relevant.
Step 5: Extend and manage the order block
Once created, the block:
Extends to the right by a configurable number of candles (Extend Zones).
Continues until it is invalidated by wick or close, depending on the chosen method.
Can show retest labels when price revisits the zone after creation.
Is included or excluded from display depending on the Show Nearest and Hide Invalidated Zones settings.
Example of active and invalidated OB.
🔹Order Block Settings
◇ Swing Length
Swing Length controls how sensitive swing highs and lows are.
Lower Swing Length: Swings form more frequently, which leads to more frequent BOS events and order block formations.
Higher Swing Length: Only larger, more meaningful swings are detected, which leads to less frequent BOS events and less order block formations.
◇ Invalidation
Invalidation determines how an order block is considered “mitigated” or no longer valid.
Wick: For bullish OBs, if price wicks completely through the bottom of the zone, the order block is invalidated. For bearish OBs, if price wicks completely through the top, the order block is invalidated.
Close: For bullish OBs, the block is invalidated only when a candle closes below the bottom. For bearish OBs, it is invalidated only when a candle closes above the top.
Example of wick invalidation:
Example of close invalidation:
◇ Show Nearest
Show Nearest limits how many active order blocks are displayed based on proximity to current price. For example, a value of 2 will display only the two nearest bullish order blocks and two nearest bearish order blocks.
Chart with Show Nearest set to 3:
◇ Extend Zones
Extend Zones define how many candles forward each order block should project beyond the right most candle on the chart.
Chart with Extend Zones set to 10:
◇ Retest Labels
When enabled, the indicator prints labels on every clean retest of an active order block, as long as that block remains valid. Key points:
A retest label is only printed once the retest candle has fully closed – you always see confirmed retests, not intrabar tests.
Retest labels are positioned on the actual retest candle so you can visually see which bar interacted with the zone.
In addition, if multiple retests occur in quick succession, the indicator applies a built-in three-candle buffer between retests. That means only the first valid retest within each three-bar window is labeled (and can trigger an alert), helping to reduce clutter while still highlighting meaningful interactions with the zone.
Example of retest labels on bullish and bearish order blocks.
◇ Hide Invalidated Zones
Hide Invalidated Zones controls whether mitigated/invalidated blocks stay drawn.
Enabled: Only currently valid, unmitigated order blocks are shown (subject to Show Nearest)
Disabled: Both active and invalidated order blocks are displayed.
VOLUME DELTA:
🔹What is Volume Delta
Volume delta measures the difference between buying and selling volume. Instead of only showing “how much volume traded”, it separates volume into bullish and bearish components.
In this indicator:
Bullish volume = volume from candles (or lower timeframe candles) that closed higher.
Bearish volume = volume from candles that closed lower.
Delta % shows how dominant one side was compared to the total.
Example of bullish and bearish order blocks with volume delta and total volume.
🔹How is Volume Delta calculated?
The indicator uses a flexible, timeframe-aware volume engine.
1. Choose a Volume Delta Timeframe.
If the selected timeframe is equal to or higher than the chart timeframe, the indicator simply uses chart-volume per candle.
If the selected timeframe is lower than the chart timeframe (for example, 1‑minute volume on a 5‑minute chart), the indicator pulls all lower timeframe candles for each chart bar and sums them.
2. Split each bar into bull and bear volume.
For each contributing candle:
If close > open → its volume is added to bullish volume.
If close < open → its volume is added to bearish volume.
If close == open → its volume is split evenly between bullish and bearish.
3. Aggregate for each order block.
For each order block:
The indicator loops once from the swing candle to the BOS candle.
It records every candle that touches the POC band.
For each touching candle, it adds its bull and bear volumes (either directly from chart candles or from aggregated lower timeframe candles).
Total volume = bullish volume + bearish volume
Delta % = (bullish volume or bearish volume / total volume ) * 100, depending on which side is dominant.
🔹Volume Delta Settings:
◇ Display Style
Display Style controls how the volume delta is drawn inside each order block:
Horizontal:
Bullish and bearish fills extend horizontally from left to right.
The filled strip sits along the base of the block, with a bull vs bear gradient.
Vertical:
Bullish and bearish fills stretch vertically inside the zone.
The bullish percentage controls how much of the block is filled with the “dominant” color.
Example of Horizontal display style.
Example of Vertical display style.
◇ Volume Delta Timeframe
Volume Delta Timeframe tells the indicator whether to use chart volume or lower timeframe volume. When set to a lower timeframe, the indicator aggregates all lower timeframe candles that fall inside each chart bar, splitting their volume into bullish and bearish components before summing.
Using a lower timeframe:
Increases precision for how volume truly behaved inside each bar.
Helps reveal hidden absorption and aggressive flows that a higher timeframe candle might hide.
Example of volume delta based on chart timeframe.
Example of volume delta based on lower timeframe than chart(same OB as above)
◇ Display Total Volume
When enabled, the indicator prints the total volume for each order block as a label positioned inside the zone, near the bottom-right corner. This total is the sum of bullish and bearish volume used in the delta calculation and gives you a quick sense of how “heavy” the trading was in that block compared to others.
Example of total volume label inside multiple order blocks.
◇ Show Delta %
Show Delta % draws a small text label on the strip of the block that displays the dominant side’s percentage. For example, a bullish block might show “72%” if 72% of all volume inside that POC band came from bullish volume.
Example of Delta %:
3D VISUALIZATION:
The 3D Visualization feature turns each order block into a 3D plot.
🔹What the 3D Visualization does:
Wraps the order block with side faces and a top face to create a 3D bar effect.
Uses delta percentages to tilt the top face toward the dominant side.
Projects blocks into the future using Extend Zones, making the 3D blocks visually stand out.
🔹How it works:
The front face of the OB shows the standard 2D zone.
The side face extends forward in time based on the 3D depth setting.
The top face is angled depending on the Display Style and bull vs bear delta, making strong bullish blocks “rise” and strong bearish blocks “sink”.
🔹How the 3D depth setting affects visuals
Lower 3D depth:
Shorter side faces.
Subtle 3D effect.
Higher 3D depth:
Longer side faces projecting further into the future.
Stronger 3D effect that visually highlights key zones.
Example of lower 3D depth:
Example of higher 3D depth:
ALERTS:
The indicator supports alert conditions through TradingView’s AnyAlert() engine, allowing you to set alerts for the following:
New Bullish Order Block formed
New Bearish Order Block formed
Bullish OB Retest
Bearish OB Retest
Important alert behavior:
Order block alerts only fire when a new block is confirmed (after BOS closes and the next bar opens).
Retest alerts only fire when a retest candle has completely finished, matching the behavior of the visual retest labels.
IMPORTANT NOTES:
3D faces for order blocks are built using polylines. In some situations, especially when an order block’s starting point (its left edge) is beyond the chart’s left-most visible bar, the top 3D face may appear slightly irregular, skewed, or incomplete. This is purely a drawing limitation related to how the chart engine handles off-screen polyline points. Once the starting point of that order block comes into view (by zooming out or scrolling back), the 3D top face corrects itself and the visual becomes fully consistent. This issue affects only the 3D top face drawing, not the actual order-block box itself. The underlying zone, prices, and volume calculations remain accurate at all times.
If all conditions are met to create a new order block but the resulting zone would overlap an existing active order block, the new block is intentionally not created. A built-in guard prevents overlapping active zones to keep the structure clean and easier to interpret.
3D face drawing is implemented using an adaptive polyline method, which can be relatively calculation-heavy on certain symbols, timeframes, or chart histories. In some cases this may lead to calculation timeout error from TradingView.
UNIQUENESS:
This indicator is unique because it:
Anchors each order block to the earliest unmitigated candle that traded through the most-touched POC band between swing and BOS, rather than a generic “last up/down candle” or a random volume spike.
Builds a dedicated volume engine that can pull either chart timeframe volume or aggregated lower timeframe volume, then splits it into bull and bear components.
Adds 3D visualization on top of standard zones, turning each OB into a visually weighted slab rather than a flat rectangle.
Provides clean toggles (Show Nearest, Hide Invalidated Zones, Extend Zones, Display Style, Delta %, and total volume labels) so you can dial the indicator from extremely minimal to fully detailed, depending on your trading workflow.
Combined, these features make the indicator not just an order block plotter, but a complete volume‑informed structure tool tailored for traders who want to see where price actually traded and whether bulls or bears truly controlled the move inside each order block.
Support and Resistance Breakout Signals [MarkitTick]💡 This indicator provides a comprehensive, automated system for identifying, tracking, and trading Support and Resistance (S/R) breakouts. By synthesizing classic Swing High and Swing Low pivot analysis with Multi-Timeframe (HTF) capabilities and Volume confirmation, it transforms raw price action into actionable structural data. It is designed to declutter charts by automatically managing active levels and highlighting significant market structure shifts (Higher Highs, Lower Lows) alongside verified breakout signals.
✨ Originality and Utility
While many indicators draw static pivot points, this tool distinguishes itself through "State Management." It treats Support and Resistance not just as historical markers, but as active zones that evolve.
Dynamic Level Management: Instead of flooding the chart with infinite lines, the script uses arrays to store a specific number of recent levels. As price action progresses, invalid or broken levels are removed or updated, keeping the analysis focused on current relevance.
Multi-Timeframe Confluence: Uniquely, it allows you to overlay higher timeframe support and resistance levels (e.g., Daily levels on a 4-hours chart) without changing your chart view, enabling top-down analysis instantly.
Market Structure Labeling: It automatically tags pivot points with Dow Theory labels (HH, LH, LL, HL), aiding traders in instantly recognizing trend direction without manual charting.
🔬 Methodology and Concepts
The script operates on three core technical pillars:
● Swing Pivot Detection
The foundation is the detection of local extrema using a "Left/Right" bar lookback mechanism. A Swing High is identified when a high is greater than the L bars preceding it and the R bars following it. This confirms a fractal peak or valley.
Note on Confirmation: Because the script waits for R bars to close to confirm a pivot, the lines appear retroactively. However, the extension of these lines and subsequent breakout signals occur in real-time.
● Breakout Logic with Volume Integration
A breakout is triggered when the Close price crosses an active S/R line.
Resistance Break: Current Close > Resistance Level (and Previous Close ≤ Level).
Support Break: Current Close < Support Level (and Previous Close ≥ Level).
Volume Confirmation: An optional filter requires the breakout bar's volume to exceed a Moving Average of volume, ensuring momentum backs the move.
● Time Decay
To mimic the reduced relevance of stale levels, the script includes a "Time Decay" feature. If a level is not interacted with for a user-defined number of bars, it is automatically purged from the system, ensuring the chart reflects only fresh interest levels.
🎨 Visual Guide
The indicator uses a specific color-coding and labeling system to convey information quickly:
● Support & Resistance Lines
Red Lines (Thin): Represent active Resistance levels on the current timeframe.
Green Lines (Thin): Represent active Support levels on the current timeframe.
Fuchsia Lines (Thick): Represent Higher Timeframe (HTF) Resistance levels.
Aqua Lines (Thick): Represent Higher Timeframe (HTF) Support levels.
● Market Structure Labels
Located at the pivot points, these text labels define the trend structure:
HH / LH: Higher High / Lower High (Red Text).
LL / HL: Lower Low / Higher Low (Green/Aqua Text).
HTF-R / HTF-S: Indicates major structural pivots from the higher timeframe.
● Breakout Signals
When a valid break occurs, a label appears above or below the bar:
Blue Triangle Up (▲): Bullish breakout through resistance.
Blue Triangle Down (▼): Bearish breakout through support.
Number in Label: Indicates the cumulative count of breaks for that specific trend sequence (e.g., "1" is the first break, "2" is the second).
The breakout count represents the intensity of the move. A reading greater than 1 signals exceptional market strength, indicating the penetration of multiple Key Levels (Support or Resistance) within a single candle.
📖 How to Use
Trend Continuation: In an uptrend (sequence of HH/HL), wait for a Blue Triangle Up (▲) occurring at a Red Resistance line. This signals the continuation of the trend.
Trend Reversal: Watch for a "Structure Break." If price is making Higher Highs, but then breaks a Green Support line (generating a ▼ signal) and forms a Lower Low (LL), the trend may be reversing.
HTF "Bounce" Plays: Use the thick Fuchsia/Aqua lines as major zones. If price approaches a thick Aqua line (HTF Support) and fails to break it, look for LTF bullish structure (HH/HL) to form for an entry.
Volume Filtering: Enable the "Volume Confirmation" setting to filter out "fakeouts" (breaks on low volume).
⚙️ Inputs and Settings
● Swing Settings
Left/Right Bars: Determines the sensitivity of the pivot detection. Higher numbers = fewer, more significant pivots.
Max Stored Levels: How many S/R lines to keep in memory at once.
Max Break Labels: Limits visual clutter by capping the number of signal labels.
● Usability & HTF
Enable Time Decay: If true, deletes lines that are older than "Decay Period" bars.
Enable HTF Levels: Toggles the display of higher timeframe pivots.
HTF Timeframe: Select the specific timeframe for the macro view (e.g., "D" for Daily).
● Analysis
Volume Confirmation: Toggles the requirement for volume to be above its average for a signal to fire.
Show Market Structure: Toggles the HH/LL text labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The script's logic is rooted in Fractal Geometry and Auction Market Theory .
● Mandelbrot's Fractals: The use of `leftBars` and `rightBars` is a direct application of identifying market fractals. Markets are self-similar across timeframes; a pivot on a 5-minute chart is structurally identical to one on a Weekly chart. This script exploits this property by allowing nested timeframe analysis (LTF inside HTF).
● Memory of Price (Behavioral Finance): Support and resistance lines represent zones where market participants have previously established value (Price Memory). The "Breakout" signal is mathematically significant because it represents a shift in the supply/demand equilibrium. When price closes beyond a stored array value (the pivot price), it signifies that the aggressive limit orders that created the pivot have been exhausted or withdrawn, validating a new search for value.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
GCM Heikin Ashi RSI Trend CloudTitle: GCM Heikin Ashi RSI Trend Cloud
Description:
Overview
The GCM Heikin Ashi RSI Trend Cloud is a comprehensive momentum oscillator designed to filter out market noise and visualize trend strength. Unlike a standard RSI which can be jagged and difficult to interpret during consolidation, this indicator transforms RSI data into Heikin Ashi candles, providing a smoother, clearer view of market momentum.
This tool combines the lag-reducing benefits of RSI with the trend-visualizing power of Heikin Ashi, layered with Multi-Timeframe (HTF) clouds to identify macro trends.
Calculations & How it Works
This indicator does not use standard price action for its candles. Instead, it performs the following calculations:
• HARSI Candles: We calculate the RSI of the Open, High, Low, and Close of the chart. These four RSI values are then processed through the standard Heikin Ashi formula. This means the candles represent momentum movement, not price movement.
• Smoothing: A smoothing algorithm is applied to the "Open" of the HARSI candles (Default: 5). This reduces fake-outs by biasing the candle open toward the previous average, highlighting the true trend direction.
• Trend Bias Mode: A unique visual feature that adjusts the thickness of the RSI line based on your trading style.
o Buyers Mode: The line thickens when RSI is rising, thinning out when falling.
o Sellers Mode: The line thickens when RSI is falling, thinning out when rising.
• Ribbon Clouds: The script pulls RSI data from Higher Timeframes (HTF) and creates a cloud between the current chart's RSI and the HTF RSI. If the current RSI is above the HTF RSI, the cloud is bullish (Green), otherwise bearish (Red).
Key Features
• Derived Heikin Ashi RSI: Smooths out the noise of standard RSI to show clear red/green trends.
• Dynamic Trend Bias: Customize the main RSI line to emphasize Bullish or Bearish momentum using line weight.
• Auto-HTF Clouds: Automatically detects higher timeframes (e.g., 1m chart -> 3m cloud) to show support/resistance momentum from the macro trend.
• OB/OS Zones: Clearly defined Overbought and Oversold channels with "Extreme" outlier zones.
How to Use
1. Trend Continuation: Look for the HARSI candles to change color. A switch from Red to Green, while the Ribbon Cloud is also Green, indicates a strong bullish continuation.
2. Divergence: Because the candles are based on RSI, you can look for divergences between the HARSI candle peaks and the actual price action on the main chart.
3. The Cloud: Use the cloud as dynamic support. In a strong uptrend, the RSI line often bounces off the HTF Cloud without breaking through it.
Settings
• HARSI Length (Default 10): The lookback period for the RSI calculation.
• Smoothing (Default 5): Higher values create smoother candles but add lag. Lower values are more reactive.
Trend Bias Mode: Choose "Neutral" for a standard line, or "Buyers/Sellers" to visually emphasize your preferred market direction.
RSI Trend Authority [JOAT]RSI Trend Authority - VAR-RSI with OTT Trend Detection System
Introduction
RSI Trend Authority is an open-source overlay indicator that combines Variable Index Dynamic Average (VAR) smoothed RSI with the Optimized Trend Tracker (OTT) to create a complete trend detection and signal generation system. Unlike traditional RSI which oscillates in a separate pane, this indicator scales the RSI to price and overlays it directly on your chart, making trend analysis more intuitive.
The indicator generates clear BUY and SELL signals when the smoothed RSI crosses the OTT trailing stop line, providing actionable entry points with trend confirmation.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and moving averages. It is an original implementation that transforms RSI into a trend-following overlay system:
Why VAR Smoothing? Traditional RSI is noisy and produces many false signals. The Variable Index Dynamic Average (VAR) is an adaptive smoothing algorithm based on the Chande Momentum Oscillator principle. It adjusts its smoothing factor based on market conditions - responding quickly during trends and smoothing out during choppy markets. This creates an RSI that filters noise while preserving genuine momentum shifts.
Why OTT Trailing Stop? The Optimized Trend Tracker (OTT) is a percentage-based trailing stop mechanism that only moves in the direction of the trend. When VAR-RSI crosses above OTT, a bullish trend is confirmed; when it crosses below, a bearish trend is confirmed. This provides clear, actionable signals rather than subjective interpretation.
Price Scaling Innovation: By scaling RSI (0-100) to price using the formula (RSI * close / 50), the indicator overlays directly on the price chart. This allows traders to see how momentum relates to actual price levels, making trend analysis more intuitive than a separate oscillator pane.
ATR Boundaries: Optional volatility-based boundaries show when price is extended relative to its normal range, helping identify potential reversal zones.
How the components work together:
VAR smoothing removes RSI noise while preserving trend information
OTT provides a dynamic trailing stop that generates clear crossover signals
Price scaling allows direct overlay on the chart for intuitive analysis
ATR boundaries add volatility context for profit target estimation
Core Components
1. VAR-RSI (Variable Index Dynamic Average RSI)
The foundation of this indicator is the VAR smoothing algorithm applied to RSI. VAR is an adaptive moving average that adjusts its smoothing factor based on the Chande Momentum Oscillator principle:
f_var_calc(float data, int length) =>
int a = 9
float b = data > nz(data ) ? data - nz(data ) : 0.0
float c = data < nz(data ) ? nz(data ) - data : 0.0
float d = math.sum(b, a)
float e = math.sum(c, a)
float f = nz((d - e) / (d + e))
float g = math.abs(f)
float h = 2.0 / (length + 1)
float x = ta.sma(data, length)
This creates an RSI that:
Responds quickly during trending conditions
Smooths out during choppy, sideways markets
Reduces false signals compared to raw RSI
2. OTT (Optimized Trend Tracker)
The OTT acts as a dynamic trailing stop that follows the VAR-RSI:
In uptrends, OTT trails below the VAR-RSI line
In downtrends, OTT trails above the VAR-RSI line
The OTT Percent parameter controls how closely it follows
When VAR-RSI crosses above OTT, a bullish trend is confirmed. When VAR-RSI crosses below OTT, a bearish trend is confirmed.
3. Price Scaling
The RSI (0-100 scale) is converted to price scale using:
float scaleFactor = close / 50.0
float varRSIScaled = varRSI * scaleFactor
This allows the indicator to overlay directly on price, showing how momentum relates to actual price levels.
Visual Components
VAR-RSI Line (Cyan/Magenta)
The main indicator line with gradient coloring:
Cyan gradient when RSI is above 50 (bullish)
Magenta gradient when RSI is below 50 (bearish)
Line thickness of 3 for clear visibility
OTT Line (Yellow Circles)
The trailing stop line displayed as circles:
Acts as dynamic support in uptrends
Acts as dynamic resistance in downtrends
Crossovers generate trading signals
Trend Fill
The area between VAR-RSI and OTT is filled:
Cyan fill during bullish trends
Magenta fill during bearish trends
Fill transparency allows price visibility
Buy position and LONG on Dashboard with a Uptrend:
ATR Boundaries (Optional)
Dotted lines showing volatility-based price boundaries:
Upper band: Close + (ATR x Multiplier)
Lower band: Close - (ATR x Multiplier)
Color matches current trend direction
Buy/Sell Signals
Clear labels appear at signal points:
BUY label below bar when VAR-RSI crosses above OTT
SELL label above bar when VAR-RSI crosses below OTT
Additional glow circles highlight signal bars
Bar Coloring
Optional feature that colors price bars:
Cyan bars during bullish trend
Magenta bars during bearish trend
Dashboard Panel
The 8-row dashboard provides comprehensive status information:
Signal: Current position - LONG or SHORT (large text)
VAR-RSI: Current smoothed RSI value (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, or BEARISH
OTT Trend: UPTREND or DOWNTREND based on OTT direction
Bars Since: Number of bars since last signal
Price: Current close price (large text)
OTT Level: Current OTT trailing stop value
Input Parameters
RSI Settings:
RSI Length: Period for RSI calculation (default: 100)
Source: Price source (default: close)
VAR Settings:
VAR Length: Adaptive smoothing period (default: 50)
OTT Settings:
OTT Period: Trailing stop calculation period (default: 30)
OTT Percent: Distance percentage for trailing stop (default: 0.2)
ATR Trend Boundaries:
Show ATR Boundaries: Toggle visibility (default: enabled)
ATR Length: Period for ATR calculation (default: 14)
ATR Multiplier: Distance multiplier (default: 2.0)
Display Options:
Show Buy/Sell Signals: Toggle signal labels (default: enabled)
Show Status Table: Toggle dashboard (default: enabled)
Table Position: Choose corner placement
Color Bars by Trend: Toggle bar coloring (default: enabled)
Color Scheme:
Bullish Color: Main bullish color (default: cyan)
Bearish Color: Main bearish color (default: magenta)
OTT Line: Trailing stop color (default: yellow)
VAR-RSI Line: Main line color (default: teal)
ATR colors for boundaries
How to Use RSI Trend Authority
Signal-Based Trading:
Enter LONG when BUY signal appears (VAR-RSI crosses above OTT)
Enter SHORT when SELL signal appears (VAR-RSI crosses below OTT)
Use the OTT line as a trailing stop reference
Trend Confirmation:
Cyan fill indicates bullish trend - favor long positions
Magenta fill indicates bearish trend - favor short positions
Check RSI State in dashboard for momentum context
Using the Dashboard:
Monitor "Bars Since" to assess signal freshness
Check RSI State for overbought/oversold warnings
Use OTT Level as a reference for stop placement
ATR Boundaries:
Price near upper ATR band in uptrend suggests extension
Price near lower ATR band in downtrend suggests extension
Boundaries help identify potential reversal zones
Parameter Optimization
For Faster Signals:
Decrease RSI Length (try 50-80)
Decrease VAR Length (try 30-40)
Decrease OTT Period (try 15-25)
For Smoother Signals:
Increase RSI Length (try 120-150)
Increase VAR Length (try 60-80)
Increase OTT Period (try 40-50)
For Tighter Stops:
Decrease OTT Percent (try 0.1-0.15)
For Wider Stops:
Increase OTT Percent (try 0.3-0.5)
Alert Conditions
Three alert conditions are available:
Buy Signal: VAR-RSI crosses above OTT
Sell Signal: VAR-RSI crosses below OTT
Trend Change: OTT direction changes
Understanding the OTT Calculation
The OTT uses a percentage-based trailing mechanism:
float farkOTT = mavgOTT * ottPercent * 0.01
float longStopCalc = mavgOTT - farkOTT
float shortStopCalc = mavgOTT + farkOTT
longStop := mavgOTT > nz(longStop ) ? math.max(longStopCalc, nz(longStop )) : longStopCalc
shortStop := mavgOTT < nz(shortStop ) ? math.min(shortStopCalc, nz(shortStop )) : shortStopCalc
This ensures the trailing stop only moves in the direction of the trend, never against it.
Best Practices
Use on 1H timeframe or higher for more reliable signals
Wait for signal confirmation before entering trades
Consider RSI State when evaluating signal quality
Use ATR boundaries for profit target estimation
The longer RSI length (100) provides smoother trend detection
Combine with support/resistance analysis for better entries
Limitations
Signals may lag during rapid price movements due to smoothing
Works best in trending markets; may whipsaw in ranges
The overlay nature means RSI values are scaled, not absolute
Default parameters are optimized for crypto and forex; adjust for other markets
Technical Notes
This indicator is written in Pine Script v6 and uses:
VAR (Variable Index Dynamic Average) for adaptive smoothing
OTT (Optimized Trend Tracker) for trailing stop calculation
ATR for volatility-based boundaries
Gradient coloring for intuitive trend visualization
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
The Strat - Multi-Timeframe Combo Analyzer## 📊 The Strat - Multi-Timeframe Combo Analyzer
This open-source indicator implements **The Strat** methodology, a universal price action framework developed by Rob Smith (@RobInTheBlack).
---
### 🎯 What is The Strat?
The Strat categorizes every candle into one of three scenarios based on its relationship to the previous bar:
| Type | Name | Definition |
|------|------|------------|
| **1** | Inside Bar | High < Previous High AND Low > Previous Low |
| **2** | Directional | Breaks only one side (2↑ = broke high, 2↓ = broke low) |
| **3** | Outside Bar | Breaks BOTH previous high AND low |
By tracking these bar types across timeframes, traders can identify actionable setups with defined entry triggers and target levels.
---
### ✨ Features
**Daily Timeframe Analysis:**
- Real-time 3-bar combo detection (2-1-2, 3-1-2, 1-2-2, etc.)
- Pattern classification: Bullish/Bearish Continuation or Reversal
- Entry and Target levels based on Strat rules
- Pattern status: ACTIONABLE, IN-FORCE, TRIGGERED, or WATCHING
**ATR Context:**
- Range % used (how much of daily ATR has been consumed)
- Entry quality assessment (Excellent → Exhausted)
- Day type classification (Quiet → Trend Day)
- Remaining range estimation
**15-Minute Analysis:**
- Separate combo tracking for intraday precision
- Pattern detection on lower timeframe
**Visuals:**
- Customizable info tables
- Entry/Target horizontal lines
- Signal labels on chart
- Alert conditions
---
### 🔧 How to Use
1. Look for **ACTIONABLE** patterns - these are setups waiting for a trigger
2. Entry triggers when price breaks the designated level
3. Target is the next logical Strat level (typically prior bar's high/low)
4. Use **Range%** to assess if there's room left in the daily range
5. Combine Daily and 15-Min combos for trade confluence
---
### ⚠️ Disclaimer
This indicator is for **educational purposes only**. It does not constitute financial advice or guarantee profitable trades. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own research and trade responsibly.
---
### 🙏 Credits
**The Strat** methodology was created by Rob Smith (@RobInTheBlack).
This implementation is open-source. Feel free to study, modify, and improve the code!
NY, London & Asia Session Boxes (Adjusted) - [By Cointhunter01]English Description
Session Boxes Pro: Asia, London & NY (ICT/SMC Style)
This indicator is designed for traders who follow ICT, SMC (Smart Money Concepts), or session-based trading strategies. It provides a clean, real-time visual representation of the most critical trading windows across the global markets, automatically synced to New York time (EST/EDT).
Key Features:
Comprehensive Coverage: Automatically draws customizable boxes for Asia, London, New York AM, Lunch, and New York PM sessions.
Timezone Independent: All sessions are calculated using the New York time zone, ensuring your session boundaries are always accurate regardless of your local time.
Dynamic Real-Time Scaling: Boxes expand vertically to track the Session High and Low in real-time and horizontally until the session concludes.
Optimized Performance: To keep your charts clean and fast, the script only renders the sessions for the current and previous trading day.
Full Customization: Users can easily adjust colors, background transparency, border styles, and label sizes to fit any chart theme (Dark/Light mode).
Why Use This Script? In professional trading, price action within specific time "killzones" is vital. This script helps you quickly identify where liquidity was engineered during the London session or how the New York AM session reacted to the London high/low. By visualizing these sessions, you can better understand daily bias and find high-probability setups during the transition between global markets.
Elliott Wave Pattern AnalyzerElliott Wave Pattern Analyzer
Overview
This indicator automatically detects Elliott Wave impulse patterns and diagonal formations on your chart. It analyzes price structure based on classic Elliott Wave rules and displays wave counts with confidence scores, Fibonacci projections, and invalidation levels.
Why I Built This
After reading Glenn Neely's book on Elliott Wave theory, I wanted to put my learning into practice by building something tangible. There's no better way to understand a concept than trying to code it!
I'll be honest – corrective wave patterns (zigzags, flats, triangles, combinations) were simply too complex for me to implement reliably. So instead, I focused on what I could manage: impulse waves and diagonal patterns. Maybe someday I'll tackle the corrections, but for now, this is my humble contribution.
The retracement visualization style was inspired by LuxAlgo's elegant approach – credit where credit is due!
How It Works
1. Wave Detection
The indicator uses pivot points to identify potential 5-wave structures:
WaveRuleWave 2Cannot retrace more than 100% of Wave 1Wave 3Cannot be the shortest among Waves 1, 3, 5Wave 4Should not overlap Wave 1 territory (impulse)Wave 5Completes the motive structure
2. Pattern Types
Impulse Waves
Classic 5-wave motive structure
Wave 3 typically extends (≥1.618 of Wave 1)
Strict mode enforces all Elliott rules
Diagonal Patterns
Ending diagonal (wedge-shaped)
Waves progressively contract
Lines 1-3 and 2-4 converge to an apex
Often signals trend exhaustion
3. Confidence Scoring
Each pattern receives a confidence score (0-100%) based on:
Fibonacci ratio adherence
Wave proportion relationships
Rule compliance
Structural clarity
Only patterns exceeding your threshold (default: 60%) are displayed.
4. Fibonacci Projections
After Wave 5 completion, the indicator projects potential retracement levels:
0.382, 0.500, 0.618, 0.786 of the entire impulse
5. Extension Channel
Connects Wave 0 origin to the retracement low, projecting:
0.618, 1.000, 1.272, 1.618 extensions
Optional extended levels: 2.000, 2.618, 4.236
6. Invalidation Levels
Shows the price level where the wave count becomes invalid – helping you know when your analysis is wrong.
Settings Explained
Impulse Wave Settings
Pivot Length: Sensitivity of wave detection (recommended: 5, 7, 14)
Strict Mode: Enforce all classic Elliott rules
Min Wave 3 Extension: Minimum ratio for Wave 3 (default: 1.618)
Diagonal Wave Settings
Allow Wave 4-1 Overlap: Required for valid diagonals
Extend Trendline: Project diagonal boundaries forward
Projection Settings
Fibonacci Levels: Customize retracement targets
Extension Bars: How far projections extend on chart
Pattern Management
Max Patterns: Limit displayed patterns to reduce clutter
Pattern Lifetime: Auto-remove old patterns after X bars
Use Cases
Trend Trading: Enter on Wave 3 or Wave 5 breakouts
Reversal Spotting: Diagonal completion often signals reversals
Target Setting: Use Fibonacci extensions for take-profit levels
Risk Management: Invalidation levels provide clear stop-loss references
Notes
This indicator uses pivot detection and may repaint – signals are confirmed after the specified pivot length
Designed for educational and analytical purposes, not as a signal generator
Elliott Wave analysis is subjective – this is my algorithmic interpretation
Works best on liquid markets with clear trend structure
Not financial advice – always do your own research
Re-publishing Notice
This indicator was previously blocked due to some house rule violations on my part. I've recently had time to review and fix those issues, and I'm now re-publishing a compliant version. Thanks for your patience!
Feedback Welcome
I'm still learning Elliott Wave theory myself, so if you spot any issues or have suggestions for improvement, please leave a comment. Let's learn together!
Happy trading! 📈
Liquidity Trend Horizon [Pineify]Pineify - Liquidity Trend Horizon
The Liquidity Trend Horizon is a sophisticated trend-following indicator designed to identify potential liquidity sweep zones while providing clear visual trend direction. It combines adaptive volatility bands with smart liquidity detection to help traders spot high-probability reversal points where institutional activity may be occurring.
Key Features
Dynamic trend baseline using WMA and EMA smoothing
ATR-based volatility bands that adapt to market conditions
Automatic liquidity sweep detection with visual alerts
Gradient-filled channels for intuitive trend visualization
Real-time candle coloring based on trend direction
How It Works
The indicator calculates a weighted moving average (WMA) of the closing price, then applies exponential smoothing (EMA) to create a responsive yet stable baseline. This dual-smoothing approach filters out market noise while maintaining sensitivity to genuine trend changes.
Volatility bands are constructed using a 200-period Average True Range (ATR) multiplied by a user-defined factor. This creates dynamic support and resistance zones that automatically widen during volatile periods and contract during consolidation.
How Multiple Indicators Work Together
The synergy between WMA, EMA, and ATR creates a comprehensive trend analysis system:
The WMA provides the initial trend estimation with emphasis on recent price action
The EMA layer adds smoothness to reduce false signals
The ATR bands define probabilistic boundaries where price is likely to find support or resistance
Trading Ideas and Insights
Liquidity sweeps occur when price wicks beyond the volatility bands but closes back within the channel. These events often indicate:
Stop-loss hunting by larger market participants
False breakouts that may lead to reversals
Areas of accumulated liquidity being absorbed
A bullish sweep (wick below lower band, close above) suggests potential buying opportunity. A bearish sweep (wick above upper band, close below) may signal selling pressure.
Unique Aspects
Unlike traditional channel indicators, the Liquidity Trend Horizon specifically identifies sweep events where price temporarily breaks boundaries before reverting. This behavior is commonly associated with institutional order flow and smart money concepts.
How to Use
Observe the baseline color for overall trend direction (cyan for bullish, purple for bearish)
Watch for sweep markers (🚀 BULL / 📉 BEAR) at band extremes
Use background flashes as immediate alerts for sweep events
Consider entries when sweeps align with the prevailing trend direction
Customization
Trend Period - Adjust baseline sensitivity (default: 24)
Channel Width Multiplier - Control band distance from baseline (default: 2.0)
Smoothness - Fine-tune signal responsiveness (default: 5)
Color Settings - Personalize bullish/bearish colors and transparency
Conclusion
The Liquidity Trend Horizon bridges technical analysis with liquidity concepts, offering traders a unique perspective on market structure. By highlighting potential sweep zones within an adaptive trend framework, it helps identify areas where reversals are statistically more likely to occur.
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D
Mo Fan Trading Indicator//@version=6
indicator("Mo Fan Trading Indicator", shorttitle="MF Indicator", overlay=false)
// Input parameters
length_A = input.int(34, "Long Period")
length_B = input.int(14, "Short Period")
length_D = input.int(4, "Medium Period")
// Calculate main indicator values
calculateA() =>
hhv_34 = ta.highest(high, 34)
llv_34 = ta.lowest(low, 34)
a_val = -100 * (hhv_34 - close) / (hhv_34 - llv_34)
ta.sma(a_val, 19)
calculateB() =>
hhv_14 = ta.highest(high, 14)
llv_14 = ta.lowest(low, 14)
-100 * (hhv_14 - close) / (hhv_14 - llv_14)
calculateD() =>
hhv_34_d = ta.highest(high, 34)
llv_34_d = ta.lowest(low, 34)
d_val = -100 * (hhv_34_d - close) / (hhv_34_d - llv_34_d)
ta.ema(d_val, 4)
// Calculate indicator lines
A_line = calculateA()
B_line = calculateB()
D_line = calculateD()
longTermLine = A_line + 100
shortTermLine = B_line + 100
mediumTermLine = D_line + 100
// Calculate signal conditions
topSignal = (mediumTermLine > 85 and shortTermLine > 85 and longTermLine > 65) and ta.cross(longTermLine, shortTermLine)
topAreaCondition = (mediumTermLine < mediumTermLine and mediumTermLine > 80) and (shortTermLine > 95 or shortTermLine > 95) and longTermLine > 60 and shortTermLine < 83.5 and shortTermLine < mediumTermLine and shortTermLine < longTermLine + 4
bottomAreaCondition = (longTermLine < 12 and mediumTermLine < 8 and (shortTermLine < 7.2 or shortTermLine < 5) and (mediumTermLine > mediumTermLine or shortTermLine > shortTermLine )) or (longTermLine < 8 and mediumTermLine < 7 and shortTermLine < 15 and shortTermLine > shortTermLine ) or (longTermLine < 10 and mediumTermLine < 7 and shortTermLine < 1)
lowGoldenCross = longTermLine < 15 and longTermLine < 15 and mediumTermLine < 18 and shortTermLine > shortTermLine and ta.cross(shortTermLine, longTermLine) and shortTermLine > mediumTermLine and (shortTermLine < 5 or shortTermLine < 5) and (mediumTermLine >= longTermLine or shortTermLine < 1)
// Plot main indicator lines
plot(longTermLine, "Long Term Line", color.rgb(153, 0, 255), 2)
plot(shortTermLine, "Short Term Line", color.gray, 1)
plot(mediumTermLine, "Medium Term Line", color.yellow, 2)
// Plot horizontal reference lines
hline(10, "10 Level", color=color.new(#CC6633, 0), linestyle=hline.style_dashed, linewidth=2)
hline(20, "20 Level", color=color.new(color.green, 0))
hline(80, "80 Level", color=color.new(#996699, 0))
hline(90, "90 Level", color=color.new(#9966FF, 0), linestyle=hline.style_dashed, linewidth=2)
// Plot signal markers
plotshape(topSignal, "Top Signal", shape.triangledown, location.top, color.red, size=size.normal)
plotshape(bottomAreaCondition, "Bottom Area", shape.triangleup, location.bottom, color.green, size=size.normal)
plotshape(lowGoldenCross, "Low Golden Cross", shape.circle, location.bottom, color.lime, size=size.normal)
// Mark areas with background color
bgcolor(topSignal or topAreaCondition ? color.new(color.red, 90) : na, title="Top Area Background")
bgcolor(bottomAreaCondition ? color.new(color.green, 90) : na, title="Bottom Area Background")
bgcolor(lowGoldenCross ? color.new(color.lime, 90) : na, title="Golden Cross Background")
// Display value labels on chart
if barstate.islast
var table signal_table = table.new(position.top_right, 2, 4, bgcolor=color.white, border_width=1)
table.cell(signal_table, 0, 0, "Long Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 0, str.tostring(longTermLine, "#.##"), text_color=color.purple, bgcolor=color.white)
table.cell(signal_table, 0, 1, "Short Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 1, str.tostring(shortTermLine, "#.##"), text_color=color.gray, bgcolor=color.white)
table.cell(signal_table, 0, 2, "Medium Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 2, str.tostring(mediumTermLine, "#.##"), text_color=color.orange, bgcolor=color.white)
[Greeny] RTH Only Naked VPOCWhat it does
Calculates and displays daily Volume Point of Control (VPOC) levels based on RTH (Regular Trading Hours) session only. Tracks which VPOCs remain "naked" (untouched) and which have been hit - but only counts hits during RTH hours, ignoring overnight/globex touches.
Key Features
One VPOC per trading day calculated from entire RTH session volume profile
RTH-only hit detection - levels only marked as hit when touched during RTH, not overnight
Works on all timeframes - daily, hourly, or any chart timeframe
Volume-based filtering - automatically skips low-liquidity sessions (pre-front-month contract data)
Visual markers - small dash on origin bar shows where each VPOC was, even after being hit
Visual Guide
Yellow dashed line - Naked VPOC (not yet touched during RTH)
White dashed line - Hit VPOC (was touched during RTH)
Small dash on candle - POC origin marker
Settings
Display options: Toggle to show only naked POCs, customize hit/naked colors, adjust line width and style (solid/dashed/dotted), enable/disable line extension and origin markers.
RTH Session: Configure start and end time in NY timezone. Default is 9:30-16:00 (US equity market hours), which equals 15:30-22:00 Budapest time.
Advanced: Adjust volume profile resolution (default 250 bins), data source timeframe for calculations (5min recommended for daily charts), and minimum volume threshold to filter out low-liquidity sessions like pre-rollover contract data (default 10% of average).
Best For
ES/MES, NQ/MNQ futures traders
Mean reversion strategies using VPOC as support/resistance
Auction Market Theory practitioners
Anyone wanting clean RTH-only volume profile levels
Note on Contract Rollovers
When using specific contract symbols (e.g., ESH2026 instead of ES1!), the script may show many naked VPOCs from months before the contract became active. This happens because futures contracts have very low liquidity before becoming the front-month, creating unreliable VPOCs with gaps that never get hit. The volume filter helps reduce this, but you may need to increase the "Min Volume % of Average" setting or simply ignore older levels when viewing back-month data.
[CT] Smart Supertrend Smart Supertrend is an overlay trend and context indicator that combines three different ideas into one visual: a dynamic “cloud” that adapts to market cycle speed, a pivot-point anchored trailing line that behaves like a smarter Supertrend, and an ADX strength filter that helps separate real trends from noisy sideways movement. It is designed to keep you aligned with the dominant direction while giving you a clean framework for entries, pullbacks, and exits.
The “cloud” is the heart of the script’s regime read. Internally, it builds an adaptive smoothing engine that reacts to how efficiently the price is moving. When the price is moving in a clean, directional way, the cloud becomes more responsive. When the price is choppy and overlapping, the cloud becomes slower and steadier. The cloud itself is drawn as two lines, Cloud A and Cloud B, and the filled area between them. When the adaptive KAMA slope is rising, the cloud is treated as bullish and uses your Up color. When it is falling, the cloud is treated as bearish and uses your Down color. This creates a quick visual of whether the market is behaving like an uptrend regime or a downtrend regime without relying on one fixed moving average length that can be too fast in chop or too slow in trend.
The PP line is the trade management spine. It is built from pivot logic that detects meaningful swing highs and swing lows using your PP Period. Those pivots are blended into a centerline, and then an ATR band is applied around that center using your ATR Period and ATR Factor. That band is turned into a trailing line that “ratchets” in the direction of the current trend. When the price is above the trailing logic, the script considers the trend state to be long. When the price is below, it considers the trend state to be short. The reason this feels different from a basic Supertrend is that the anchor comes from pivots and smoothing rather than only a direct ATR band around price, so it tends to track structure more naturally and reduce some of the fast flipping you see in choppy sections.
The ADX filter is the quality control layer. It computes plus DI, minus DI, and ADX over your ADX Length, and then checks whether ADX is above your threshold. When ADX is above the threshold, it suggests the market is trending enough for trend signals to matter. When ADX is below the threshold, the script is telling you the environment is more sideways, which is where most trend systems get chopped up. In the original logic, the “best” conditions occur when the cloud direction agrees with the DI direction, and ADX is strong, because that means direction and strength are aligned.
How you trade it starts with using the cloud as your directional bias. When the cloud is bullish, you prioritize longs and you treat shorts as lower quality or countertrend. When the cloud is bearish, you prioritize shorts and you treat longs as lower quality. Next, you use the PP line as the “line in the sand” for trend state and risk placement. In a bullish environment, price holding above the PP line is your confirmation that the structure-anchored trailing level is supporting the move. In a bearish environment, price holding below the PP line is your confirmation that the trailing level is capping rallies.
A clean, practical entry approach is to wait for agreement between the cloud and the PP line, then take pullbacks into that framework. For long trades, the highest quality setups occur when the cloud is bullish, the PP line is below price, and ADX is above the threshold with plus DI leading minus DI. In that state, you can look for pullbacks that dip toward the PP line or into the cloud region and then reject back upward, because you’re buying a retracement inside a confirmed trend regime rather than chasing extension. For short trades, the mirror applies: the cloud is bearish, the PP line is above price, ADX is above the threshold with minus DI leading, and you sell rallies back into the PP line or cloud that fail and rotate down.
Stops and exits can be built around the PP line because it is already an ATR-based trailing structure level. For a long, a conservative stop is placed just below the PP line with a buffer related to ATR, because if price closes and holds below that line you are likely seeing a trend condition break. For a short, the stop goes just above the PP line with a similar buffer. For profit taking, many traders scale out when price stretches far away from the PP line or when the cloud begins to lose slope and compress, because that often signals trend momentum is slowing. Another simple exit rule is to reduce or close when the PP line flips trend state against your position, or when the ADX falls back under the threshold after a run, because that frequently marks a transition into consolidation where trailing systems can give back gains.
If you enable signals in versions that plot them, the logic is meant to highlight moments when the PP line flips trend and the cloud is not contradicting that flip, then further filters those into “higher quality” conditions when cloud direction and ADX trend strength agree. In practice, you should still treat signals as prompts, not automatic trades. The best results come from using the signal as a timing cue while you still enforce the bigger rule of alignment: cloud direction, PP line trend state, and ADX strength all pointing the same way, with entries taken on pullbacks rather than on late breakout candles.
Finally, be aware that all adaptive smoothing systems will look different across markets and timeframes, so the main tuning knobs are your Cloud Length, PP Period, ATR Factor, and ADX Threshold. If you want fewer flips and more “position trading” behavior, increase the ATR Factor and consider a higher ADX threshold. If you want earlier entries and more sensitivity, lower ATR Factor and lower the threshold, but expect more chop. The indicator is at its best when you treat it as a regime and structure tool: let the cloud tell you the side, let the PP line define where you are wrong, and let ADX decide whether it’s a trend day or a chop day before you commit size.
Advanced Concept V4 Change your trading time zone to New York . To maximize readiness for institutional trading setups based on the prescribed models, traders should set alarms for specific times in the New York Time Zone (EST/EDT), which is generally 10.5 hours behind IST.
Asian Stop Hunt Model
The Stop Hunt Model is a liquidity-based strategy designed to exploit market stop-loss sweeps by aligning with the IPDA daily bias. The core idea is to wait for price to sweep the engineered liquidity of the Asian Session High or Low (after 10:30 AM IST). Once the sweep occurs, the trader confirms the market's true direction via a Change of Character (CHoCH) on the lower timeframe. The entry is then taken only on a retest of the resulting price inefficiency, specifically a Balanced Price Range (BPR) or imbalance, which represents the institutional entry point. By targeting the next major liquidity pool with a minimum 1:3 risk-to-reward ratio, the model prioritizes discipline and quality over frequent trading.
The New York Open Model
The New York Open Model is an index-focused strategy (SPX500, NAS100, US30) that trades solely during the New York Session (9:30 AM – 12:30 PM NYT). It establishes a Range Zone high and low from midnight until the open, treating these boundaries as institutional liquidity targets. Execution is triggered by a mandatory liquidity sweep of one side of this range, followed by a confirming Change of Character (CHoCH) on the 1-minute chart. Entry is taken precisely on the retest of a resulting price inefficiency (like an FVG), aiming for the opposite side of the session range, prioritizing simplicity, timing, and controlled risk over external biases like IPDA.
The ATM Strategy
The ATM Strategy is a high-precision, New York-session trading model designed to capture institutional liquidity moves using the IPDA directional bias. The strategy operates by first defining a Range Zone (00:00 to 8:30 AM NY time) where high and low boundaries act as liquidity targets. Execution is restricted to the Trading Zone (8:30AM to 12:30 PM NY time) and is only triggered when price executes a mandatory liquidity sweep of one range boundary that aligns with the IPDA bias. This sweep must then be confirmed on the 1-minute chart by a Change of Character (CHoCH). Final entry is taken on the retest of a resulting price inefficiency (like an FVG or BPR), with targets set at session highs or lows, ensuring institutional-style execution with high clarity and discipline.
The Central Bank Dealer Range (CBDR)
The Central Bank Dealer Range (CBDR) model is a disciplined, institutional trading strategy used on the 15-minute chart, primarily focusing on London Session liquidity for major currency pairs. The core idea is to align with Interbank Price Delivery Algorithm (IPDA) bias, which dictates a mandatory liquidity sweep (a false breakout of the previous day's high or low) must occur first. Following this sweep, a visible price imbalance (Fair Value Gap) must form within the London Session. Entry is strictly taken only on the retest of this imbalance zone, confirming institutional order flow, with a fixed target at the opposite boundary of the previous day's range.
Asset Volatility Heatmap [SeerQuant]Asset Volatility Heatmap (AVH)
AVH is a cross-sectional volatility dashboard that ranks up to 30 assets and visualizes regime shifts as a time-series heatmap.
It computes annualized historical volatility (%) on a fixed 1D basis, then maps each asset’s volatility into a configurable color spectrum for fast, intuitive scanning of risk conditions across cryptocurrencies.
⚙️ How It Works
1. Daily, Annualized Historical Volatility
Each asset is measured on a fixed 1D timeframe (independent of your chart timeframe). Volatility is annualized and expressed in percentage terms. The user can choose between 1 of 4 volatility estimators: Close-Close (log returns stdev), Parkinson (H/L), Garman-Klass or Rogers-Satchell.
2. Heatmap
A heatmap is plotted on the lower window (sorting is turned on by default). Each row represents a rank position. (Rank #1 highest vol ... Rank #30 lowest vol). This means that tokens will move between rows over time as their volatility changes. The asset labels show the current token sitting in each rank bucket. This setting can be turned off for more of a "random" look.
3. Color Scaling
The user can select how the color range is normalized for visualization.
n = (v - scaleMin) / (scaleMax - scaleMin)
Cross-Section: Scales colors using the current bar’s cross-sectional min/max across the asset list.
Rolling: Scales colors using a lookback window of cross-sectional ranges, so today’s values are judged relative to recent volatility history.
Fixed: Uses your chosen Fixed Scale Min / Max for consistent benchmarking across time.
4. Contrast Control
The Color Contrast control option changes how aggressively the palette emphasizes extremes (useful for making “risk spikes” pop vs keeping gradients smooth).
5. Summary Table + Composite Read
The table highlights the highest vol / lowest vol token, along with average / median volatility, and a simple regime read (low / medium / high cross-sectional volatility).
✨ How to Use (Practical Reads)
Spot risk-on / risk-off transitions: When the heatmap “heats up” broadly (more hot colors across ranks), cross-sectional volatility is expanding (higher dispersion / risk).
Identify which names are driving the narrative: With sorting ON, the top ranks show which assets are currently the volatility leaders — often where attention, liquidity, and positioning stress is concentrated.
Use it as a regime overlay: Low/steady colors across most ranks tends to align with calmer conditions; sharp bright bursts signal volatility events.
✨ Customizable Settings
1. Assets
30 symbol inputs (defaults to crypto, but works across markets)
2. Calculation Settings
Length (lookback)
Volatility Estimator (Close-Close / Parkinson / GK / RS)
3. Style Settings
Color Scheme (SeerQuant / Viridis / Plasma / Magma / Turbo / Red-Blue)
Color Scaling (Cross-Section / Rolling / Fixed)
Scaling Lookback (for Rolling)
Fixed Scale Min / Max (for Fixed)
Color Contrast (emphasize extremes vs smooth gradients)
Sort Heatmap (High → Low)
Gradient Legend toggle
Focus Mode (highlights the chart symbol if included)
Ticker Label Right Padding
🚀 Features & Benefits
Cross-sectional volatility at a glance (dispersion/risk conditions)
Sortable rank heatmap for tracking “who’s hot” in volatility
Multiple estimators for different volatility philosophies
Flexible normalization (current cross-section, rolling context, or fixed benchmarks)
Clean legend + summary stats for quick context
📌 Notes
Sorting changes which token appears in each row over time (rows are rank buckets).
Volatility is computed on 1D even if your chart is lower/higher timeframe.
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always consult a licensed financial advisor before making trading decisions. Use at your own risk.
TBSTurtle Soup Body Pattern
The Turtle Soup Body is a price action pattern derived from the classic Turtle Soup setup, designed to identify false breakouts beyond recent highs or lows, with a strong emphasis on the candle body close.
This pattern occurs when price briefly breaks above a recent swing high (or below a recent swing low), triggering breakout traders, but then fails to sustain the move. Instead of focusing only on wicks, the Turtle Soup Body setup requires the candle body to close back inside the previous range, signaling rejection and loss of breakout momentum.
Key characteristics of the Turtle Soup Body pattern include:
A clearly defined recent high or low (typically a 20-period high/low)
Price breaks the level intraday, creating a false breakout
The candle body closes back below the high (for short setups) or above the low (for long setups)
Confirmation that market participants are trapped on the wrong side of the move
The Turtle Soup Body pattern is commonly used as a mean-reversion or reversal setup, offering tight stop-loss placement and favorable risk–reward ratios. It is especially effective in ranging or overextended market conditions and can be applied across multiple timeframes in the Forex market.
LiquidityPulse MTF Intrabar Micro-Structure Absorption DetectorLiquidityPulse MTF Intrabar Micro-Structure Absorption Detector
Non-repainting: Markers appear on bar close and do not change.
Important (if you can’t see any markers)
This indicator measures intrabar micro-structure and it can use seconds-based micro data on lower timeframes.
If you load it and don’t see anything:
Go to 15m or higher, or
In settings, change Micro feed (inside HTF bar) from Auto to 1m / 5m / 15m.
Auto will often choose a “micro” feed that’s very small when your HTF is small, which can affect what you see.
What this indicator does
This script is designed to highlight absorption-like conditions by analysing what happens inside each higher-timeframe (HTF) candle — not just the candle’s OHLC.
It looks for candles where:
price moves a lot internally (high intrabar activity),
the candle structure shows churn / rejection (wick dominates body),
and participation is elevated (relative high volume).
When those conditions align, the indicator prints a marker line at the wick extreme:
LW (Lower-wick marker) = printed at the candle’s low
UW (Upper-wick marker) = printed at the candle’s high
Each marker is then extended to the right (so it can be treated like a potential level).
Image shows a wick-dominant candle with an absorption marker: Markers appear when price shows strong intrabar movement, a wick-dominant candle structure, and elevated participation — a combination often associated with absorption-like behaviour.
How it works
A marker is created only when all three filters pass on a confirmed candle close:
1) Intrabar micro-speed (internal activity)
The script pulls intrabar closes from a lower timeframe (“micro feed”) and sums the absolute internal price changes inside the HTF candle.
It then converts this to a Z-score and checks it against the Speed-z threshold.
Higher threshold = fewer, stronger events.
2) Wick vs body (churn / rejection structure)
This measures how the HTF candle’s internal range compares to its net close-to-open movement using:
Churn ratio = (HTF range) / (HTF body)
If the candle has a large range but a relatively small body, it indicates that price moved extensively during the candle but made limited net progress by the close — a structure often associated with active two-sided participation and absorption-like behaviour.
3) Relative HTF volume (participation filter)
The script also Z-scores HTF volume and requires it to exceed the Volume z-score threshold.
This helps filter out candles that show apparent activity but occur on relatively low participation.
Multi-timeframe + micro-structure analysis: Image shows a 15 minute chart marker on the 1 minute timeframe. The indicator can analyse higher-timeframe candles (15 minute) while using lower-timeframe micro data inside each bar (1 minute). This allows absorption-style markers to be plotted with higher-timeframe context and intrabar detail.
Composite Intensity
When a marker triggers, the script calculates a Composite Intensity number (CI):
It’s a combined score based on how strongly each of the three conditions exceeded its threshold.
Higher CI = stronger absorption-style event
Higher CI = brighter chart marker
The table shows:
HTF and Micro timeframes being used
the last marker type (LW or UW)
the last CI value
Micro feed & multi-timeframe behaviour
This indicator always works as a two-layer system:
HTF candle (context) → the candle you’re analysing
Micro feed (inside HTF bar) → the intrabar data used to measure micro-speed
Higher-TF source
Chart timeframe = uses your chart timeframe as HTF
Manual = choose any HTF (example: chart = 1m, HTF = 15m → prints 15m absorption markers onto a 1m chart)
Micro feed options
Auto (recommended) picks a sensible micro feed based on HTF
Or choose 1s / 1m / 5m / 15m manually for performance/clarity
HTF direction filter (optional)
When enabled:
LW markers only print when the HTF candle closes bullish
UW markers only print when the HTF candle closes bearish
This is optional and is designed to reduce noise by aligning markers with the directional bias of the higher-timeframe candle.
Traders can use the absorption markers to:
Identify potential areas of interest where price showed unusually high intrabar activity but limited net progress by the close.
Mark reference levels where price may react again later, reflecting prior elevated participation and extensive intrabar movement areas.
Add structural context to existing analysis such as trend structure, support/resistance, session highs/lows, or other volume-based tools.
Compare behaviour across timeframes, by observing how absorption-style events on a higher timeframe align with lower-timeframe price action.
Image shows price reacting to a previous absorption markers level (Lines/ levels can be extended in the settings): Extended LW / UW markers can be observed as areas of prior absorption-like activity. Traders may watch how price behaves around these levels (reaction, acceptance, or rejection) alongside their own structure, liquidity, or risk management tools.
Key settings (what they change)
Higher-TF source / Higher-TF bar (manual): which candle timeframe is analysed
Micro feed (inside HTF bar): what intrabar resolution is used to calculate micro-speed
Speed-z threshold: how unusual intrabar activity must be
Wick/Body threshold: how large the candle’s total range must be compared to its body
Volume z-score threshold: how elevated HTF volume must be
Z-score look-back: how far back the indicator normalises speed/volume
Line extension (bars): raise if you want markers to behave more like extended levels
Max markers: how many markers remain on the chart at once
Alerts
Alerts trigger on candle close when an absorption marker is detected.
Disclaimer
This indicator does not measure true order flow or the full limit order book. It uses intrabar price activity, candle structure, and relative participation as interpretive tools to highlight absorption-like behaviour. It is not a buy/sell system, and all signals should be used with traders own confirmation and risk management.
Lakshmi - Low Volatility Range Breakout (LVRB)⚡️ Overview
The Low Volatility Range Breakout (LVRB) indicator is designed to identify consolidation phases characterized by suppressed volatility and generate actionable signals when price breaks out of these ranges. The underlying premise is rooted in the market principle that periods of low volatility often precede significant directional moves—volatility contraction leads to expansion.
Important Note on Optimization: The default parameter settings of this indicator have been specifically optimized for BTCUSDT on the 2-hour (2H) timeframe. While the indicator can be applied to other instruments and timeframes, users are encouraged to adjust the parameters accordingly to suit different trading conditions and asset characteristics.
This indicator automates the detection of "quiet" accumulation/distribution zones and provides clear visual cues and alerts when a breakout occurs.
⚡️ How to Use
1. Add the indicator to your chart. Default settings are optimized for BTCUSDT 2H.
2. Wait for a gray box to appear—this indicates a qualified low-volatility range is forming.
3. Monitor for breakout signals:
• LONG (green triangle below bar): Price broke above the range. Consider entering a long position.
• SHORT (red triangle above bar): Price broke below the range. Consider entering a short position.
4. Set alerts using "LVRB LONG" or "LVRB SHORT" to receive notifications on confirmed breakouts.
5. Adjust parameters as needed for different instruments or timeframes.
Tip: Combine with volume analysis or trend filters for higher-probability setups.
⚡️ How It Works
1. Low Volatility Bar Detection
A bar is classified as "low volatility" when it meets the following criteria:
• True Range (TR) is at or below the average TR (Simple Moving Average) multiplied by a user-defined threshold.
• (Optional) Candle Body is at or below the average body size multiplied by a separate threshold.
This dual-filter approach helps isolate bars that exhibit genuine compression in both range and directional commitment.
2. Range Box Formation
When consecutive low-volatility bars are detected, the indicator begins constructing a consolidation box:
• The box expands to encompass the high and low of qualifying bars.
• A minimum number of bars and a minimum fraction of low-volatility bars are required for the box to become "qualified" (active).
• A configurable tolerance allows for a limited number of consecutive non-low-vol bars within the sequence, accommodating minor noise without invalidating the range.
• If the box height exceeds a maximum threshold (defined as a multiple of the base ATR at sequence start), the range is invalidated.
3. Breakout Detection
Once a qualified range is established, the indicator monitors for breakouts:
• Wick Mode: Requires both a wick pierce beyond the range boundary AND a close outside the range.
• Close Mode: Requires only a close beyond the range boundary.
• (Optional) Breakout Body Filter: The breakout candle's body must exceed a multiple of the average body size at range formation.
• (Optional) Candle Direction Filter: Bullish breakouts require a green candle; bearish breakouts require a red candle.
Signals are displayed in real-time and confirmed upon bar close.
⚡️ Inputs & Parameters
• Volatility Window: Lookback period for calculating average TR and average body size.
• TR Multiplier: A bar's TR must be ≤ avgTR × this value to qualify as low-vol.
• Body Multiplier: A bar's body must be ≤ avgBody × this value (if body filter is enabled).
• Use Body Filter: Toggle the body size filter on/off.
• Min Bars in Box: Minimum number of bars required for a range to become qualified.
• Min Low-Vol Fraction: Minimum proportion of bars in the sequence that must be low-vol.
• Allowed Consecutive Non-Low-Vol Bars: Tolerance for consecutive bars that do not meet low-vol criteria.
• Max Box Height: Maximum allowed range height as a multiple of the base ATR.
• Breakout Mode: Choose between "Wick" (pierce + close) or "Close" (close only).
• Breakout Body Multiplier: Require breakout candle body ≥ avgBody × this value (1.0 = OFF).
• Require Candle Direction: Enforce green candle for LONG, red candle for SHORT.
⚡️ Visual Features
• Consolidation Boxes: Displayed in neutral (gray) color during formation. Upon a confirmed breakout, the box is colored green for bullish breakouts or red for bearish breakouts.
• Breakout Signals:
• LONG: Green upward triangle displayed below the price bar with "LONG" label.
• SHORT: Red downward triangle displayed above the price bar with "SHORT" label.
• Range Levels: Optional horizontal plots for the active range's high and low.
• Invalidated Boxes: Optionally retained in neutral (gray) color or deleted from the chart.
• Full Customization: Colors, transparency, and border width are all adjustable.
⚡️ Alerts
Two alert conditions are available:
• LVRB LONG: Triggered on a confirmed bullish breakout (bar close).
• LVRB SHORT: Triggered on a confirmed bearish breakout (bar close).
⚡️ Use Cases
• Breakout Trading: Enter positions when price escapes a well-defined low-volatility range.
• Volatility Expansion Plays: Anticipate increased volatility following periods of compression.
• Filtering Choppy Markets: Avoid trading during extended consolidation; wait for confirmed breakouts.
• Multi-Timeframe Analysis: Use on higher timeframes to identify major consolidation zones.
⚡️ Notes
• Best used in conjunction with volume analysis, trend context, or support/resistance levels for confirmation.
• Performance varies across instruments and timeframes; backtesting and parameter optimization are recommended.
⚡️ Credits
Developed by Lakshmi. Inspired by volatility contraction principles and range breakout methodologies.
⚡️ Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of profits. Trading financial instruments involves substantial risk, and you may lose more than your initial investment. Past performance, whether indicated by backtesting or historical analysis, does not guarantee future results. The use of this indicator does not ensure or promise any profits or protection against losses. Users are solely responsible for their own trading decisions and should conduct their own research and/or consult with a qualified financial advisor before making any investment decisions. By using this indicator, you acknowledge and accept that you bear full responsibility for any trading outcomes.
HOHO Oscillator Squeeze With AGAIG TurnsHOHO OSCILLATOR SQUEEZE WITH AGAIG TURN DETECTION
═════════════════════════════════════════════════════════════
OVERVIEW
This powerful indicator combines three proven trading concepts into one visually stunning, highly accurate momentum and trend analysis tool:
• HOHO (Hump Oscillator) - Multi-timeframe momentum oscillator
• Squeeze Indicator - Bollinger Bands/Keltner Channel volatility compression detector
• AGAIG (As Good As It Gets) Turn Detection - Intelligent price reversal identification
The result is a comprehensive trading system that identifies high-probability entry and exit points with exceptional visual clarity.
═════════════════════════════════════════════════════════════
KEY FEATURES
HOHO OSCILLATOR
The foundation of this indicator is the Hump Oscillator, which creates distinctive wave patterns ("humps") above and below the zero line. These colorful columns provide instant visual feedback on momentum direction and strength:
• Fast oscillator (thin columns) - Responsive to immediate price action
• Slow oscillator (wide columns) - Confirms underlying trend momentum
• Color-coded bars shift from bright (strong momentum) to dark (weakening momentum)
• Fully customizable MA types (EMA/SMA) and lengths
SQUEEZE DETECTION
Integrated Bollinger Band and Keltner Channel analysis identifies volatility compression:
• Yellow zero-line dots signal active squeeze conditions
• Optional yellow background highlights compression zones
• Anticipates explosive breakout moves
• Adjustable BB and KC parameters for different markets and timeframes
AGAIG TURN DETECTION
Intelligent price reversal identification based on the "As Good As It Gets" methodology:
• Automatically identifies significant market turning points
• Adjustable sensitivity via "Turn Detection Length" (lower = more signals, higher = fewer signals)
• Strength filter ensures only quality setups are marked (1-10 scale)
• Eliminates noise and false signals common in traditional pivot indicators
VISUAL SIGNALS
• BUY arrows (green triangles) mark bullish reversal opportunities
• SELL arrows (red triangles) mark bearish reversal opportunities
• Text labels positioned for optimal readability
• All arrows appear at actual turning points with configurable lookback offset
FLEXIBLE CUSTOMIZATION
• Choose between EMA or SMA for all moving average calculations
• Adjustable oscillator lengths for different trading styles
• Configurable turn detection sensitivity
• Optional bar coloring based on Fast or Slow momentum
• Clean, professional visual design
═════════════════════════════════════════════════════════════
HOW TO USE
ENTRY SIGNALS
Look for BUY/SELL arrows combined with:
1. Squeeze conditions (yellow markers) for highest-probability setups
2. Oscillator color confirmation (green for longs, red for shorts)
3. Turn strength that meets your minimum requirements
TREND CONFIRMATION
• Strong green humps = bullish momentum building
• Strong red humps = bearish momentum building
• Oscillator crossing zero = momentum shift
• Color transitions = momentum strengthening or weakening
VOLATILITY ANALYSIS
• Yellow zero-line dots = consolidation/squeeze active
• Expansion after squeeze = high-probability breakout opportunity
• Combine with turn arrows for precise entry timing
PARAMETER TUNING
For scalping/day trading (5m-15m charts):
• Turn Detection Length: 3-5
• Turn Strength: 2-4
For swing trading (1H-4H charts):
• Turn Detection Length: 5-8
• Turn Strength: 3-5
For position trading (Daily charts):
• Turn Detection Length: 8-15
• Turn Strength: 5-7
═════════════════════════════════════════════════════════════
CREDITS & ATTRIBUTION
This indicator builds upon the excellent work of:
• HOHO (Hump Oscillator) - Original concept from ThinkorSwim community
• Squeeze Indicator - Based on TTM Squeeze by John Carter
• AGAIG (As Good As It Gets) - Turn detection methodology by NPR21
Converted and enhanced for TradingView with permission from the trading community.
═════════════════════════════════════════════════════════════
BEST PRACTICES
✓ Use on liquid markets (major indices, forex pairs, crypto)
✓ Combine with support/resistance levels for confluence
✓ Wait for oscillator color confirmation before entry
✓ Higher turn strength settings = fewer but higher-quality signals
✓ Squeeze breakouts offer exceptional risk/reward opportunities
✓ Practice proper risk management and position sizing
✗ Don't trade every arrow - wait for confluence
✗ Don't ignore the oscillator colors - they show momentum health
✗ Don't use overly sensitive settings in choppy markets
✗ Don't trade counter to the oscillator trend without strong confirmation
═════════════════════════════════════════════════════════════
WHAT MAKES THIS INDICATOR UNIQUE
Unlike standalone momentum oscillators or simple pivot indicators, this tool synthesizes three proven methodologies into a single, coherent visual system. The combination of momentum analysis (HOHO), volatility detection (Squeeze), and intelligent turn identification (AGAIG) provides traders with a comprehensive view of market conditions and high-probability trading opportunities.
The indicator's visual design uses color psychology and positioning to make complex market analysis instantly understandable at a glance - critical for fast-moving markets and quick decision-making.
═════════════════════════════════════════════════════════════
SUITABLE FOR
• Day traders on 5m-30m timeframes
• Swing traders on 1H-Daily timeframes
• Scalpers seeking momentum confirmation
• Options traders identifying reversal points
• Futures traders (especially /ES, /NQ, /YM)
• Forex traders on major pairs
• Cryptocurrency traders
OI Grid for Gold/Oil-Auto plot OI level
-For Gold and Crude Oil
-Price diff function between future/spot price
Stochastic RSI with DivergencesStochastic RSI with Divergences - Enhanced Edition
DESCRIPTION
- This is an enhanced version of the classic Stochastic RSI indicator with divergence detection, originally created by @fskrypt (Log RSI), @RicardoSantos (Divergences), @JustUncleL (edits), and @NeoButane (2018 modifications). Full credit to these talented developers for the foundational work.
ENHANCEMENTS & MODIFICATIONS
- This version adds several user-requested features for improved customization and clarity:
- Divergence Signal Labels: Regular divergence signals now display "Buy" (green) and "Sell" (red) instead of generic "R" markers. Hidden divergences show "H-Buy" and "H-Sell" for clearer identification.
- Customizable Colors: User-adjustable colors for both K line (default: blue) and D line (default: orange) allow traders to match their chart themes.
- Adjustable Transparency: Separate opacity controls for the K/D fill shading (default: 70%) and background zones (default: 98%) provide precise visual customization without overwhelming the chart.
- Optional Divergence Lines: Toggle the green and red divergence connecting lines on/off while keeping the Buy/Sell labels visible, reducing visual clutter when desired.
- Organized Settings: All inputs are logically grouped (StochRSI Settings, Divergence Settings, Colors, Opacity) for easier navigation and configuration.
HOW IT WORKS
- The indicator identifies regular and hidden divergences between price action and the Stochastic RSI oscillator:
- Regular Bullish Divergence (Buy): Price makes lower lows while StochRSI makes higher lows - potential reversal signal
- Regular Bearish Divergence (Sell): Price makes higher highs while StochRSI makes lower highs - potential reversal signal
- Hidden Bullish Divergence (H-Buy): Price makes higher lows while StochRSI makes lower lows - trend continuation signal
- Hidden Bearish Divergence (H-Sell): Price makes lower highs while StochRSI makes higher highs - trend continuation signal
- The Stochastic RSI oscillates between 0-100, with readings above 80 indicating overbought conditions and below 20 indicating oversold conditions.
SETTINGS
StochRSI Settings
RSI Length: 14 (default)
Stoch Length: 14 (default)
K Smoothing: 3 (default)
D Smoothing: 3 (default)
Log Scale: Optional logarithmic transformation
Average K & D: Optional blending of both lines
Divergence Settings
Show Divergences: Toggle all divergence signals
Show Hidden Divergences: Toggle H-Buy/H-Sell signals
Show Divergence Lines: Toggle connecting lines between divergence points
Show Divergences Channel: Display fractal channels
Colors
K Line Color: Customize the fast line
D Line Color: Customize the slow line
Opacity
- Background Opacity: Control 20-80 zone shading (0-100)
K/D Fill Opacity: Control area between K and D lines (0-100)
USE CASES
- Momentum trading: Identify overbought/oversold conditions
Divergence trading: Spot potential reversals and trend continuations
Multi-timeframe analysis: Confirm signals across different timeframes
Trend confirmation: Use with other indicators for confluence
CREDITS
- Original concept and code: @fskrypt (Log RSI), @RicardoSantos (Divergence detection), @JustUncleL (modifications), @NeoButane (2018 updates)
Enhanced by: NPR21 (User interface improvements, label modifications, transparency controls)
[CT] D&W PPO + RBF + DivergenceThis indicator combines two separate ideas into one tool so you can read trend context from your price chart while timing momentum shifts from a clean oscillator panel. The first component is the Daily and Weekly Percentage Price Oscillator (D&W PPO), which measures the relationship between two EMA spreads that are intentionally built to reflect two “speeds” of market structure. The “weekly” leg is calculated as the percentage distance between a slower and faster EMA pair (L1 and L2), and the “daily” leg is calculated as the percentage distance between a shorter EMA pair (L3 and L4), but both are normalized by the same long EMA (e2) so the values behave like a percent-based oscillator rather than raw points. The script then combines those two legs by creating R = W + D, and it plots the histogram as R − W, which simplifies to D. That is not a mistake, it is the point of the design. By setting the baseline at “R equals W,” the zero line becomes a very intuitive threshold that tells you whether the shorter-term push is adding to the longer-term bias or subtracting from it. When the histogram is above zero, the daily component is supportive of the larger trend pressure, and when it is below zero, the daily component is opposing it. The histogram color is intentionally binary and stable, green when the histogram is at or above zero and red when it is below, so the panel reads like a momentum confirmation tool rather than a noisy oscillator that constantly shifts shades.
The second component is the RBF Price Trail, which is drawn on the upper price chart even though the indicator itself lives in a lower panel. This line is not a moving average in the traditional sense. It is a Radial Basis Function kernel smoother that weights recent prices based on their similarity rather than only their recency. In plain terms, the kernel attempts to build a smoother “baseline” that adapts to the shape of price action, and then the script optionally wraps that baseline inside an ATR band and applies a Supertrend-like trailing clamp. When the ATR band is enabled, the line will not simply track the kernel value, it will trail price and hold its position until price forces it to ratchet. This behavior is what makes it useful as a structure-aligned trend line rather than just another smoothing curve. When the adaptive band boost is enabled, the band width is multiplied by a factor that grows when recent price change is large relative to a lookback normalization window. That means the trailing mechanism can adapt to fast markets by changing the effective band behavior, which helps reduce whipsaws in choppy conditions while still allowing the line to respond when volatility expands. The line color is determined by where price closes relative to the trail, bullish when price is above the trail and bearish when price is below it, and you can optionally color your actual chart candles from either the PPO state or the RBF state depending on what you want your eyes to follow.
The settings are organized so you can control each module without changing how the core PPO trend logic behaves. The PPO settings L1, L2, L3, and L4 define the EMA lengths used to compute the weekly leg W and the daily leg D. Increasing these values makes the oscillator slower and smoother, while decreasing them makes it react faster to recent movement. “Show W line” is simply a visual aid, it plots the W line in the oscillator panel so you can see the longer-term component, but it does not change the histogram logic. “Histogram thickness” is purely visual and controls how thick the column bars are. The PPO colors are the two base colors used for the histogram state, green when the daily component is supportive and red when it is opposing.
The RBF settings control what you see on the upper chart. “Show RBF on Price Chart” turns the trail line on or off. “Source” chooses which price series feeds the kernel, and close is usually the cleanest choice. “Kernel Length” determines how many bars the kernel uses; a larger value makes the baseline smoother and slower, and a smaller value makes it more reactive. “Gamma Adj” controls how quickly the kernel’s weights decay as price becomes dissimilar, so higher gamma tends to make the kernel react more sharply to changes while lower gamma produces a broader smoothing effect. “Use ATR Trail Band” is the switch that turns the kernel baseline into a trailing band line, and it is the reason the line can “hold” and then ratchet instead of moving continuously like a normal moving average. “ATR Length” and “ATR Factor” control the width of that band, and widening the band will generally reduce flips and noise at the cost of later signals. “Use Adaptive Band Boost” turns on the volatility normalization idea, “Boost Normalization Lookback” defines how far back the script looks to determine what counts as a large price change, and “Boost Multiplier” controls how strongly the band behavior is adjusted during those periods. The line width and bull/bear colors are visual controls only.
Price bar coloring is intentionally handled with a single selector so you do not end up with two modules fighting to color candles differently. If you choose “Off,” nothing on the main chart is recolored. If you choose “PPO,” your price candles reflect whether the PPO histogram is above or below zero. If you choose “RBF,” your price candles reflect whether price is above or below the RBF trail. Most traders will pick one and stick with it so the chart communicates a single bias at a glance.
The divergence module is optional and is designed to be a confirmation layer rather than a primary trigger. When enabled, it can mark regular divergence and hidden divergence, and it lets you decide what the pivots should be based on. The divergence source can be the PPO histogram or the R line, depending on whether you want divergence measured on the cleaner momentum component or on the combined series. “Key off pivots” determines whether pivot detection is driven by oscillator pivots or by price pivots. If you choose oscillator pivots, divergence anchors are found where the oscillator makes pivot highs or lows and those are compared against price at the same points. If you choose price pivots, the pivots are taken from price first and the oscillator value at those pivot bars is used for the comparison, which can feel more intuitive when you want divergence to respect obvious swing structure on the chart. Pivot Left and Pivot Right control how strict the swing definition is, larger values create fewer but more meaningful pivots and smaller values create more frequent signals. “Mark on Price Chart” adds tiny markers on the candles at the pivot location so you can see where the divergence event was confirmed, while the oscillator panel uses lines and labels to make the divergence relationship obvious.
For trading, the cleanest way to use this tool is to separate “bias” from “timing.” The RBF Price Trail is your bias filter because it is structure-like and tends to hold and ratchet rather than constantly drifting. When price is closing above the trail and the trail is colored bullish, you treat the market as long-biased and you focus on long setups, pullbacks, and continuation entries. When price is closing below the trail and the trail is bearish, you treat the market as short-biased and you focus on short setups, rallies, and continuation shorts. The PPO histogram is then your timing and pressure confirmation. In an up-bias, the highest quality continuation conditions are when the histogram is above zero and stays above zero through pullbacks, because that means the shorter-term pressure is still supporting the longer-term drift. When the histogram dips below zero during an up-bias, it is a warning that the daily component is now opposing, which often corresponds to a deeper pullback, a rotation, or a period of consolidation, so you either wait for the histogram to recover above zero or you tighten expectations and manage risk more aggressively. In a down-bias, the mirror logic applies: the best continuation conditions are when the histogram is below zero, and pushes above zero tend to represent countertrend rotations or pauses inside the bearish condition.
Divergence is best used as an early warning and a location filter, not as a standalone entry button. Regular bullish divergence, where price makes a lower low but the oscillator makes a higher low, can signal bearish pressure is weakening and is most useful when it appears while price is below the RBF trail but failing to continue downward, because it often precedes a reclaim of the trail or at least a meaningful rotation. Regular bearish divergence, where price makes a higher high but the oscillator makes a lower high, can signal bullish pressure is weakening and is most useful when it appears while price is above the trail but extension is failing, because it often precedes a drop back to the trail or a full flip. Hidden divergence is a continuation concept. Hidden bullish divergence, where price makes a higher low while the oscillator makes a lower low, often shows up during pullbacks in an uptrend and can help you confirm continuation as long as the RBF bias remains bullish. Hidden bearish divergence, where price makes a lower high while the oscillator makes a higher high, often shows up during rallies in a downtrend and can help you confirm continuation as long as the RBF bias remains bearish. In practice, you’ll get the best results when you only act on divergence that aligns with the RBF bias for hidden divergence continuation, and you treat regular divergence as a caution or reversal setup only when it occurs near a meaningful swing and is followed by a bias change or a strong momentum shift on the PPO.
The most practical workflow is to keep the RBF trail visible on the price chart as your regime guide, keep the PPO histogram as your momentum confirmation, and decide in advance whether you want candle coloring to represent the PPO state or the RBF state so your eyes are not reading two different meanings at once. if you want the cleanest “trend-following” behavior, color candles by the RBF trail and use the PPO histogram as the timing trigger. If you want the cleanest “momentum-first” behavior, color candles by PPO and treat the RBF trail as the higher-level filter for whether you should press a move or fade it.
Dynamic ATR-based Renko Overlay - Non repaintingDaily ATR-Based Renko Overlay
Overview
This Pine Script v5 indicator creates a dynamic Renko overlay on your time-based charts (optimized for 1-minute timeframes), using the previous period's ATR from a user-specified higher timeframe (default: 1-hour) to determine brick sizes. Unlike traditional Renko charts, this is an overlay that draws Renko bricks directly on top of your existing candles, allowing you to combine the noise-filtering power of Renko with the full features of time-based charts.
It's designed for traders who want Renko's trend-clarity benefits without switching chart types, especially useful for intraday trading in volatile markets like forex, stocks, or crypto.
Key Features
- Adaptive Brick Sizing: Brick size is calculated as a percentage (default 40%) of the previous period's ATR (Average True Range, default length 14) from the selected higher timeframe (default: 1-hour). This makes bricks volatility-adjusted—larger in high-vol periods to reduce noise, smaller in low-vol for more detail.
- Periodic Recalculation: Resets brick size at the start of each new period based on the user-specified reset timeframe (default: daily), using the prior period's ATR from the chosen timeframe. This ensures relevance without unwanted disruptions.
- Traditional Renko Logic: Uses 1-box reversal (a full brick against the trend to reverse). Bricks form based on closing prices, ignoring time and minor fluctuations.
- Visual Style: Stepped lines with green (up) and red (down) fills for a box-like appearance. Semi-transparent for easy overlay on candles.
- Customizable Inputs:
- ATR Length: Adjust the ATR period (default: 14).
- Percentage of ATR: Fine-tune brick sensitivity (default: 0.4 or 40%; range 0-1).
- ATR Timeframe: Specify the timeframe for ATR calculation (default: "60" for 1-hour; enter as a string like "240" for 4-hour, "D" for daily, etc.).
- Reset Timeframe: Specify the period for recalculating the brick size (default: "D" for daily; enter as a string like "W" for weekly, "M" for monthly, etc.).
How It Works
1. Fetches ATR from the user-specified timeframe via `request.security` for higher-timeframe volatility data.
2. On new periods based on the reset timeframe (or first load), sets brick size to `percent * ATR_HTF`.
3. Tracks Renko "close" and "previous close" to calculate bricks:
- Upward moves add green bricks in multiples of the size.
- Downward moves add red bricks.
- Reversals require a full brick against the direction.
4. Plots and fills create the overlay, updating on each 1-min bar close.
Add it to a 1-minute chart for best results—bricks will adapt periodically while you retain full candle visibility.
Why This Indicator is Helpful
TradingView's native Renko charts are powerful but come with limitations that can frustrate serious traders:
- No Bar Replay: Native Renko doesn't support TradingView's bar replay feature, making it hard to simulate historical trading sessions.
- Inaccurate/Repainting Strategy Testing: Strategies on native Renko can repaint or lack precision due to the non-time-based nature, leading to unreliable backtests.
- Limited Data History: Fast Renko timeframes (e.g., small bricks) often load very little historical data, restricting long-term analysis.
This overlay solves these by building Renko on a time-based chart:
- Full Bar Replay Support: Replay sessions as usual on your 1-min chart—the Renko follows along.
- Accurate, Non-Repainting Testing: Test strategies on the underlying time chart without repainting issues, as Renko is derived from closes.
- Unlimited Data Depth: Access TradingView's full historical data for 1-min charts (up to years of bars), not limited by Renko's data constraints.
- Hybrid Analysis: Overlay Renko on candles to spot trends while using volume, indicators (e.g., RSI, MAs), or drawing tools that don't work well on native Renko.
It's a game-changer for trend-following, breakout strategies, or filtering noise in short-term trades. No more switching charts—get the best of both worlds!
Usage Tips
- Best on 1-min charts for intraday precision, but experiment with others.
- Tune the percentage lower (e.g., 0.3) for more bricks/sensitivity, higher (e.g., 0.5) for fewer/false-signal reduction.
- Adjust the ATR timeframe to match your strategy—e.g., "240" for longer-term volatility or "15" for shorter.
- Customize the reset timeframe for different recalculation frequencies—e.g., "W" for weekly resets to capture broader market shifts, or "240" for every 4 hours.
- Combine with alerts: right now I am experimenting with 90 period EMA and the Renko brick pullbacks to find some EDGE
If you find this useful, give it a thumbs up or share your tweaks in the comments. Feedback welcome—happy trading! 🚀






















