Pivot point moving averagesPivot Point Moving Averages builds moving averages from confirmed pivots, not from every bar.
Instead of averaging all highs and lows, this script:
Detects swing pivot highs and pivot lows using a configurable Pivot length (pivotLen).
Converts these sparse pivot prices into continuous series of:
last confirmed pivot low
last confirmed pivot high
Applies a user-selectable moving average (SMA / EMA / RMA / WMA / VWMA) to each of those pivot series.
Plots the two resulting lines and shades the area between them as a pivot value cloud.
Because the lines only move when a new pivot is confirmed, they represent structural acceptance rather than raw volatility. Short “noise” moves and stop hunts between pivots have much less impact on these averages.
You can also enable an optional second pivot MA cloud:
Uses the same Pivot length for structural detection.
Has its own MA length and type.
Can run on a different timeframe (e.g. D, 240, W).
Is projected back onto the current chart so you see local pivot value and higher-timeframe pivot value together.
Why it’s useful
Traditional MAs:
React to every bar.
Move on noise, wicks, and stop runs.
Don’t distinguish between “meaningful” structure and random fluctuation.
This tool uses confirmed pivots, so it is better suited to market structure and phase analysis:
Pivot MA low reflects how demand is stepping up (or down) as new swing lows form.
Pivot MA high reflects how supply is pressing down (or easing) as new swing highs form.
The cloud between them acts as a dynamic, structure-based value area.
Typical interpretations:
Price inside the pivot cloud → balance / fair value area.
Price above the pivot cloud → bullish value expansion.
Price below the pivot cloud → bearish value expansion.
Cloud compressing → possible energy build-up, transition between phases.
Cloud expanding → stronger directional conviction.
With the second cloud enabled on a higher timeframe, you can:
See whether lower-timeframe structure is building with or against the higher-timeframe pivot value.
Use the HTF cloud as a background bias and the LTF cloud for timing and fine-grained context.
Notes
All pivot-based tools have inherent delay: a pivot is only confirmed after pivotLen bars to the right.
On very low timeframes, long pivotLen + long MA lengths will make the lines slower to react.
This is intended as a context and structure tool, not a standalone entry signal.
Indicators and strategies
Vishall BTST- final - option 1.2Reverse of X, Z from - Vishall BTST- final - option 1.1
X = Spot Price @ Normal - Spot Price @HA
Z = Spot Future@ Normal - Spot Future Price @ HA
Supertrend + EMA + RSI Algo (Low Risk High Accuracy)This is a trend-following + momentum confirmation strategy designed to reduce false signals and control loss.
Supertrend (10,3) → Identifies overall market direction (Buy in uptrend, Sell in downtrend)
EMA 50 & EMA 200 → Confirms strong trend and avoids sideways market
Buy only when EMA 50 is above EMA 200
Sell only when EMA 50 is below EMA 200
RSI (14) → Confirms momentum
Buy when RSI > 55 (strong bullish momentum)
Sell when RSI < 45 (strong bearish momentum)
---
🔹 Entry Logic
BUY: Market is in uptrend + strong momentum
SELL: Market is in downtrend + strong bearish pressure
---
🔹 Risk Management (Most Important)
Stop Loss: Based on ATR (adapts to volatility)
Target: Fixed Risk-Reward ratio (example: 1 : 2.5)
This keeps loss small and profits larger
---
🔹 Best Use Case
Works best in trending markets
Ideal timeframes: 15m, 1h, 4h
Suitable for crypto futures & swing trading
Beginner-friendly if used with low leverage
My OB detector 18 DicProfessional Order Block indicator optimized for M3 timeframe. It features automatic 50% entry detection, a strict 1:1 risk-to-reward ratio, and a 10-pip minimum profit filter. Strictly follows the Madrid session hours for Euro and US sessions.
Ichimoku Cloud Strategy - 1H HyperliquidStategy for Hyperliquid 1hr time frame using Ichimoku's Cloud.
Test此指標為測試階段
最近手法改變,高點出現率後移,
此指標為爆量後跌破12ema才放空,
由於操盤手還是可以騙線,故時間設定為10:00之後成功率比較大
This indicator is in the testing phase.
Recently, the method has changed, and the occurrence rate of high points has shifted later.
This indicator only calls for shorting after a surge in volume followed by a drop below the 12-day moving average (EMA).
Because traders can still create false signals, setting the time after 10:00 AM increases the success rate.
Professional 3SD Institutional Rejection
This indicator identifies institutional "liquidity grab" and "momentum exhaustion" zones using the statistical extremes of 3 Standard Deviations (3SD) on Bollinger Bands. Unlike standard strategies, it doesn't just look for band touches; it confirms price "wicking" outside the 3SD and closing back inside the 2SD band (rejection), while ensuring the Money Flow Index (MFI) shows signs of exhaustion. It is highly effective on 1H, 4H, and Daily timeframes for mean-reversion setups targeting the median line.
QuantLabs Multi Asset Similarity Matrix [V3 Final]The Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close /close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed with love by David James @QuantLabs : )
Ultimate Institutional Order Flow Pro [Pointalgo]Ultimate Institutional Order Flow (UIOF Pro)
Ultimate Institutional Order Flow (UIOF Pro) is a multi-component market analysis indicator designed to study order flow behavior, liquidity interaction, volatility structure, and session-based participation.
It integrates several commonly used market structure and order-flow concepts into a single visual framework.
This script focuses on context and alignment, not on isolated signals.
Core Objective
The indicator aims to identify areas where price, volume, liquidity, and structure appear aligned in the same direction.
It does this by combining:
VWAP behavior
Volume participation
Cumulative delta analysis
Liquidity pool interaction
Order blocks and fair value gaps
Market structure shifts
Session and higher-timeframe confirmation
VWAP & Volatility Framework
Calculates VWAP using session, weekly, or monthly anchors.
Optional VWAP standard-deviation bands visualize price dispersion.
VWAP slope and price position are used to classify directional bias.
VWAP is treated as a dynamic equilibrium reference rather than a signal.
Cumulative Volume Delta (CVD)
Estimates buy and sell pressure based on intrabar price movement.
Tracks cumulative delta and a smoothed delta average.
Uses delta change normalization to highlight abnormal activity.
Detects potential delta divergences when price and participation differ.
CVD is used to assess whether participation supports or contradicts price movement.
Liquidity Zones & Sweeps
Identifies recent swing highs and lows as potential liquidity pools.
Tracks buy-side and sell-side liquidity areas.
Flags conditions where price sweeps liquidity beyond recent extremes.
Liquidity interaction is treated as context, not prediction.
Order Blocks
1. Detects potential bullish and bearish order blocks using:
Candle structure
Volatility thresholds
Volume confirmation
2.Highlights areas where strong participation followed opposing price movement.
Order blocks are visual reference zones and do not imply guaranteed reactions.
Fair Value Gaps (FVG)
Identifies imbalance zones where price moves without overlapping structure.
Filters gaps using ATR-based size conditions.
Visual shading is used to highlight imbalance areas.
These zones may represent inefficient price movement requiring further interaction.
Volume Profile & Point of Control (POC)
Builds a simplified volume profile over a configurable lookback window.
Determines the price level with the highest traded volume (POC).
POC is used as a reference for acceptance or rejection behavior.
Market Structure
Evaluates recent highs and lows to identify structure breaks.
Classifies directional structure as bullish, bearish, or neutral.
Structure is used as a directional filter rather than a trigger.
Multi-Timeframe Confirmation
Optional higher-timeframe confirmation aligns lower-timeframe behavior with broader context.
Prevents analysis from relying on isolated timeframe conditions.
Session Filtering
1. Allows analysis to be limited to specific trading sessions.
2. Helps reduce signals during low-participation periods.
3. Session logic affects signal eligibility, not calculations.
Signal Logic
Signals are generated only when multiple independent conditions align, including:
Liquidity interaction
Order block presence
VWAP bias
Delta confirmation
Structure alignment
Volume participation
Optional higher-timeframe confirmation
Active trading session
Strong continuation conditions are also highlighted when price, volume, and participation remain aligned.
Signals represent confluence states, not trade instructions.
Dashboard Summary
A real-time dashboard summarizes:
VWAP bias and slope
CVD strength and direction
Delta behavior
Market structure state
Higher-timeframe context
Volume conditions
Liquidity pool counts
Session activity
This provides a high-level snapshot of market conditions without manual calculation.
Alerts are available for:
Institutional alignment conditions
Strong continuation pressure
Liquidity sweeps
Delta divergences
Alerts are informational and reflect internal indicator states only.
Usage Notes
Designed for analytical interpretation and market study.
Best used alongside price action and risk management methods.
Performance depends on instrument liquidity and volume quality.
All visual elements can be individually enabled or disabled.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not provide financial, investment, or trading advice.
All outputs should be independently verified before making trading decisions.
krishnadeshmukh/NIFTY50 Micro Sentiment Part 2📘 Script Description: NIFTY50 Micro Sentiment — Part 2
This indicator continues the NIFTY50 Micro Sentiment model by analyzing the remaining 25 stocks (Rank 26–50 by index weight) of the NIFTY50.
🔍 Key Features:
Applies the same volume-bin methodology used in Part 1.
Sentiment detection based on:
Candle Color (default) or
*Close vs Midpoint of the candle range.
Stocks are weighted by their index influence.
Output is a clean sentiment table:
+ve / -ve / Neutral Volume Score
Weighted Sentiment Output
Use this in conjunction with Part 1 to analyze the entire NIFTY50 sentiment landscape.
📘 Script Description: NIFTY50 Combined Score
This script aggregates live sentiment data from both:
🧩 NIFTY50 Micro Sentiment — Part 1
🧩 NIFTY50 Micro Sentiment — Part 2
🚀 What it does:
Imports Score, +ve, -ve, and Neutral components from both scripts.
Combines them to produce:
✅ Total Weighted Sentiment
🟢 Bullish Weight
🔴 Bearish Weight
🟡 Neutral Component
📊 Outputs are shown via a middle-right sentiment table, updated every 5 bars.
Perfect for traders seeking a unified view of micro sentiment across the entire NIFTY50 ecosystem — in one glance.
Multi-Timeframe High Low Marking LinesThis indicator automatically draws clean horizontal lines at the high and low of the previous 10 periods (adjustable) for four different timeframes simultaneously: Daily, Weekly, Monthly, and Quarterly.
Perfect for marking key support/resistance levels across multiple timeframes on any chart.
Key features:
• Shows previous 10 highs and lows per timeframe (change to 5, 15, 20 etc. in settings)
• Lines extend 20 bars to the right so they remain visible (adjustable)
• Individual on/off switch for each timeframe
• Clean blue lines, max 500 lines limit respected
• Works perfectly on any chart timeframe (1-minute to monthly)
• No repainting – lines only appear after the period has closed
Use cases:
Spot major daily/weekly/monthly support & resistance at a glance
Trade breakouts and reversals with higher-timeframe confirmation
Combine with your existing strategy (ICT, SMC, price action)
Ideal for stocks, forex, crypto and futures
Settings explained:
Timeframe 1–4 → Choose any timeframe (D, W, M, 3M already preset)
Show/Hide → Turn any timeframe on or off instantly
Periods to show → How many previous highs/lows you want visible
Extend lines → How far right each line continues (default 20 bars)
Completely free to use.
If you like it, please add to favorites and leave a comment – it helps other traders find it!
Enjoy cleaner charts and stronger confluence.
Happy trading!
Bollinger Bands + MA 50/100/200📊 Bollinger Bands + MA 50 / 100 / 200 Indicator
This indicator combines Bollinger Bands with key Moving Averages (50, 100, 200) to help you spot trend direction, volatility, and potential reversal zones in one clean view.
🔹 Bollinger Bands
* Customizable length & MA type (SMA, EMA, RMA, WMA, VWMA)
* Visualizes market volatility
* Upper & lower bands help identify overbought / oversold conditions
🔹 Moving Averages
* MA 50 → Short-term trend
* MA 100 → Medium-term trend
* MA 200 → Long-term trend & major support/resistance
* Easy toggle on/off for clean charting
💡 How to use
* Price near upper band + strong MA trend → possible continuation
* Price near lower band → watch for bounce or breakdown
* MA alignment (50 > 100 > 200) → bullish trend
* MA cross & BB squeeze → potential breakout incoming
⚠️ Best used with price action & risk management
📌 Works on stocks, crypto, forex, indices
Mini RSI+STOCH-RSI+RSI-DIVERGENCE @Marx_CapitalMini version of RSI + STOCHASTIC-RSI with RSI-Divergence detection - all in one, adjustable small table overlayed on your chart. The table box gives RSI and Stoch-RSI values and signals detected RSI divergences.
Uncheck 'Update only on bar close' in indicator settings if the box does not appear right away.
Stationary Notes (Paragraph Box)This indicator helps you journal and notate any analysis’s you’ve made and display them while remaining stationary.
Market Phase Dashboard MTFGetting into a trade is the easy part. if anyone out there could use a little assistance in knowing when to exit a trade this ones for you..
This is a Market Phase Dashboard MTF (Multi-Timeframe) that classifies market conditions into 4 distinct phases based on trend + momentum alignment. Here's what it does:
The 4 Market Phases:
CONTINUATION 🟢 - Uptrend (EMA rising) + Strong momentum (RSI > 55)
Translation: "Trend is strong, keep riding it"
SLOWING 🟠 - Two scenarios:
Uptrend but momentum fading (RSI ≤ 55), OR
Downtrend but momentum not fully committed (RSI ≥ 45)
Translation: "Trend losing steam, be cautious"
EXHAUSTION 🔴 - Downtrend (EMA falling) + Weak momentum (RSI < 45)
Translation: "Trend is dying, possible reversal coming"
NEUTRAL ⚪ - Anything that doesn't fit above (shouldn't happen much with these thresholds)
Multi-Timeframe View:
Shows phases for:
Chart TF - Whatever timeframe you're viewing (only updates on confirmed bar close)
5m - Always shows 5-minute phase
15m - Always shows 15-minute phase
Visual Cues:
Background color changes based on the live chart timeframe phase (updates in real-time, not waiting for bar close)
Table shows confirmed phases for all timeframes
Practical Use:
Helps you understand if different timeframes are aligned. For example:
All 3 showing CONTINUATION = strong aligned trend, high confidence trades
15m EXHAUSTION but 5m CONTINUATION = possible short-term bounce in downtrend
Mixed signals = choppy/transitional market, stay cautious
It's basically a trend health checker across multiple timeframes at a glance! I am also in the works of adding every higher time frame so that it will consist of 5 min all the way to the 12 mo time frame i will keep you guys updated as i update this indicator.
9 EMA Trend-Flow StrategyThis strategy avoids trading inside the noise and waits for Bitcoin to "coil up" before exploding.
1. Chart Setup
Timeframe: 5 Minutes
Bollinger Bands: Length 20, Standard Deviation 2 (Default).
RSI (Relative Strength Index): Length 14.
EMA (Exponential Moving Average): Length 200 (Trend Filter).
2. The Rules
Long Setup (Buy)
The Trend Filter: Price must be above the 200 EMA.
The Squeeze: The Bollinger Bands must visually contract (narrow), indicating volatility is dying down.
The Trigger: A 5m candle closes strongly above the Upper Bollinger Band.
Confirmation: RSI must be rising and above 50 (but ideally not yet "pegged" at 90+).
Short Setup (Sell)
The Trend Filter: Price must be below the 200 EMA.
The Squeeze: The Bollinger Bands contract.
The Trigger: A 5m candle closes strongly below the Lower Bollinger Band.
Confirmation: RSI must be falling and below 50.
Execution Guide
Entry Technique
Don't enter immediately when the candle touches the band. Wait for the candle close.
Why? Bitcoin frequently "wicks" through bands to trap traders (fakeouts) before reversing. A solid close outside the band confirms momentum.
Exit Strategy (Take Profit)
Target 1 (Conservative): Close 50% of the position when price expands to a fixed risk-reward ratio (e.g., 1.5R).
Target 2 (Runner): Keep the remaining position open as long as price "walks the band" (stays outside or touching the outer band). Close the rest when a candle finally closes back inside the Bollinger Bands.
Stop Loss
Placement: Place your Stop Loss (SL) slightly below the Middle Band (the 20 SMA) at the time of entry.
Trailing: As the price moves in your favor, move your SL to trail the Middle Band.
HTF EMA Bias BackgroundThis indicator gives you the cross over points from EMAs on the 15 min chart as a coloured background, you can then go to the 1 min chart to see the overlay. Useful for a higher time frame BIAS.
Refined Liquidity Flow IndicatorRefined Liquidity Flow Indicator - How It Works
The Refined Liquidity Flow Indicator is designed to help traders identify the flow of liquidity into and out of the market based on multiple technical factors. It combines price movement, market sentiment, volatility, and volume to give a comprehensive view of market conditions. The indicator gives buy and sell signals by calculating the flow of liquidity based on these factors.
Key Components of the Indicator:
Liquidity Flow Calculation:
The core of the indicator is the liquidity flow calculation, which is based on several factors:
Liquidity Flow=(V×ΔP)+(α×ATR)+(β×RSI)+(γ×ΔP)
Where:
𝑉 is the volume (the amount of trading activity).
ΔP is the price change (the difference between the current and previous closing price).
ATR (Average True Range) is used to measure market volatility.
RSI (Relative Strength Index) reflects market sentiment.
𝛼 𝛽 𝛾
are adjustable weights (parameters) that allow you to control how much influence each factor has on the liquidity flow calculation.
Key Indicators:
Volume (V): The amount of trades occurring in the market. A high volume indicates more activity, which is essential for confirming liquidity flow.
Price Change (ΔP): The difference between the current price and the previous price, which helps assess the strength and direction of the market move.
ATR (Average True Range): A measure of market volatility, indicating how much the price fluctuates over a specified period. A higher ATR suggests greater volatility, which often corresponds with a greater flow of liquidity.
RSI (Relative Strength Index): A momentum oscillator that measures whether a market is overbought or oversold. The RSI can help determine whether the market sentiment is bullish or bearish.
How to Use the Indicator:
Set Up: After adding the Refined Liquidity Flow Indicator to your chart, you can adjust the following settings directly from the indicator's settings panel:
α: Weight for volatility (ATR).
β: Weight for market sentiment (RSI).
γ: Weight for price change.
ATR Length: Customize the period for the ATR.
RSI Length: Customize the period for the RSI.
SMA Length: Customize the period for the Simple Moving Average.
Interpreting Signals:
Green Signal (Liquidity In): Indicates that liquidity is entering the market. This often signals a potential buy opportunity when the price is moving upwards with strong volume and market sentiment.
Red Signal (Liquidity Out): Indicates that liquidity is leaving the market. This typically signals a potential sell opportunity when the price is moving downwards with strong volume and market sentiment.
Fine-Tuning for Your Strategy:
By adjusting the weights and the lengths of the indicators, you can fine-tune the indicator to match your trading style. For example, if you want to give more weight to price movements, you can increase γ. If you want to focus more on market sentiment, adjust β.
SMA vs Candle True CloudSMA vs Candle – Trend Cloud Indicator (Brief Note)
This indicator compares price (candle source) with a long-period Hull Moving Average (SMA) to identify trend direction, momentum shifts, and regime changes.
The SMA, being momentum-sensitive, reacts to changes in price speed, while price itself represents real-time market action.
A dynamic two-way cloud is drawn between price and SMA:
Green cloud when price is above SMA → bullish dominance and accumulation
Red cloud when price is below SMA → bearish control and distribution
The width of the cloud reflects the strength of momentum:
Narrow cloud → compression / consolidation
Expanding cloud → impulse move or trend acceleration
This setup is especially effective on short timeframes with long SMA periods, where it filters noise while preserving early trend signals.
Overall, the indicator acts as a visual trend-momentum framework, highlighting early warnings, trend confirmation, and exhaustion zones in a single view.
krishnadeshmukh/NIFTY50 Micro Sentiment Part 1📘 Script Description: NIFTY50 Micro Sentiment — Part 1
This indicator tracks real-time micro sentiment across the top 25 weighted stocks of the NIFTY50 index using a volume-based distribution model.
🔍 How it works:
Scans last N bars (configurable) for each stock.
Divides each stock’s price range into equal bins.
Measures bullish vs bearish volume in each bin based on:
Candle Color (Close > Open) or
Close Near High (Close > Midpoint).
Assigns a sentiment value:
+1 → Bullish dominance
-1 → Bearish dominance
0 → Neutral
📊 Each stock's sentiment is weighted by its contribution to the index.
🧮 Displays:
Weighted Sentiment Score
Bullish / Bearish / Neutral Components
Updated every 5 bars with an easy-to-read table.
Use this to gauge underlying micro shifts in sentiment before broader market moves.
MACD + Divergence Indicator [Dynamic Filter]Title: MACD + Divergence
Description: This is an enhanced momentum analysis suite based on the classic Moving Average Convergence Divergence (MACD). It addresses the common weakness of the standard MACD—false signals during low-volatility consolidation—by integrating a Dynamic Volatility Filter and a Multi-Timeframe (MTF) Dashboard.
The Problem It Solves: Standard MACD indicators often generate "whipsaw" crossovers when the market is ranging (moving sideways). Traders often struggle to identify these consolidation zones until it is too late. This script solves this by calculating a dynamic "Consolidation Zone" based on Standard Deviation, visually warning traders when momentum is too weak to be reliable.
Key Features:
1. Dynamic Consolidation Filter (The Grey Zone)
The script calculates Upper and Lower bands around the MACD line using Standard Deviation (Volatility).
Grey Fill: When the MACD line is inside the grey bands, the market is in a "Squeeze" or low-volatility consolidation. Crossovers in this zone are often lower probability.
Breakout: When the MACD line exits the bands, it indicates a volatility expansion and a potentially stronger trend.
2. Automated Divergence Detection
Automatically scans for both Regular (Reversal) and Hidden (Continuation) divergences between Price and Momentum.
Bullish: Marked with Green lines/labels.
Bearish: Marked with Red lines/labels.
Customization: You can choose to calculate divergence based on the MACD Line or the Histogram via settings.
3. Multi-Timeframe (MTF) Dashboard
A customizable information table (optional) displays the MACD state across 4 different timeframes (e.g., 15m, 1H, 4H, Daily).
It checks for Trend Alignment (e.g., are all timeframes Bullish?) to help you trade in the direction of the higher timeframes.
4. Enhanced Visuals
4-Color Histogram: Visualizes momentum growing (bright) vs. momentum fading (pale) for both bullish and bearish phases.
Line Highlights: The MACD and Signal lines are clearly distinct, with configurable smoothing options (EMA/SMA).
Settings Guide:
Consolidation Filter: Increase the Dynamic Filter Multiplier (Default: 0.5) to widen the grey zone if you want to filter out more noise.
Oscillator Source: Switch between "MACD Line" or "Histogram" for divergence detection depending on your strategy.
Table: You can toggle the dashboard on/off or change its position to fit your chart layout.
Credits: Base MACD logic derived from standard technical analysis concepts. Dynamic filtering logic adapted from volatility band theories.
UIA TrendCompass V1.0UIA TrendCompass v1.0 is a market structure interpretation tool designed to visualize trend states in real time.
The script identifies four structural states based on price behavior and trend continuity:
• T — Trend Start
• E — Trend Extension
• H — Structural High / Low
• X — Trend Exit / Reversal
This indicator is intended for market structure analysis and educational purposes only.
It does NOT provide trading signals, buy/sell recommendations, or investment advice.
All labels are generated based on historical price data and do not predict future market movements.
Users should combine this tool with their own analysis and risk management framework.
This script is provided "as is" with no guarantee of accuracy or performance.
Double Cross Strategy - directional color plus golden crossCandle color changes to dark green when opening below 9/20 SMAs when 9 is below the 20 and closes above.
Candle color changes to dark red when opening above the 9/20 SMAs when the 9 is above the 20 and closes below.
Candle color changes to yellow when either of the above occurs plus crosses the vwap.






















