PriorWeekOHLMC Pro+Prior Week OHLC + Zones – Professional Edition
OVERVIEW
Professional visualisation of the previous week’s Open, High, Low, Close, and Midpoint levels with thick hierarchical filled zones and a full prior-week candle displayed in the right margin for instant weekly context.
CONCEPT BACKGROUND
Plotting the previous week’s key levels (PWH, PWL, PWO, PWC, PWM) is a public-domain technique widely used by swing traders, position traders, and institutions as major support/resistance and measured-move reference points.
IMPLEMENTATION & VALUE ADDED
This indicator follows the standard prior-week methodology but adds the following original, professional-grade enhancements:
• Thick, colour-coded filled zones (High zone, Mid zone, Low zone) for immediate visual hierarchy
• Full prior-week candle rendered in the right margin for quick weekly bias and range reference
• All levels plotted as exportable values (downloadable via TradingView’s data export for backtesting and analysis)
• Comprehensive alertconditions on every level and zone boundary (breakouts, bounces, touches)
• Clean, lightweight, no-repaint execution on any timeframe or instrument
HOW TO USE
Apply to daily or intraday charts. The shaded zones serve as primary weekly support/resistance areas. Use the right-margin prior-week candle to instantly see last week’s range, close location, and directional bias.
CREDIT & TRANSPARENCY
Core methodology: public domain (Previous Week High/Low/Open/Close/Mid).
This is an independent implementation with no code reused from existing public scripts. All visual zones, right-margin candle display, exportable plots, alerting framework, and styling are original.
DISCLAIMER
For educational and informational purposes only. Not financial advice. Past performance is no guarantee of future results. Test thoroughly.
Pivot-Punkte und Levels
PriorDayOHLMC Pro+ Prior Day OHLC + Zones – Professional Edition
OVERVIEW
Professional visualisation of the previous trading day’s Open, High, Low, Close, and Midpoint levels with filled hierarchical zones and a full prior-day candle displayed in the right margin.
CONCEPT BACKGROUND
Plotting the previous day’s key levels (PDH, PDL, PDO, PDC, PDM) is a public-domain technique used by institutional and retail traders for decades as reference points for support/resistance, breakout targets, and risk management.
IMPLEMENTATION & VALUE ADDED
This indicator follows the standard prior-day methodology but adds the following original, professional-grade enhancements:
• Thick, color-coded filled zones (High zone, Mid zone, Low zone) for instant visual structure
• Full prior-day candle rendered in the right margin for immediate context
• All levels plotted as exportable values (downloadable via TradingView’s data export for custom analysis)
• Comprehensive alert conditions on every level and zone boundary
• Clean, lightweight, no-repaint execution on any timeframe or instrument
HOW TO USE
Apply to any intraday chart. The shaded zones act as primary support/resistance areas. Use the rendered prior-day candle for quick visual reference of yesterday’s range and close bias.
CREDIT & TRANSPARENCY
Core methodology: public domain (Previous Day High/Low/Open/Close/Mid).
This is an independent implementation with no code reused from existing public scripts. All visual zones, right-margin candle display, exportable plots, alerting framework, and styling are original.
DISCLAIMER
For educational and informational purposes only. Not financial advice. Past performance is no guarantee of future results. Test thoroughly.
BORSA 321 - Care PackageOverview
Care Package is a complete higher-timeframe and intraday context tool designed to map out every important environmental factor on your chart: sessions, opening levels, gaps, market structure, order blocks, fair value gaps, volume imbalance and more.
It automatically plots:
Sessions / killzones (Asia, London, New York AM/Lunch/PM)
Key opening levels (00:00, 08:30, 09:30, 13:30)
Previous day AM/PM high–low ranges
New Day and New Week Opening Gaps (NDOG / NWOG)
RTH gap and RTH zone levels
Multi-timeframe Fair Value Gaps (up to 4)
Fractals and Order Blocks (with optional FVG confirmation)
Market structure (HH/HL/LL/LH, CHoCH, BOS)
Volume Imbalance zones with mitigation logic
All session logic runs on IANA time zones (like America/New_York), giving accurate sessions and market opens regardless of DST or broker feed.
Care Package serves as the full “context layer” for intraday execution charts.
What It Shows
1. Sessions / Killzones
The indicator automatically highlights:
Asia Session
London Session
New York AM
New York Lunch
New York PM
Each session displays:
A high–low range box
Labels for session high and session low
A midline showing the mean price
Optional forward extensions of session levels to the current bar
This cleanly outlines intraday phases for ICT/SMC execution.
2. Opening Price Levels
Key market open levels tracked:
00:00
08:30
09:30
13:30
For each open, the script draws:
A horizontal line at the opening price
A label showing time and price
An optional vertical line marking the opening bar
These opens often act as liquidity or reversal areas.
3. Previous Day AM/PM Levels
The script splits the prior day into:
Previous Day AM (first half)
Previous Day PM (second half)
Both provide:
PD AM High, PD AM Low
PD PM High, PD PM Low
Forward-projected levels
Labels for easy identification
Useful for navigating intraday targets and reaction zones.
4. Last N Days High/Low
Tracks a rolling daily range:
Each day’s High and Low
Labels containing the date
Forward extension into today’s price action
This shows where price sits relative to recent daily extremes.
5. New Day & New Week Opening Gaps (NDOG / NWOG)
The script automatically identifies:
NDOG (New Day Open Gap)
NWOG (New Week Open Gap)
Each gap includes:
A shaded zone between the two opens
Labels showing the gap type and date/week
Forward extension (optional)
Limiting the number of historical gaps (optional)
Critical for identifying unfilled imbalance zones across sessions and weeks.
6. RTH Gap & RTH Zone
You define RTH open/close times, and the indicator:
Detects RTH gaps
Draws a full zone based on direction
Plots subdivision lines (top, 75%, mid, 25%, bottom)
Extends the RTH Close reference line forward
Can extend old RTH zones automatically
Ideal for futures traders and equities.
7. Higher-Timeframe Fair Value Gaps (up to 4 TFs)
Supports up to four selectable FVG timeframes such as:
Chart timeframe
5m, 15m, 1H, 4H, 1D, 1W, 1M
Each FVG includes:
Top and bottom boundary
A midline (mean threshold)
Colored bullish or bearish fill
A label showing FVG + timeframe
Automatic cleanup when mitigated (close/wick based)
You get a clean and accurate HTF FVG map without clutter.
8. Fractals & Order Blocks
Fractals:
Standard or 5-bar fractals
Plotted as swing highs and lows
Order Blocks:
Bullish OB → down candle before up displacement
Bearish OB → up candle before down displacement
Optionally require OB to be near an FVG
Wick-based or body-based OB size
Forward-projected OB boxes
Auto-delete after mitigation
This keeps your OBs clean and execution-focused.
9. Market Structure (HH/HL/LL/LH, CHoCH, BOS)
The indicator automatically detects:
HH (Higher High)
HL (Higher Low)
LH (Lower High)
LL (Lower Low)
And also identifies:
CHoCH (Change of Character)
BOS (Break of Structure)
Each break includes:
A horizontal level at the break point
A color-coded label
Bullish (green) or bearish (red) styling
A complete market structure map is built automatically.
10. Volume Imbalances (VI)
Detects and displays:
Bullish VI (VI+)
Bearish VI (VI-)
Features:
Configurable colors
Custom label size
Max visible boxes
Extension until mitigation
Automatic mitigation detection (close or wick)
Highlight when price enters an active VI
Perfect for tracking aggressive buying/selling footprints.
11. Timezone & Date/Time Widget
Uses IANA timezones for:
Accurate session boundaries
Proper DST handling
Multi-market consistency
Also includes a small on-chart table showing:
Your timezone date/time
Exchange timezone date/time
Great for globally active traders.
12. Max Display Timeframe
To prevent clutter, the script disables visuals above a chosen timeframe.
If you exceed it:
A clean on-chart message appears
Tells you to lower your chart TF or adjust the Max Display TF
Keeps charts fast and clean
Key Inputs & Customization
Timezone (IANA format)
Max Display Timeframe
Session/Killzone toggles, colors, naming
Opening levels (00:00 / 08:30 / 09:30 / 13:30)
Previous Day AM/PM highs/lows
NDOG / NWOG gap settings
RTH gap settings
FVG batching (4 independent timeframes)
Fractal type
Order Block settings (range type, deletion, FVG filter)
Market structure settings
Volume Imbalance settings
Date/time widget settings
Everything is modular — turn features on/off individually.
How It Helps Traders
For Intraday Traders / Scalpers:
Session mapping for timing setups
Exact key opening prices
RTH gaps and internals
Precise daily AM/PM high–low context
HTF FVGs, OBs, VI zones for higher-timeframe bias
Real-time CHoCH/BOS for entry timing
For Swing Traders:
Daily/weekly context plotted automatically
NDOG, NWOG, RTH gap awareness
Macro structure levels
HTF FVGs and OBs for HTF targets
Session Ranges Pro+Session Range Zones – Professional Edition
OVERVIEW
Professional visualization of the classic opening-range / Initial Balance concept across Asian, London, and Regular (US) sessions.
Displays the high/low of the user-defined opening window as thick, hierarchical filled zones with optional Fibonacci and standard-deviation extensions plus full alerting.
CONCEPT BACKGROUND
Using the high and low of the first 30–60 minutes of a session as key support/resistance is public-domain knowledge that has been standard in institutional trading for decades (Initial Balance, Opening Range, Session Range, etc.).
On TradingView the same principle was popularized under the name “Defining / DealingRange / DR/IDR” by TheMas7er and others.
IMPLEMENTATION & VALUE ADDED
This indicator follows the established, public-domain range-calculation methodology but has been completely rewritten with the following original enhancements:
• Clean, filled High / Mid / Low zones for instant visual hierarchy
• Intuitive Asian / London / Regular session labelling and fully custom timing
• Comprehensive dynamic & static Fibonacci and 50%/100% standard-deviation extensions
• Alert conditions on every zone, midline, opening level, and extension line
• Modern, modular code architecture using arrays and custom drawing functions
• No repainting, lightweight performance on any intraday timeframe
HOW TO USE
Apply to 1–15 min charts. Select desired sessions and formation period (30 or 60 min typical).
Shaded zones serve as primary support/resistance; extensions provide measured-move targets.
CREDIT & TRANSPARENCY
Core methodology: public domain (Initial Balance / Opening Range / Session Range).
Early TradingView popularization of the DR/IDR naming and feature set: TheMas7er **(with thanks to community contributors like bmsitiaan and trading-guide for refinements)**.
**Utilizes PineCoders' VisibleChart library for optimized chart rendering.**
This script uses the same foundational principle and logical input options but is an independent implementation. All visual presentation, zone system, multi-session handling, extension systems, alerting framework, and underlying code structure are original.
DISCLAIMER
For educational and informational purposes only. Not financial advice. Past performance is no guarantee of future results. Test thoroughly on your instruments and timeframes.
Time-Decay Liquidity Zones [BackQuant]Time-Decay Liquidity Zones
A dynamic liquidity map that turns single-bar exhaustion events into fading, color-graded zones, so you can see where trapped traders and unfinished business still matter, and when those areas have finally stopped pulling price.
What this is
This indicator detects unusually strong impulsive moves into wicks, converts them into supply or demand “zones,” then lets those zones decay over time. Each zone carries a strength score that fades bar by bar. Zones that stop attracting or rejecting price are gradually de-emphasized and eventually removed, while the most relevant areas stay bright and obvious.
Instead of static rectangles that live forever, you get a living liquidity map where:
Zones are born from objective criteria: volatility, wick size, and optional volume spikes.
Zones “age” using a configurable decay factor and maximum lifetime.
Zone color and opacity reflect current relative strength on a unified clear → green → red gradient.
Zones freeze when broken, so you can distinguish “active reaction areas” from “historical levels that have already given way”.
Conceptual idea
Large wicks with strong volatility often mark areas where aggressive orders met hidden liquidity and got absorbed. Price may revisit these areas to test leftover interest or to relieve trapped positions. However, not every wick matters for long. As time passes and more bars print, the market “forgets” some areas.
Time-Decay Liquidity Zones turns that idea into a rule-based system:
Find bars that likely reflect strong aggressive flows into liquidity.
Mark a zone around the wick using ATR-based thickness.
Assign a strength score of 1.0 at birth.
Each bar, reduce that score by a decay factor and remove zones that fall below a threshold or live too long.
Color all surviving zones from weak to strong using a single gradient scale and a visual legend.
How events are detected
Detection lives in the Event Detection group. The script combines range, wick size, and optional volume filters into simple rules.
Volatility filter
ATR Length — computes a rolling ATR over your chosen window. This is the volatility baseline.
Min range in ATRs — bar range (High–Low) must exceed this multiple of ATR for an event to be considered. This avoids tiny bars triggering zones.
Wick filters
For each bar, the script splits the candle into body and wicks:
Upper wick = High minus the max(Open, Close).
Lower wick = min(Open, Close) minus Low.
Then it tests:
Upper wick condition — upper wick must be larger than Min wick size in ATRs × ATR.
Lower wick condition — lower wick must be larger than Min wick size in ATRs × ATR.
Only bars with a sufficiently long wick relative to volatility qualify as candidate “liquidity events”.
Volume filter
Optionally, the script requires a volume spike:
Use volume filter — if enabled, volume must exceed a rolling volume SMA by a configurable multiplier.
Volume SMA length — period for the volume average.
Volume spike multiplier — how many times above the SMA current volume needs to be.
This lets you focus only on “heavy” tests of liquidity and ignore quiet bars.
Event types
Putting it together:
Upper event (potential supply / long liquidation, etc.)
Occurs when:
Upper wick is large in ATR terms.
Full bar range is large in ATR terms.
Volume is above the spike threshold (if enabled).
Lower event (potential demand / short liquidation, etc.)
Symmetric conditions using the lower wick.
How zones are constructed
Zone geometry lives in Zone Geometry .
When an event is detected, the script builds a rectangular box that anchors to the wick and extends in the appropriate direction by an ATR-based thickness.
For upper (supply-type) zones
Bottom of the zone = event bar high.
Top of the zone = event bar high + Zone thickness in ATRs × ATR.
The zone initially spans only the event bar on the x-axis, but is extended to the right as new bars appear while the zone is active.
For lower (demand-type) zones
Top of the zone = event bar low.
Bottom of the zone = event bar low − Zone thickness in ATRs × ATR.
Same extension logic: box starts on the event bar and grows rightward while alive.
The result is a band around the wick that scales with volatility. On high-ATR charts, zones are thicker. On calm charts, they are narrower and more precise.
Zone lifecycle, decay, and removal
All lifecycle logic is controlled by the Decay & Lifetime group.
Each zone carries:
Score — a floating-point “importance” measure, starting at 1.0 when created.
Direction — +1 for upper zones, −1 for lower zones.
Birth index — bar index at creation time.
Active flag — whether the zone is still considered unbroken and extendable.
1) Active vs broken
Each confirmed bar, the script checks:
For an upper zone , the zone is counted as “broken” when the close moves above the top of the zone.
For a lower zone , the zone is counted as “broken” when the close moves below the bottom of the zone.
When a zone breaks:
Its right edge is frozen at the previous bar (no further extension).
The zone remains on the chart, but is no longer updated by price interaction. It still decays in score until removal.
This lets you see where a major level was overrun, while naturally fading its influence over time.
2) Time decay
At each confirmed bar:
Score := Score × Score decay per bar .
A decay value close to 1.0 means very slow decay and long-lived zones.
Lower values (closer to 0.9) mean faster forgetting and more current-focused zones.
You are controlling how quickly the market “forgets” past events.
3) Age and score-based removal
Zones are removed when either:
Age in bars exceeds Max bars a zone can live .
This is a hard lifetime cap.
Score falls below Minimum score before removal .
This trims zones that have decayed into irrelevance even if their age is still within bounds.
When a zone is removed, its box is deleted and all associated state is freed to keep performance and visuals clean.
Unified gradient and color logic
Color control lives in Gradient & Color . The indicator uses a single continuous gradient for all zones, above and below price, so you can read strength at a glance without guessing what palette means what.
Base colors
You set:
Mid strength color (green) — used for mid-level strength zones and as the “anchor” in the gradient.
High strength color (red) — used for the strongest zones.
Max opacity — the maximum visual opacity for the solid part of the gradient. Lower values here mean more solid; higher values mean more transparent.
The script then defines three internal points:
Clear end — same as mid color, but with a high alpha (close to transparent).
Mid end — mid color at the strongest allowed opacity.
High end — high color at the strongest allowed opacity.
Strength normalization
Within each update:
The script finds the maximum score among all existing zones.
Each zone’s strength is computed as its score divided by this maximum.
Strength is clamped into .
This means a zone with strength 1.0 is currently the strongest zone on the chart. Other zones are colored relative to that.
Piecewise gradient
Color is assigned in two stages:
For strength between 0.0 and 0.5: interpolate from “clear” green to solid green.
Weak zones are barely visible, mid-strength zones appear as solid green.
For strength between 0.5 and 1.0: interpolate from solid green to solid red.
The strongest zones shift toward the red anchor, clearly separating them from everything else.
Strength scale legend
To make the gradient readable, the indicator draws a vertical legend on the right side of the chart:
About 15 cells from top (Strong) to bottom (Weak).
Each cell uses the same gradient function as the zones themselves.
Top cell is labeled “Strong”; bottom cell is labeled “Weak”.
This legend acts as a fixed reference so you can instantly map a zone’s color to its approximate strength rank.
What it plots
At a glance, the indicator produces:
Upper liquidity zones above price, built from large upper wick events.
Lower liquidity zones below price, built from large lower wick events.
All zones colored by relative strength using the same gradient.
Zones that freeze when price breaks them, then fade out via decay and removal.
A strength scale legend on the right to interpret the gradient.
There are no extra lines, labels, or clutter. The focus is the evolving structure of liquidity zones and their visual strength.
How to read the zones
Bright red / bright green zones
These are your current “major” liquidity areas. They have high scores relative to other zones and have not yet decayed. Expect meaningful reactions, absorption attempts, or spillover moves when price interacts with them.
Faded zones
Pale, nearly transparent zones are either old, decayed, or minor. They can still matter, but priority is lower. If these are in the middle of a long consolidation, they often become background noise.
Broken but still visible zones
Zones whose extension has stopped have been overrun by closing price. They show where a key level gave way. You can use them as context for regime shifts or failed attempts.
Absence of zones
A chart with few or no zones means that, under your current thresholds, there have not been strong enough liquidity events recently. Either tighten the filters or accept that recent price action has been relatively balanced.
Use cases
1) Intraday liquidity hunting
Run the indicator on lower timeframes (e.g., 1–15 minute) with moderately fast decay.
Use the upper zones as potential sell reaction areas, the lower zones as potential buy reaction areas.
Combine with order flow, CVD, or footprint tools to see whether price is absorbing or rejecting at each zone.
2) Swing trading context
Increase ATR length and range/wick multipliers to focus only on major spikes.
Set slower decay and higher max lifetime so zones persist across multiple sessions.
Use these zones as swing inflection areas for larger setups, for example anticipating re-tests after breakouts.
3) Stop placement and invalidation
For longs, place invalidation beyond a decaying lower zone rather than in the middle of noise.
For shorts, place invalidation beyond strong upper zones.
If price closes through a strong zone and it freezes, treat that as additional evidence your prior bias may be wrong.
4) Identifying trapped flows
Upper zones formed after violent spikes up that quickly fail can mark trapped longs.
Lower zones formed after violent spikes down that quickly reverse can mark trapped shorts.
Watching how price behaves on the next touch of those zones can hint at whether those participants are being rescued or squeezed.
Settings overview
Event Detection
Use volume filter — enable or disable the volume spike requirement.
Volume SMA length — rolling window for average volume.
Volume spike multiplier — how aggressive the volume spike filter is.
ATR length — period for ATR, used in all size comparisons.
Min wick size in ATRs — minimum wick size threshold.
Min range in ATRs — minimum bar range threshold.
Zone Geometry
Zone thickness in ATRs — vertical size of each liquidity zone, scaled by ATR.
Decay & Lifetime
Score decay per bar — multiplicative decay factor for each zone score per bar.
Max bars a zone can live — hard cap on lifetime.
Minimum score before removal — score cut-off at which zones are deleted.
Gradient & Color
Mid strength color (green) — base color for mid-level zones and the lower half of the gradient.
High strength color (red) — target color for the strongest zones.
Max opacity — controls the most solid end of the gradient (0 = fully solid, 100 = fully invisible).
Tuning guidance
Fast, session-only liquidity
Shorter ATR length (e.g., 20–50).
Higher wick and range multipliers to focus only on extreme events.
Decay per bar closer to 0.95–0.98 and moderate max lifetime.
Volume filter enabled with a decent multiplier (e.g., 1.5–2.0).
Slow, structural zones
Longer ATR length (e.g., 100+).
Moderate wick and range thresholds.
Decay per bar very close to 1.0 for slow fading.
Higher max lifetime and slightly higher min score threshold so only very weak zones disappear.
Noisy, high-volatility instruments
Increase wick and range ATR multipliers to avoid over-triggering.
Consider enabling the volume filter with stronger settings.
Keep decay moderate to avoid the chart getting overloaded with old zones.
Notes
This is a structural and contextual tool, not a complete trading system. It does not account for transaction costs, execution slippage, or your specific strategy rules. Use it to:
Highlight where liquidity has recently been tested hard.
Rank these areas by decaying strength.
Guide your attention when layering in separate entry signals, risk management, and higher-timeframe context.
Time-Decay Liquidity Zones is designed to keep your chart focused on where the market has most recently “cared” about price, and to gradually forget what no longer matters. Adjust the detection, geometry, decay, and gradient to fit your product and timeframe, and let the zones show you which parts of the tape still have unfinished business.
PonoTrading WDRWeekly Dealing Range Indicator
Overview
The Weekly Dealing Range indicator identifies range + volatility based pivot levels that form at the close of the first trading session and extend for the entire week. This tool provides key reference points for both trending and range-bound market conditions.
What It Provides
Range High & Low: Weekly session extremes
Median Level: Mid-point of the weekly range
Weekly Open: First session opening price
Standard Deviation Extensions: Calculated levels above the high and below the low
Practical Application
These levels serve as:
Reversal zones for mean reversion setups
Support/resistance reference points
Target levels for existing positions
Framework for building trade ideas around high-probability pivot areas
Key Features
Traditional price crosses level alerts
Automatically updates each week
Clean, uncluttered chart display
Works across all timeframes
Suitable for all markets and instruments
WeeklyDealingRange Pro+Weekly Dealing Range Indicator
Overview
The Weekly Dealing Range indicator identifies range + volatility based pivot levels that form at the close of the first trading session and extend for the entire week. This tool provides key reference points for both trending and range-bound market conditions.
What It Provides
Range High & Low: Weekly session extremes
Median Level: Mid-point of the weekly range
Weekly Open: First session opening price
Standard Deviation Extensions: Calculated levels above the high and below the low
Practical Application
These levels serve as:
Reversal zones for mean reversion setups
Support/resistance reference points
Target levels for existing positions
Framework for building trade ideas around high-probability pivot areas
Key Features
Optional function based alerts
Traditional price crosses level alerts
Automatically updates each week
Clean, uncluttered chart display
Works across all timeframes
Suitable for all markets and instruments
BrianDayTrades 30s OR30s OR with up to 10 rotations. Works on ES, NQ, GC, SI, ZB, YM, RTY and micros of those.
Also shows the 3pm, 3:50pm, and 3:55pm open price lines.
Automatic Swing AVWAPsUnique VWAP anchoring technique
The VWAP indicator is one of the most popular tools in trading, used by millions of traders daily, including institutional traders. KV's Anchored VWAP system is specifically designed to deliver more precise entry points. This toolkit also includes traditional anchored VWAPs, such as the Daily VWAP, Previous Day VWAP, and more.
Automated key levels
Support and resistance levels are a must in every trader's toolbox, including KV's. However, only the most critical levels are effective, and this toolkit is built on KV's years of experience to include only the most relevant ones for accurate trading zones.
Day Trading Kombinator (COINCAVE)Day Trading Kombinator v6 (1min)
A multi-factor day trading indicator that combines moving averages, MACD, RSI, automatic daily pivot levels, dynamic support/resistance based on swing highs/lows, volume spike detection, and ATR volatility.
Ideal for: Intraday and swing traders who want clear, robust trend and momentum confirmation with clean, chart-friendly signals.
I mostly used this settings on the 1min chart!
Let me know if you want a one-sentence version or adjustments for a different focus!
Support Resistance - Dynamic MTFSupport Resistance - Dynamic MTF
Description
Support Resistance - Dynamic MTF v2 is an advanced multi-timeframe indicator that identifies key support and resistance levels by analyzing pivot points across multiple timeframes. This enhanced version combines the power of current timeframe price action with higher timeframe structure to find the most significant S/R levels where price is likely to react.
What Makes This Different?
Traditional S/R indicators only look at the current chart timeframe. This MTF version allows you to:
Incorporate Higher Timeframe Structure: See where daily S/R levels are while trading on a 5-minute chart
Combine Multiple Timeframes: Merge pivots from both timeframes for stronger, more reliable S/R zones
Dynamic Calculation: S/R levels automatically update as new pivots form
Strength-Based Ranking: Shows only the strongest S/R levels with the most pivot confluence
Key Features
🎯 Multi-Timeframe Analysis
Three Operating Modes:
Current TF Only: Traditional single-timeframe S/R detection
Higher TF Only: Use exclusively higher timeframe pivots for major levels
Combined: Merge both timeframes for comprehensive S/R identification
📊 Dynamic S/R Zones
Automatically identifies S/R zones by clustering nearby pivot points
Calculates zone "strength" based on number of pivots within the zone
Adjustable channel width to control zone clustering sensitivity
Shows only top N strongest levels (customizable 1-10)
🎨 Visual Clarity
Color-Coded Levels: Red for resistance, Green for support
Distance Labels: Shows exact price and percentage distance from current price
HTF Pivot Markers: Optional markers showing where higher timeframe pivots formed
Clean Lines: Extends S/R lines across the chart with customizable style
⚙️ Highly Customizable
Adjustable pivot period (4-30 bars)
Source selection (High/Low or Close/Open)
Maximum number of pivots to track (5-100)
Channel width percentage
Minimum strength threshold
Line style, width, and colors
How It Works
Pivot Detection: Identifies pivot highs and lows on both current and higher timeframes
Zone Clustering: Groups nearby pivots that fall within the channel width
Strength Calculation: Counts how many pivots exist within each zone
Ranking: Sorts zones by strength and displays the top N levels
Dynamic Updates: Recalculates when new pivots form on either timeframe
Settings Guide
MTF Settings
Enable Multi-Timeframe: Turn MTF functionality on/off
Higher Timeframe: Select the HTF (empty = auto, or choose specific timeframe)
MTF Mode: Choose how to combine timeframes
Current TF Only: Standard S/R detection
Higher TF Only: Trade using only HTF structure
Combined: Best of both worlds - most comprehensive
Setup
Pivot Period: How many bars left/right to confirm a pivot (default: 10)
Source: Use actual High/Low or Close/Open for pivots
Maximum Number of Pivots: How many historical pivots to analyze (default: 20)
Maximum Channel Width %: How close pivots must be to form a zone (default: 10%)
Maximum Number of S/R: How many S/R levels to display (default: 5)
Minimum Strength: Minimum pivots required to show a level (default: 2)
Display
Label Location: Where to place price labels (bars ahead)
Line Style: Solid, Dotted, or Dashed
Line Width: 1-4 pixels
Colors: Customize resistance and support colors
Show Pivot Points: Display where pivots formed
Show HTF Markers: Display higher timeframe pivot markers
Use Cases
Day Trading (Scalping)
Chart: 5-minute
HTF: 15-minute or 1-hour
Use: Identify intraday key levels for entries/exits
Swing Trading
Chart: 1-hour or 4-hour
HTF: Daily or Weekly
Use: Find major support/resistance for multi-day holds
Options Trading
Chart: Any timeframe
HTF: One or two levels higher
Use: Identify high-probability rejection zones for puts/calls
Breakout Trading
Use alerts (Resistance Broken / Support Broken)
Enter on confirmed breakouts of strong S/R levels
Higher strength levels = more significant breakouts
How to Use
Add to Chart: Apply indicator to your chart
Enable MTF: Toggle on and select higher timeframe
Choose Mode: Start with "Combined" for best results
Adjust Settings: Tune channel width and minimum strength for your asset
Watch for Reactions: Price typically reacts at these levels (bounces or breaks)
Set Alerts: Use built-in alerts for breakouts
Trading Tips
✅ Strong Levels: Higher strength number = more significant level
✅ HTF Priority: When HTF and current TF conflict, HTF usually wins
✅ Breakout Confirmation: Wait for clean break + retest before entering
✅ Risk Management: Place stops just beyond S/R levels
✅ Confluence: Best trades happen when S/R aligns with other indicators
Best Timeframe Combinations
Your ChartHTF SettingBest For1-min5-minScalping5-min15-min or 1HDay trading15-min1H or 4HIntraday swing1H4H or DSwing trading4HD or WPosition tradingDailyWeeklyLong-term investing
Alerts Available
Resistance Broken: Price breaks above a resistance level
Support Broken: Price breaks below a support level
S/R Breakout: Any support or resistance breakout
Hidden Zone Detector AI - Crypto/Forex/StockHidden Zone Detector AI - Crypto Forex Stock
Hidden Zone Detector AI is a professional TradingView indicator designed to find hidden supply and demand zones across markets — crypto, forex and stocks — and surface high-probability areas earlier than classical pivot-only methods. It combines price structure analysis, volatility/ATR sizing, volume profiling and multi-mode AI heuristics (Fast / Balanced / Accurate) to generate prediction zones, highlight tested areas, and visually mark zone breakouts. Built with practical trader workflow in mind: configurable anti-repaint options, adaptable Light/Dark UI, clear labels, and candle-coloring for immediate visual context.
How it works
• Detects hidden zones by scanning pivot formations and finding internal “hidden” bars that represent real institutional activity (not just visible swing points).
• Scores zones by size (ATR-relative), volume, and touch characteristics to produce a strength percentage (Weak/Medium/Strong).
• AI heuristics aggregate price, momentum, moving averages, RSI/MACD signals and volume patterns to propose prediction zones — adjustable for speed vs. accuracy.
• Zones are drawn as persistent boxes with optional midlines, labels, and tailored styling when broken or tested.
Main advantages
• Early edge: finds hidden zones that often act before obvious pivots.
• Actionable visuals: labeled zones, color-coded candles, and breakout styling speed decision-making.
• Flexible AI modes: choose Fast for responsiveness, Balanced for day-to-day use, or Accurate for stricter signals.
• Anti-repaint controls: require confirmed bars for predictions to improve signal reliability.
• Multi-market ready: tuned for crypto, forex and stock chart behavior.
• Light/Dark friendly: UI color handling ensures labels remain readable on any chart background.
• Open & reusable: released under Mozilla Public License 2.0 (MPL-2.0) — use and adapt freely with attribution.
Best practices & tips
• Start with Balanced mode and sensitivity ~5; increase sensitivity for earlier but noisier predictions.
• Use prediction confirmation (Require AI Prediction Confirmation) for lower repaint risk.
• Combine zone reads with higher-timeframe context and orderflow/volume tools for stronger entries.
• Adjust max active zones and opacity to keep charts clean on lower timeframes.
License & author
Mozilla Public License 2.0 (MPL-2.0).
Author: a_jabbaroff — created with care for the TradingView community and fellow traders.
15m ORB + FVG (ChadAnt)Core Logic
The indicator's logic revolves around three main phases:
1. Defining the 15-Minute Opening Range (ORB)
The script calculates the highest high (rangeHigh) and lowest low (rangeLow) that occurred during the first 15 minutes of the trading day.
This time window is defined by the sessionStr input, which defaults to 0930-0945 (exchange time).
The high and low of this range are plotted as small gray dots once the session ends (rangeSet = true).
2. Identifying a Fair Value Gap (FVG) Setup
After the 15-minute range is set, the indicator waits for a breakout of either the range high or range low.
A "Strict FVG breakout" requires two conditions on the first candle that closes beyond the range:
The candle before the breakout candle ( bars ago) must have been inside the range.
The breakout candle ( bar ago) must have closed outside the range.
A Fair Value Gap (FVG) must form on the most recent three candles (the current bar and the two previous bars).
Bullish FVG (Long Setup): The low of the current bar (low) is greater than the high of the bar two periods prior (high ). This FVG represents a price inefficiency that the trade expects to fill.
Bearish FVG (Short Setup): The high of the current bar (high) is less than the low of the bar two periods prior (low ).
If a valid FVG setup occurs, the indicator marks a pending setup and draws a colored box to highlight the FVG area (Green for Bullish FVG, Red for Bearish FVG).
3. Trade Entry and Management
If a pending setup is identified, the trade is structured as a re-entry trade into the FVG zone:
Entry Price: Set at the outer boundary of the FVG, which is the low of the current bar for a Long setup, or the high of the current bar for a Short setup.
Stop Loss (SL): Set at the opposite boundary of the FVG, which is the low for a Long setup, or the high for a Short setup.
The trade is triggered (tradeActive = true) once the price retraces to the pendingEntry level.
Risk/Reward (RR) Targets: Three Take Profit (TP) levels are calculated based on the distance between the Entry and Stop Loss:
$$\text{Risk} = | \text{Entry} - \text{SL} |$$
$$\text{TP}n = \text{Entry} \pm (\text{Risk} \times \text{RR}n)$$
where $n$ is 1, 2, or 3, corresponding to the input $\text{RR}1$, $\text{RR}2$, and $\text{RR}3$ values (defaults: 1.0, 1.5, and 2.0).
Trade Lines: Upon triggering, lines for the Entry, Stop Loss, and three Take Profit levels are drawn on the chart for a specified length (lineLength).
A crucial feature is the directional lock (highBroken / lowBroken):
If the price breaks a range level (e.g., simpleBrokeHigh) but without a valid FVG setup, the corresponding directional flag (e.g., highBroken) is set to true permanently for the day.
This prevents the indicator from looking for any subsequent trade setups in that direction for the rest of the day, suggesting that the initial move, without an FVG, exhausted the opportunity.
ITC Market Structure ProWith this tool you can see market structure, set session, daylow, dayhigh, multiple moving avg., fvg...
Every feature can by witched off or on to have more clarity watching price action - and everything is in one indicator, so you don't need to have stack off them!
Detailed description will try to provide later...
PS Thanks for LuxAlgo - I have use some of their fine work to combine all-in-one! Hoping it's not against the rules - if so, I will remove my tool.
PS Everything is rewritten to pine6
MOMO Exhaustion Short Signal Strategy v6 alexh1166Prints Short Signals for Exhausted Momentum stocks primed for reversals
Custom Daily Close Line Ver2Plots a line for the Daily closing price for Futures intraday charts.
Default closing price is 16:15 Eastern time.
Plot Line can be customized for different times based on the market.
Futures Custom Daily Close Line Plots closing price at 4:15pm ET for futures on an intraday chart.
Closing price can be adjusted to any time you want.
ST – S&D Zones (Body-Based) [Soothing Trades]Short Description
ST – S&D Zones (Body-Based) automatically builds supply & demand zones from candle bodies, filters them by relative volume, and extends them forward. Active zones stay bold, broken zones fade, so you can instantly see which levels matter most right now
Full Description
This indicator is a volume-aware supply & demand engine designed to keep your chart clean while highlighting the areas that actually matter.
How it works
• Detects swing highs/lows (pivots) using a user-defined left/right bar lookback.
• Measures local relative volume and only promotes strong pivots into zones.
• Builds zones from candle body ranges (open–close), not full wicks.
• Extends all zones forward bar by bar.
When price breaks a zone:
• It is treated as mitigated/broken.
• If fading is enabled, the zone's opacity changes so it visually de-prioritizes.
• At the start of a new daily session, any faded zones are automatically removed, leaving only fresh active levels.
Inputs & customization
• Diameter Of Circles – Controls the size of circles drawn around high-volume pivots.
• Filter Points by Volume – Adjusts how "picky" the engine is. Higher values = fewer, stronger zones.
• Pivot Left Bars – Controls how many bars are used to confirm each pivot. Larger values = slower but stronger levels.
• Supply Color / Demand Color – Choose your own zone colors.
• Active / Broken Opacity – Set how bold active zones are vs. faded/broken ones.
• Fade When Broken – Turn fading on/off after price breaks a zone.
• Show Zones – Master on/off switch. When off, all existing zones are cleared.
How traders use it
• Use active zones as primary decision areas for entries, partial profits, or stop placement.
• Treat faded zones as secondary context: the market has already taken liquidity there, so they're often weaker if revisited.
• Combine with your own toolkit (price action, order flow, volatility tools, etc.) to time actual trades.
Visual features
• Body-based zones (no wick noise) show where actual trading happened.
• Volume circles around pivots emphasize high-volume turning points.
• Active zones use your chosen colors with custom opacity.
• Broken zones fade automatically when price breaks through.
• Session-based cleanup removes faded zones at the start of each new day.
• Toggle borders on/off to customize zone appearance.
Notes & disclaimer
• Works on most symbols and timeframes that support Pine Script v6.
• Optimized for markets with stable, reliable volume (indices, FX majors, futures, large-cap crypto).
• This tool is for educational purposes only and is not financial advice.
Always manage your own risk.
ST – Price Guard [Soothing Trades]Simple description
ST – Price Guard tracks prior days Highs and Lows, marks whether each level is Not Taken or Taken, and manages how long they stay on your chart.
Strong untouched levels become visually thicker and get "Strong" tags, while old or spent levels auto-expire based on clear rules.
Built for futures/FX and indices where correct session highs/lows actually matter.
Advanced description
This indicator turns "prior days Highs and Lows2, into a fully-managed system with state, age, and expiry instead of just two static lines.
What it does
Draws previous day's High and Low from raw price.
Lets you choose between:
• Calendar daily (D), or
• A custom trading day defined by session hours + time zone (ideal for futures/FX).
Stores each level with:
• Price
• High vs Low
• Birth day index
• Taken day index (if/when price closes beyond it)
Tracks status over time:
• NT (Not Taken) – level has not been "closed through" yet.
• Taken – level has been closed beyond; still visible for a grace period.
• Strong – untouched beyond a user-defined age threshold.
Visual features
Lines
• Separate color/width for YD High and YD Low.
• Line style: Solid/Dashed/Dotted.
• Extend: Right / Left / Both / None.
• Strong levels can get extra thickness for easy recognition.
Labels
Right-edge labels with:
• Custom text: e.g. "Price High" / "Price Low".
• Optional price appended.
• Shape: Right/Left/Circle/Diamond/Down.
• Horizontal offset in bars (park labels comfortably to the right).
• Vertical placement: Above, Below, or Auto (outside) plus adjustable offset in ticks.
Optional extra info:
• Status: NT or Taken
• Strong tag for aged, untouched levels
• Age / limit in days (e.g. age 3/10)
• Days left / grace (e.g. left 4d for NT, grace 1d after taken)
Label background tint also reflects state:
• Normal for NT,
• Slightly boosted for Strong,
• Faint for Taken.
Persistence logic
Price Guard is driven by explicit rules:
• Max keep days (not taken) – base lifetime for untouched levels.
• Strong at (days) – after this many days untouched, level becomes Strong.
• Extra keep if Strong – extends lifetime for strong levels.
• Keep after taken (extra days) – grace period to keep a Taken level visible.
A level is automatically deleted when:
• It is Not Taken and its age exceeds its allowed maximum, or
• It is Taken and the grace period is over.
No manual cleanup required – the chart maintains itself.
Inputs overview
• Price YD visibility: show/hide YD High and YD Low.
• Colors, widths, styles, and extend rules for YD lines.
• Label configuration: text, style, colors, right offset, vertical position, content toggles (NT/Taken, Strong, age, days left, price).
• Persistence rules: max keep days, strong threshold, strong bonus days, grace days after taken, extra width when strong.
• Session anchoring: custom trading day hours + time zone vs simple calendar D.
How traders use it
Build a daily playbook around YD High/Low without redrawing or guessing.
Quickly see which levels are:
• Fresh NT opportunities,
• Aged into Strong (high interest),
• Already Taken and in grace (lower priority).
Combine with:
• Reversion or breakout strategies around YD levels
• Liquidity grab concepts (sweeps around YD High/Low)
• Bias confirmation (e.g. both YD levels taken vs still intact).
Notes & disclaimer
• Works across most symbols/timeframes supported by Pine Script v6.
• Especially suited to futures/FX and indices with non-trivial sessions.
• For educational and analytical use only. This is not financial advice; always test and manage your own risk.
PP_Day_OHLC[Dallas]OHLC from both 1 day ago and 2 days ago. For previous day, the line is weighted #2 and Plots Blue dashed line for Open, Lime dashed line for High, Red dashed line for Low and Purple dashed line for Close. For two days previous, the line is weighted #1 and Plots Blue dashed line for Open, Lime dashed line for High, Red dashed line for Low and Purple dashed line for Close. This makes it very distinguishable to identify the two sets of levels on the chart.
Multi PPOMulti PPO - Multi-Period Pivot & Opens
See all your key levels in one place. Pivots, previous highs/lows, and period opens across multiple timeframes - without the clutter.
What You Get
Pivot Points across 6 timeframes (Daily → Yearly)
- Standard PP calculation with optional S/R levels
- View up to 3 previous periods
- Orange ● marks untested pivots that haven't been touched yet
Previous Period Levels (High, 50% EQ, Low)
- Shows Day/Week/Month levels
- Inside bar markers when price is consolidating
- Optional background zones
Period Opens (extend to the right indefinitely)
- Key decision levels that often act as support/resistance
Smart Level Grouping
- Levels within 0.5% automatically combine
- Combined labels show all timeframes (like "D+W PP")
- Keeps your chart clean even with multiple periods enabled
Default Setup
Out of the box, you get Daily/Weekly/Monthly pivots, previous period levels, and W+M opens. Everything else is optional - add quarterly, 6-month, yearly, or S/R levels as needed.
Curvature Tensor Pivots - HIVECurvature Tensor Pivots - HIVE
I. CORE CONCEPT & ORIGINALITY
Curvature Tensor Pivots - HIVE is an advanced, multi-dimensional pivot detection system that combines differential geometry, reinforcement learning, and statistical physics to identify high-probability reversal zones before they fully form. Unlike traditional pivot indicators that rely on simple price comparisons or lagging moving averages, this system models price action as a smooth curve in geometric space and calculates its mathematical curvature (how sharply the price trajectory is "bending") to detect pivots with scientific precision.
What Makes This Original:
Differential Geometry Engine: The script calculates first and second derivatives of price using Kalman-filtered trajectory analysis, then computes true mathematical curvature (κ) using the classical formula: κ = |y''| / (1 + y'²)^(3/2). This approach treats price as a physical phenomenon rather than discrete data points.
Ghost Vertex Prediction: A proprietary algorithm that detects pivots 1-3 bars BEFORE they complete by identifying when velocity approaches zero while acceleration is high—this is the mathematical definition of a turning point.
Multi-Armed Bandit AI: Four distinct pivot detection strategies (Fast, Balanced, Strict, Tensor) run simultaneously in shadow portfolios. A Thompson Sampling reinforcement learning algorithm continuously evaluates which strategy performs best in current market conditions and automatically selects it.
Hive Consensus System: When 3 or 4 of the parallel strategies agree on the same price zone, the system generates "confluence zones"—areas of institutional-grade probability.
Dynamic Volatility Scaling (DVS): All parameters auto-adjust based on current ATR relative to historical average, making the indicator adaptive across all timeframes and instruments without manual re-optimization.
II. HOW THE COMPONENTS WORK TOGETHER
This is NOT a simple mashup —each subsystem feeds data into the others in a closed-loop learning architecture:
The Processing Pipeline:
Step 1: Geometric Foundation
Raw price is normalized against a 50-period SMA to create a trajectory baseline
A Zero-Lag EMA smooths the trajectory while preserving edge response
Kalman filter removes noise while maintaining signal integrity
Step 2: Calculus Layer
First derivative (y') measures velocity of price movement
Second derivative (y'') measures acceleration (rate of velocity change)
Curvature (κ) is calculated from these derivatives, representing how sharply price is turning
Step 3: Statistical Validation
Z-Score measures how many standard deviations current price deviates from the Kalman-filtered "true price"
Only pivots with Z-Score > threshold (default 1.2) are considered statistically significant
This filters out noise and micro-fluctuations
Step 4: Tensor Construction
Curvature is combined with volatility (ATR-based) and momentum (ROC-based) to create a multidimensional "tensor score"
This tensor represents the geometric stress in the price field
High tensor magnitude = high probability of structural failure (reversal)
Step 5: AI Decision Layer
All 4 bandit strategies evaluate current conditions using different sensitivity thresholds
Each strategy maintains a virtual portfolio that trades its signals in real-time
Thompson Sampling algorithm updates Bayesian priors (alpha/beta distributions) based on each strategy's Sharpe ratio, win rate, and drawdown
The highest-performing strategy's signals are displayed to the user
Step 6: Confluence Aggregation
When multiple strategies agree on the same price zone, that zone is highlighted as a confluence area. These represent "hive mind" consensus—the strongest setups
Why This Integration Matters:
Traditional indicators either detect pivots too late (lagging) or generate too many false signals (noisy). By requiring geometric confirmation (curvature), statistical significance (Z-Score), multi-strategy agreement (hive voting), and performance validation (RL feedback) , this system achieves institutional-grade precision. The reinforcement learning layer ensures the system adapts as market regimes change, rather than degrading over time like static algorithms.
III. DETAILED METHODOLOGY
A. Curvature Calculation (Differential Geometry)
The system models price as a parametric curve where:
x-axis = time (bar index)
y-axis = normalized price
The curvature at any point represents how quickly the direction of the tangent line is changing. High curvature = sharp turn = potential pivot.
Implementation:
Lookback window (default 8 bars) defines the local curve segment
Smoothing (default 5 bars) applies adaptive EMA to reduce tick noise
Curvature is normalized to 0-1 scale using local statistical bounds (mean ± 2 standard deviations)
B. Ghost Vertex (Predictive Pivot Detection)
Classical pivot detection waits for price to form a swing high/low and confirm. Ghost Vertex uses calculus to predict the turning point:
Conditions for Ghost Pivot:
Velocity (y') ≈ 0 (price rate of change approaching zero)
Acceleration (y'') ≠ 0 (change is decelerating/accelerating)
Z-Score > threshold (statistically abnormal position)
This allows detection 1-3 bars before the actual high/low prints, providing an early entry edge.
C. Multi-Armed Bandit Reinforcement Learning
The system runs 4 parallel "bandits" (agents), each with different detection sensitivity:
Bandit Strategies:
Fast: Low curvature threshold (0.1), low Z-Score requirement (1.0) → High frequency, more signals
Balanced: Standard thresholds (0.2 curvature, 1.5 Z-Score) → Moderate frequency
Strict: High thresholds (0.4 curvature, 2.0 Z-Score) → Low frequency, high conviction
Tensor: Requires tensor magnitude > 0.5 → Geometric-weighted detection
Learning Algorithm (Thompson Sampling):
Each bandit maintains a Beta distribution with parameters (α, β)
After each trade outcome, α is incremented for wins, β for losses
Selection probability is proportional to sampled success rate from the distribution
This naturally balances exploration (trying underperformed strategies) vs exploitation (using best strategy)
Performance Metrics Tracked:
Equity curve for each shadow portfolio
Win rate percentage
Sharpe ratio (risk-adjusted returns)
Maximum drawdown
Total trades executed
The system displays all metrics in real-time on the dashboard so users can see which strategy is currently "winning."
D. Dynamic Volatility Scaling (DVS)
Markets cycle between high volatility (trending, news-driven) and low volatility (ranging, quiet). Static parameters fail when regime changes.
DVS Solution:
Measures current ATR(30) / close as normalized volatility
Compares to 100-bar SMA of normalized volatility
Ratio > 1 = high volatility → lengthen lookbacks, raise thresholds (prevent noise)
Ratio < 1 = low volatility → shorten lookbacks, lower thresholds (maintain sensitivity)
This single feature is why the indicator works on 1-minute crypto charts AND daily stock charts without parameter changes.
E. Confluence Zone Detection
The script divides the recent price range (200 bars) into 200 discrete zones. On each bar:
Each of the 4 bandits votes on potential pivot zones
Votes accumulate in a histogram array
Zones with ≥ 3 votes (75% agreement) are drawn as colored boxes
Red boxes = resistance confluence, Green boxes = support confluence
These zones act as magnet levels where price often returns multiple times.
IV. HOW TO USE THIS INDICATOR
For Scalpers (1m - 5m timeframes):
Settings: Use "Aggressive" or "Adaptive" pivot mode, Curvature Window 5-8, Min Pivot Strength 50-60
Entry Signal: Triangle marker appears (🔺 for longs, 🔻 for shorts)
Confirmation: Check that Hive Sentiment on dashboard agrees (3+ votes)
Stop Loss: Use the dotted volatility-adjusted target line in reverse (if pivot is at 100 with target at 110, stop is ~95)
Take Profit: Use the projected target line (default 3× ATR)
Advanced: Wait for confluence zone formation, then enter on retest of the zone
For Day Traders (15m - 1H timeframes):
Settings: Use "Adaptive" mode (default settings work well)
Entry Signal: Pivot marker + Hive Consensus alert
Confirmation: Check dashboard—ensure selected bandit has Sharpe > 1.5 and Win% > 55%
Filter: Only take pivots with Pivot Strength > 70 (shown in dashboard)
Risk Management: Monitor the Live Position Tracker—if your selected bandit is holding a position, consider that as market structure context
Exit: Either use target lines OR exit when opposite pivot appears
For Swing Traders (4H - Daily timeframes):
Settings: Use "Conservative" mode, Curvature Window 12-20, Min Bars Between Pivots 15-30
Focus on Confluence: Only trade when 4/4 bandits agree (unanimous hive consensus)
Entry: Set limit orders at confluence zones rather than market orders at pivot signals
Confirmation: Look for breakout diamonds (◆) after pivot—these signal momentum continuation
Risk Management: Use wider stops (base stop loss % = 3-5%)
Dashboard Interpretation:
Top Section (Real-Time Metrics):
κ (Curv): Current curvature. >0.6 = active pivot forming
Tensor: Geometric stress. Positive = bullish bias, Negative = bearish bias
Z-Score: Statistical deviation. >2.0 or <-2.0 = extreme outlier (strong signal)
Bandit Performance Table:
α/β: Bayesian parameters. Higher α = more wins in history
Win%: Self-explanatory. >60% is excellent
Sharpe: Risk-adjusted returns. >2.0 is institutional-grade
Status: Shows which strategy is currently selected
Live Position Tracker:
Shows if the selected bandit's shadow portfolio is currently holding a position
Displays entry price and real-time P&L
Use this as "what the AI would do" confirmation
Hive Sentiment:
Shows vote distribution across all 4 bandits
"BULLISH" with 3+ green votes = high-conviction long setup
"BEARISH" with 3+ red votes = high-conviction short setup
Alert Setup:
The script includes 6 alert conditions:
"AI High Pivot" = Selected bandit signals short
"AI Low Pivot" = Selected bandit signals long
"Hive Consensus BUY" = 3+ bandits agree on long
"Hive Consensus SELL" = 3+ bandits agree on short
"Breakout Up" = Resistance breakout (continuation long)
"Breakdown Down" = Support breakdown (continuation short)
Recommended Alert Strategy:
Set "Hive Consensus" alerts for high-conviction setups
Use "AI Pivot" alerts for active monitoring during your trading session
Use breakout alerts for momentum/trend-following entries
V. PARAMETER OPTIMIZATION GUIDE
Core Geometry Parameters:
Curvature Window (default 8):
Lower (3-5): Detects micro-structure, best for scalping volatile pairs (crypto, forex majors)
Higher (12-20): Detects macro-structure, best for swing trading stocks/indices
Rule of thumb: Set to ~0.5% of your typical trade duration in bars
Curvature Smoothing (default 5):
Increase if you see too many false pivots (noisy instrument)
Decrease if pivots lag (missing entries by 2-3 bars)
Inflection Threshold (default 0.20):
This is advanced. Lower = more inflection zones highlighted
Useful for identifying order blocks and liquidity voids
Most users can leave default
Pivot Detection Parameters:
Pivot Sensitivity Mode:
Aggressive: Use in low-volatility range-bound markets
Normal: General purpose
Adaptive: Recommended—auto-adjusts via DVS
Conservative: Use in choppy, whipsaw conditions or for swing trading
Min Bars Between Pivots (default 8):
THIS IS CRITICAL for visual clarity
If chart looks cluttered, increase to 12-15
If missing pivots, decrease to 5-6
Match to your timeframe: 1m charts use 3-5, Daily charts use 20+
Min Z-Score (default 1.2):
Statistical filter. Higher = fewer but stronger signals
During news events (NFP, FOMC), increase to 2.0+
In calm markets, 1.0 works well
Min Pivot Strength (default 60):
Composite quality score (0-100)
80+ = institutional-grade pivots only
50-70 = balanced
Below 50 = will show weak setups (not recommended)
RL & DVS Parameters:
Enable DVS (default ON):
Leave enabled unless you want to manually tune for a specific market condition
This is the "secret sauce" for cross-timeframe performance
DVS Sensitivity (default 1.0):
Increase to 1.5-2.0 for extremely volatile instruments (meme stocks, altcoins)
Decrease to 0.5-0.7 for stable instruments (utilities, bonds)
RL Algorithm (default Thompson Sampling):
Thompson Sampling: Best for non-stationary markets (recommended)
UCB1: Best for stable, mean-reverting markets
Epsilon-Greedy: For testing only
Contextual: Advanced—uses market regime as context
Risk Parameters:
Base Stop Loss % (default 2.0):
Set to 1.5-2× your instrument's average ATR as a percentage
Example: If SPY ATR = $3 and price = $450, ATR% = 0.67%, so use 1.5-2.0%
Base Take Profit % (default 4.0):
Aim for 2:1 reward/risk ratio minimum
For mean-reversion strategies, use 1.5-2.0%
For trend-following, use 3-5%
VI. UNDERSTANDING THE UNDERLYING CONCEPTS
Why Differential Geometry?
Traditional technical analysis treats price as discrete data points. Differential geometry models price as a continuous manifold —a smooth surface that can be analyzed using calculus. This allows us to ask: "At what rate is the trend changing?" rather than just "Is price going up or down?"
The curvature metric captures something fundamental: inflection points in market psychology . When buyers exhaust and sellers take over (or vice versa), the price trajectory must curve. By measuring this curvature mathematically, we detect these psychological shifts with precision.
Why Reinforcement Learning?
Markets are non-stationary —statistical properties change over time. A strategy that works in Q1 may fail in Q3. Traditional indicators have fixed parameters and degrade over time.
The multi-armed bandit framework solves this by:
Running multiple strategies in parallel (diversification)
Continuously measuring performance (feedback loop)
Automatically shifting capital to what's working (adaptation)
This is how professional hedge funds operate—they don't use one strategy, they use ensembles with dynamic allocation.
Why Kalman Filtering?
Raw price contains two components: signal (true movement) and noise (random fluctuations). Kalman filters are the gold standard in aerospace and robotics for extracting signal from noisy sensors.
By applying this to price data, we get a "clean" trajectory to measure curvature against. This prevents false pivots from bid-ask bounce or single-print anomalies.
Why Z-Score Validation?
Not all high-curvature points are tradeable. A sharp turn in a ranging market might just be noise. Z-Score ensures that pivots occur at statistically abnormal price levels —places where price has deviated significantly from its Kalman-filtered "fair value."
This filters out 70-80% of false signals while preserving true reversal points.
VII. COMMON USE CASES & STRATEGIES
Strategy 1: Confluence Zone Reversal Trading
Wait for confluence zone to form (red or green box)
Wait for price to approach zone
Enter when pivot marker appears WITHIN the confluence zone
Stop: Beyond the zone
Target: Opposite confluence zone or 3× ATR
Strategy 2: Hive Consensus Scalping
Set alert for "Hive Consensus BUY/SELL"
When alert fires, check dashboard—ensure 3-4 votes
Enter immediately (market order or 1-tick limit)
Stop: Tight, 1-1.5× ATR
Target: 2× ATR or opposite pivot signal
Strategy 3: Bandit-Following Swing Trading
On Daily timeframe, monitor which bandit has best Sharpe ratio over 30+ days
Take ONLY that bandit's signals (ignore others)
Enter on pivot, hold until opposite pivot or target line
Position size based on bandit's current win rate (higher win% = larger position)
Strategy 4: Breakout Confirmation
Identify key support/resistance level manually
Wait for pivot to form AT that level
If price breaks level and diamond breakout marker appears, enter in breakout direction
This combines support/resistance with geometric confirmation
Strategy 5: Inflection Zone Limit Orders
Enable "Show Inflection Zones"
Place limit buy orders at bottom of purple zones
Place limit sell orders at top of purple zones
These zones represent structural change points where price often pauses
VIII. WHAT THIS INDICATOR DOES NOT DO
To set proper expectations:
This is NOT:
A "holy grail" with 100% win rate
A strategy that works without risk management
A replacement for understanding market fundamentals
A signal copier (you must interpret context)
This DOES NOT:
Predict black swan events
Account for fundamental news (you must avoid trading during major news if not experienced)
Work well in extremely low liquidity conditions (penny stocks, microcap crypto)
Generate signals during consolidation (by design—prevents whipsaw)
Best Performance:
Liquid instruments (SPY, ES, NQ, EUR/USD, BTC/USD, etc.)
Clear trend or range conditions (struggles in choppy transition periods)
Timeframes 5m and above (1m can work but requires experience)
IX. PERFORMANCE EXPECTATIONS
Based on shadow portfolio backtesting across multiple instruments:
Conservative Mode:
Signal frequency: 2-5 per week (Daily charts)
Expected win rate: 60-70%
Average RRR: 2.5:1
Adaptive Mode:
Signal frequency: 5-15 per day (15m charts)
Expected win rate: 55-65%
Average RRR: 2:1
Aggressive Mode:
Signal frequency: 20-40 per day (5m charts)
Expected win rate: 50-60%
Average RRR: 1.5:1
Note: These are statistical expectations. Individual results depend on execution, risk management, and market conditions.
X. PRIVACY & INVITE-ONLY NATURE
This script is invite-only to:
Maintain signal quality (prevent market impact from mass adoption)
Provide dedicated support to users
Continuously improve the algorithm based on user feedback
Ensure users understand the complexity before deploying real capital
The script is closed-source to protect proprietary research in:
Ghost Vertex prediction mathematics
Tensor construction methodology
Bandit reward function design
DVS scaling algorithms
XI. FINAL RECOMMENDATIONS
Before Trading Live:
Paper trade for minimum 2 weeks to understand signal timing
Start with ONE timeframe and master it before adding others
Monitor the dashboard —if selected bandit Sharpe drops below 1.0, reduce size
Use confluence and hive consensus for highest-quality setups
Respect the Min Bars Between Pivots setting —this prevents overtrading
Risk Management Rules:
Never risk more than 1-2% of account per trade
If 3 consecutive losses occur, stop trading and review (possible regime change)
Use the shadow portfolio as a guide—if ALL bandits are losing, market is in transition
Combine with other analysis (order flow, volume profile) for best results
Continuous Learning:
The RL system improves over time, but only if you:
Keep the indicator running (it learns from bar data)
Don't constantly change parameters (confuses the learning)
Let it accumulate at least 50 samples before judging performance
Review the dashboard weekly to see which bandits are adapting
CONCLUSION
Curvature Tensor Pivots - HIVE represents a fusion of advanced mathematics, machine learning, and practical trading experience. It is designed for serious traders who want institutional-grade tools and understand that edge comes from superior methodology, not magic formulas.
The system's strength lies in its adaptive intelligence —it doesn't just detect pivots, it learns which detection method works best right now, in this market, under these conditions. The hive consensus mechanism provides confidence, the geometric foundation provides precision, and the reinforcement learning provides evolution.
Use it wisely, manage risk properly, and let the mathematics work for you.
Disclaimer: This indicator is a tool for analysis and does not constitute financial advice. Past performance of shadow portfolios does not guarantee future results. Trading involves substantial risk of loss. Always perform your own due diligence and never trade with capital you cannot afford to lose.
Taking you to school. — Dskyz, Trade with insight. Trade with anticipation.
Manipulation Model [FB]GENERAL OVERVIEW:
The Manipulation Model indicator is a complete rule-based system that identifies and confirms setups from the Funded Brothers Manipulation Model. It detects large impulsive candles, called Manipulation Candles and Almost Manipulation Candles, that form around key market levels such as session highs/lows, daily, weekly, and monthly levels, or higher timeframe Fair Value Gaps (FVGs). Using this structure, the indicator automatically marks long, short, bulltrap, and beartrap setups with predefined entry, stop loss, and take profit areas.
This indicator was developed by Flux Charts in collaboration with the Funded Brothers.
ATTRIBUTION NOTICE:
This indicator incorporates concepts and source code from the indicator “MCs with Alerts” authored by @hamza_xau on TradingView. We have received full written permission from the original author to use and commercialize this code within this invite-only script.
Original script: MCs with Alerts:
What is the purpose of the indicator?:
The indicator automates detection of the Manipulation Model trading strategy setups by combining candle structure, key levels, session timing, and higher timeframe Fair Value Gaps. It removes discretion by enforcing fixed conditions for valid signals and automatically managing entry, stop-loss, and take-profit logic.
What is the theory behind the indicator?:
The indicator is built on how price interacts with major reference points such as session highs and lows, or daily and weekly levels. These levels are commonly referenced in technical analysis as areas where price previously reversed or consolidated. Manipulation Candles identify moments when price breaks past these reference points on both sides of the prior candle before closing firmly in one direction. When these candles form near higher timeframe Fair Value Gaps, it reflects price reacting inside an area that previously showed directional imbalance. The higher timeframe EMA filter aligns all detected setups with the broader market trend, allowing only signals that match the dominant direction.
MANIPULATION MODEL FEATURES:
Manipulation Candlesticks
Almost Manipulation Candlesticks
Higher Timeframe Fair Value Gaps
Sessions
Key Levels
Signals
Dashboard
Alerts
MANIPULATION CANDLESTICKS:
Manipulation Candlesticks (MCs) are candles that sweep both sides of the previous candle’s range and close outside of it. In the Manipulation Model indicator, these candles form the foundation for the long/short setups. Once one forms, the indicator checks its position relative to sessions, key levels, and higher timeframe Fair Value Gaps to determine if a valid setup exists.
🔹What is a Manipulation Candlestick?
A Manipulation Candlestick (MC) is defined by structure rather than size. It forms when price takes out both the high and low of the previous candle, then closes outside that range.
A bullish Manipulation Candle occurs when price sweeps below the previous candle’s low and then closes above the previous candle’s high.
A bearish Manipulation Candle occurs when price sweeps above the previous candle’s high and then closes below the previous candle’s low.
🔹How to interpret and use Manipulation Candlesticks:
Manipulation Candlesticks show where price made a strong one-sided move after taking both sides of the previous candle’s range. When one forms, it marks an area where buyers or sellers were likely trapped as price moved aggressively in one direction.
A bullish MC shows strong buying after a false move lower. Price sweeps below the prior low, takes out the prior high, and closes above the previous range, confirming buyers are in control.
A bearish MC shows strong selling after a false move higher than the previous candle’s high. Price sweeps above the prior high, drops below the prior low, and closes beneath the previous range, confirming sellers are dominant.
🔹How Manipulation Candlesticks are identified:
The indicator confirms Manipulation Candles using three filters once a candle closes:
Sweep Condition:
Price must take both sides of the previous candle’s range, moving above its high and below its low, before closing outside that range.
Directional Close:
A bullish MC must close above the previous high, and a bearish MC must close below the previous low.
Wick Confirmation:
A bullish MC must have a smaller upper wick (high - close) than lower wick (open - low), and a bearish MC must have a smaller lower wick (close - low) than upper wick (high - open).
Once these conditions are met at candle close, it is confirmed as a bullish or bearish Manipulation Candle.
🔹Bullish Manipulation Candle
A bullish Manipulation Candle forms when price sweeps below the previous candle’s low, then breaks above its high, and closes above it. The lower wick must be larger than the upper wick, showing little pullback as price pushed upward and confirming strong buying pressure.
🔹Bearish Manipulation Candle
A bearish Manipulation Candle forms when price sweeps above the previous candle’s high, then drops below its low, and closes beneath it. The upper wick must be larger than the lower wick, showing little pullback as price moved downward and confirming strong selling pressure.
🔹Manipulation Candle Visuals
When the indicator detects a Manipulation Candle, it automatically changes the candle’s color on the chart. Both bullish and bearish Manipulation Candles use the same color. Users can change this color in the settings by adjusting the “Manipulation Candlestick” option found under the “Style Customization” section.
The candle coloring feature can also be turned off entirely, which only removes the visual highlight from the chart and does not affect the signals or any of the indicator’s underlying logic that uses Manipulation Candlesticks.
ALMOST MANIPULATION CANDLESTICKS:
Almost Manipulation Candlesticks (AMCs) are similar to Manipulation Candles, except they close inside the previous candle’s range instead of outside it. In the Manipulation Model indicator, these candles help identify when price is showing the same sweeping behavior but hasn’t yet confirmed full displacement. They act as early warnings that a manipulation event may be developing. Just like Manipulation Candles, the indicator checks an AMC’s position relative to sessions, key levels, and higher timeframe Fair Value Gaps to determine if a valid setup exists.
🔹What is an Almost Manipulation Candlestick?
An Almost Manipulation Candlestick (AMC) forms when price sweeps both the high and low of the previous candle and closes inside that candle’s range.
A bullish AMC occurs when price sweeps below the previous low, moves above the previous high, and closes within the previous candle’s body instead of above it.
A bearish AMC occurs when price sweeps above the previous high, drops below the previous low, and closes within the previous candle’s body instead of beneath it.
🔹How to Interpret and Use Almost Manipulation Candlesticks:
Almost Manipulation Candles highlight hesitation or early signs of manipulation.
A bullish AMC indicates buyers pushed price up after sweeping lower, but price did not close decisively above the prior high.
A bearish AMC indicates sellers pushed price down after sweeping higher, but price did not close decisively below the prior low.
🔹How Almost Manipulation Candlesticks are identified:
The indicator confirms Almost Manipulation Candles using the same sweep and wick logic as Manipulation Candles, except the candle’s close must remain inside the previous candle’s range:
Sweep Condition:
Price must take both sides of the previous candle’s range, moving above its high and below its low.
Candle Close Location:
The candle’s close must stay within the prior candle’s range.
Wick Confirmation:
For a bullish AMC, the lower wick must be larger than the upper wick. For a bearish AMC, the upper wick must be larger than the lower wick.
Once these conditions are met at candle close, it is confirmed as a bullish or bearish Almost Manipulation Candle.
🔹Bullish Almost Manipulation Candle
A bullish AMC forms when price sweeps below the previous candle’s low, moves above the prior candle’s high, and closes back inside the previous candle’s range. The lower wick must be larger than the upper wick, showing that buyers defended lower prices but the move did not close decisively upward.
🔹Bearish Almost Manipulation Candle
A bearish AMC forms when price sweeps above the previous candle’s high, drops below the previous candle’s low, and closes back inside the previous candle’s range. The upper wick must be larger than the lower wick, showing that sellers rejected higher prices but the candle did not close decisively lower.
🔹Almost Manipulation Candle Visuals
When the indicator detects an Almost Manipulation Candle, it automatically changes the candle’s color on the chart. Both bullish and bearish Almost Manipulation Candles use the same color. Users can change this color in the settings by adjusting the “Almost Manipulation Candlestick” option found under the “Style Customization” section.
The candle coloring feature can also be turned off entirely, which only removes the visual highlight from the chart and does not affect the signals or any of the indicator’s underlying logic that uses Almost Manipulation Candlesticks.
HIGHER TIMEFRAME FAIR VALUE GAPS:
The Manipulation Model indicator automatically plots Fair Value Gaps from two user-selected higher timeframes.
🔹What is a Fair Value Gap?:
A Fair Value Gap (FVG) is an area where the market’s perception of fair value suddenly changes. On your chart, it appears as a three-candle pattern: a large candle in the middle, with smaller candles on each side that don’t fully overlap it. A bullish FVG forms when a bullish candle is between two smaller bullish/bearish candles, where the first and third candles’ wicks don’t overlap each other at all. A bearish FVG forms when a bearish candle is between two smaller bullish/bearish candles, where the first and third candles’ wicks don’t overlap each other at all.
Bullish & Bearish FVGs:
🔹Why are Fair Value Gaps important?:
Fair Value Gaps (FVGs) show where price moved so quickly that one side of the market never got a chance to trade. They represent sudden shifts in what traders believe something is worth, where “fair value” changed. When a large candle drives straight through an area without overlap from the candles before and after it, it means buyers or sellers were so aggressive that the market skipped that price zone entirely.
These gaps matter because they mark the moment when confidence in price changes. If price rallies and never pulls back, it signals that traders accept the new higher prices as fair and are willing to keep buying there. The same logic applies in reverse for bearish gaps. They tell you where the market re-priced aggressively and where value was last accepted.
🔹How are Fair Value Gaps used?:
Higher Timeframe FVGs are used as a confluence for all setups within the Manipulation Model indicator. The indicator automatically detects and plots these imbalances from the chosen higher timeframe onto the current chart. When a Manipulation or Almost Manipulation Candle forms near or inside a higher timeframe Fair Value Gap, it adds context to the setup. They are not trade signals by themselves but act as a supporting element that contextualizes setups.
🔹When are Higher Timeframe Fair Value Gaps mitigated?
A Higher Timeframe Fair Value Gap is considered mitigated when the selected higher timeframe closes above the gap for a bearish FVG or below the gap for a bullish FVG.
🔹Higher Timeframe FVG Settings:
Timeframe 1 / Timeframe 2:
Select up to two higher timeframes to use for Fair Value Gaps. Disabling either one removes it visually from the chart but does not affect signal generation. However, the timeframes you select will be used for signal generation logic.
For example, if you select the 1-hour and 4-hour timeframes, then the 1-hour and 4-hour FVGs will be used for signal generation logic, which is explained in the signals section below.
Combine Zones:
When enabled, overlapping FVGs on the same higher timeframe are merged into a single zone. This keeps the chart clean and prevents duplicate zones from displaying.
Midline:
Adds a center line through each higher timeframe FVG.
Labels:
Displays a “ FVG” label beside each zone. This helps users see which timeframe the FVG is detected from.
Color Customization:
Each timeframe has separate color settings for bullish and bearish FVGs. Users can adjust these colors independently for both timeframes to fit their chart layout.
FVG Display Limit:
Controls how many higher timeframe FVGs are shown at once. Only the nearest X active gaps to current price will appear, helping maintain a clear view of relevant imbalances.
SESSIONS:
The Manipulation Model indicator includes six customizable trading sessions: Asia, London, NY AM, NYSE, London Close, and NY PM. All session times and visuals are fully user-configurable. Each session has adjustable start and end times that can be set to match your preferred schedule. Users can also customize visuals for each session, including the color, opacity, and visibility of session zones.
Session highs and lows are automatically tracked and used within the indicator’s signal logic. When a Manipulation or Almost Manipulation Candle forms near a session high or low, it is recognized within the indicator’s signal detection.
Default times used for each session (in EST):
Asia: 20:00 - 00:00
London: 02:00 - 05:00
NY AM: 08:00 - 09:30
NYSE: 09:30 - 10:00
London Close: 10:00 - 11:00
NY PM: 11:00 - 14:00
🔹Session Settings:
Session Boxes:
Each session has a box that outlines its active time window. These boxes can be toggled on or off independently. When active, they visually separate each part of the trading day. Users can adjust the color and opacity of each session box.
Session Highs/Lows:
Every session can display its own high and low as horizontal lines. Users can customize the line style for session highs/lows, choosing between solid, dashed, or dotted. The color of the lines will match the same color used for the session box.
Labels and Price Display:
Labels can be toggled on for all session highs and lows. Users can adjust label color, text size, and choose whether to show the price next to the label. Users can adjust the text size, choosing between tiny, small, normal, large, and huge.
Extend Levels:
When enabled, each session’s high and low levels can be extended forward by a set number of bars.
Session Titles:
Titles for each enabled session (e.g., “Asia,” “London,” “NY AM”) can be displayed directly on the chart.
Show Last:
The “Show Last” setting allows you to choose how many recent sessions of each type appear on the chart. For example, if you only have the Asia session enabled and have this setting set to 2, the recent two Asia sessions will be displayed.
🔹Sessions Used
Under the “Sessions Used” section in the settings, users can choose which sessions are active for signal generation. Only sessions enabled here will produce signals. For example, if you want setups to form only during the London session, turn off all other sessions in this section.
Disabling a session under the main Sessions section only hides its visuals (boxes, lines, or labels). It does not impact signal detection or logic. However, changing a session’s start and end time in either section will affect signals, since signals are tied to the exact session windows defined by the user. This distinction ensures you have full control over what’s displayed visually versus what contributes to active trade signal logic.
Please Note: Signals are only detected and plotted on your chart during sessions. Signals can not be detected outside of session time windows.
KEY LEVELS:
The Manipulation Model indicator includes 10 key market levels that outline important structural price areas across daily, weekly, and monthly timeframes. These levels include the Daily Open, Previous Day High/Low, Weekly Open, Previous Week High/Low, Monthly Open, Previous Month High/Low, and Midnight Open. The levels can be enabled or disabled and customized in color and line style. These levels are used for the indicator’s signal logic.
🔹Daily Open
The Daily Open marks where the current trading day began.
🔹Previous Day High/Low
The Previous Day High (PDH) marks the highest price reached during the previous regular trading session. It shows where buyers pushed price to its highest point before the market closed. This value is automatically pulled from the daily chart and projected forward onto intraday timeframes.
The Previous Day Low (PDL) marks the lowest price reached during the previous regular trading session. It shows where selling pressure reached its lowest point before buyers stepped in. Like the PDH, this level is retrieved from the prior day’s data and extended into the current session.
🔹Weekly Open
The Weekly Open marks the first price of the current trading week.
🔹Previous Week High/Low
The Previous Week High (PWH) marks the highest price reached during the previous trading week. It shows where buying pressure reached its peak before the weekly close. This value is automatically pulled from the weekly chart and extended forward into the current week for easy reference on intraday timeframes.
The Previous Week Low (PWL) marks the lowest price reached during the previous trading week. It shows where sellers pushed price to its lowest point before buyers regained control. Like the PWH, this level is sourced from the prior week’s data and projected onto the current week’s chart.
🔹Monthly Open
The Monthly Open marks the opening price of the current month.
🔹Previous Month High/Low
The Previous Month High (PMH) marks the highest price reached during the previous calendar month. It represents the point at which buyers achieved the strongest push before the monthly close. This level is automatically retrieved from the monthly chart and extended into the new month on all lower timeframes.
The Previous Month Low (PML) marks the lowest price reached during the previous calendar month. It shows where selling pressure was strongest before buyers stepped back in. Like the PMH, this value is pulled from the prior month’s data and extended into the new month on all lower timeframes.
🔹Midnight Open
The Midnight Open marks the first price of the trading day at 00:00 EST.
🔹Customization Options:
Users can fully customize the appearance of all key levels, including the following:
Daily Levels: Daily Open, PDH, and PDL
Weekly Levels: Weekly Open, PWH, and PWL
Monthly Levels: Monthly Open, PMH, and PML
Midnight Open
Color Settings:
Each group of levels (Daily, Weekly, Monthly) shares a single color for the Open, High, and Low lines. For example, the Daily Open, PDH, and PDL all use the same color. Colors can be changed for each group, but not for individual levels within the same group.
Line Style:
Users can select a global line style, choosing between solid, dashed, or dotted, for all Daily, Weekly, and Monthly levels. This style applies to all levels within those groups. For example, the Weekly Open, PWH, and PWL must all share the same line style.
The Midnight Open has its own independent line style setting and can use a different style from the other key levels.
Show Labels:
When enabled, text labels appear to the right of each key level. Users can adjust label color, but only one label color is applied to all levels for consistency.
🔹Key Levels Used:
Under the “Key Levels Used” section, users can choose which Key Levels and Session Levels (Session Highs/Lows) are factored into signal generation. Only levels enabled here are considered within the logic that confirms setups.
Users can choose between the following levels:
Daily Open
Previous Day High/Low
Weekly Open
Previous Week High/Low
Monthly Open
Previous Month High/Low
Asia Session High/Low
London Session High/Low
NY AM Session High/Low
NY Lunch Session High/Low
NY PM Session High/Low
London Close Session High/Low
Midnight Open
For example, if you only want to see setups that form using the Daily and Weekly levels, you should only enable the Daily Open, Previous Day High/Low, Weekly Open, and Previous Week High/Low.
Disabling a level in the main “Key Levels” section only hides its visuals, while disabling it in “Key Levels Used” removes it entirely from the signal logic. Adjusting or removing any level in this section directly affects how setups are detected since the indicator references these levels when confirming Long, Short, Bulltrap, and Beartrap setups.
SIGNALS:
The Manipulation Model indicator automatically identifies Long, Short, Bulltrap, and Beartrap setups based on the interaction between Manipulation Candles (MCs), Almost Manipulation Candles (AMCs), and two main entry conditions: Key Levels and Fair Value Gaps (FVGs).
Each signal type uses the structure of a Manipulation or Almost Manipulation Candle as its foundation. When one of these candles forms and aligns with the entry conditions, the indicator automatically plots labels for an entry, stop loss (SL), and take profit (TP). Every signal follows a mechanical set of rules and is marked in real time. Once confirmed on a candle close, the signal remains fixed on the chart and does not repaint.
🔹Higher Timeframe Bias Filter
Before a signal is generated, the indicator automatically determines directional bias using the 50-period Exponential Moving Average (EMA) on the 1-hour timeframe.
If price is above the 50 EMA, only bullish setups are allowed.
If price is below the 50 EMA, only bearish setups are allowed.
🔹Stop Loss and Take Profit Logic:
For every setup, the stop loss is placed at the low of the Manipulation or Almost Manipulation Candle for bullish setups, and at the high for bearish setups. The take profit is automatically calculated at a 1:1 risk-to-reward ratio relative to that distance.
Users can adjust both the SL Multiplier and TP Multiplier in the settings, under the “General Configuration” section, to extend or contract these levels. For example, increasing the TP Multiplier to 1.5 sets the take profit at 1.5x the distance between the entry and stop loss.
🔹Signal Input Settings:
Candle Type:
Choose which candle type is used to generate signals. Options include:
Manipulation Candle (MC) only
Almost Manipulation Candle (AMC) only
Both (signals are generated from either candle type)
Entry Method:
Determines whether signals are generated based on:
Key Levels only
Fair Value Gaps only
Both (signals are generated from Key Levels AND Fair Value Gaps)
Setup Types:
You can enable or disable specific setup types. Only the selected setup types will appear on your chart:
Long Setups
Short Setups
Bulltrap Setups
Beartrap Setups
🔹Long Setup – Manipulation Candle + Key Level:
A long setup forms when a bullish Manipulation Candle touches a toggled-on key level under the “Key Levels Used” section and closes above it during a toggled-on session from the “Sessions Used” section. After the candle closes and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bullish Manipulation Candle
Stop Loss: At the low of the same candle
Take Profit: Equal distance above the entry, based on TP multiplier
In this example, a bullish MC touches the PDH during the London Session and closes above the level:
🔹Short Setup – Manipulation Candle + Key Level
A short setup forms when a bearish Manipulation Candle touches a toggled-on key level under the “Key Levels Used” section and closes below it during a toggled-on session from the “Sessions Used” section. After the candle closes and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bearish Manipulation Candle
Stop Loss: At the high of the same candle
Take Profit: Equal distance below the entry, based on the TP Multiplier
In this example, a bearish MC touches the Daily Open during the NY AM Session and closes below the level:
🔹Trap Confirmation Settings
Two settings control how bulltrap and beartrap setups are confirmed once a Manipulation or Almost Manipulation Candle forms.
Candles Between Confirmation:
This setting defines the maximum number of candles allowed between the initial Manipulation Candle and the confirmation candle that closes back in the opposite direction.
For example, if this value is set to 2, the confirmation candle must appear within two bars of the Manipulation Candle for the setup to remain valid. If too many candles form in between, the bull/bear trap setup is ignored.
Trap Wick-to-Body Ratio:
This input measures the ratio of the confirmation candle’s wick size to its body size for bulltrap and beartrap setups. Lower values require a larger body compared to the wick, meaning the confirmation candle must close more decisively. If the ratio is above the threshold set by the user, the confirmation candle for a bulltrap/beartrap setup is considered valid.
For example, if the wick is 10 points and the body is 10 points, the ratio is 1.0 (10 / 10). If the wick is 10 points and the body is 20 points, the ratio is 0.5 (10 / 20).
🔹Beartrap Setup – Manipulation Candle + Key Level
A beartrap setup forms when a bearish Manipulation Candle touches a toggled-on key level under the “Key Levels Used” section. The candle does not need to close above or below the level, it only needs to touch it. After this bearish MC forms, a confirmation candle must close back above the MC’s high during an enabled session under the “Sessions Used” section. The sweep or initial touch can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input
Once these conditions are met and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the low of the confirmation candle
Take Profit: Equal distance above the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bearish Manipulation Candle touches the Daily Open level before price reverses and a confirmation candle closes above it. The confirmation candle occurs during the Asia Session, has a strong body with minimal wicks, meeting the Trap Wick-to-Body Ratio requirement, and it forms just two candles after the bearish MC which is within the limit set by the Candles Between Confirmation input.
🔹Bulltrap Setup – Manipulation Candle + Key Level
A bulltrap setup forms when a bullish Manipulation Candle touches a toggled-on key level under the “Key Levels Used” section. The MC does not need to close above or below the level, it only needs to touch it. After this bullish MC forms, a confirmation candle must close back below the MC’s low during an enabled session under the “Sessions Used” section. The initial key level touch from the MC can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the high of the confirmation candle
Take Profit: Equal distance below the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bullish Manipulation Candle touches the Daily Open level before price reverses and a confirmation candle closes below it. The confirmation candle forms during the NY AM Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and it appears two candles after the bullish MC which is within the limit defined by the Candles Between Confirmation input.
🔹Long Setup – Almost Manipulation Candle + Key Level
A long setup forms when a bullish Almost Manipulation Candle (AMC) touches a toggled-on key level under the “Key Levels Used” section and closes above it during a toggled-on session from the “Sessions Used” section. After the candle closes and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bullish Almost Manipulation Candle
Stop Loss: At the low of the same candle
Take Profit: Equal distance above the entry, based on the TP Multiplier
In this example, a bullish AMC touches the Daily Open during the NYSE Session and closes above the level.
🔹Short Setup – Almost Manipulation Candle + Key Level
A short setup forms when a bearish Almost Manipulation Candle (AMC) touches a toggled-on key level under the “Key Levels Used” section and closes below it during a toggled-on session from the “Sessions Used” section. After the candle closes and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bearish Almost Manipulation Candle
Stop Loss: At the high of the same candle
Take Profit: Equal distance below the entry, based on the TP Multiplier
In this example, a bearish AMC touches the Midnight Open during the NY AM Session and closes below the level.
🔹Beartrap Setup – Almost Manipulation Candle + Key Level
A beartrap setup forms when a bearish Almost Manipulation Candle (AMC) touches a toggled-on key level under the “Key Levels Used” section. The candle does not need to close above or below the level, it only needs to touch it. After this bearish AMC forms, a confirmation candle must close back above the AMC’s high during an enabled session under the “Sessions Used” section. The initial touch can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the low of the confirmation candle
Take Profit: Equal distance above the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bearish AMC touches the Midnight Open before price reverses and a confirmation candle closes above it. The confirmation candle forms during the London Session, has a large body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears seven candles after the bearish AMC which is within the Candles Between Confirmation limit (10 by default).
🔹Bulltrap Setup – Almost Manipulation Candle + Key Level
A bulltrap setup forms when a bullish AMC touches a toggled-on key level under the “Key Levels Used” section. The candle does not need to close above or below the level; it only needs to touch it. After this bullish AMC forms, a confirmation candle must close back below the AMC’s low during an enabled session under the “Sessions Used” section. The initial touch can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the high of the confirmation candle
Take Profit: Equal distance below the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bullish AMC touches the NY Lunch Session Low before price reverses and a confirmation candle closes below it. The confirmation candle forms during the Asia Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears six candles after the bullish AMC which is within the Candles Between Confirmation limit.
🔹Long Setup – Manipulation Candle + Fair Value Gap
A long setup forms when a bullish Manipulation Candle touches a bullish higher timeframe Fair Value Gap (FVG) from one of the two higher timeframe inputs under the “Fair Value Gaps” section. The candle must close during an enabled session under the “Sessions Used” section. After the candle closes and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bullish Manipulation Candle
Stop Loss: At the low of the same candle
Take Profit: Equal distance above the entry, scaled by the TP Multiplier
In this example, a bullish MC taps into a bullish 1-hour FVG during the Asia Session.
🔹Short Setup – Manipulation Candle + Fair Value Gap
A short setup forms when a bearish Manipulation Candle touches a bearish higher timeframe FVG from one of the two selected higher timeframe inputs under the “Fair Value Gaps” section. The candle must also close during an enabled session under the “Sessions Used” section. After the candle closes and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bearish Manipulation Candle
Stop Loss: At the high of the same candle
Take Profit: Equal distance below the entry, scaled by the TP Multiplier
In this example, a bearish MC taps a bearish 1-hour FVG during the Asia Session.
🔹Beartrap Setup – Manipulation Candle + Fair Value Gap
A beartrap setup forms when a bearish Manipulation Candle touches a bullish or bearish higher timeframe FVG from one of the two higher timeframe inputs under the “Higher Timeframe FVG Settings” section. After the bearish MC forms, price must reverse and a confirmation candle must close above the bearish MC’s high during an enabled session under the “Sessions Used” section. The initial touch of the FVG can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the low of the confirmation candle
Take Profit: Equal distance above the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bearish MC taps a 1-hour bearish FVG, price reverses, and a confirmation candle closes above the bearish MC’s high. The confirmation candle forms during the London Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears two candles after the bearish MC which is within the Candles Between Confirmation limit.
🔹Bulltrap Setup – Manipulation Candle + Fair Value Gap
A bulltrap setup forms when a bullish MC touches a bearish or bullish higher timeframeFVG from one of the two higher timeframe inputs under the “Higher Timeframe FVG Settings” section. After the bullish MC forms, price must reverse and a confirmation candle must close below the MC’s low during an enabled session under the “Sessions Used” section. The initial touch of the FVG can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the high of the confirmation candle
Take Profit: Equal distance below the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bullish MC taps a 4-hour bearish FVG, price reverses, and a confirmation candle closes below the bullish MC’s low. The confirmation candle forms during the NY PM Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears six candles after the bullish MC which is within the Candles Between Confirmation limit.
🔹Long Setup – Almost Manipulation Candle + Fair Value Gap
A long setup forms when a bullish AMC touches a bullish higher timeframe FVG from one of the two higher timeframe inputs under the “Fair Value Gaps” section. The candle must close during an enabled session under the “Sessions Used” section. After the candle closes and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bullish AMC
Stop Loss: At the low of the same candle
Take Profit: Equal distance above the entry, scaled by the TP Multiplier
In this example, a bullish AMC taps into a bullish 1-hour FVG during the London Session.
🔹Short Setup – Almost Manipulation Candle + Fair Value Gap
A short setup forms when a bearish AMC touches a bearish higher timeframe FVG from one of the two selected higher timeframe inputs under the “Fair Value Gaps” section. The candle must also close during an enabled session under the “Sessions Used” section. After the candle closes and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the bearish AMC
Stop Loss: At the high of the same candle
Take Profit: Equal distance below the entry, scaled by the TP Multiplier
In this example, a bearish AMC taps a bearish 1-hour FVG during the NY PM Session.
🔹Beartrap Setup – Almost Manipulation Candle + Fair Value Gap
A beartrap setup forms when a bearish AMC touches a bullish or bearish higher timeframe FVG from one of the two higher timeframe inputs under the “Higher Timeframe FVG Settings” section. After the bearish AMC forms, price must reverse and a confirmation candle must close above the bearish AMC’s high during an enabled session under the “Sessions Used” section. The initial touch of the FVG can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is above the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the low of the confirmation candle
Take Profit: Equal distance above the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bearish AMC taps a 4-hour bearish FVG, price reverses, and a confirmation candle closes above the bearish AMC’s high. The confirmation candle forms during the NY PM Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears seven candles after the bearish AMC, which is within the Candles Between Confirmation limit.
🔹Bulltrap Setup – Almost Manipulation Candle + Fair Value Gap
A bulltrap setup forms when a bullish AMC touches a bearish or bullish higher timeframe FVG from one of the two higher timeframe inputs under the “Higher Timeframe FVG Settings” section. After the bullish AMC forms, price must reverse and a confirmation candle must close below the AMC’s low during an enabled session under the “Sessions Used” section. The initial touch of the FVG can occur before or outside the session, but the confirmation candle must close within an active session window.
To confirm the setup, the following conditions must be met:
The confirmation candle must close within the limit set by the Candles Between Confirmation input.
Its wick-to-body ratio must be less than or equal to the Trap Wick-to-Body Ratio input.
Once these conditions are met and price is below the 1-hour 50 EMA, the indicator marks:
Entry: At the close of the confirmation candle
Stop Loss: At the high of the confirmation candle
Take Profit: Equal distance below the entry, measured 1:1 from the candle’s body and scaled by the TP Multiplier
In this example, a bullish AMC taps a 1-hour bullish FVG, price reverses, and a confirmation candle closes below the bullish AMC’s low. The confirmation candle forms during the Asia Session, has a strong body with minimal wicks that meet the Trap Wick-to-Body Ratio requirement, and appears six candles after the bullish AMC, which is within the Candles Between Confirmation limit.
🔹Signal Style Customization
The Manipulation Model indicator provides full visual customization for all signal elements, allowing users to easily adjust the appearance of entry, stop loss, and take profit labels.
Label Colors:
Users can customize the label color for Long Setups (Long and Beartrap) and Short Setups (Short and Bulltrap).
Long and Beartrap setups share the same label color.
Short and Bulltrap setups share the same label color.
Label text color can also be customized and applied globally to all signal labels.
Stop Loss (SL) and Take Profit (TP) Labels:
The SL and TP label colors can be customized independently.
Users can toggle SL Labels and TP Labels on or off. When turned off, the corresponding labels are hidden, but their levels remain active on the chart.
Entry, Stop Loss, and Take Profit Lines:
Each of these lines can be individually toggled on or off.
Entry Line: Marks the entry price level.
Stop Loss Line: Displays the SL level derived from each setup’s logic.
Take Profit Line: Displays the TP level calculated using the Take Profit Multiplier setting.
Users can also toggle the labels for each line on or off and adjust the color for each line type independently.
WIN RATE DASHBOARD:
The Win Rate Dashboard gives traders a quick way to see the recent performance of their enabled setups. It automatically calculates and displays win rates for each signal type turned on under the “General Configuration” section, based on the sessions and key levels currently active in the settings.
The dashboard updates in real time, showing both the win rate percentage and total trade count for all enabled signal types combined. It looks back at a set number of bars to calculate results, providing a simple performance snapshot directly on your chart.
How It Works:
When a signal triggers, the indicator tracks whether price first reaches the Take Profit (TP) or Stop Loss (SL) level.
A winning trade is recorded when the take profit is hit before the stop loss.
A losing trade is recorded when the stop loss is hit before the take profit.
The win rate = (Winning Trades / Total Trades) x 100
🔹Dashboard Customization:
Users can adjust the dashboard’s appearance with the following settings:
Background Color
Frame Color
Border Color
Text Color
You can also toggle the dashboard on or off from the settings menu. It appears in the top-right corner of the chart by default and its position cannot be changed.
🔹Disclaimer:
The Win Rate Dashboard provides historical performance data based on the signals and conditions you’ve enabled. These results are calculated from past bars and are not indicative of future performance or profitability.
ALERTS:
The Manipulation Model indicator includes full alert functionality powered by AnyAlert(), allowing users to receive notifications for all major setups and level breaks in real time.
Users can choose exactly which alerts they want to receive under the “Alerts” section of the settings. Once your preferred alerts are toggled on, you can create a TradingView alert using the AnyAlert() condition. This will automatically trigger alerts for all selected events as they occur on your chart.
Available Alerts:
Long Setup
Short Setup
Bulltrap Setup
Beartrap Setup
Manipulation Candle
Almost Manipulation Candle
Previous Day High/Low Break
Current Day Open Break
Previous Week High/Low Break
Current Week Open Break
Previous Month High/Low Break
Current Month Open Break
Asia Session High/Low Break
London Session High/Low Break
NY AM Session High/Low Break
NYSE Session High/Low Break
London Close Session High/Low Break
NY PM Session High/Low Break
Midnight Open Break
To receive alerts:
Open the alert creation window in TradingView
Select “Manipulation Model ” as the condition
Choose AnyAlert() from the dropdown
Create the alert
IMPORTANT NOTES:
TradingView has limitations when running features on multiple timeframes, which can result in the following restriction:
Computation Error:
The computation of using MTF features is very intensive on TradingView. This can sometimes cause calculation timeouts. When this occurs, simply force the recalculation by modifying one indicator’s settings or by removing the indicator and adding it to your chart again.
UNIQUENESS:
The Manipulation Model is unique because every setup type is fully rule-based and tied to strict structural logic. Traders can control exactly how signals form by selecting which candle types are used, which key levels and sessions are active, and whether entries trigger from Key Levels, Fair Value Gaps, or both. All setups use objective rules for confirmation, wick-to-body ratio, and higher timeframe bias. The indicator also provides full customization for visuals, alerts, and trade parameters like TP and SL multipliers. A built-in Win Rate Dashboard tracks real-time performance for all enabled setup types based on the user’s active sessions and signal filters. Together, these features make it a complete, mechanical implementation of the Funded Brothers Manipulation Model and it works across all asset classes including stocks, crypto, forex, and futures.






















