Adaptive MACD Fusion (Dual-Core Momentum Engine)Adaptive MACD Fusion merges two complementary engines - an *Adaptive MACD Core* and a *Phase Momentum Core* - into a single self-tuning framework.  
It’s built for traders who need early, stable, and volatility-aware momentum confirmation without lag or repaint.
Core Architecture
Adaptive MACD Core
Reconstructs classic MACD with z-score normalization and dynamic length adjustment driven by volatility energy.  
It adapts automatically between calm and trending regimes for smoother responsiveness.
Volatility Gating System
A logistic ATR-based gate dynamically adjusts signal strength between 0.5 and 1.5.  
It suppresses fake impulses during quiet markets and amplifies valid ones in breakouts.
Higher-Timeframe Confirmation
Synchronizes local momentum with higher-timeframe direction using adaptive state decay.  
Avoids false reversals by maintaining trend persistence.
Phase Momentum Core
Tracks short-term acceleration/deceleration phases using adaptive EMAs with directional boosts.  
Confirms valid shifts and filters market noise — acting as a zero-lag complement to MACD.
Unified Visualization Layer  
Merged color logic enables viewing either MACD-only, Phase-only, or combined (Merged) signals in a single visual system.
Key Features
✅ Dual-core adaptive momentum engine  
✅ Dynamic volatility weighting  
✅ Regime-aware z-score normalization  
✅ Persistent higher-timeframe trend memory  
✅Multi-mode color & alert system
Conceptual Summary
This is not a cosmetic MACD tweak.  
Adaptive MACD Fusion combines structural momentum (MACD) and phase acceleration (short-term engine) to form a coherent adaptive system.  
It delivers earlier entries, smoother exits, and consistent cross-regime performance.
Disclosure
This indicator is published as *closed-source* to protect the proprietary adaptive-fusion and volatility-weighting logic.  
The architecture, concepts, and functional behavior are fully described above so that traders can understand how it works, how to use it, and what makes it unique — in compliance with TradingView’s House Rules on originality and closed-source publication.
Analisis Trend
Bitcoin Gold Fair Value Model | AlphaNattBitcoin Gold Fair Value Model | AlphaNatt 
 A quantitative regression-based projection model that estimates Bitcoin’s fair value using gold as a macro-monetary benchmark. 
 This model, inspired by RJAlpha, applies a lag-adjusted statistical regression between gold and Bitcoin to identify the time-shifted correlation that historically aligns Bitcoin’s market value with gold’s macro trends. It produces a forward-looking projection, statistical confidence intervals, and explanatory metrics that assess the reliability of the relationship. 
---
 🧠 Core Concept 
 
  Gold serves as a proxy for global liquidity and real monetary value, often leading risk assets during liquidity expansions and contractions.
  Bitcoin’s long-term trend tends to react to these same liquidity cycles, but with a measurable lag.
  This indicator models that lag statistically, estimating Bitcoin’s “fair value” as if its price were fully caught up to gold’s recent movements.
  The regression captures both directional influence and proportional magnitude through slope and intercept coefficients.
 
---
 ⚙️ Model Features 
 
   Dynamic Lag Regression  – Uses a configurable  leadDays  period to align gold’s prior movements with Bitcoin’s current pricing behavior.
   Rolling Sample Window  – Continuously recalibrates the regression coefficients using a user-defined lookback length, allowing the model to adapt to new market conditions.
   Forward Projection  – Extends Bitcoin’s fair value into the future, based on present gold levels and the established lag relationship.
   Volatility-Adjusted Confidence Bands  – Displays one standard deviation and 95% confidence intervals around the projected path to visualize expected uncertainty.
   Model Fitness Metric  – Includes an R² score that quantifies the strength and stability of the BTC–Gold relationship within the active window.
 
---
 📈 Visualization Breakdown 
 
   Cyan Line:  Historical gold-driven fair value of Bitcoin.
   Magenta Lines:  Future fair value projection and confidence bands (offset by leadDays).
   Projection Label:  Displays the 60-day projected price target.
   Statistical Table:  Shows live model output including the projected fair value, 1-SD range, 95% confidence interval, and R² score.
 
---
 🔧 User Inputs 
 
   Show 1 SD Bands?  – Toggles visibility of the standard deviation boundaries.
 
---
 📊 Interpretation Guide 
 
  When Bitcoin trades  below  its projected fair value, the model suggests it is temporarily undervalued relative to gold’s macro trend.
  When Bitcoin trades  above  its projected fair value, it may be overextended in relation to the model’s equilibrium estimate.
  A higher  R²  implies greater reliability — periods where gold explains a large portion of Bitcoin’s price variance.
  Confidence intervals represent uncertainty, not directional certainty; deviation beyond them often implies a structural shift in correlation or market regime.
 
---
 ⚠️ Disclaimer 
 This indicator is designed for quantitative research and macro correlation analysis. It does not constitute investment advice, price prediction, or trading signal generation. Always verify assumptions and cross-check results with independent analysis before using in a live environment.
scalping signals 1 min xauusd  + eurusd v2Transform Your 1-Minute Scalping with Precision Entry Signals 
RSI Signals EUR/USD is a cutting-edge scalping indicator specifically optimized for EUR/USD on the 1-minute timeframe. Designed for active traders seeking quick profits from micro-movements, this indicator delivers crystal-clear entry signals with automatic Stop Loss and Take Profit levels.
 What This Indicator Does 
🎯 Smart Entry Signals
Get instant visual alerts when high-probability trading opportunities arise. The indicator identifies multiple types of reversal patterns and momentum shifts, displaying clear labels directly on your chart so you never miss a trade.
🎨  Color-Coded Candles 
Candlesticks automatically change color based on active signals, making it effortless to track your current position at a glance. Each signal type has its unique color, eliminating confusion in fast-moving markets.
📊  Automatic Risk Management 
Every signal comes with pre-calculated Stop Loss and Take Profit levels displayed as dynamic horizontal lines that extend across your chart. Set and forget - no more manual calculations or guesswork.
🎚️  Multiple Take Profit Targets 
Maximize your profits with three progressive TP levels (TP1, TP2, TP3) based on optimal risk-reward ratios. Scale out of positions strategically as price moves in your favor.
🛡️  Intelligent Signal Management 
When a Stop Loss is triggered, all visual indicators automatically disappear, and candle colors reset until the next fresh signal appears. This keeps your chart clean and focused on what matters.
⚡  Built for Speed 
Specifically calibrated for EUR/USD volatility and spread characteristics, ensuring signals are actionable in real-time without lag or repainting.
 Good For
 
Scalpers targeting 5-15 pip moves
Day traders looking for quick in-and-out opportunities
Forex traders focused on EUR/USD pair
Traders who value clear visual cues over complex analysis
Engulfing Detector [HASIB]Description: 
Engulfing Detector   is a clean and powerful candlestick pattern indicator designed to automatically detect Bullish and Bearish Engulfing setups on any chart and any timeframe.
This tool helps traders easily spot reversal zones and potential trend continuation entries by highlighting high-probability engulfing candles with clear visual signals.
 🔹 Features: 
Detects both Bullish and Bearish Engulfing patterns in real time
Works on all timeframes and all assets (Forex, Crypto, Stocks, Indices)
Customizable color alerts for bullish and bearish signals
Lightweight, fast, and optimized for smooth performance
Perfect for price action traders and candlestick strategy lovers
📈 Created with precision and simplicity by Hasib, for traders who love clarity and confidence in their charts.
Z-Score Momentum | MisinkoMasterThe  Z-Score Momentum  is a new trend analysis indicator designed to catch reversals, and shifts in trends by comparing the "positive" and "negative" momentum by using the Z-Score.
This approach helps traders and investors get unique insight into the market of not just Crypto, but any market.
 A deeper dive into the indicator 
First, I want to cover the "Why?", as I believe it will ease of the part of the calculation to make it easier to understand, as by then you will understand how it fits the puzzle.
I had an attempt to create a momentum oscillator that would catch reversals and provide high tier accuracy while maintaining the main part => the speed.
I thought back to many concepts, divergences between averages?
- Did not work
Maybe a MACD rework?
- Did not work with what I tried :(
So I thought about statistics, Standard Deviation, Z-Score, Sharpe/Sortino/Omega ratio...
Wait, was that the Z-Score? I only tried the For Loop version of it :O
So on my way back from school I formulated a concept (originaly not like this but to that later) that would attempt to use the Z-Score as an accurate momentum oscillator.
Many ideas were falling out of the blue, but not many worked.
After almost giving up on this, and going to go back to developing my strategies, I tried one last thing:
What if we use divergences in the average, formulated like a Z-score?
Surprise-surprise, it worked!
Now to explain what I have been so passionately yapping about, and to connect the pieces of the puzzle once and for all:
The indicator compares the "strength" of the bullish/bearish factors (could be said differently, but this is my "speach bubble", and I think this describes it the best)
What could we use for the "bullish/bearish" factors?
How about high & low?
I mean, these are by definitions the highest and lowest points in price, which I decided to interpret as: The highest the bull & bear "factors" achieved that bar.
The problem here is comparison, I mean high will ALWAYS > low, unless the asset decided to unplug itself and stop moving, but otherwise that would be unfair.
Now if I use my Z-score, it will get higher while low is going up, which is the opposite of what I want, the bearish "factor" is weaker while we go up!
So I sat on my ret*rded a*s for 25 minutes, completly ignoring the fact the number "-1" exists.
Surprise surprise, multiplying the Z-Score of the low by -1 did what I wanted!
Now it reversed itself (magically). Now while the low keeps going down, the bear factor increases, and while it goes up the bear factor lowers.
This was btw still too noisy, so instead of the classic formula:
a = current value
b = average value
c = standard deviation of a
Z = (a-b)/c
I used:
a = average value over n/2 period
b = average value over n period
c = standard deviation of a
Z = (a-b)/c
And then compared the Z-Score of High to the Z-Score of Low by basic subtraction, which gives us final result and shows us the strength of trend, the direction of the trend, and possibly more, which I may have not found.
As always, this script is open source, so make sure to play around with it, you may uncover the treasure that I did not :)
Enjoy Gs!
Friday & Monday HighlighterFriday & Monday Institutional Range Marker — Know Where Big Firms Set the Trap! 
 🧠 Description 
This indicator automatically  highlights Friday and Monday sessions  on your chart — days when  institutional players and algorithmic firms  (like Citadel, Jane Street, or Tower Research) quietly shape the upcoming week’s price structure.
 🔍 Why Friday & Monday matter 
 Friday : Large institutions often  book profits or hedge  into the weekend. Their final-hour moves reveal the next week’s bias.
 Monday : Big players rebuild positions, absorbing liquidity left behind by retail traders.
Together, these two days define the  range traps and breakout zones  that often control price action until midweek.
  > In short, the  Friday–Monday high and low  often act as invisible walls — guiding scalpers, option sellers, and swing traders alike.
 🧩 What this tool does 
✅ Highlights Friday (red) and Monday (green) sessions
✅ Adds optional day labels above bars
✅ Works across all timeframes (best on 15min to 1hr charts)
✅ Helps you visually identify where institutions likely built their positions
 Use it to quickly spot: 
* Range boundaries that trap traders
* Gap zones likely to get filled
* High–low sweeps before reversals
 ⚙️ Recommended Use 
1. Mark  Friday’s high–low  → Watch for liquidity sweeps on Monday.
2. When  Monday holds above Friday’s high , breakout continuation is likely.
3. When  Monday fails below Friday’s low , expect a reversal or trap.
4. Combine this with OI shifts, IV crush, and FII–DII flow data for confirmation.
 ⚠️ Disclaimer 
This indicator is for **educational and analytical purposes only**.
It does **not constitute financial advice** or a trading signal.
Markets are dynamic — always perform your own research before trading or investing.
Kalman Exponentialy Weighted Moving Average | MisinkoMasterThe  Kalman Exponentialy Weighted Moving Average  is a technical analysis tool providing users with more responsive and smoother signals, providing crystal-clear signals and giving investors valuable insights on market trends, however it could be used in many cases.
A deeper dive into the indicator:
When going through my creation of strategies, I had stumbled on an indicator called "EWMA", which worked decently, but it was far too simple in my opinion so I decided to combine the EMA & WMA, but with a little more complexity,  and it has worked .
I began by learning how both MAs work, I already knew how WMA works, but EMA I did not.
After learning both I found out they were quite simple in principle and that there was a way to combine them in such way that you would get really good signals, however it was way too noisy.
While it could avoid major dumps that were not avoided by most indicators, it would lose that edge because of being too noisy.
After testing out many conditions, combinations & more, the best working one was this one:
WMA > KEWMA = long
WMA < KEWMA = short
I will explain this later, but this gave fast signals, and while it still was noisy it was better then before.
To smooth it out, I started testing price filters => Gaussian Filter and many more were tested out, but they either slowed it down to the point it was no longer of much use, or did not smooth it at all.
After testing the Kalman filter on this thing, I was shocked.
It was just right and made the indicator a lot better, smoothed it and kept most of the responsivness it had.
Now to the big question: "How is it calculated?"
Now first it needs to calculate the Kalman source, which smooths the source which will be used.
After that, we calculate the Weighted Moving Average for " n " period on the Kalman source.
Now that we have our WMA values, we need to calculate " a ".
a is calculated in the following formula:
 a  = 2/(1+ n )
where  n  is the user defined length
Now for the last part:
KEWMA = WMAyesterday * (1-a) + WMAtoday * a
This creates a very accurate and reactive indicator, that can prove useful in many uses, beyond those I will and did talk about.
For the trend logic as mentioned before:
Long = WMA > KEWMA
Short = WMA < KEWMA
This worked best, but you might find better ways of using it.
I think that is all I have to say about it, I left it open source so you can all code it in your strategies and play around with it.
Enjoy Gs!
3D Candles (Zeiierman)█  Overview 
 3D Candles (Zeiierman)  is a unique 3D take on classic candlesticks, offering a fresh, high-clarity way to visualize price action directly on your chart. Visualizing price in alternative ways can help traders interpret the same data differently and potentially gain a new perspective.
  
█  How It Works 
⚪  3D Body Construction 
For each bar, the script computes the candle body (open/close bounds), then projects a top face offset by a depth amount. The depth is proportional to that candle’s high–low range, so it looks consistent across symbols with different prices/precisions.
 rng      = math.max(1e-10, high  - low )   // candle range
depthMag = rng * depthPct * factorMag          // % of range, shaped by tilt amount
depth    = depthMag * factorSign                // direction from dev (up/down) 
 
 depthPct →  how “thick” the 3D effect is, as a % of each candle’s own range.
 factorMag →  scales the effect based on your tilt input (dev), with a smooth curve so small tilts still show.
 factorSign →  applies the direction of the tilt (up or down).
 
⚪  Tilt & Perspective 
Tilt is controlled by dev and translated into a gentle perspective factor:
 slope      = (4.0 * math.abs(dev)) / width
factorMag  = math.pow(math.min(1.0, slope), 0.5)  // sqrt softens response
factorSign = dev == 0 ? 0.0 : math.sign(dev)      // direction (up/down) 
 
 Larger dev →  stronger 3D presence (up to a cap).
 The square-root curve makes small dev values noticeable without overdoing it.
 
█  How to Use 
Traders can use 3D Candles just like regular candlesticks. The difference is the 3D visualization, which can broaden your view and help you notice price behavior from a fresh perspective.
⚪  Quick setup (dual-view): 
 
 Split your TradingView layout  into two synchronized charts.
 Right pane:  keep your standard candlestick or bar chart for live execution.
 Left pane:  add 3D Candles (Zeiierman) to compare the same symbol/timeframe.
 
 Observe differences:  the 3D rendering can make expansion/contraction and body emphasis easier to spot at a glance.
   
█  Go Full 3D 
Take the experience further by pairing 3D Candles (Zeiierman) with  Volume Profile 3D (Zeiierman) , a perfect complement that shows where activity is concentrated, while your 3D candles show how the price unfolded.
  
█  Settings 
 
 Candles —  How many 3D candles to draw. Higher values draw more shapes and may impact performance on slower machines.
 Block Width (bars) —  Visual thickness of each 3D candle along the x-axis. Larger values look chunkier but can overlap more.
 Up/Down —  Controls the tilt and strength of the 3D top face.
 3D depth (% of range) —  Thickness of the 3D effect as a percentage of each candle’s own high–low range. Larger values exaggerate the depth.
 
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
RSI Divergence Screener [Pineify]RSI Divergence Screener  
 Key Features 
 
 Multi-symbol and multi-timeframe support for advanced market screening.
 Real-time detection and visualization of bullish and bearish RSI divergences.
 Seamless integration with core technical indicators and custom divergences.
 Highly customizable parameters for precise adaptation to personal trading strategies.
 Comprehensive screener table for swift asset comparison and analysis.
 
 How It Works 
 The RSI Divergence Screener leverages the power of Relative Strength Index (RSI) to systematically track momentum shifts across cryptocurrencies and their respective timeframes. By monitoring both fast and slow RSI calculations, the screener isolates divergence signals—key reversal points that often precede major price moves. 
 
 The indicator calculates two RSI values for each selected asset: one with a short lookback (Fast RSI) and another with a longer period (Slow RSI).
 It runs a comparative algorithm to find divergences—whenever Fast RSI deviates significantly from Slow RSI, it flags the signal as bullish or bearish.
 All detected divergences are dynamically presented in a table view, allowing traders to scan symbols and timeframes for optimal trading setups.
 
 Trading Ideas and Insights 
 
 Spot early momentum reversals and preempt major price swings via divergence signals.
 Combine multiple symbols and timeframes for cross-market trending opportunities.
 Identify high-probability scalping and swing trading setups informed by RSI divergence logic.
 Quickly compare crypto asset strength and trend exhaustion across short and long-term horizons.
 
 How Multiple Indicators Work Together 
 This screener’s edge lies in its synergistic use of multi-setting RSI calculations and customizable input groups. 
 
 The dual-RSI approach (Fast vs. Slow) isolates subtle trend shifts missed by traditional single-period RSI.
 Safe and reliable divergences arise only when the mathematical difference between Fast RSI and Slow RSI meets predefined thresholds, minimizing false positives.
 Divergences are contextualized using tailored color codes and backgrounds, rendering insights immediately actionable.
 You can expand analysis with additional moving average filters or overlays for further confirmation.
 
 Unique Aspects 
 
 First-of-its-kind screener dedicated solely to RSI divergence, designed especially for crypto volatility.
 Efficient screening of up to eight assets and multiple timeframes in one compact dashboard.
 Intuitive iconography, color logic, and table layouts optimized for rapid decision-making.
 Advanced input group design for fine-tuning indicator settings per symbol, timeframe, and source.
 
 How to Use 
 
 Select up to eight cryptocurrency symbols to screen for divergence signals.
 Assign individual timeframes and source prices for each asset to customize analysis.
 Set Fast RSI and Slow RSI lengths according to your preferred strategy (e.g., scalping, swing, or trend following).
 Review the screener table: colored cells highlight actionable bullish (green) and bearish (red) divergences.
 Confirm trade setups with additional indicators or price action for robust risk management.
 
 Customization 
 
 Symbols: Choose any crypto pair or ticker for dynamic divergence tracking.
 Timeframes: Scan across 1m, 5m, 10m, 30m, and more for full market coverage.
 RSI lengths: Configure Fast and Slow RSI periods based on volatility and trading style.
 Visuals: Tailor table colors, fonts, and alert backgrounds per your preference.
 
 Conclusion 
 The RSI Divergence Screener is a versatile, original TradingView indicator that empowers traders to scan, compare, and act on divergence signals with speed and precision. Its multi-symbol design, robust logic, and extensive customization options set a new standard for market screening tools. Integrate it into your crypto trading process to capture actionable opportunities ahead of the crowd and optimize your technical analysis workflow. 
ICT Anchored Market Structures with Validation [LuxAlgo]The  ICT Anchored Market Structures with Validation  indicator is an advanced iteration of the original  Pure-Price-Action-Structures  tool, designed for price action traders. 
It systematically tracks and validates key price action structures, distinguishing between true structural shifts/breaks and short-term sweeps to enhance trend and reversal analysis. The indicator automatically highlights structural points, confirms breakouts, identifies sweeps, and provides clear visual cues for short-term, intermediate-term, and long-term market structures.
A distinctive feature of this indicator is its exclusive reliance on price patterns. It does not depend on any user-defined input, ensuring that its analysis remains robust, objective, and uninfluenced by user bias, making it an effective tool for understanding market dynamics.
🔶  USAGE 
  
Market structure is a cornerstone of price action analysis. This script automatically detects real-time market structures across short-term, intermediate-term, and long-term levels, simplifying trend analysis for traders. It assists in identifying both trend reversals and continuations with greater clarity.
  
Market structure shifts and breaks help traders identify changes in trend direction. A shift signals a potential reversal, often occurring when a swing high or low is breached, suggesting a transition in trend. A break, on the other hand, confirms the continuation of an established trend, reinforcing the current direction. Recognizing these shifts and breaks allows traders to anticipate price movement with greater accuracy.
  
It’s important to note that while a CHoCH may signal a potential trend reversal and a BoS suggests a continuation of the prevailing trend, neither guarantees a complete reversal or continuation. In some cases, CHoCH and BoS levels may act as liquidity zones or areas of consolidation rather than indicating a clear shift or continuation in market direction. The indicator’s validation component helps confirm whether the detected CHoCH and BoS are true breakouts or merely liquidity sweeps.
  
🔶  DETAILS 
🔹  Market Structures 
Market structures are derived from price action analysis, focusing on identifying key levels and patterns in the market. Swing point detection, a fundamental concept in ICT trading methodologies and teachings, plays a central role in this approach.
  
Swing points are automatically identified based exclusively on market movements, without requiring any user-defined input.
🔹  Utilizing Swing Points 
Swing points are not identified in real-time as they form. Short-term swing points may appear with a delay of up to one bar, while the identification of intermediate and long-term swing points is entirely dependent on subsequent market movements. Importantly, this detection process is not influenced by any user-defined input, relying solely on pure price action. As a result, swing points are generally not intended for real-time trading scenarios.
Instead, traders often analyze historical swing points to understand market trends and identify potential entry and exit opportunities. By examining swing highs and lows, traders can:
 
 Recognize Trends:  Swing highs and lows provide insight into trend direction. Higher swing highs and higher swing lows signify an uptrend, while lower swing highs and lower swing lows indicate a downtrend.
 Identify Support and Resistance Levels:  Swing highs often act as resistance levels, referred to as Buyside Liquidity Levels in ICT terminology, while swing lows function as support levels, also known as Sellside Liquidity Levels. Traders can leverage these levels to plan their trade entries and exits.
 Spot Reversal Patterns:  Swing points can form key reversal patterns, such as double tops or bottoms, head and shoulders, and triangles. Recognizing these patterns can indicate potential trend reversals, enabling traders to adjust their strategies effectively.
 Set Stop Loss and Take Profit Levels:  In ICT teachings, swing levels represent price points with expected clusters of buy or sell orders. Traders can target these liquidity levels/pools for position accumulation or distribution, using swing points to define stop loss and take profit levels in their trades.
 
Overall, swing points provide valuable information about market dynamics and can assist traders in making more informed trading decisions.
🔹  Logic of Validation 
The validation process in this script determines whether a detected market structure shift or break represents a confirmed breakout or a sweep.
The breakout is confirmed when the close price is significantly outside the deviation range of the last detected structural price. This deviation range is defined by the 17-period Average True Range (ATR), which creates a buffer around the detected market structure shift or break.
A sweep occurs when the price breaches the structural level within the deviation range but does not confirm a breakout. In this case, the label is updated to 'SWEEP.'
A visual box is created to represent the price range where the breakout or sweep occurs. If the validation process continues, the box is updated. This box visually highlights the price range involved in a sweep, helping traders identify liquidity events on the chart.
  
 🔶 SETTINGS 
The settings for Short-Term, Intermediate-Term, and Long-Term Structures are organized into groups, allowing users to customize swing points, market structures, and visual styles for each.
🔹  Structures 
 
 Swings and Size:  Enables or disables the display of swing highs and lows, assigns icons to represent the structures, and adjusts the size of the icons.
 Market Structures:  Toggles the visibility of market structure lines.
 Market Structure Validation:  Enable or disable validation to distinguish true breakouts from liquidity sweeps.
 Market Structure Labels:  Displays or hides labels indicating the type of market structure.
 Line Style and Width:  Allows customization of the style and width of the lines representing market structures.
 Swing and Line Colors:  Provides options to adjust the colors of swing icons, market structure lines, and labels for better visualization.
 
🔶  RELATED SCRIPTS 
 
 Pure-Price-Action-Structures. 
 Market-Structures-(Intrabar). 
Crash Survival Indicator (SPX, Weekly/Daily)Short description 
SPX-focused risk context tool using 30WMA/ATR/ADX and distance to 30WMA, with optional Hindenburg-Omen breadth and macro add-ons. Weekly is primary; Daily provides early-warning. Educational only.
 Full description (English first) 
What it is
Crash Survival Indicator (CSI) is a rules-based risk context indicator for the S&P 500 index (SPX). It helps keep decisions data-driven during stress by combining four weekly conditions into a weighted risk score and presenting them in a readable dashboard. Optional breadth (Hindenburg Omen cluster proxy) and macro add-ons give additional context. This is not a buy/sell system.
 Why it’s original and useful 
Weekly core with confirmation: Four classic conditions (30WMA regime, ATR(14) trend, ADX(14) > 20 & rising, and % distance from 30WMA) feed a 0–100 score. A 2-of-3 gate (WMA down / ATR up / ADX>20↑) must confirm before “Danger,” reducing false spikes.
Daily Early-Warning: A separate daily preview flags conditions approaching the Danger threshold (with a streak filter). It’s a heads-up only, not a timeframe switch.
Scope control to avoid confusion: Signals (labels/alerts) are restricted to SPX on Weekly/Daily by design. The dashboard can be shown SPX-only or on all symbols (configurable).
Clarity for all users: Beginner card view (plain badges) and Pro table view (detailed chips) improve readability without hiding logic.
How it works (mechanics)
Weekly core (primary frame)
30WMA regime: price vs 30-week WMA; IN/OUT labels on crosses.
ATR(14): rising ATR counts as volatility stress.
ADX(14): risk weight when ADX > 20 and rising.
Distance to 30WMA: % deviation flags potential overheat.
Scoring & thresholds: Weighted sum → Caution ≥ 40, Danger ≥ 60 (defaults). Danger also requires the 2-of-3 gate above.
Daily Early-Warning: Uses daily versions of the same ideas to detect near-Danger conditions with a streak requirement (heads-up only).
Optional breadth (Hindenburg Omen proxy): Elevated new highs and new lows while the NYSE Composite is above its 50DMA, with deteriorating breadth momentum; requires cluster confirmation to reduce noise.
Optional macro add-ons: VIX regime, DXY strength, credit stress (HYG/LQD vs MA), and TNX trend each add adjustable weights.
 Inputs (overview) 
Scope & Mode: SPX primary/alt tickers; signal restriction to SPX + Weekly/Daily; dashboard visibility (SPX-only vs all symbols); Beginner or Pro display.
Label Policy: Weekly-only / Weekly-core + Daily-early (default) / All (W/D); lookback windows and minimum bar gaps to prevent clutter.
Scoring: Weights for 30WMA down, ATR up, ADX>20↑, Overheat; Caution/Danger thresholds; Overheat % (distance).
Hindenburg Omen (optional): NYSE Composite and High/Low/AD series; cluster requirement.
Macro add-ons (optional): Symbols + weights for VIX, DXY, HYG, LQD, TNX.
Early Warning (Daily): Near-Danger buffer and streak length.
Visuals & Alerts: Background shading, labels on/off, font size, dashboard position, runtime 
 alerts. 
Alerts (contextual; not trade signals)
OUT — 30WMA Down Break (Weekly)
IN — 30WMA Reclaim (Weekly)
Risk ≥ Danger + 2-of-3 Gate
Hindenburg Omen Cluster detected
Early Warning (Daily near Danger, streak)
Alerts provide context only. They are not buy/sell instructions.
 Intended use and limitations 
Use the Weekly panel for decisions; treat Daily Early-Warning as a heads-up.
Best used as risk framing alongside your own process (position sizing, liquidity, event risk).
Breadth/macro inputs depend on your data source; if unavailable, keep add-ons off.
No forward-looking data or lookahead; designed to avoid repainting.
 Disclaimer 
For educational purposes only. Not financial advice, not an investment recommendation, and not a solicitation to buy or sell any security. Past performance does not guarantee future results. Users are solely responsible for their decisions and regulatory compliance.
 Optional Korean addendum (append after English) 
한국어 안내 요약: 본 지표는 위기 상황에서 감정보다 데이터를 우선할 수 있도록 리스크 맥락을 제공합니다. 주봉이 핵심, 일봉은 조기경보(Heads-up)이며, 매수/매도 신호가 아닙니다. 심프님의 프로토타입 철학을 살리되 SPX 한정 신호, 라벨/알림 정책, 선택형 오멘/매크로 기능, 초보/프로 대시보드 등 가독성을 개선했습니다. 투자 판단과 책임은 전적으로 사용자에게 있습니다.
 Privacy & format 
Visibility: Public
Source: Protected (no source disclosure), compliant with Publishing Rules
Language: English title & description first; Korean addendum optional
Screenshot guidance (for your gallery)
Weekly SPX showing dashboard at “Danger” with an OUT label.
Weekly SPX with Hindenburg Omen Cluster label and shaded background.
Daily SPX with Early-Warning label as weekly approaches Danger.
Beginner vs Pro dashboard comparison on SPX.
 Author certification (paste if needed) 
I certify this publication contains no promotions, links, or solicitations, complies with TradingView House Rules and Script Publishing Rules, uses Pine v5, and is intended solely for educational purposes with no performance claims.
Lorentzian Harmonic Flow - Temporal Market Dynamic Lorentzian Harmonic Flow - Temporal Market Dynamic  (⚡LHF) 
By: DskyzInvestments
 What this is 
 LHF Pro  is a research‑grade analytical instrument that models  market time as a compressible medium , extracts  directional flow in curved time  using heavy‑tailed kernels, and consults a  history‑based memory bank  for context before synthesizing a final, bounded  probabilistic score . It is  not  a mashup; each subsystem is mathematically coupled to a single clock (time dilation via gamma) and a single lens (Lorentzian heavy‑tailed weighting). This script is  dense in logic  (and therefore heavy) because it prioritizes rigor, interpretability, and visual clarity.
 Intended use 
 Education and research.  This tool expresses state recognition and regime context—not guarantees. It does not place orders. It is fully functional as published and contains no placeholders. Nothing herein is financial advice.
 Why this is original and useful 
 Curved time:  Markets do not move at a constant pace. LHF Pro computes a Lorentz‑style  gamma (γ)  from relative speed so its analytical windows contract when the tape accelerates and relax when it slows.
 Heavy‑tailed lens:  Lorentzian kernels weight information with fat tails to respect rare but consequential extremes (unlike Gaussian decay).
 Memory of regimes:  A K‑nearest‑neighbors engine works in a multi‑feature space using Lorentz kernels per dimension and  exponential age fade , returning a  memory bias  (directional expectation) and  assurance  (confidence mass).
 One ecosystem:  Squeeze, TCI, flow, acceleration, and memory live on the same clock and blend into a single  final_score —visualized and documented on the dashboard.
 Cognitive map:  A 2D heat map projects memory resonance by age and flow regime, making “where the past is speaking” visible.
 Shadow portfolio metaphor:  Neighbor outcomes act like tiny hypothetical positions whose weighted average forms an  educational pressure gauge  (no execution, purely didactic).
 Mathematical framework (full transparency) 
 1) Returns, volatility, and speed‑of‑market 
 Log return:  rₜ = ln(closeₜ / closeₜ₋₁)
 Realized vol:  rv = stdev(r, vol_len);  vol‑of‑vol:  burst = |rv − rv |
 Speed‑of‑market (analog to c):  c = c_multiplier × (EMA(rv) + 0.5 × EMA(burst) + ε)
 2) Trend velocity and Lorentz gamma (time dilation) 
 Trend velocity:  v = |close − close | / (vel_len × ATR)
 Relative speed:  v_rel = v / c
 Gamma:  γ = 1 / √(1 − v_rel²), stabilized by caps (e.g., ≤10)
Interpretation:  γ > 1  compresses market time → use shorter effective windows.
 3) Adaptive temporal scale 
 Adaptive length:  L = base_len / γ^power (bounded for safety)
 Harmonic horizons:  Lₛ = L × short_ratio, Lₘ = L × mid_ratio, Lₗ = L × long_ratio
 4) Lorentzian smoothing and Harmonic Flow 
 Kernel weight per lag i:  wᵢ = 1 / (1 + (d/γ)²), d = i/L
 Horizon baselines:  lw_h = Σ wᵢ·price  / Σ wᵢ
 Z‑deviation:  z_h = (close − lw_h)/ATR
 Harmonic Flow (HFL):  HFL = (w_short·zₛ + w_mid·zₘ + w_long·zₗ) / (w_short + w_mid + w_long)
 5) Flow kinematics 
 Velocity:  HFL_vel = HFL − HFL 
 Acceleration (curvature):  HFL_acc = HFL − 2·HFL  + HFL 
 6) Squeeze and temporal compression 
 Bollinger width  vs  Keltner width  using L
 Squeeze:  BB_width < KC_width × squeeze_mult
 Temporal Compression Index:  TCI = base_len / L; TCI > 1 ⇒ compressed time
 7) Entropy (regime complexity) 
Shannon‑inspired proxy on |log returns| with numerical safeguards and smoothing. Higher entropy → more chaotic regime.
 8) Memory bank and Lorentzian k‑NN 
 Feature vector (5D):   
 Outcomes stored:  forward returns at H5, H13, H34
 Per‑dimension similarity:  k(Δ) = 1 / (1 + Δ²), weighted by user’s feature weights
 Age fading:  weight_age = mem_fade^age_bars
 Neighbor score:  sᵢ = similarityᵢ × weight_ageᵢ
 Memory bias:  mem_bias = Σ sᵢ·outcomeᵢ / Σ sᵢ
 Assurance:  mem_assurance = Σ sᵢ (confidence mass)
 Normalization:  mem_bias normalized by ATR and clamped into   band
 Shadow portfolio metaphor:  neighbors behave like micro‑positions; their weighted net forward return becomes a continuous, adaptive expectation.
 9) Blended score and breakout proxy 
 Blend factor:  α_mem = 0.45 + 0.15 × (γ − 1)
 Final score:  final_score = (1−α_mem)·tanh(HFL / (flow_thr·1.5)) + α_mem·tanh(mem_bias_norm)
 Breakout probability (bounded):  energy = cap(TCI−1) + |HFL_acc|×k + cap(γ−1)×k + cap(mem_assurance)×k; breakout_prob = sigmoid(energy). Caps avoid runaway “100%” readings.
 Inputs — every control, purpose, mechanics, and tuning 
 🔮 Lorentz Core 
 Auto‑Adapt (Vol/Entropy):  On = L responds to γ and entropy (breathes with regime), Off = static testing.
 Base Length:  Calm‑market anchor horizon. Lower (21–28) for fast tapes; higher (55–89+) for slow.
 Velocity Window (vel_len):  Bars used in v. Shorter = more reactive γ; longer = steadier.
 Volatility Window (vol_len):  Bars used for rv/burst (c). Shorter = more sensitive c.
 Speed‑of‑Market Multiplier (c_multiplier):  Raises/lowers c. Lower values → easier γ spikes (more adaptation). Aim for strong trends to peak around γ ≈ 2–4.
 Gamma Compression Power:  Exponent of γ in L. <1 softens; >1 amplifies adaptation swings.
 Max Kernel Span:  Upper bound on smoothing loop (quality vs CPU).
 🎼 Harmonic Flow 
 Short/Mid/Long Horizon Ratios:  Partition L into fast/medium/slow views. Smaller short_ratio → faster reaction; larger long_ratio → sturdier bias.
 Weights (w_short/w_mid/w_long):  Governs HFL blend. Higher w_short → nimble; higher w_long → stable.
 📈 Signals 
 Squeeze Strictness:  Threshold for BB1 = compressed (coiled spring); <1 = dilated.
 v/c:  Relative speed; near 1 denotes extreme pacing. Diagnostic only.
 Entropy:  Regime complexity; high entropy suggests caution, smaller size, or waiting for order to return.
 HFL:  Curved‑time directional flow; sign and magnitude are the instantaneous bias.
 HFL_acc:  Curvature; spikes often accompany regime ignition post‑squeeze.
 Mem Bias:  Directional expectation from historical analogs (ATR‑normalized, bounded). Aligns or conflicts with HFL.
 Assurance:  Confidence mass from neighbors; higher → more reliable memory bias.
 Squeeze:  ON/RELEASE/OFF from BB
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?” 
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish. 
  
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments. 
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
   
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:” 
  
 TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our  Overview  for more. 
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at  www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on  www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit  www.TradeStation.com  for further important information explaining what this means.
Tweezer & Kangaroo Zones [WavesUnchained]Tweezer & Kangaroo Zones 
  Pattern Recognition with Supply/Demand Zones 
Indicator that detects tweezer and kangaroo tail (pin bar) reversal patterns and creates supply and demand zones. Includes volume validation, trend context, and confluence scoring.
  What You See on Your Chart 
 Pattern Labels: 
 
   "T" (Red)  - Tweezer Top detected above price → Bearish reversal signal
   "T" (Green)  - Tweezer Bottom detected below price → Bullish reversal signal
   "K" (Red)  - Kangaroo Bear (Pin Bar rejection from top) → Bearish signal
   "K" (Green)  - Kangaroo Bull (Pin Bar rejection from bottom) → Bullish signal
 
 Label Colors Indicate Pattern Strength: 
 
 Dark Green/Red  - Strong pattern (score ≥8.0)
 Medium Green/Red  - Good pattern (score ≥6.0)
 Light Green/Red  - Valid pattern (score <6.0)
 
 Zone Boxes: 
 
   Red Boxes  - Supply Zones (resistance, potential short areas)
   Green Boxes  - Demand Zones (support, potential long areas)
   White Border  - Active zone (fresh, not tested yet)
   Gray Border  - Inactive zone (expired or invalidated)
 
  Pattern Detection 
 Tweezer Patterns (Classic Double-Top/Bottom): 
 
   Flexible Lookback  - Detects patterns up to 3 bars apart (not just consecutive)
   Precision Matching  - 0.2% level tolerance for high-quality signals
   Wick Similarity Check  - Both candles must show similar rejection wicks
   Volume Validation  - Second candle requires elevated volume (0.8x average)
   Pattern Strength Score  - 0-1 quality rating based on level match + wick similarity
   Optional Trend Context  - Can require trend alignment (default: OFF for more signals)
 
 Kangaroo Tail / Pin Bar Patterns: 
 
   No Pivot Delay  - Instant detection without waiting for pivot confirmation
   Body Position Check  - Body must be at candle extremes (30% tolerance)
   Volume Spike  - Rejection must occur with volume (0.9x average)
   Rejection Strength  - Scores based on wick length (0.5-0.9 of range)
   Optional Trend Context  - Bearish in uptrends, Bullish in downtrends (default: OFF)
 
  Zone Management 
 
   Auto-Created Zones  - Every valid pattern creates a supply/demand zone
   Overlap Prevention  - Zones too close together (50% overlap) are not duplicated
   Lifetime Control  - Zones expire after 400 bars (configurable)
   Smart Invalidation  - Zones invalidate when price closes through them
   Styling Options  - Choose between Solid, Dashed, or Dotted borders
   Border Width  - 2px width for better visibility
 
  Confluence Scoring System 
Multi-factor confluence scoring (0-10 scale) with configurable weights:
 
   Regime (EMA+HTF)  - Trend alignment across timeframes (Weight: 2.0)
   HTF Stack  - Multi-timeframe trend confluence (Weight: 3.0)
   Structure  - Higher lows / Lower highs confirmation (Weight: 1.0)
   Relative Volume  - Volume surge validation (Weight: 1.0)
   Chop Advantage  - Favorable market conditions (Weight: 1.0)
   Zone Thinness  - Tight zones = better R/R (Weight: 1.0)
   Supertrend  - Trend indicator alignment (Weight: 1.0)
   MOST  - Moving Stop alignment (Weight: 1.0)
   Pattern Strength  - Quality of detected pattern (Weight: 1.5)
 
  Zone Retest Signals 
Signals generated when zones are retested:
 
   BUY Signal  - Price retests demand zone from above (score ≥4.5)
   SELL Signal  - Price retests supply zone from below (score ≥5.5)
   Normalized Score  - Displayed as 0-10 for easy interpretation
   Optional Trend Gate  - Require trend alignment for signals (default: OFF)
   Alert Ready  - Built-in alertconditions for automation
 
  Additional Features 
 
   Auto-Threshold Tuning  - Adapts to ATR and Choppiness automatically
   Session Profiles  - Different settings for RTH vs ETH sessions
   Organized Settings  - 15+ input groups for easy configuration
   Optional Panels  - HTF Stack overview and performance metrics (default: OFF)
   Data Exports  - Hidden plots for strategy/library integration
   RTA Health Monitoring  - Built-in performance tracking
 
  Setup & Configuration 
 Quick Start: 
 
 1. Apply indicator to any timeframe
 2. Patterns and zones appear automatically
 3. Adjust pattern detection sensitivity if needed
 4. Configure zone styling (Solid/Dashed/Dotted)
 5. Set up alerts for zone retests
 
 Key Settings to Adjust: 
 Pattern Detection: 
• Min RelVolume: Lower = more signals (0.8 Tweezer, 0.9 Kangaroo)
• Require trend context: Enable for stricter, higher-quality patterns
• Check wick similarity: Ensures proper rejection structure
 Zone Management: 
• Zone lifetime: How long zones remain active (default: 400 bars)
• Invalidate on close-through: Remove zones when price breaks through
• Max overlap: Prevent duplicate zones (default: 50%)
 Scoring: 
• Min Score BUY/SELL: Higher = fewer but better signals (default: 4.5/5.5)
• Component weights: Customize what factors matter most
• Signals require trend gate: OFF = more signals, ON = higher quality
  Visual Customization 
 
   Zone Colors  - Light red/green with 85% transparency (non-intrusive)
   Border Styles  - Solid, Dashed, or Dotted
   Label Intensity  - Darker greens for better readability
   Clean Charts  - All panels OFF by default
 
  Understanding the Zones 
 Supply Zones (Red): 
Created from bearish patterns (Tweezer Tops, Kangaroo Bears). Price made a high attempt to push higher, but was rejected. These become resistance areas where sellers may step in again.
 Demand Zones (Green): 
Created from bullish patterns (Tweezer Bottoms, Kangaroo Bulls). Price made a low with strong rejection. These become support areas where buyers may step in again.
 Zone Quality Indicators: 
• White border = Fresh zone, not tested yet
• Gray border = Zone expired or invalidated
• Thin zones (tight range) = Better risk/reward ratio
• Thick zones = Less precise, wider stop required
  Trading Applications 
 
 Reversal Trading  - Enter at pattern detection with tight stops
 Zone Retest Trading  - Wait for retests of established zones
 Trend Confluence  - Trade only when patterns align with trend
 Risk Management  - Use zone boundaries for stop placement
 Target Setting  - Opposite zones become profit targets
 
  Pro Tips 
 
  Best signals occur when pattern + zone retest + trend all align
  Lower timeframes = more signals but more noise
  Higher timeframes = fewer but more reliable signals
  Start with default settings, adjust based on your market
  Combine with other analysis (structure, key levels, etc.)
  Use alerts to avoid staring at charts all day
 
 Important Notes 
 
 Not all patterns will lead to successful trades
 Use proper risk management and position sizing
 Patterns work best in trending or range-bound markets
 Very choppy conditions may produce lower-quality signals
 Always confirm with your own analysis before trading
 
  Technical Specifications 
• Pine Script v6
• RTA-Core integration
• RTA Core Library integration
• Maximum 200 boxes, 500 labels
• Auto-tuning based on ATR and Choppiness
• Session-aware threshold adjustments
• Memory-optimized zone management
  What's Included 
 
  Tweezer Top/Bottom detection
  Kangaroo Tail / Pin Bar detection
  Automatic supply/demand zone creation
  Volume validation system
  Pattern strength scoring
  Zone retest signals
  Multi-factor confluence scoring
  Optional HTF Stack panel
  Optional performance metrics
  Session profile support
  Auto-threshold tuning
  Alert conditions
  Data exports for strategies
 
 Author  Waves Unchained  
 Version  1.0
 Status  Public Indicator
 Summary 
Reversal pattern detection with zone management, volume validation, and confluence scoring for tweezer and kangaroo tail patterns.
---
 Disclaimer: This indicator is for educational and informational purposes only. Trading involves risk. Past performance does not guarantee future results. Always practice proper risk management.
Volume Profile Two-Tone - Hit Counter - Meter V1 Volume Profile Two-Tone - Hit Counter - Meter V1 
 Overview 
The Volume Profile Two-Tone - Hit Counter - Meter V1 is a Pine Script v6 indicator for TradingView, designed to visualize buy and sell activity distribution across price levels within a user-defined window or intraday session. It plots a dual-color horizontal histogram showing buying (green) and selling (red) volume intensity, along with optional hit-count numbers and meter overlays. The profile dynamically updates as new bars form, providing an intuitive picture of where market participants are most active.
The enhanced V1 edition introduces persistent hit counts, real-time adaptive row rebuilding, and improved memory management for smoother performance in both rolling-window and session modes.
 
 How It Works 
The indicator divides the selected range into rows (price bins) and aggregates trade volume (or tick volume) per bar.
Each bin separately sums up bullish and bearish contributions based on candle direction and delta logic, then draws side-by-side histogram bars:
•  Buy Volume (green):  Total volume from bullish bars within the bin.
•  Sell Volume (red):  Total volume from bearish bars within the bin.
A rolling or session-based window determines how many recent bars are analyzed. Value Area (VA), Point of Control (POC), and total hits per bin are computed continuously. The display auto-adjusts as price moves, keeping the profile anchored to the latest visible bars.
Behind the scenes, optimized arrays manage active boxes, lines, and labels for each bin. Functions like ensure_rows() rebuild buffers only when necessary, guaranteeing efficiency without repainting past data. Persistent hit-tracking ensures each price level maintains its count even when temporarily hidden.
 
 Key Features 
•  Dual-Tone Volume Histogram:  Buy/sell split with distinct colors for immediate visual contrast.
•  Rolling or Session Profiles:  Choose between continuous rolling windows or intraday session resets.
•  Persistent Hit Counts:  Displays total touches per bin, remaining stored even when bins refresh.
•  Adaptive Row Management:  Automatic rebuilding when zooming, scrolling, or changing resolution.
•  Value Area + POC Detection:  Highlights the most active price levels and volume concentration zones.
•  Meter Overlay Option:  Adds gradient bars or directional meters for quick trend context.
•  Performance Optimized:  Uses lightweight arrays and cached line handles for minimal CPU load.
•  Custom Color Control:  Editable buy/sell colors, opacity, row count, and profile width.
•  Full Persistence Mode:  Profiles remain visually consistent across bar updates without redraw gaps.
 
 What It Displays 
The Volume Profile Two-Tone - Hit Counter - Meter V1 presents an adaptive horizontal histogram beside the chart’s candles, revealing how volume is distributed across price.
• Green segments show dominant buying interest; red segments reveal selling pressure.
• POC line identifies the highest-volume price.
• Hit-count numbers quantify how often price traded at each level.
• Optional meters display relative directional strength within the same range.
This visual layering helps traders quickly identify supply/demand zones, balance areas, and developing auction profiles across intraday or multi-session contexts.
Originality
The Pine Script v6 indicator uses efficient array management (array.new_*, array.set, array.get) and native math operations for rendering.
It avoids external dependencies, relying only on built-in TradingView functions like request.security, box.new, line.new, and label.new for dynamic plotting.
 Common Ways People Use It 
•  Scalpers:  Study short-term imbalances or high-activity levels to time entries/exits.
•  Day Traders:  Track evolving session volume and POC migration.
•  Swing Analysts:  Compare rolling distributions to identify value shifts over multiple days.
•  Volume Profilers:  Combine with VWAP or order-flow tools for deeper context.
 Configuration Notes 
 
 Profile Mode: Select Rolling Window (bars) or Session (intraday).
 Rows and Width: Default = 72 rows, 44 bars width.
 Colors and Opacity: Adjust to match chart theme.
 Performance Mode: Choose Accurate or Fast (approximate) for speed control.
 Show Hits / Meter: Enable hit-count numbers and gradient meters for added context.
 
 Legal Disclaimer 
For informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves significant risk. Provided “as is,” without warranties. Consult a qualified professional before making decisions. By using, you accept all risks and agree to this disclaimer.
Free Stock ScreenerMissing great trade opportunities is annoying, and unless you have 12 screens or only trade one market, you are missing a lot of trades. To fix that, we created this free stock screener so you get notified instantly of potential great trading conditions in real time, right on your chart.
You get notified of trading benchmarks being met by the value being displayed on the scanner as well as a color change so that it grabs your attention and makes you aware that you should take a look at the other market and look for a potential trade. It also has built in alerts so you can have an alert notification go off when any of your trading conditions are met instead of needing to watch the scanner for color changes.
The screener will change the ticker symbol background color to red green when price is above or below the previous daily range and above or below both VWAPs. This signals that the ticker is trending, which typically means it is a great time to trade that market and follow the trend.
This free stock screener allows you to scan up to 10 different markets at the same time for various different conditions so you always know what is going on with your favorite trading symbols. If you want to scan more tickers, just add the indicator to your chart again and change the table position to the other side of the screen and update the tickers on the 2nd screener, allowing you to have 20 tickers at a time.
The scanner can be fully customized by changing the markets that it screens and turning on or off as many of them as you would like. You can also turn on or off any of the different data sets so that you only get information about trading conditions that matter to you.
The screener can provide data on any type of market, such as stocks, crypto, futures, forex and more. Each ticker can be adjusted to whatever market you would like it to scan for data in the settings panel, the only limitation is that it will not provide data for the VWAP and volume trend score if the ticker you are screening does not provide volume data.
 Screener Features 
The scanner will provide the following types of data for each ticker that is turned on:
 
 Volume  - Provides a volume score compared to the average volume and notifies you of higher than normal volume and volume spikes on individual bars by changing colors.
 Volatility  - Provides a volatility score compared to the average volatility and notifies you of higher than normal volatility by changing colors.
 Oscillator  - Choose between the RSI or CCI. The value of that oscillator will be displayed and will notify you when values are in extreme ranges such as overbought or oversold conditions according to the threshold values you enter in the settings panel. When those thresholds have been breached, you will be notified by it changing color.
 Big Candles  - Compares the current candle to average previous candle sizes, and changes color to notify you of big candles including a big top wick, big bottom wick, big candle body and big candle high to low range.
 Daily Level Touches & Trends  - Calculates and displays various daily candle and intraday open price levels that act as support and resistance. Notifies you when price is touching any of the daily levels that are turned on. The levels you can have on are as follows: previous day high, previous day low or previous day open. It also will notify you when price is touching the current day’s open, NY 930am open, Asia 8pm open, London 2am open and NY midnight 12am open. It will also say “Above” if price is above the previous day’s high or it will say “Below” if price is below the previous day’s low. The color of the cell will also change when a level touch is happening or price is above the previous day high or below the previous day low.
 VWAP  - Choose from 2 different VWAP lengths, default settings are daily and weekly VWAPs. You will get notified if price touches either of the VWAPs and they will also say “Above” or “Below” if price is currently above or below each VWAP.
 
 How To Use The Screener To Help You Trade 
The main purpose of the screener is to scan other markets and notify you of potential good trading opportunities such as price bouncing off of the daily levels or VWAPs. It can also be used to know when price is trending according to the VWAPs and daily levels. Lastly, you can use it to know how the volume and volatility trends are currently which gives you more confidence in taking a trade with this data when volume and volatility are present.
 Volume Score 
When volume is high, this represents a good time to trade because there are many market participants and price is likely to be volatile while there is high volume which can present a lot of good trade setups for you to take. 
The volume score shown on the screener measures the current volume trend compared to previous volume trends and calculates that into a score based on 100 being the same as the previous volume trend. So any value above 100 means it is high volume and any value less than 100 means it is lower volume than normal.
In the settings panel, you can adjust the volume threshold that needs to be met for a volume notification to show up. The default setting is at 120, so you will get notified when the current volume trend score is 120 or higher or you can adjust that threshold value to whatever value you prefer.
It also will notify you when there is a volume spike on the current bar. This is determined by calculating an average of the recent volume totals and then checking to see if the current bar is greater than or equal to that average multiplied by 3. So if a single bar has volume that is greater than 3 times what the average volume is, then you will get a notification that says “Spike” to make you aware of that volume spike.
The volume trend threshold, volume spike multiplier and lookback length for the average volume used in volume spike calculations can all be adjusted in the settings panel to fit your desired preferences.
 Volatility Score 
High volatility can mean it is a great time to trade because the market is moving quickly and providing large enough movements that you can get in and out in a short amount of time, while still accruing decent sized trade PnL. 
The volatility score will calculate the current volatility for each market compared to previous conditions and then divide the current volatility by the average volatility to give you a volatility score. Anything over 100 means the market is decently volatile and you should look at that market to find potential trade setups to execute on. Anything below 100 means the market is not very volatile and it is usually best to just wait until volatility returns before you start trading again.
The screener will notify you when the volatility score is above the threshold you set. The default value is set to 90, but can be adjusted to your preference. Pay attention to any market that shows an alert and take a look at that chart because the high volatility may present a good trade setup for you in the near future.
 Oscillator Score 
The oscillator data can be switched between Relative Strength Index(RSI) and Commodity Channel Index(CCI). 
The RSI provides a value between 0 and 100 that indicates the momentum and strength of the recent price action. Many traders use the extremes of the 0-100 range to signal overbought or oversold conditions and use that as a sign to look for price to reverse in the near future. The typical values used for this and the default settings to provide notifications are: 70 for overbought and 30 for oversold. The scanner will notify you when the RSI value is considered overbought or oversold so you know to take a look at the chart and analyze if it is ready for a trade to be taken.
The CCI provides a value that can be used to determine the trend strength of the underlying asset when the oscillator moves above 100 or below -100. These extreme values are outside of the normal accumulation range and signify that price is moving strongly in that direction so it may be a good time to take a trade in the direction of the trend. The scanner will show you the value of the CCI for each market and notify you if that value is above 100 or below -100.
Both RSI and CCI settings can be adjusted in the settings panel to your desired settings so you have the exact oscillator settings you prefer to use as well as the exact values that you want to use for being notified.
 Big Candles 
Big candles can mean that many traders are buying or selling at the same time and many times indicate a good signal to trade in that same direction. That is why we included this calculation in the screener, so you are always aware when a large candle prints. 
It calculates the average size of the recent candles and then uses that average as the benchmark to determine if the current candle is considered big and worthy of notifying you to take a look at that chart. 
You can adjust the multiplier used for the big candle threshold to whatever you desire, but the default setting is 3 which means the candle will be considered big and notify you if it is 3 times as large as an average candle.
The big candles data will track the following candle values and notify you with these labels:
 
 High to Low candle size = HL
 Candle Body from open to close candle size = OC
 Top Wick size = TW
 Bottom Wick size = BW
 
 Daily Level Touches & Trend 
Daily level touches are excellent levels to watch for price to bounce because they often act as support and resistance levels for intraday trading. The scanner will track each market and notify you when the current candle is touching any of the daily levels that you have turned on in the settings panel.
The main levels that are turned on by default and are useful for all markets and how they will be labeled on the scanner are as follows:
 
 Previous Day High = High
 Previous Day Low = Low
 Previous Day Open = < Open
 Previous Day Close = Close
 Current Day Open = Open
 
We also included some extra levels that are useful for futures traders. They are as follows:
 
 NY 930am Open = 930am
 NY 12am Midnight Open = 12am
 Asia Open at 8pm NY time = Asia
 London Open at 2am NY Time = London
 
Watch how price reacts to these levels and then trade the bounces off of these levels if the price action confirms that it is going to respect that level.
When price is currently above the previous day high, the scanner will say “Above” and show a green color, indicating a bullish trend and that price is above the previous daily candle’s high.
When price is currently below the previous day low, the scanner will say “Below” and show a red color, indicating a bearish trend and that price is below the previous daily candle’s low.
Pay attention to when price is trending above or below the previous daily candle as those trends can provide excellent trend trading opportunities.
The daily levels that you have turned on in the settings will also show as lines on the chart and include a label next to them, identifying each level so you know what each line represents. You can turn on or off all of the lines shown on the chart in the main settings or turn them off one by one in the style panel of the settings. Labels can also be turned on or off for all of the lines in the main settings panel. You can adjust the label positioning in the Label Offset section of the settings panel.
 VWAP Touches & Trend 
VWAP stands for volume weighted average price and is a very popular tool that traders use to determine trend direction based on volume as well as an excellent level to trade price bounces off of.
The typical VWAP time period used is Daily, which means the volume weighted average price will reset at the beginning of a new day. We set the first VWAP to be the daily VWAP by default and the second one to be the weekly VWAP. You can adjust both of the time periods to be any of the provided time lengths that you choose.
The screener will show “Above” with a green background color when price is above the VWAP, indicating a bullish trend. It will show “Below” with a red background color when price is below the VWAP, indicating a bearish trend. When both VWAPs are showing Above or Below, you can expect price to trend in that direction, so look for pullbacks you can trade in the direction of the trend. If the VWAPs are showing different directions, then you should expect to bounce back and forth between the VWAPs, but be careful and watch out for price to break beyond either one and start a trend.
When the current candle is touching the VWAP, the scanner will change colors and say VWAP to notify you that price is touching the VWAP and you should look at that chart and analyze the market for a potential bounce off of the VWAP to trade.
 Trending Market Signals 
Strong trends are excellent markets to trade and can many times provide excellent trading opportunities that don’t require expert price action reading skills to be able to take winning trades from. That is why we included a signal to notify you of a strong trending market. 
The strong trending market will show up as a green or red background color for the ticker name. If the color of the ticker name is green, it is notifying you that the price is above the previous daily high, above VWAP 1 and above VWAP 2 and is a good market to look for bullish trend trades. If the color of the ticker name is red, it is notifying you that the price is below the previous daily low, below VWAP 1 and below VWAP 2 and is a good market to look for bearish trend trades. 
 Changing The Tickers It Scans 
To change the tickers that the indicator scans, scroll near the bottom of the settings panel and select the ticker symbol you want to update and then search for the exact symbol you want to use. If you want to scan less tickers, then just turn some of the tickers off that you don’t need.
 Scanning More Than 10 Tickers 
If you want to scan more than 10 tickers, you can add the scanner to your chart again and then just change the table position to the other side of the screen. This will allow you to scan 10 more tickers that will show up separately. Then if you want even more, just add the indicator to your chart again and update the table position until you have as many markets as you want. The table position setting can be found at the bottom of the main settings panel.
 Alerts 
The screener has alerts that can be used to notify you when any of the data set thresholds have been met or if price is touching one of the levels. You can set alerts for the following events:
 
 Bullish Trend Alert  - Price is above the previous daily high and above both VWAPs.
 Bearish Trend Alert  - Price is below the previous daily low and below both VWAPs.
 High Volume Alert  - Volume is higher than the threshold or a volume spike is detected.
 High Volatility Alert  - Volatility is higher than the threshold.
 Oscillator Is Extended Alert  - Oscillator value has exceeded the upper or lower threshold.
 Big Candle Alert  - A big candle has been detected.
 Daily Level Touch Alert  - One of the daily levels that is turned on is being touched.
 VWAP Touch Alert  - One of the 2 VWAPs are being touched.
 
An alert will trigger when any one of tickers on your scanner meets the alert conditions, so when you see the alert, you will need to go to your chart and look at the scanner to see which ticker it was and then navigate to that chart to look for potential trade setups.
The alerts will use the exact same settings you have configured in the settings panel to send you alert notifications. With normal settings, this could give you a lot of alerts, so if you only want alerts to fire when abnormal conditions are being met, try setting up a second screener on your chart that has very high threshold values and only has the most important level touches on. Then turn the setting "Do Not Show The Screener On The Chart" to off so the calculations will still run and fire alerts, but won't clog up your charts. This way you can only get alert notifications when major events happen but still have your normal screener settings available on your chart.
 Markets This Can Be Used On 
This screener uses the price action and volume data so you can use it to scan any type of market you would like as long as the ticker you are scanning has price and volume data feeds. If a market does not have volume data, then it will just show NaN in the volume row and the VWAP rows will not show anything.
Khosro XAUUSD Strategy [TradingFinder] Trading Room Hunter Setup🔵 Introduction 
The Trading Room Hunter (TRH) strategy is an analytical model based on the Smart Money Concept, developed by Khosro, an Iranian international trader based in Dubai. This approach is built upon a deep understanding of liquidity engineering, market structure shifts, and institutional order flow. Its core objective is to identify the so-called TRH Zone, the area where market liquidity gets trapped and institutional investors begin accumulating positions. Unlike traditional indicator-based methods, the TRH Zone focuses purely on price behavior and supply & demand dynamics to pinpoint the most precise reversal zones in the market.
Within Smart Money logic, every impulsive move in price results from the displacement or absorption of liquidity in a specific range. In the TRH model, the last pivot preceding the impulsive move (Origin Pivot) is defined as the Distal Line, and the Break Candle, which disrupts the market structure, forms the Proximal Line. The area between these two points defines the Trading Room Hunter Zone, a reaction zone where price, after creating a displacement or Break of Structure (BoS), often returns to fill an imbalance and provide a precision entry opportunity.
  
In essence, the TRH Zone is the region where smart money seeks re-entry after a liquidity sweep and a confirmed CHoCH or BoS. It frequently lies between supply/demand boundaries and fair value gaps (FVGs), forming one of the strongest decision-making frameworks within modern price-action theory. Due to its structural accuracy, the TRH setup can also function as a Set & Forget Setup, where the trader defines the zone, places a limit order, and lets the market naturally react, eliminating emotional decision-making and allowing for automated execution aligned with institutional logic.
🔵 How to Use 
In the TRH strategy, entries are taken based on price returning to the area between the last impulsive pivot and the break candle. This range (the TRH Zone) represents the region where liquidity from the previous move remains concentrated. Before continuing its main direction, price often revisits this zone to fill imbalances or mitigate unfilled orders. The logic is simple: every explosive move originates from a point where large orders were executed, and TRH precisely highlights that institutional footprint.
  
🟣 Bullish Setup 
When the market breaks a structural high after a strong bearish leg, liquidity shifts from sellers to buyers. The last bearish candle before the breakout marks the origin of the bullish move, and the zone between that candle and the break candle becomes the smart-money entry area. As price revisits this zone and signs of exhaustion in selling pressure appear, that’s the optimal point for a long position. Stop-loss is placed slightly below the origin pivot, and targets are set at the next supply zone or upper liquidity pool.
  
🟣 Bearish Setup 
Conversely, when the market breaks a structural low after a sharp bullish leg, liquidity transitions from buyers to sellers. The last bullish candle before the drop is identified as the origin pivot, while the bearish break candle defines the lower boundary of the zone. The range between these two points forms the TRH Supply Zone, where late buyers are trapped and fresh institutional selling begins. As price retraces into this zone, short entries can be placed near the upper boundary, with stops above the pivot and targets toward the next liquidity pool below.
  
Because of its structural precision and clearly defined reaction behavior, TRH is one of the most effective Set & Forget setups in Smart Money trading. Simply mark the zone, place your order, and let the market do the rest.
🔵Setting
🟣 Spike Filter | Movement 
 Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
 Movement Power : Enables or disables the momentum-based spike filter.
 Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
 Pivot Period : Defines the lookback range used to detect swing highs and swing lows in market structure. A higher value smooths out smaller fluctuations and focuses on major pivots, while a lower value increases sensitivity and identifies minor turning points more frequently.
🟣 Position Management 
 Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
 Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
 Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
 Wide Zone Filter : Filters out zones that exceed a defined width threshold, preventing detection of overly broad TRH areas.
🟣 Display Settings 
 Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
  
  
 Show Entry Levels : Displays entry levels on the chart (buy/sell zones) when enabled
 Only Display the Last Position : Displays only the most recent position on the chart when enabled.
 Setup Width Drawing : Adjusts the visual width of the setup drawings on the chart for better visibility.
🔵 Conclusion 
The TRH strategy is a precise structural model of liquidity flow that identifies zones where smart money is most likely to enter and where price is most likely to react. By combining the Origin Pivot and Break Candle, TRH isolates the key areas that drive institutional order flow. Without relying on indicators, it focuses purely on price structure, making it highly effective for both reactive entries and Set & Forget setups.
Ultimately, TRH creates a balance between market structure and liquidity flow, enabling traders to identify institutional decision zones on the chart with minimal risk and maximum clarity
ICT Turtle SoupICT Turtle Soup identifies classic “failed breakout” reversals after liquidity sweeps of recent highs/lows, then augments the setup with volume validation, market structure context, Kill Zone (session) filters, Order Blocks (OB), Fair Value Gaps (FVG), OTE (61.8–78.6%) zones, and optional risk targets (SL/TP 1:1, 1:2, 1:3). A compact dashboard summarizes current context (recent high/low, lookbacks, active session, structure state, mitigation counts).
What the Script Does
⦁	Detects Turtle Soup events: Price breaks a prior swing extreme and then quickly reverses back inside the range.
⦁	Grades signal quality: Factors include reversal speed, volume confirmation, breakout magnitude, and consecutive patterns.
⦁	Overlays market context: Trend/range classification (ADX / MA / ATR Bands / Combined), Kill Zones (Asian/London/NY), and time-of-day filters.
⦁	Marks IMB / mitigation zones: Draws Order Blocks and Fair Value Gaps, with optional live mitigation tracking and fading/removal on mitigation.
⦁	Shows OTE zones (61.8–78.6%) after confirmed reversals to highlight potential pullback entries.
⦁	Plots risk management guides: Optional SL buffer below/above reversal wick and TP bands at 1:1, 1:2, 1:3 R multiples.
⦁	Emits alerts on bullish/bearish Turtle Soup confirmations.
How It Works (Conceptual)
1.	Liquidity Sweep & Breakout Check
⦁	Looks back over user-defined windows (single or multiple lookbacks: short/medium/long) to find the most recent swing high/low.
⦁	Flags a breakout when price pierces that swing (above for bearish, below for bullish).
⦁	Optional breakout bar volume check requires volume > avg(volume, N) × multiplier.
⦁	Optional swing age check requires the broken swing to be at least X bars old.
2. Reversal Confirmation
⦁	Within N bars after the sweep, validates a mean-reversion close back inside the prior range with a minimum wick/body ratio to confirm rejection.
⦁	Quality Score adds points for:
⦁	Speed: reversal within fast_reversal_bars;
⦁	Volume: breakout and/or reversal volume spike;
⦁	Series: previous consecutive signals;
⦁	Magnitude: sufficient sweep distance.
⦁	Optional high-quality filter only shows signals meeting a minimum score.
3. Context Filters (Optional)
⦁	Sessions/Kill Zones: Only allow signals in selected sessions (Asian/London/NY) with fully custom HHMM inputs.
⦁	Time Window: Restrict to specific hours (e.g., 08–12).
⦁	Market Structure: Classify Trending vs. Ranging (via ADX, MA separation/slope, ATR bands, or Combined). You can allow signals in trends, ranges, or both.
4. Smart Confluence Layers
⦁	Order Blocks: Finds likely OBs with structural validation (e.g., bearish up-candle prior to down move), imbalance score (body/range × volume factor), and extend-until-touched with mitigation % tracking.
⦁	Fair Value Gaps: Detects valid 3-bar gaps (bull/bear) with size threshold, supports touch / 50% / full mitigation logic, and can fade or remove after mitigation.
⦁	OTE Zones: After a reversal, projects the 61.8–78.6% retracement box from the actual swing range; offset scales to timeframe to avoid clutter.
5. Risk & Display
⦁	SL/TP guides: Optional wick-buffered SL and 1:1/1:2/1:3 TPs.
⦁	Dashboard: Recent high/low, active lookbacks, current session, structure label, and live counts of mitigated OBs/FVGs.
Signals & Visuals
⦁	Bullish Turtle Soup: Triangle up + label (🐢S/M/L/D + star rating).
⦁	Bearish Turtle Soup: Triangle down + label (🐢S/M/L/D + star rating).
⦁	Labels can show: quality stars, FAST/SLOW reversal, reversal & breakout volume tags, previous consecutive count, and last move %.
⦁	Lines/Boxes: OBs, FVGs, OTE zones, SL/TP bands, and optional breakout magnitude line.
Inputs (Key Groups)
⦁	Turtle Soup: Lookbacks (single or S/M/L), reversal bars, wick ratio, magnitude line, reversal speed, volume confirmation (multiplier/length), consecutive tracking.
⦁	Order Blocks: Show/validate structure, lookback, extend-until-touched, mitigation % threshold, colors.
⦁	Fair Value Gaps: Show, min size %, colors, mitigation mode (Touch/50%/Full), optional remove-on-mitigation.
⦁	Kill Zones/Sessions: Enable Asian/London/NY with custom HHMM, colors.
⦁	OTE: Show OTE (61.8–78.6%), color, timeframe-adaptive offsets.
⦁	Signal Filters: Filter by session, time window, market structure method (ADX/MA/ATR/Combined), thresholds (ADX, MA periods, ATR multiplier), trending/ranging allowances, structure label & offset.
⦁	SL/TP: SL buffer %, TP 1:1/1:2/1:3 toggles & colors.
⦁	Breakout Validation: Require breakout-bar volume, min swing age, volume label toggles.
⦁	Alerts: Enable/disable.
⦁	Dashboard: Position, text size, colors, border.
How to Use
1.	Markets & Timeframes: Works on FX, crypto, indices, and futures. Start with M5–H1 for intraday and H1–H4 for swing; refine lookbacks per instrument volatility.
2. Core Flow:
⦁	Enable multiple lookbacks for robustness on mixed volatility.
⦁	Turn on validate_swing_significance to avoid micro sweeps.
⦁	Use validate_breakout_volume + use_volume_confirmation to filter weak pokes.
3. Context Choice:
⦁	In ranging environments, allow both sides; in trends, consider counter-trend only at HTF OB/FVG/OTE confluence.
⦁	Narrow to London/NY for higher activity if desired.
4. Entries/Stops/Targets:
⦁	Entry on confirmed label close or at OTE pullback post-signal.
⦁	SL: below/above reversal wick + sl_buffer%.
⦁	TP: scale at 1:1/1:2/1:3 or manage via OB/FVG/structure breaks.
5. Confluence: Prefer Turtle Soup that aligns with OB/FVG zones and Combined structure method for added reliability.
Alerts
⦁	“Bullish Turtle Soup detected” and “Bearish Turtle Soup detected” fire on confirmation.
⦁	Set to Once Per Bar (as coded) or adjust in the alert dialog per your workflow.
Notes & Tips
⦁	Multiple lookbacks (S/M/L) help capture both shallow and deep liquidity sweeps.
⦁	Use market structure label with offset to keep it readable on the right of price.
⦁	Mitigation tracking visually communicates when OB/FVG confluence is no longer valid.
⦁	Dashboard = fast situational awareness; keep it on during live trading.
Limitations & Disclaimer
⦁	This tool is educational and not financial advice. No profitability or win-rate is implied. Markets carry risk; manage position size and test thoroughly.
⦁	Signal quality depends on market regime, spreads, news, and data quality. Backtests/forward-tests may differ.
⦁	Visual objects are capped for performance; old items may auto-clean to keep charts responsive.
Directional Indicator Crossovers v1[JopAlgo]Directional Indicator Crossovers v1   — the classic DMI, made clearer and easier to act on
We'd like to introduce you to a more relaxed, streamlined version of DI. While it may not seem like it at first glance, we've taken the D+/D- method as a starting point and developed our own version of this indicator: two lines, a smooth green/red field indicating who's in control, and clear crossover alerts for a flip. We deliberately chose the step line representation because it closely matches the candlestick patterns on the chart. Designed to help you react faster—without clutter.
What you’ll see
+DI (green) and −DI (red) using classic Wilder smoothing.
A soft control zone between the lines: green when +DI dominates, red when −DI dominates.
Crossover alerts (no labels, no background flooding)—just the turning points.
Why this helps
Instant bias: the shaded field tells you who’s in control without reading values.
Cleaner execution: minimal visuals keep focus on the handoff (+DI↔−DI) and your price levels.
Actionable by design: built-in alerts fire right at the flip to route into your workflow.
How to read it
Bias: Green zone → buyers lead. Red zone → sellers lead.
Trigger: Consider entries on the DI crossover that aligns with your higher-timeframe context (trend, S/R, OB).
Patience in chop: If flips are frequent in tight ranges, wait for sustained zone dominance or confirm on a higher TF.
Exit/flip: Opposite crossover or a clear loss of dominance.
Settings that matter
DI Length (default 14): Higher = calmer, fewer flips. Lower = faster, more signals.
Visuals: Keep the control zone on for quick reads; hide crossover marks if you prefer pure lines.
Alerts: Enable bullish and bearish DI cross alerts; connect to notifications or webhooks as needed.
Starter presets
Intraday (15m–1H): DI Length 12–14 for quicker handoffs.
Swing (4H–1D): DI Length 14–20 for cleaner signals.
Choppy assets: Nudge length higher to dampen noise.
Where it shines (and limits)
Best: Liquid markets (crypto majors, indices, large caps) where handoffs matter.
Works elsewhere: Still useful on slower pairs; extend length for stability.
Limit: Frequent flips in low-range sessions—pair with HTF bias or structure.
Alerts included
Bullish DI Crossover: +DI crosses above −DI.
Bearish DI Crossover: −DI crosses above +DI.
Attribution & License
Built on the Directional Movement Index concept by J. Welles Wilder Jr. (1978).
Independent Pine v6 implementation (not derived from TradingView’s built-in source).
Released as Open Source (MPL-2.0)—please keep the license header intact.
Disclaimer
For educational purposes only; not financial advice. Trading involves risk. Test first, use clear levels, and manage risk. This project is independent and not affiliated with or endorsed by TradingView.
Bollinger Band Screener [Pineify]Multi-Symbol Bollinger Band Screener Pineify – Advanced Multi-Timeframe Market Analysis 
 
Unlock the power of rapid, multi-asset scanning with this original TradingView Pine Script. Expose trends, volatility, and reversals across your favorite tickers—all in a single, customizable dashboard.
 
 Key Features 
 
 Screens up to 8 symbols simultaneously with individual controls.
 Covers 4 distinct timeframes per symbol for robust, multi-timeframe analysis.
 Integrates advanced Bollinger Band logic, adaptable with 11+ moving average types (SMA, EMA, RMA, HMA, WMA, VWMA, TMA, VAR, WWMA, ZLEMA, and TSF).
 Visualizes precise state changes: Open/Parallel Uptrends & Downtrends, Consolidation, Breakouts, and more.
 Highly interactive table view for instant signal interpretation and actionable alerts.
 Flexible to any market: crypto, stocks, forex, indices, and commodities. 
 How It Works 
 
 For each chosen symbol and timeframe, the script calculates Bollinger Bands using your specified source, length, standard deviation, and moving average method.
 Real-time state recognition assigns one of several states (Open Rising, Open Falling, Parallel Rising, Parallel Falling), painting the table with unique color codes.
 State detection is rigorously defined: e.g., “Open Rising” is set when both bands and the basis rise, indicating strong up momentum.
 All bands, signals, and strategies dynamically update as new bars print or user inputs change.
 
 Trading Ideas and Insights 
 
 Identify volatility expansions and compressions instantly, spotting breakouts and breakdowns before they play out.
 Spot multi-timeframe confluences—when trends align across several TFs, conviction increases for potential trades.
 Trade reversals or continuations based on unique Bollinger Band patterns, such as squeeze-break or persistent parallel moves.
 Harness this tool for scalping, swing trading, or systematic portfolio screens—your logic, your edge!
 
 How Multiple Indicators Work Together 
 This screener’s core strength is its integration of multiple moving average types into Bollinger Band construction, not just standard SMA. Each average adapts the bands’ responsiveness to trend and noise, so traders can select the underlying logic that matches their market environment (e.g., HMA for fast moves or ZLEMA for smoothed lag). Overlaying 4 timeframes per symbol ensures trends, reversals, and volatility shifts never slip past your radar. When all MAs and bands synchronize across symbols and TFs, it becomes easy to separate real opportunity from market noise. 
 Unique Aspects 
 
 Perhaps the most flexible Bollinger Band screener for TradingView—choose from over 10 moving average methods.
 Powerful multi-timeframe and multi-asset design, rare among Pine scripts.
 Immediate visual clarity with color-coded table cells indicating band state—no need for guesswork or chart clutter.
 Custom configuration for each asset and time slice to suit any trading style.
 
 How to Use 
 
 Add the script to your TradingView chart.
 Use the user-friendly input settings to specify up to 8 symbols and 4 timeframes each.
 Customize the Bollinger Band parameters: source (price type), band length, standard deviation, and type of moving average.
 Interpret the dashboard: Color codes and “state” abbreviations show you instantly which symbols and timeframes are trending, consolidating, or breaking out.
 Take trades according to your strategy, using the screener as a confirmation or primary scan tool.
 
 Customization 
 
 Fully customize: symbols, timeframes, source, band length, standard deviation multiplier, and moving average type.
 Supports intricate watchlists—anything TradingView allows, this script tracks.
 Adapt for cryptos, equities, forex, or derivatives by changing symbol inputs. 
 Conclusion 
 The Multi-Symbol Bollinger Band Screener “Pineify” is a comprehensive, SEO-optimized Pine Script tool to supercharge your market scanning, trend spotting, and decision-making on TradingView. Whether you trade crypto, stocks, or forex—its fast, intuitive, multi-timeframe dashboard gives you the informational edge to stay ahead of the market. 
 Try it now to streamline your trading workflow and see all the bands, all the trends, all the time!
Bull-Bear EfficiencyBull-Bear Efficiency
This indicator measures the directional efficiency of price movement across many historical entry points to estimate overall market bias. It is designed as a trend gauge rather than a timing signal.
Concept
For each historical bar (tau) and a chosen lookahead horizon (h), the script evaluates how efficiently price has traveled from that starting point to the endpoint. Efficiency is defined as the net price change divided by the total absolute movement that occurred along the path.
Formula:
E(tau,h) = ( Price  - Price  ) / ( Sum from i = tau+1 to tau+h of | Price  - Price  | )
This measures how "straight" the path was from the entry to the current bar:
If price moved steadily upward, the numerator and denominator are nearly equal, and E approaches +1 (efficient bullish trend).
If price moved steadily downward, E approaches -1 (efficient bearish trend).
If price chopped back and forth, the denominator grows faster than the numerator, and E approaches 0 (inefficient movement).
The algorithm computes this efficiency for many past starting points and multiple horizons, optionally normalizing by ATR to account for volatility. The efficiencies are then weighted by recency to emphasize more recent behavior.
From this, the script derives:
Bull = weighted average of positive efficiencies
Bear = weighted average of negative efficiencies (absolute value)
Net = Bull - Bear (net directional efficiency)
Interpretation
Bull, Bear, and Net quantify how coherently the market has been trending.
Bull near 1.0, Bear near 0.0, Net > 0 -> clean upward trends; long positions have been more efficient.
Bear near 1.0, Bull near 0.0, Net < 0 -> clean downward trends; short positions have been more efficient.
Bull and Bear both small or similar -> low-efficiency, range-bound environment.
Net therefore acts as a "trend coherence index" that measures whether price action is directionally organized or noisy.
Practical Use
Trend filter:
Apply trend-following systems only when Net is strongly positive or negative.
Avoid them when Net is near zero.
Regime change detection:
Crossings through zero often correspond to transitions between trending and ranging regimes.
Momentum loss detection:
If price makes new highs but Net or Bull weakens, it suggests trend exhaustion.
Settings Overview
Lookback: Number of historical bars considered as entry points (tau values).
Horizons: List of forward projection lengths (in bars) for measuring efficiency.
Recency Decay (lambda): Exponential weighting that emphasizes recent data.
Normalize by ATR: Adjusts "effort" to account for volatility changes.
Display Options: Toggle Bull, Bear, Net, or Signed Average (S). Customize line colors.
Notes
This indicator does not produce entry or exit signals.
It is a statistical tool that measures how efficiently price has trended over time.
High Net values indicate smooth, coherent trends.
Low or neutral Net values indicate noisy, directionless conditions.
Bollinger Band ToolkitBollinger Band Toolkit 
An advanced, adaptive Bollinger Band system for traders who want more context, precision, and edge.
This indicator expands on the classic Bollinger Bands by combining statistical and volatility-based methods with modern divergence and squeeze detection tools. It helps identify volatility regimes, potential breakouts, and early momentum shifts — all within one clean overlay.
 🔹 Core Features 
 1. Adaptive Bollinger Bands (σ + ATR) 
Classic 20-period bands enhanced with an ATR-based volatility adjustment, making them more responsive to true market movement rather than just price variance.
Reduces “overreacting” during chop and avoids bands collapsing too tightly during trends.
 2. %B & RSI Divergence Detection 
🟢 Green dots: Positive %B divergence — price makes a lower low, but %B doesn’t confirm (bullish).
🔴 Red dots: Negative %B divergence — price makes a higher high, but %B doesn’t confirm (bearish).
✚ Red/green crosses: RSI divergence confirmation — momentum fails to confirm the price’s new extreme.
These signals highlight potential reversal or slowdown zones that are often invisible to the naked eye.
 3. Bollinger Band Squeeze (with Volume Filter) 
Yellow squares (■) show periods when Bollinger Bands are at their narrowest relative to recent history.
Volume confirmation ensures the squeeze only triggers when both volatility and participation contract.
Often marks the “calm before the storm” — breakout potential zones.
 4. Multi-Timeframe Breakout Markers 
Optionally displays breakouts from higher or lower timeframes using different colors/symbols.
Lets you see when a higher timeframe band break aligns with your current chart — a strong trend continuation signal.
 5. Dual- and Triple-Band Visualization (±1σ, ±2σ, ±3σ) 
Optional inner (±1σ) and outer (±3σ) bands provide a layered volatility map:
Price holding between ±1σ → stable range / mean-reverting behavior
Price riding near ±2σ → trending phase, sustained momentum
Price touching or exceeding ±3σ → volatility expansion or exhaustion zone
This triple-band layout visually distinguishes normal movement from statistical extremes, helping you read when the market is balanced, expanding, or approaching its limits.
 ⚙️ Inputs & Customization 
Choose band type (SMA/EMA/SMMA/WMA/VWMA)
Adjust deviation multiplier (σ) and ATR multiplier
Toggle individual features (divergence dots, squeeze markers, inner bands, etc.)
Multi-timeframe and colour controls for advanced users
 🧠 How to Use 
Watch for squeeze markers followed by a breakout bar beyond ±2σ → volatility expansion signal.
Combine divergence dots with RSI or price structure to anticipate slowdowns or reversals.
Confirm direction using multi-timeframe breakouts and volume expansion.
 💬 Why It Works 
This toolkit transforms qualitative chart reading (tight bands, hidden divergence) into quantitative, testable conditions — giving you objective insights that can be backtested, coded, or simply trusted in live setups.
Fair Value Gaps by DGTFair Value Gaps 
A refined, multi-timeframe Fair Value Gap (FVG) detection tool that brings institutional imbalance zones to life directly on your chart.
Designed for precision, it visualizes how price delivers into inefficiencies across chart, higher, and lower (intrabar) timeframes — offering a fluid, structural view of liquidity displacement and market flow.
The script continuously tracks unfilled, partially repaired, and fully resolved imbalances, revealing where liquidity inefficiencies concentrate and where price may seek rebalancing.
Overlapping zones naturally expose institutional footprints, potential liquidity targets, and key re-pricing regions within the broader market structure.
 KEY FEATURES 
 ⯌ Multi-Timeframe Detection 
 Detect and display FVGs from the current chart, higher timeframes (HTF), or lower timeframes (LTF)  
 ⯌ Smart Fill Tracking 
 Automatic real-time monitoring of each FVG’s fill progress with live percentage updates  
 ⯌ Custom Fill Logic 
 Choose your preferred definition of when a gap is considered filled: Any Touch
 Midpoint Reached
 Wick Sweep
 Body Beyond  
 ⯌ Dynamic Labels & Tooltips 
 Labels can be toggled on/off. Even when hidden, detailed tooltips remain available by hovering over the FVG midpoint.  
 ⯌ Adaptive Lower-Timeframe Mode 
 When set to “Auto,” the script intelligently selects the optimal lower timeframe based on the chart resolution.  
 DISCLAIMER 
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.






















