Quasimodo (QML) Pattern [Kodexius]Quasimodo (QML) Pattern is a market structure indicator that automatically detects Bullish and Bearish Quasimodo formations using confirmed swing pivots, then visualizes the full structure directly on the chart. The script focuses on the classic liquidity-grab narrative of the QML: a sweep beyond a prior swing (the Head) followed by a decisive market structure break (MSB), leaving behind a clearly defined reaction zone between the Left Shoulder and the Head.
Detection is built on pivot highs and lows, so patterns are evaluated only after swing points are validated. Once a valid 4 pivot sequence is identified, the indicator draws the pattern legs, highlights the internal triangle area to emphasize the grab, marks the MSB leg, and projects a QML zone that can be used as a potential area of interest for retests.
This tool is designed for traders who work with structure, liquidity concepts, and reversal/continuation triggers, and who want a clean, repeatable QML visualization without manually marking swings.
🔹 Features
🔸 Confirmed Pivot Based Structure Mapping
The script uses classic built-in pivot logic to detect swing highs and swing lows.
🔸 Automatic Bullish and Bearish QML Detection
The indicator evaluates the most recent 4 pivots and checks for a valid alternating sequence (High-Low-High-Low or Low-High-Low-High). When the sequence matches QML requirements, the script classifies the setup as bullish or bearish:
Bullish logic (structure reversal up):
- Left Shoulder is a pivot Low
- Head is a lower Low than the Left Shoulder (liquidity sweep)
- MSB pivot exceeds the Reaction pivot
Bearish logic (structure reversal down):
- Left Shoulder is a pivot High
- Head is a higher High than the Left Shoulder (liquidity sweep)
- MSB pivot breaks below the Reaction pivot
🔸 Full Pattern Visualization (Legs + Highlighted Core)
When a pattern triggers, the script draws:
Three main legs: Left Shoulder to Reaction, Reaction to Head, Head to MSB
A shaded triangular highlight over the internal structure to make the liquidity-grab shape easy to spot at a glance
🔸 QML Zone Projection
A QML Zone box is drawn using the price range defined between the Left Shoulder and the Head, then extended to the right to remain visible as price develops. This zone is intended to act as a practical reference area for potential retests and reaction planning after MSB confirmation.
🔸 MSB Emphasis
A dotted MSB line is drawn between the Reaction point and the MSB point to visually emphasize the confirmation leg that completes the pattern logic.
🔸 Clean Point Tagging and Directional Labeling
Key points are labeled directly on the chart:
- “LS” at the Left Shoulder
- “Head” at the sweep pivot
- “MSB” at the break pivot
A directional label (“Bullish QML” or “Bearish QML”) is also printed to quickly identify the detected bias.
🔸 Configurable Visual Style
All main visual components are user configurable:
- Bullish and bearish colors
- Line width
- Label size
🔸 Efficient Update Logic
Pattern checks are only performed when a new pivot is confirmed, avoiding unnecessary repeated calculations on every bar. The most recent pattern’s projected elements (zone and label positioning) are updated as new bars print to keep the latest setup readable.
🔹 Calculations
This section summarizes the core logic used for detection and plotting.
1. Pivot Detection (Swing Highs and Lows)
The script relies on confirmed pivots using the user inputs:
Left Bars: how many bars must exist to the left of the pivot
Right Bars: how many bars must exist to the right to confirm it
float ph = ta.pivothigh(leftLen, rightLen)
float pl = ta.pivotlow(leftLen, rightLen)
When a pivot is confirmed, its true bar index is the pivot bar, not the current bar, so the script stores:
bar_index
2. Pivot Storage and History Window
Each pivot is stored as a structured object containing:
- price
- index
- isHigh (true for pivot high, false for pivot low)
A rolling history is maintained (up to 50 pivots) to keep processing stable and memory usage controlled.
3. Sequence Validation (Alternation Check)
The pattern evaluation always uses the latest 4 pivots:
p0: Left Shoulder candidate
p1: Reaction candidate
p2: Head candidate
p3: MSB candidate
Before checking bullish/bearish rules, the script enforces alternating pivot types:
bool correctSequence =
(p0.isHigh != p1.isHigh) and
(p1.isHigh != p2.isHigh) and
(p2.isHigh != p3.isHigh)
This prevents invalid structures like consecutive highs or consecutive lows from being interpreted as QML.
4. Bullish QML Conditions
A bullish QML is evaluated when the Left Shoulder is a Low:
Head must be lower than Left Shoulder (sweep)
MSB must be higher than Reaction (break)
if not p0.isHigh
if p2.price < p0.price and p3.price > p1.price
// Bullish QML confirmed
Interpretation:
p2 < p0 represents the liquidity grab below the prior swing low
p3 > p1 represents the market structure break above the reaction high
5. Bearish QML Conditions
A bearish QML is evaluated when the Left Shoulder is a High:
Head must be higher than Left Shoulder (sweep)
MSB must be lower than Reaction (break)
if p0.isHigh
if p2.price > p0.price and p3.price < p1.price
// Bearish QML confirmed
Interpretation:
p2 > p0 represents the liquidity grab above the prior swing high
p3 < p1 represents the market structure break below the reaction low
6. Drawing Logic (Structure, Highlight, Zone, Labels)
When confirmed, the script draws:
Three connecting legs (LS to Reaction, Reaction to Head, Head to MSB)
A shaded triangle using a transparent “ghost” line to enable filling
A dotted MSB emphasis line between Reaction and MSB
A QML Zone box spanning the LS to Head price range and projecting to the right
Point labels: LS, Head, MSB
A direction label: “Bullish QML” or “Bearish QML”
7. Latest Pattern Extension
To keep the newest setup readable, the script updates the most recently detected pattern by extending its projected elements as new bars print:
QML zone right edge is pushed forward
The main label x position is pushed forward
This keeps the last identified QML zone visible as price evolves, without having to redraw historical patterns on every bar.
תמיכה והתנגדות
FVG Heatmap [Hash Capital Research]FVG Map
FVG Map is a visual Fair Value Gap (FVG) mapping tool built to make displacement imbalances easy to see and manage in real time. It detects 3-candle FVG zones, plots them as clean heatmap boxes, tracks partial mitigation (how much of the zone has been filled), and summarizes recent “fill speed” behavior in a small regime dashboard.
This is an indicator (not a strategy). It does not place trades and it does not publish performance claims. It is a market-structure visualization tool intended to support discretionary or systematic workflows.
What this script detects
Bullish FVG (gap below price)
A bullish FVG is detected when the candle from two bars ago has a high below the current candle’s low.
The zone spans from that prior high up to the current low.
Bearish FVG (gap above price)
A bearish FVG is detected when the candle from two bars ago has a low above the current candle’s high.
The zone spans from the current high up to that prior low.
What makes it useful
Heatmap zones (clean, readable FVG boxes)
Bullish zones plot below price. Bearish zones plot above price.
Partial fill tracking (mitigation progress)
As price trades back into a zone, the script visually shows how much of the zone has been filled.
Mitigation modes (your definition of “filled”)
• Full Fill: price fully trades through the zone
• 50% Fill: price reaches the midpoint of the zone
• First Touch: price touches the zone one time
Optional auto-cleanup
Optionally remove zones once they’re mitigated to keep the chart clean.
Fill-Speed Regime Dashboard
When zones get mitigated, the script records how many bars it took to fill and summarizes the recent environment:
• Average fill time
• Median fill time
• % fast fills vs % slow fills
• Regime label: choppy/mean-revert, trending/displacement, or mixed
How to use
Use FVG zones as structure, not guaranteed signals.
• Bullish zones are often watched as potential support on pullbacks.
• Bearish zones are often watched as potential resistance on rallies.
The fill-speed dashboard helps provide context: fast fills tend to appear in more rotational conditions, while slow fills tend to appear in stronger trend/displacement conditions.
Alerts
Bullish FVG Created
Bearish FVG Created
Notes
FVGs are not guaranteed reversal points. Fill-speed/regime is descriptive of recent behavior and should be treated as context, not prediction. On realtime candles, visuals may update as the bar forms.
Auto-Anchored Fibonacci Volume Profile [Custom Array Engine]Description:
1. The Theoretical Foundation: Structure vs. Participation In professional technical analysis, traders often struggle to reconcile two distinct datasets: Price Geometry (where price should go) and Market Participation (where money actually went).
Why Fibonacci? (The Structure) Fibonacci Retracements map the mathematical structure of a trend. They identify psychological and algorithmic "interest zones" (0.382, 0.5, 0.618) where a correction is statistically likely to terminate. However, Fibonacci levels are theoretical—they are "lines in the sand" that do not guarantee liquidity or reaction.
Why Volume Profile? (The Verification) Volume Profile maps the historical exchange of shares at specific price levels. It reveals "fair value" (High Volume Nodes) and "market imbalance" (Low Volume Nodes). It is the only tool that verifies if a specific price level was actually accepted by institutional participants.
2. Underlying Calculations (The Custom Engine) This script operates on a custom-built calculation engine that bypasses standard built-in functions entirely. It uses Pine Script Arrays to build a Volume Profile from scratch. Here is the breakdown of the proprietary code logic:
A. The "Smart-Fill" Distribution Algorithm (Solves Gapping)
The Problem: Standard volume scripts often assign a candle's entire volume to a single price row. In volatile markets or steep trends, this creates visual "gaps" or a "barcode" effect because price moved too fast to register on every row.
My Solution: I wrote a custom loop that calculates the vertical overlap of every candle against the profile grid.
The Math: Volume Per Bin = Total Candle Volume / Bins Touched.
The Result: If a single volatile candle spans 10 price rows (bins), the script mathematically divides that volume and distributes it equally into all 10 array indices. This generates a solid, continuous distribution curve that accurately reflects price action through the entire candle range, not just the close.
B. Dynamic Arrays & Split-Volume Logic The script initializes two separate floating-point arrays (buyVolArray and sellVolArray) sized to the user's resolution (up to 300 rows). It iterates through the specific time-window of the swing:
If Close >= Open, the calculated volume slice is injected into the Buy Array.
If Close < Open, it is injected into the Sell Array.
These arrays are then visually stacked to render the dual-color profile, allowing traders to see the "Delta" (Buyer vs. Seller aggression) at key structural levels.
C. Custom Garbage Collection (Performance) To enable the "Auto-Anchoring" feature without causing chart lag or visual artifacts ("ghosting"), the script includes a Garbage Collection System. Before drawing a new profile, the script iterates through a tracking array of all existing objects (box.delete, line.delete) and clears them from memory. This ensures the indicator remains lightweight and responsive even when dragging chart margins or switching timeframes.
3. The Synthesis: Why Combine Them? The core philosophy of this script is Confluence . A Fibonacci level without volume is merely a suggestion; a Fibonacci level backed by volume is a defensive wall. By algorithmically anchoring a Volume Profile to the exact coordinates of a Fibonacci swing, this tool allows traders to instantly answer critical questions:
"Is the Golden Pocket (0.618) supported by a High Volume Node (HVN), or is it a Low Volume Node (LVN) that price might slice through?"
"Is the Shallow Retracement (0.382) holding because of structural support, or just a lack of selling pressure?"
4. How to Read the Indicator
The Geometry: The script automatically detects the trend and draws standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
The Confluence Check: Look for the Point of Control (Red Line). If this High Volume Node aligns with a key Fib level (e.g., the 0.618), the probability of a reversal increases significantly.
The Imbalance Check: Look for "Valleys" in the profile (Low Volume Nodes). These gaps often act as "slippage zones" where price travels quickly between structural levels.
Buy/Sell Splits: The dual-color bars (Teal/Red) reveal the composition of the volume. A 0.618 level held up by dominant Buy Volume is a stronger bullish signal than one with mixed volume.
5. Settings & Customization
Lookback Length: Sensitivity of the swing detection (Default: 200 bars).
Resolution: Granularity of the profile rows (Default: 100). Higher values provide smoother definition.
Width (%): Responsive sizing that scales the profile relative to the trend's duration.
Extend Lines: Option to project structural levels infinitely to the right.
Disclaimer This script is an analytical tool for visualizing historical market data. It does not provide trade signals or financial advice.
Algorithmic Volume Rejection Zones [AVRZ]Hello traders,
I am pleased to release the Algorithmic Volume Rejection Zones (AVRZ). This is a specialized decision-support system designed to identify high-probability reversal points by synthesizing candle geometry, market structure, and statistical volume anomalies.
Trading reversals often presents a dilemma: wait for confirmation and miss the move, or enter early and get stopped out by noise. AVRZ solves this by quantifying "Institutional Absorption." It filters out weak price probes and highlights only the specific moments where significant volume has stepped in to defend a price level.
🛡️ The Concept: Attacking The Zonesl
You will often see price aggressively "attack" a support or resistance level with speed and high volume. To the untrained eye, this looks like a breakout. However, professional analysis reveals that this is often an Efficiency Event—liquidity is being absorbed by passive limit orders.
The AVRZ indicator is specifically engineered to detect this phenomenon. When price strikes a level and volume spikes (>2.0 Sigma), it signals that the auction is becoming efficient and a reversal is imminent. The script captures this "Attack" via the Climax Bypass logic, plotting a fresh zone immediately to mark where the liquidity was defended.
PDH(RTH)+PMH / PDL(RTH)+PML First Break + 3m EMA RetestIncludes retest notification for passed or failed on 3min 9EMA.
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.
Global J-1 & W-1 Levels (Fixed Lines / Lignes Fixes)Description
This indicator automatically plots key price levels from the previous day (D-1) and the previous week (W-1). It is designed for Day Traders and Scalpers who need clear visual references without cluttering their chart with past history.
Unlike standard indicators that use plot() and create "step-like" lines, this script uses graphic objects (line.new) to display fixed, infinite horizontal lines, just as if you had drawn them manually.
Key Features:
D-1 Levels (Blue): Previous Day High (DR-1) and Low (DS-1).
W-1 Levels (Red): Previous Week High (WR-1) and Low (WS-1).
Clean Chart: Lines are displayed only for the current session. No historical clutter.
Readability: Dashed lines with level names and exact prices displayed on the right.
How to use it? These levels often act as institutional support and resistance. Watch for price reactions (bounces or breakouts) near these zones to confirm your trade entries.
Math by Thomas SMC Buy and Sell Model📖 DESCRIPTION
This indicator is built on Smart Money Concepts (SMC) and focuses on how institutions actually execute trades.
Instead of predicting direction, it identifies three critical market states:
Acceptance (Sideways / Consolidation)
Liquidity Location (PDH / PDL / Swing High–Low)
Volatility Release (Breakout with intent)
The model waits for price compression (inventory build) near liquidity and triggers trades only when price breaks in the direction of liquidity.
This approach is especially suitable for index option buying, where timing and expansion matter more than prediction.
🧠 CORE LOGIC (SIMPLE EXPLANATION)
1️⃣ Sideways / Acceptance Phase
The indicator detects periods where price accepts value
These zones represent institutional inventory building
Shown as blue boxes on the chart
2️⃣ Liquidity Context
The indicator tracks:
Previous Day High (PDH)
Previous Day Low (PDL)
Swing Highs & Swing Lows
These levels act as liquidity targets for institutional moves.
3️⃣ Buy / Sell Signal
A signal appears only when:
Price breaks out of a sideways box
The breakout is towards liquidity
This avoids:
Random breakouts
Counter-trend trades
Low-probability entries
🟢 BUY SIGNAL RULES
A BUY (CALL) signal is generated when:
A valid sideways box is present
Candle closes above the box high
Liquidity exists above price
PDH or Swing High above
📌 The signal appears after candle close (no repaint).
🔴 SELL SIGNAL RULES
A SELL (PUT) signal is generated when:
A valid sideways box is present
Candle closes below the box low
Liquidity exists below price
PDL or Swing Low below
📌 The signal appears after candle close (no repaint).
⏱️ BEST TIMEFRAME
✅ Recommended timeframe: 5 MINUTE
Why 5-minute works best:
Cleaner acceptance zones
Meaningful liquidity reactions
Less noise than 1-minute
Faster execution than higher timeframes
⚠️ 1-minute charts may produce noisy signals.
⚠️ Higher timeframes may delay option entries.
🕒 BEST MARKET TIME
For index trading (NIFTY / BANKNIFTY):
✅ 9:30 AM – 2:45 PM
❌ Avoid late entries after 3:10 PM
🎯 WHO SHOULD USE THIS INDICATOR
✔️ Index option buyers
✔️ Traders using SMC / price action
✔️ Traders who want logic-based entries
✔️ Those avoiding prediction-based trading
❌ WHAT THIS INDICATOR IS NOT
❌ Not a scalping indicator
❌ Not a trend-following MA system
❌ Not for blind signal trading
This is a context-based execution tool.
🎓 EDUCATIONAL NOTE
This indicator does not predict the market.
It helps identify when institutions are likely executing after inventory build-up.
Always combine with:
Proper risk management
Market context
Discipline
⚠️ DISCLAIMER
This indicator is for educational purposes only.
Trading involves risk.
The author is not responsible for financial losses.
📖 விளக்கம் (DESCRIPTION)
இந்த இன்டிகேட்டர் Smart Money Concepts (SMC) அடிப்படையில் உருவாக்கப்பட்டது.
மார்க்கெட் எந்த திசைக்கு போகும் என்று ஊகிப்பதில்லை;
இன்ஸ்டிடியூஷன்கள் எப்போது உண்மையாக செயல்படுகின்றன என்பதை கண்டறிவதே இதன் நோக்கம்.
இந்த மாடல் மார்க்கெட்டின் மூன்று முக்கிய நிலைகளை கவனிக்கிறது:
1️⃣ Acceptance / Sideways (கன்சாலிடேஷன்)
2️⃣ Liquidity Location (PDH / PDL / Swing High–Low)
3️⃣ Volatility Release (Breakout with intent)
Sideways நிலையில் இன்ஸ்டிடியூஷன்கள் inventory build செய்கிறார்கள்.
அந்த acceptance முடிந்து, liquidity நோக்கி பிரேக் ஏற்பட்டால் மட்டுமே
Buy / Sell signal கொடுக்கப்படுகிறது.
👉 இது Index Option Buying-க்கு மிகவும் பொருத்தமானது.
🧠 மைய லாஜிக் (எளிய விளக்கம்)
1️⃣ Sideways / Acceptance Phase
விலை ஒரு ரேஞ்சில் சுழலும் போது இந்த பகுதி கண்டறியப்படுகிறது
இது inventory build ஆகும் பகுதி
சார்ட்டில் நீல நிற Box ஆக காட்டப்படும்
2️⃣ Liquidity Context
இந்த இன்டிகேட்டர் கீழ்கண்ட liquidity லெவல்களை கவனிக்கிறது:
Previous Day High (PDH)
Previous Day Low (PDL)
Swing High / Swing Low
இந்த லெவல்கள் தான் இன்ஸ்டிடியூஷன்களின் இலக்கு (destination).
3️⃣ Buy / Sell Signal
Signal வரும் போது:
Sideways box இருக்க வேண்டும்
Box-ஐ உடைத்து CLOSE ஆக வேண்டும்
அந்த பிரேக் liquidity இருக்கும் திசையில் இருக்க வேண்டும்
இதனால்:
தவறான பிரேக்குகள் தவிர்க்கப்படும்
Counter-trend trades குறையும்
🟢 BUY SIGNAL (CALL)
BUY signal வரும் நிலை:
Sideways box உருவாகி இருக்க வேண்டும்
Candle, box high-க்கு மேலே close ஆக வேண்டும்
Liquidity மேலே இருக்க வேண்டும்
PDH மேலே
அல்லது Swing High மேலே
📌 Candle close ஆன பிறகே signal வரும்
👉 No repaint
🔴 SELL SIGNAL (PUT)
SELL signal வரும் நிலை:
Sideways box உருவாகி இருக்க வேண்டும்
Candle, box low-க்கு கீழே close ஆக வேண்டும்
Liquidity கீழே இருக்க வேண்டும்
PDL கீழே
அல்லது Swing Low கீழே
📌 Candle close ஆன பிறகே signal வரும்
👉 No repaint
⏱️ சிறந்த Timeframe
✅ 5-Minute Timeframe – BEST
ஏன் 5-minute சிறந்தது?
Sideways zones தெளிவாக உருவாகும்
Liquidity reaction நல்லதாக இருக்கும்
1-minute போல noise இல்லை
Option buying-க்கு சரியான timing
⚠️ 1-minute – அதிக noise
⚠️ Higher timeframe – entry தாமதம்
🕒 சிறந்த Trading Time
Index (NIFTY / BANKNIFTY):
✅ காலை 9:30 – மதியம் 2:45
❌ 3:10க்கு பிறகு புதிய entry தவிர்க்கவும்
🎯 யாருக்கு இந்த இன்டிகேட்டர்?
✔️ Index Option Buyers
✔️ SMC / Price Action Traders
✔️ Prediction-ஐ விட logic விரும்புபவர்கள்
✔️ Clean entries தேடும் traders
❌ இது என்ன அல்ல?
❌ Scalping indicator அல்ல
❌ Moving Average system அல்ல
❌ Blind signal trading-க்கு அல்ல
👉 இது context-based execution tool.
🎓 கல்வி குறிப்பு
இந்த இன்டிகேட்டர் மார்க்கெட்டை predict செய்யாது.
Inventory build ஆன பிறகு, இன்ஸ்டிடியூஷன்கள் execute செய்யும் இடங்களை
காட்டுவதே இதன் நோக்கம்.
எப்போதும்:
Risk management
Discipline
Market context
கண்டிப்பாக பயன்படுத்த வேண்டும்.
⚠️ மறுப்பு அறிவிப்பு (Disclaimer)
இந்த இன்டிகேட்டர் கல்வி நோக்கத்திற்காக மட்டுமே.
Trading-ல் risk உள்ளது.
ஏதேனும் இழப்புகளுக்கு உருவாக்குநர் பொறுப்பல்ல.
MTF CPR Boxes & Multiple Pivots - Nadeem Al-QahwiMTF CPR Boxes & Multiple Pivots is designed to make those structural zones easier to see by turning classic pivot math into clean, multi-timeframe visual regions directly on your chart.
⸻
The Concept: Central Pivot Range (CPR) Math
This tool is based on the well-known Central Pivot Range (CPR) methodology.
For each selected timeframe, the CPR is calculated from the previous period’s OHLC data:
• Central Pivot:
Pivot = (High + Low + Close) / 3
• Bottom Central:
BC = (High + Low) / 2
• Top Central:
TC = (Pivot - BC) + Pivot (equivalently TC = 2 * Pivot - BC)
This indicator computes these CPR levels for Daily, Weekly, and Monthly timeframes and overlays them on the current chart. The idea is to reveal how price is interacting with higher-timeframe value areas and potential support/resistance clusters in real time.
⸻
Visual Innovation:
• Instead of drawing only thin lines for TC, Pivot, and BC, the area between TC and BC is rendered as a box (zone).
• The central pivot is still drawn as a line inside the box for reference, but the main emphasis is on the entire value range, not a single price.
• This box-based representation helps traders visually identify:
• Liquidity clusters inside the CPR range
• Overlapping CPR zones across multiple timeframes (powerful confluence)
• Compression areas where price is likely to build up orders before expansion
⸻
Key Features
• Multi-Timeframe CPR (MTF Overlay)
• Daily CPR box
• Weekly CPR box
• Monthly CPR box
All three can be enabled simultaneously, allowing you to see where short-term and higher-timeframe value zones overlap.
• Institutional Color Theme
• Separate colors for Daily, Weekly, and Monthly CPR zones
• Designed to be visually distinct yet clean, so confluence is easy to spot without clutter.
• Multiple Pivot Types (Traditional + Camarilla)
• Traditional pivots (PP, S1–S5, R1–R5)
• Camarilla pivots (L1–L6, H1–H6)
These are drawn as classic lines with label/price options and can be used together with CPR boxes for a richer structural map.
• Dynamic Zone Levels (DZL) Engine
• Automatically detects pivot-based support and resistance zones from historical swings.
• Clusters nearby pivots into channels based on a configurable width and strength filter.
• Draws only the strongest zones to keep the chart readable and focused on meaningful levels.
⸻
Settings Guide (How to Customize)
The script includes a set of user-friendly controls so you can adapt the visuals to your style and chart theme:
• General Settings
• Pivot timeframe selection for the main (non-CPR) pivots.
• “Pivots Back” and “CPR Levels Back” to control how many historical periods are displayed (helpful for performance).
• CPR Visual Style (SMC Boxes)
• Box Transparency: Adjusts how opaque the CPR zones are (0 = solid, 100 = invisible fill).
• Border Style & Width: Choose between Solid, Dashed, Dotted, or hide borders completely.
• Text Options: Toggle CPR labels inside each box (e.g., “D-CPR”, “W-CPR”), set text color, size, and placement (center or corner positions).
• Pivots & Labels
• Enable/disable Traditional and Camarilla sets independently.
• Control which levels to display (e.g., show R1–R3 only).
• Choose whether to show level names, prices, or both.
• DZL Settings
• Pivot period for swing detection.
• Channel width (% of price range).
• Maximum number of zones and minimum strength (how many pivots must cluster to form a valid zone).
• Separate style controls for support vs. resistance colors.
⸻
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security or instrument. Always perform your own analysis and use proper risk management. Trading involves risk, and you are solely responsible for your own decisions.
Mawhoob (OBs & FVGs) - v1.1Mawhoob (OBs & FVGs) - v1.1
Professional Market Structure Indicator
----------------------------------------------------
🎯 Overview
----------------------------------------------------
Mawhoob (OBs & FVGs) - v1.1 is a comprehensive technical analysis indicator designed to identify and track two of the most powerful concepts in modern price action trading: Order Blocks (OBs) and Fair Value Gaps (FVGs). This indicator provides traders with automated detection, visualization, and real-time alerts for these key market structure elements, helping you identify high-probability trading zones and potential reversal areas.
----------------------------------------------------
🔍 What Are Order Blocks and Fair Value Gaps?
----------------------------------------------------
✅ Order Blocks (OBs)
Order Blocks represent areas where institutional players have placed significant orders, creating imbalances in supply and demand. These zones often act as strong support or resistance levels where price tends to react when revisited.
* Bullish Order Block (OB+): Forms when a bearish candle is immediately followed by a strong bullish candle that closes above the previous candle's high, indicating institutional buying interest.
* Bearish Order Block (OB-): Forms when a bullish candle is immediately followed by a strong bearish candle that closes below the previous candle's low, indicating institutional selling pressure.
✅ Fair Value Gaps (FVGs)
Fair Value Gaps are price inefficiencies that occur when the market moves too quickly, leaving unfilled price ranges. These gaps often get "filled" or "mitigated" as price returns to seek liquidity and balance.
* Bullish Fair Value Gap (FVG+): Forms when there's a gap between the high of two candles ago and the low of the current candle in an upward move.
* Bearish Fair Value Gap (FVG-): Forms when there's a gap between the low of two candles ago and the high of the current candle in a downward move.
----------------------------------------------------
✨ Key Features ✨
----------------------------------------------------
✅ Order Blocks (OBs) Module:
Detection & Visualization
Automatic OB Detection: Identifies both bullish and bearish order blocks in real-time.
Customizable Display: Show up to 50 order blocks simultaneously.
Visual Distinction: Separate color schemes for bullish and bearish order blocks.
Smart Labeling: Optional OB+/OB- labels for easy identification.
Advanced Filtering Options
Strong OBs Filter: Option to display only "super/strong" order blocks.
FVG Confirmation Filter: Show only order blocks that are immediately followed by fair value gaps for higher confluence.
Flexible Filtering: Use filters independently or combine them for maximum selectivity
Mitigation Tracking
Real-time Monitoring: Automatically tracks when order blocks are "filled" or mitigated by price.
Display Control: Choose whether to show or hide filled order blocks.
Customization Options
Color Settings: Fully customizable colors for bullish/bearish order block zones.
Transparency Control: Adjustable box background transparency.
Border Styles: Choose between Solid, Dashed, or Dotted borders.
Extension Options: Extend boxes to the right or stop at mitigation point.
Label Size: Select from Auto, Tiny, Small, Normal, or Large label sizes.
✅ Fair Value Gaps (FVGs) Module:
Detection & Visualization
Automatic FVG Detection: Identifies both bullish and bearish fair value gaps.
Customizable Display: Show up to 50 FVGs simultaneously.
Visual Distinction: Separate color schemes for bullish and bearish gaps.
Smart Labeling: Optional FVG+/FVG- labels for clarity.
Advanced Filtering Options
Strong FVGs Filter: Display only significant gaps formed by strong candles.
OB Confirmation Filter: Show only FVGs that follow order blocks for enhanced reliability.
Independent Settings: Completely separate filtering from order block module.
Mitigation Tracking
Gap Fill Detection: Automatically detects when price fills the fair value gap.
Visual Updates: Filled gaps change appearance to indicate completion.
Display Options: Control visibility of filled versus unfilled gaps.
Customization Options
Full Color Control: Independent color settings for bullish/bearish FVGs.
Transparency Management: Adjustable transparency levels.
Border Customization: Multiple border style options.
Extension Control: Choose how gaps extend on the chart.
Label Customization: Adjustable label sizes and colors.
----------------------------------------------------
🔔 Alerts & Signals
----------------------------------------------------
Alerts System
Real-time Notifications: Receive instant alerts when new OBs or FVGs are detected.
Separate Alert Channels: Independent alerts for order blocks and fair value gaps.
Price Information: Each alert includes the current price level.
Frequency Control: Alerts trigger once per bar to avoid spam.
Visual Signals
On-Chart Markers: Optional visual signals (circles/diamonds) at detection points.
Color-Coded: Bullish signals below bars, bearish signals above bars.
Toggle Control: Enable/disable signals independently from alerts.
----------------------------------------------------
📋 How to Use This Indicator?
----------------------------------------------------
For Trend Following
Look for Bullish OBs and FVGs in uptrends as potential entry zones.
Look for Bearish OBs and FVGs in downtrends as potential entry zones.
Use unmitigated zones as key support/resistance levels.
For Reversal Trading
Watch for price reactions when approaching order blocks.
Combine multiple timeframe analysis for higher probability setups.
Use the "Strong" filters to focus on the most significant zones.
For Confluence Trading
Enable "Show Only (OBs) that Followed by (FVGs)" filter.
Enable "Show Only (FVGs) that Follow (OBs)" filter.
Trade only when both structures align for maximum confluence.
Risk Management
Monitor when zones become mitigated (filled).
Use multiple timeframes to identify nested zones.
Combine with your existing trading strategy for confirmation.
----------------------------------------------------
⚙️ Recommended Settings
----------------------------------------------------
For Scalping (1m - 5m timeframes)
Display: 15-20 boxes.
Enable: Strong filters.
Disable: Show mitigated zones.
For Day Trading (15m - 1H timeframes)
Display: 20-30 boxes.
Enable: Confluence filters when needed.
Enable: Show mitigated zones for context.
For Swing Trading (4H - Daily timeframes)
Display: 30-50 boxes.
Enable: All zones for comprehensive analysis.
Enable: Confluence filters when needed.
Enable: Show mitigated zones for context.
----------------------------------------------------
💡 Pro Tips
----------------------------------------------------
Multiple Timeframe Analysis: Use the indicator on multiple timeframes to identify nested order blocks and FVGs for stronger setups.
Confluence Zones: Areas where OBs and FVGs overlap often provide the highest probability trades.
Mitigation Matters: Pay attention to how quickly and cleanly zones are mitigated - clean mitigations often indicate institutional interest.
Filter Combinations: Experiment with different filter combinations to find what works best for your trading style.
Alert Management: Set up alerts for both OBs and FVGs to never miss potential setups.
----------------------------------------------------
⚠️ Important Notes
----------------------------------------------------
This indicator is for educational and informational purposes only.
Always confirm signals with your own analysis before trading.
Use proper risk management and position sizing.
The indicator works on all timeframes and instruments.
Past performance does not guarantee future results.
----------------------------------------------------
🔄 Updates & Support
----------------------------------------------------
Current Version: v1.1
This indicator is actively maintained and updated. Future versions may include additional features and improvements based on user feedback.
----------------------------------------------------
🙏 Acknowledgments
----------------------------------------------------
Created by @mawhoobx - Designed to help traders identify institutional footprints and market inefficiencies for better trading decisions.
Boyen_Clean Historical Key Levels (WO, MO, YO & Mon)Define historical Key Level Weekly Open, Montly Open and Yearly Open
Additional with current Monday low & Monday high level
Boyen_Clean Historical Key Levels (WO, MO, & YO)Define historical Key Level Weekly Open, Montly Open and Yearly Open
BTC Halving VWAP [Cycle Analysis]█ OVERVIEW
This indicator plots Anchored Volume Weighted Average Prices (VWAPs) from each Bitcoin halving date, revealing the "fair value" of each market cycle.
The key insight: When price closes below the current cycle's VWAP on the monthly chart (after 1+ year into the cycle), it historically signals the end of the bull market and continuation toward the previous halving's VWAP.
█ HALVING DATES
• H1: November 28, 2012 (Block 210,000)
• H2: July 9, 2016 (Block 420,000)
• H3: May 11, 2020 (Block 630,000)
• H4: April 19, 2024 (Block 840,000)
█ FEATURES
◽ Anchored VWAPs — VWAP lines calculated from each halving date
◽ Consolidation Bands — Adjustable percentage bands around each VWAP (default ±15%)
◽ Cycle Top Detection — Tracks the highest high before VWAP breakdown
◽ Breakdown Signals — Visual markers when price breaks below cycle VWAP (bearish confirmation)
◽ Interactive Dashboard — Shows cycle progress, VWAP levels, and historical comparison
◽ Alerts — Configurable alerts for VWAP crossovers and breakdowns
█ HOW TO USE
1. Apply to BTCUSD on the Monthly timeframe for best results
2. Watch the H4 VWAP (gold line) — this is the current cycle's fair value
3. When price is ABOVE the VWAP → Bullish bias
4. When price is BELOW the VWAP → Bearish bias, expect move to previous cycle VWAP
5. The ▼ signal marks confirmed cycle tops (VWAP breakdown after 1+ year)
█ DASHBOARD GUIDE
• Price — Current price and gain from halving
• Day — Days since halving and cycle progress %
• VWAP Levels — Current VWAP values with status (ABOVE/BELOW/CONSOL)
• Cycle Tops — Historical days to cycle top for H2 and H3
• Next Halving — Estimated date and countdown
█ SETTINGS
Display:
• Toggle dashboard, consolidation bands, vertical lines, cycle tops, breakdown signals
VWAPs:
• Show/hide individual halving VWAPs (H1-H4)
Settings:
• Dashboard text size
• Consolidation band percentage
• Cycle top label size
█ ALERTS
• VWAP Breakdown — Price breaks below any halving VWAP
• VWAP Reclaim — Price reclaims a halving VWAP
• Consolidation Zone — Price enters consolidation around VWAP
█ NOTES
• Best used on Monthly (1M) timeframe for cycle analysis
• Weekly timeframe also works for more granular view
• H1 VWAP disabled by default (requires data from 2012)
• Cycle top locks when price closes below VWAP after 365+ days into the cycle
VLB Cycle Levels Tool Structural Cycle Mapping for XAUUSDThe VLB Cycle Levels Tool provides a visual framework for examining structural cycles on XAUUSD.
It displays automatically generated levels based on a rules-based approach, allowing traders to observe how price interacts with recurring structural areas over time.
The tool adapts as market structure evolves, updating its levels when new highs or lows form.
Its purpose is to offer a clear, consistent view of structural cycles so users can incorporate these reference points into their independent chart analysis.
Features:
Automatically generated structural cycle levels
Dynamic updates as market structure develops
Neutral, non-predictive visualization
Clear reference zones for studying price behavior
This tool does not generate trading signals, provide timing information, or offer predictive analysis.
It simply organizes price structure into visual reference points that may assist users in their own interpretation and decision-making process.
Users remain fully responsible for their analysis, timing, and risk management.
The VLB Cycle Levels Tool is intended for traders who prefer an objective way to observe structural cycles and level-based behavior on XAUUSD as market conditions change.
VLB Dynamic Levels Tool Structural Mapping for XAUUSDThe VLB Dynamic Levels Tool provides a visual framework for observing price structure on XAUUSD.
It displays automatically generated levels based on a rules-based approach, allowing traders to study how price interacts with important reference areas on the chart.
The tool updates dynamically as market structure evolves, reflecting changes in price movement without requiring manual redrawing.
Its purpose is to offer a clear, consistent layout of structural levels that users can incorporate into their own market analysis.
Features:
Automatically displayed structural reference levels
Dynamic recalculation as new highs and lows form
Neutral, non-predictive visual layout
A consistent framework for studying price behavior
This tool does not generate trading signals or provide predictive information.
It simply organizes price structure into visual reference points that may assist users in their independent chart analysis.
Traders remain fully responsible for their own interpretation, timing, and risk management.
The VLB Dynamic Levels Tool is intended for those who prefer a clean and adaptable way to observe XAUUSD structure throughout changing market conditions.
Elev8+ Impulse Levels | Smart Support & ResistanceElev8+ Impulse Levels | Smart Support & Resistance
Ever notice price rejecting “empty” areas on the chart—like it remembered something that isn’t obvious?
That “something” is often Institutional Impulse : footprints left behind by large, aggressive moves that get defended again days or weeks later .
Elev8+ Impulse Levels automatically detects these moments and projects the most important prices forward so you can see the structure most traders miss.
— — —
🧠 How It Works (The Logic)
This is not a typical support/resistance tool. It does not hunt swing highs/lows.
It looks for Market Intent —the “Perfect Storm” when two conditions align:
Volume Spike — buying/selling pressure significantly exceeds average volume (multiplier-based).
Volatility Expansion — the candle body is unusually large relative to recent ATR.
When both occur, the script marks the event and treats the impulse close as a key “line in the sand” that can influence future reactions.
— — —
🎯 How to Use These Levels
The script includes a Smart Line behavior that changes level styling based on how price interacts with it—so you can quickly separate two core setups:
1) The Defense (Bounce)
Visual: 🟢 Solid line (Fresh / Untouched)
What it means: Price has not yet traded through or “invalidated” the level.
What to look for: First return to the level → rejection / bounce behavior.
Why it matters: Large players often defend prior entries; first tests can react sharply.
2) The Flip (Break & Retest)
Visual: ◌ Dotted line (Broken / Re-priced)
What it means: A candle has closed through the level.
What to look for: Price returns to the dotted level from the other side (“kiss”) → continuation.
Why it matters: Broken support can act as resistance (and vice versa), similar to a breaker concept.
— — —
✨ Key Features
Smart Visualization — levels automatically transition from solid → dotted when broken to reduce chart noise.
Impulse Candle Highlighting — see the exact candle that created the level (origin clarity).
Fully Customizable Sensitivity — tune volume + size thresholds for Crypto, Forex, Futures, or Stocks.
— — —
🚀 The Elev8+ Workflow
Think of Impulse Levels as your map : it shows where reactions are most likely.
For entry timing, pair it with Elev8+ Pro Reversal to confirm the moment price reacts at these high-value zones.
— — —
Disclaimer: Trading involves risk. This tool is for educational/technical analysis purposes only and does not guarantee future results.
Elev8+ Impulse LevelsElev8+ Impulse Levels | Smart Support & Resistance
Ever notice price rejecting “empty” areas on the chart—like it remembered something that isn’t obvious?
That “something” is often Institutional Impulse : footprints left behind by large, aggressive moves that get defended again days or weeks later .
Elev8+ Impulse Levels automatically detects these moments and projects the most important prices forward so you can see the structure most traders miss.
— — —
🧠 How It Works (The Logic)
This is not a typical support/resistance tool. It does not hunt swing highs/lows.
It looks for Market Intent —the “Perfect Storm” when two conditions align:
Volume Spike — buying/selling pressure significantly exceeds average volume (multiplier-based).
Volatility Expansion — the candle body is unusually large relative to recent ATR.
When both occur, the script marks the event and treats the impulse close as a key “line in the sand” that can influence future reactions.
— — —
🎯 How to Use These Levels
The script includes a Smart Line behavior that changes level styling based on how price interacts with it—so you can quickly separate two core setups:
1) The Defense (Bounce)
Visual: 🟢 Solid line (Fresh / Untouched)
What it means: Price has not yet traded through or “invalidated” the level.
What to look for: First return to the level → rejection / bounce behavior.
Why it matters: Large players often defend prior entries; first tests can react sharply.
2) The Flip (Break & Retest)
Visual: ◌ Dotted line (Broken / Re-priced)
What it means: A candle has closed through the level.
What to look for: Price returns to the dotted level from the other side (“kiss”) → continuation.
Why it matters: Broken support can act as resistance (and vice versa), similar to a breaker concept.
— — —
✨ Key Features
Smart Visualization — levels automatically transition from solid → dotted when broken to reduce chart noise.
Impulse Candle Highlighting — see the exact candle that created the level (origin clarity).
Fully Customizable Sensitivity — tune volume + size thresholds for Crypto, Forex, Futures, or Stocks.
— — —
🚀 The Elev8+ Workflow
Think of Impulse Levels as your map : it shows where reactions are most likely.
For entry timing, pair it with Elev8+ Pro Reversal to confirm the moment price reacts at these high-value zones.
— — —
Disclaimer: Trading involves risk. This tool is for educational/technical analysis purposes only and does not guarantee future results.
The 1 High/Low StrategyThis strategy takes advantage of price Support and Resistance at High and Low level points of the day to enter high Risk to Reward positions with a high win rate.
Malama's PRE-Market Box Overview
Malama's PM Box is a clean, professional pre-market range indicator that tracks the entire pre-market session (default 04:00–09:30 EST), draws a dynamic box during pre-market hours, and automatically extends clean high/low reference lines into the regular trading session. Upon breakout of these levels during regular hours, it optionally displays clear "BREAK" labels and fires alerts — making it ideal for day traders focusing on pre-market range breakouts.
Key Features
Dynamic Pre-Market Box: A real-time updating box that visually represents the developing pre-market high and low range, with customizable fill color, border, and transparency.
Extended Support & Resistance Lines: At the start of regular trading hours (09:30), the final pre-market high (resistance) and low (support) are locked in and extended as horizontal lines across the chart for the entire day.
Breakout Signals: Optional on-chart "BREAK" labels (green upward for bullish, red downward for bearish) when price closes beyond the pre-market high or low during regular hours.
Alerts: Built-in alert conditions for bullish breakouts (above PM high) and bearish breakdowns (below PM low).
Clean & Efficient Drawing: Uses Pine Script boxes and lines for smooth visuals and performance; lines extend automatically until the next trading day.
Major Differences & Improvements from the Older "Malama's KAYCAP Pre-Market Box"
The older script focused on isolating a single specific candle (default 4:00 AM) and plotting its body and wick levels separately. This new version represents a complete evolution into a full pre-market range tool with the following key upgrades:
Full Session Range vs. Single Candle:
Old: Captured only one user-defined minute/candle (e.g., exactly 4:00).
New: Tracks the entire pre-market session (default 04:00–09:30) and continuously updates the true session high/low.
Visual Presentation:
Old: Four separate plots (body top/bottom, high/low) with basic fill.
New: Single professional box with customizable fill/transparency/border during pre-market, plus clean extended horizontal lines after market open.
Extension & Persistence:
Old: Static plots that did not extend or update dynamically.
New: Lines automatically extend rightward throughout the regular session and reset cleanly each day.
Breakout Detection & Signaling:
Old: No breakout logic or alerts.
New: Detects true breakout/breakdown candles during regular hours, with optional visual labels and dedicated alert conditions.
User Experience:
Old: Required manual configuration of exact minute and separate pre-market session inputs (unused in logic).
New: Simplified session input using TradingView's built-in session string, fewer inputs overall, and more intuitive grouping.
In essence, the older version was a niche tool for analyzing one specific pre-market candle's structure, while PM Box (Visual Pro) is a modern, practical day-trading utility focused on the classic pre-market high/low range strategy with superior visuals, automation, and breakout signaling.
How to Use
Apply to 1-minute or 5-minute charts on US stocks or indices with pre-market data.
Default session (04:00–09:30) captures standard US pre-market; adjust if your broker uses a different timezone.
Watch the box develop live during pre-market.
Once regular hours begin, use the extended high (resistance) and low (support) lines as key levels.
Trade breakouts/breakdowns when price closes beyond these lines (confirmed by labels and alerts).
Combine with volume, trend filters, or other confluence for higher-probability setups.
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and combine with your own analysis. Trading involves substantial risk of loss.
SMC Academy [PhenLabs]📊 SMC Academy
Version: PineScript™ v6
📌 Description
The SMC Academy indicator is a comprehensive educational tool designed to demystify Smart Money Concepts (SMC) for traders of all levels. Unlike standard indicators that simply print signals, this script uses a “Learning Phase” system that allows users to toggle between individual concepts—such as Market Structure, Liquidity, Imbalances, and Order Blocks—or view them all simultaneously. It lets you focus on one piece of the puzzle at a time.
🚀 Points of Innovation
Progressive Learning Modes: Toggle between 5 distinct phases to master concepts individually before using the Full Strategy Mode.
Educational Tooltips: Hover over labels to read detailed explanations of why a BOS, MSS, or Liquidity zone was identified.
Smart Filtering: Uses ATR and Volume integration to filter out low-quality Fair Value Gaps and weak Order Blocks.
HTF Dashboard: A built-in panel analyzes Higher Timeframe (4H) data to ensure you are trading in alignment with the broader trend.
🔧 Core Components
Market Structure Engine: Automatically detects Swing Highs and Lows to map out market direction using configurable swing lengths.
Liquidity Manager: Identifies unmitigated swing points that serve as Buy-Side (BSL) and Sell-Side (SSL) liquidity magnets.
Imbalance Detector: Highlights Fair Value Gaps (FVG) where price inefficiencies exist, using ATR thresholds to ignore noise.
Order Block Identifier: Locates the specific candles responsible for structure breaks, validated by volume analysis.
🔥 Key Features
Break of Structure (BOS): Automatically marks trend continuation signals with solid lines and color-coded labels.
Market Structure Shift (MSS): Identifies potential trend reversals when significant swing points are breached.
Dashboard Context: Displays the current trend direction and the 4H context directly on your chart.
Custom Alerts: Built-in alert conditions for structure breaks and new Order Blocks allow for automated tracking.
🎨 Visualization
Structure Lines: Solid lines indicate confirmed breaks (Green for Bullish, Red for Bearish).
Liquidity Zones: Dotted lines extending rightward indicate resting liquidity levels that price may target.
FVG Boxes: Shaded boxes highlight imbalance zones, automatically extending for a user-defined number of bars.
Dashboard: A clean, non-intrusive table in the top-right corner displays trend status and active mode.
📖 Usage Guidelines
Setting Categories
Learning Mode: Select from ‘1. Market Structure’ through ‘5. Full Strategy Mode’ to filter what appears on the chart.
Swing Detection Length: Default (5). Determines the sensitivity of the swing high/low detection.
Structure Break Type: Options (Close/Wick). Choose whether a candle close or just a wick is required to confirm a break.
Min FVG Size: Default (0.5 ATR). Filters out gaps smaller than this multiplier to reduce noise.
Filter Weak OBs by Volume: Default (True). Only highlights Order Blocks where volume exceeds the 20-period average.
✅ Best Use Cases
Educational Study: Isolate “Phase 1: Market Structure” to practice identifying trend changes without distraction.
Trend Following: Use “Phase 3: Imbalances” to find entry points within an established trend.
Reversal Trading: Combine “Phase 2: Liquidity” and “Phase 4: Order Blocks” to catch reversals at key levels.
⚠️ Limitations
Subjectivity: Market structure can be interpreted differently depending on the swing length settings used.
Ranging Markets: Like all trend-following concepts, false BOS/MSS signals may generate during choppy, sideways price action.
Repainting: While the signals are non-repainting once confirmed, the live candle may flash a signal before the close if “Close” mode is selected.
💡 What Makes This Unique
Interactive Learning: The inclusion of tooltip explanations transforms this from a simple tool into an active mentor.
Phase-Based Workflow: The ability to strip the chart back to basics at the click of a button is unique to the PhenLabs ecosystem.
🔬 How It Works
Swing Analysis: The script calculates pivot highs and lows based on your length input to define the structural landscape.
Break Validation: It checks if price crosses these pivot points to trigger BOS (Continuation) or MSS (Reversal) logic.
Volume Confirmation: For Order Blocks, it looks back inside the swing leg to find the specific candle responsible for the move, verifying it has significant volume.
💡 Note:
For the best experience, start in Phase 1 to calibrate your Swing Detection Length to the specific volatility of the asset you are trading before enabling Full Strategy Mode.
NY ORB, VWAP & EMAsThis release introduces powerful new features focused on session analysis, trade alerts, and clear market visualization to help you better frame the trading day.
✨ New Features
1. Automated Trading Session Identification
The indicator now automatically identifies and highlights two key market periods:
Asian Session High/Low Tracking: Automatically tracks and plots the High and Low prices established during the Asian Trading Session (5:00 PM – 2:00 AM PST). These levels provide critical reference points for potential support and resistance during subsequent sessions.
Power Hour Visualization: A subtle green background highlight is now applied to the chart during the "Power Hour" (6:00 AM – 9:30 AM PST). This visually marks the high-volatility period immediately following the New York Open, helping traders focus on active price action.
⚙️ Technical Changes
Plot Style: The plots for the "Asian High" and "Asian Low" are now plotted using circles (plot.style_circles) for clear visibility and differentiation from standard lines.
Whale Flow PRO [Institutional Grade Trend System]Whale Flow PRO is an advanced market analysis algorithm designed to align retail traders with institutional liquidity cycles. Unlike standard lagging indicators, Whale Flow focuses on detecting the underlying phase of the market: Liquidity Building (Consolidation) vs. Institutional Expansion (Whale Runs).
This tool was engineered to solve the biggest problem in trading: getting trapped in choppy markets ("Whipsaws") and missing the true explosive moves.
⚙️ How It Works
The algorithm utilizes a proprietary volatility-adjusted volume model combined with dynamic price-action pivots. By analyzing the rate of change relative to historical volatility compression, the script identifies key "Pivot Lines" where liquidity is likely to flow.
Trend Filtering: It automatically filters out noise by calculating a custom "Consolidation Index". When the market is in a building phase, signals are suppressed to protect capital.
Whale Runs: When volatility expands beyond a specific threshold in the direction of the dominant trend, the system triggers a "Whale Run" mode, signaling high-probability entry zones.
📊 Key Features
Smart Dashboard (HUD): A real-time professional panel displaying the current Trend Direction, Market Phase (Run vs. Build), and active Pivot Levels.
Dynamic Heatmap: A visual ribbon at the bottom of the chart that tracks the historical strength of the trend flow.
Context-Aware Coloring:
Neon Green: Confirmed Bullish Flow (Whale Run).
Neon Red: Confirmed Bearish Flow (Dump).
Silver/Gray: Consolidation Zone (Safety Mode - No Trades).
Protection System: The "Liquidity Build" filter prevents entries during sideways movement, significantly increasing the win rate of the signals.
🔒 Access
This is an Invite-Only script dedicated to professional traders and community members. It is strictly protected to maintain the edge of its users.
To obtain access: Please visit the link in my signature or send me a private message (PM) here on TradingView for licensing details.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Past performance (even of whales) is not indicative of future results.
Dynamic Multi-Timeframe SMAs (Brian Shannon Style)Overview : This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.
How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.
Features:
Asset Class Selector : Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.
Info Table : Displays exactly how many bars are being used for the calculation in real-time.






















