Advanced custom multi MA signals (EMA/SMA/VWMA/VWAP) Features of Multi Moving Averages
The biggest enemy in trading is "Noise." If you get swayed by minute fluctuations on the chart, you end up missing the forest for the trees.
This indicator (Advanced Custom Multi MA Signals) is not just a simple line. By combining the three core elements of Price, Time, and Volume, it acts as a navigation system that visualizes the market's "true trend." In particular, the ability to analyze 5 moving averages simultaneously across various timeframes is akin to viewing a 3D map of the battlefield.
Understanding Core Concepts
This indicator supports 4 types of moving averages. It is crucial to clearly understand the nature of each tool.
SMA (Simple Moving Average): The most basic average value. Since it produces fewer whipsaws (false signals), it is used as a baseline to judge the "long-term trend."
EMA (Exponential Moving Average): Places more weight on recent prices. It reacts sensitively to market changes, making it advantageous for identifying "entry points."
VWMA (Volume Weighted Moving Average): Incorporates "volume" into the price calculation. It acts as a "false signal filter," weeding out price moves that aren't backed by trading volume.
VWAP (Volume Weighted Average Price): The benchmark price used by institutional investors for daily trading. It is calculated based on the session, regardless of the period settings. It is considered the "lifeline" of day trading.
Indicator Settings Guide
Open the settings window and tune it to fit your trading style.
MA 01 ~ 05 (Moving Average Settings)
MA Type: Select according to your purpose. (Generally, EMA is recommended for short-term analysis, SMA/VWMA for long-term).
Length: Enter the period you wish to analyze (e.g., 20, 60, 120, 200).
Timeframe: This is the core feature. It allows you to overlay moving averages from a higher timeframe (e.g., 4-hour, Daily) onto the chart you are currently viewing (e.g., 15-minute).
Signal Option (Trading Signals)
Golden Cross (GC) / Death Cross (DC): Captures the moment the short-term line breaks through the long-term line. You can run up to 3 strategies simultaneously.
Ribbon Gradient (Trend Visualization)
Represents the gap between two moving averages with color. As the color deepens and the width expands, it indicates a powerful trend; if the width narrows, it suggests a high probability of a trend reversal.
5 Usage Strategies
The highlight of this indicator is the cross strategy utilizing the "Multi-Timeframe (MTF)" feature. Familiarize yourself with the 5 example strategies below and set up your own strategy based on your expertise.
💡 Tip 1. Do not go against the "Major Trend" (The Authority of the Weekly Candle)
Settings: Set MA5 to .
Interpretation: The Weekly 50 line is the "major trend line" managed by institutions and market makers. If the current price is above this line, maintain only a "Buy (Long)" bias; if below, maintain only a "Sell (Short)" bias. Adhering to this rule alone can help you avoid massive losses.
💡 Tip 2. Highly Reliable "Swing Signal" (Daily Golden Cross)
Settings: In Signal 1, configure the Short MA to and the Long MA to .
Interpretation: A Golden Cross where the 4-Hour 50 EMA breaks above the Daily 50 EMA often signifies a major "trend reversal" rather than a temporary rebound. This provides an ideal entry signal for office workers or swing traders who need high reliability.
💡 Tip 3. 4-Hour Candle as the Standard for "Precision Entry"
Situation: When the Daily trend is rising (Bullish alignment).
Strategy: While watching the 15-minute or 1-hour chart, set the indicator's Signal 2 to the cross of and .
Interpretation: When the Daily chart is in an uptrend, a Golden Cross occurring on the 4-Hour chart marks "the point where a correction (pullback) ends and the rise resumes." This is the entry point with the best risk-to-reward ratio.
💡 Tip 4. Filtering Out "Fake Signals" (The Secret of Volume)
Strategy: When creating a cross signal, try using VWMA (Volume Weighted) for the Long MA, even if you use EMA for the Short MA.
Reason: A Golden Cross caused simply by a rise in price can be a trap. However, if it breaks through the heavy VWMA line accompanied by volume, it is strong evidence that "genuine liquidity" has entered.
💡 Tip 5. Remember the "Hierarchy" (Higher Timeframe Priority Rule)
Principle: If a Golden Cross (Buy Signal) appears on the 4-Hour chart, but the Daily chart is in a Death Cross (Sell Signal) state, do not enter.
Interpretation: A signal from a lower timeframe cannot overcome the power of a higher timeframe. The professional approach is to trade with significant volume only when signals align (Sync) in the order of Weekly > Daily > 4-Hour. Keep this indicator's dashboard feature on and always check the status of higher timeframes.
Signal Generation Principle (Operating Mechanism)
Signals are generated when the set short-term moving average and long-term moving average cross each other.
📈 1. Golden Cross (BUY = Buy Signal)
Situation: The moment the short-term MA crosses upward from below the long-term MA.
Principle: It implies that recent buying pressure has broken through the resistance level accumulated over a long period.
📉 2. Death Cross (SELL = Sell Signal)
Situation: The moment the short-term MA crosses downward from above the long-term MA.
Principle: It implies that recent selling pressure has collapsed the long-term support line.
※ If the candles are not displaying correctly or are flickering, please set the indicator's 'Visual order' to 'Bring to front' as shown in the image below.
Investment Caution and Disclaimer
Before using this indicator for actual trading, please strictly read the contents below.
① Auxiliary indicators are a "Compass," not a "Book of Prophecy."
This indicator is merely a tool that mathematically calculates and visualizes past price data. A "magic indicator" that predicts future price fluctuations 100% accurately or guarantees profit does not exist. The signals provided are for reference only and must never be the sole basis for entry/exit decisions.
② The responsibility for all investments lies with "Yourself."
Financial investment (Cryptocurrencies, Stocks, Futures, etc.) involves high volatility and is a risky activity that can result in the loss of some or all of the principal. The final responsibility for all trading results (profits and losses) incurred by utilizing this indicator lies entirely with the investor. The distributor and developer accept no legal responsibility for investment results under any circumstances.
③ Past data does not guarantee the future.
Even a Golden Cross that fit perfectly in backtesting or past charts may operate differently in tomorrow's market situation (News, Macroeconomics, Unexpected Variables, etc.). Do not rely solely on technical analysis; you must conduct fundamental analysis and risk management in parallel.
④ Risk management is the top priority.
No matter how promising a signal appears, "all-in trading" (investing all assets in a single trade) is a shortcut to bankruptcy. More important than the indicator itself is adhering to the principles of strict scaling in (split buying) and Stop-Loss.
Pivot points and levels
Quasimodo (QML) Pattern [Kodexius]Quasimodo (QML) Pattern is a market structure indicator that automatically detects Bullish and Bearish Quasimodo formations using confirmed swing pivots, then visualizes the full structure directly on the chart. The script focuses on the classic liquidity-grab narrative of the QML: a sweep beyond a prior swing (the Head) followed by a decisive market structure break (MSB), leaving behind a clearly defined reaction zone between the Left Shoulder and the Head.
Detection is built on pivot highs and lows, so patterns are evaluated only after swing points are validated. Once a valid 4 pivot sequence is identified, the indicator draws the pattern legs, highlights the internal triangle area to emphasize the grab, marks the MSB leg, and projects a QML zone that can be used as a potential area of interest for retests.
This tool is designed for traders who work with structure, liquidity concepts, and reversal/continuation triggers, and who want a clean, repeatable QML visualization without manually marking swings.
🔹 Features
🔸 Confirmed Pivot Based Structure Mapping
The script uses classic built-in pivot logic to detect swing highs and swing lows.
🔸 Automatic Bullish and Bearish QML Detection
The indicator evaluates the most recent 4 pivots and checks for a valid alternating sequence (High-Low-High-Low or Low-High-Low-High). When the sequence matches QML requirements, the script classifies the setup as bullish or bearish:
Bullish logic (structure reversal up):
- Left Shoulder is a pivot Low
- Head is a lower Low than the Left Shoulder (liquidity sweep)
- MSB pivot exceeds the Reaction pivot
Bearish logic (structure reversal down):
- Left Shoulder is a pivot High
- Head is a higher High than the Left Shoulder (liquidity sweep)
- MSB pivot breaks below the Reaction pivot
🔸 Full Pattern Visualization (Legs + Highlighted Core)
When a pattern triggers, the script draws:
Three main legs: Left Shoulder to Reaction, Reaction to Head, Head to MSB
A shaded triangular highlight over the internal structure to make the liquidity-grab shape easy to spot at a glance
🔸 QML Zone Projection
A QML Zone box is drawn using the price range defined between the Left Shoulder and the Head, then extended to the right to remain visible as price develops. This zone is intended to act as a practical reference area for potential retests and reaction planning after MSB confirmation.
🔸 MSB Emphasis
A dotted MSB line is drawn between the Reaction point and the MSB point to visually emphasize the confirmation leg that completes the pattern logic.
🔸 Clean Point Tagging and Directional Labeling
Key points are labeled directly on the chart:
- “LS” at the Left Shoulder
- “Head” at the sweep pivot
- “MSB” at the break pivot
A directional label (“Bullish QML” or “Bearish QML”) is also printed to quickly identify the detected bias.
🔸 Configurable Visual Style
All main visual components are user configurable:
- Bullish and bearish colors
- Line width
- Label size
🔸 Efficient Update Logic
Pattern checks are only performed when a new pivot is confirmed, avoiding unnecessary repeated calculations on every bar. The most recent pattern’s projected elements (zone and label positioning) are updated as new bars print to keep the latest setup readable.
🔹 Calculations
This section summarizes the core logic used for detection and plotting.
1. Pivot Detection (Swing Highs and Lows)
The script relies on confirmed pivots using the user inputs:
Left Bars: how many bars must exist to the left of the pivot
Right Bars: how many bars must exist to the right to confirm it
float ph = ta.pivothigh(leftLen, rightLen)
float pl = ta.pivotlow(leftLen, rightLen)
When a pivot is confirmed, its true bar index is the pivot bar, not the current bar, so the script stores:
bar_index
2. Pivot Storage and History Window
Each pivot is stored as a structured object containing:
- price
- index
- isHigh (true for pivot high, false for pivot low)
A rolling history is maintained (up to 50 pivots) to keep processing stable and memory usage controlled.
3. Sequence Validation (Alternation Check)
The pattern evaluation always uses the latest 4 pivots:
p0: Left Shoulder candidate
p1: Reaction candidate
p2: Head candidate
p3: MSB candidate
Before checking bullish/bearish rules, the script enforces alternating pivot types:
bool correctSequence =
(p0.isHigh != p1.isHigh) and
(p1.isHigh != p2.isHigh) and
(p2.isHigh != p3.isHigh)
This prevents invalid structures like consecutive highs or consecutive lows from being interpreted as QML.
4. Bullish QML Conditions
A bullish QML is evaluated when the Left Shoulder is a Low:
Head must be lower than Left Shoulder (sweep)
MSB must be higher than Reaction (break)
if not p0.isHigh
if p2.price < p0.price and p3.price > p1.price
// Bullish QML confirmed
Interpretation:
p2 < p0 represents the liquidity grab below the prior swing low
p3 > p1 represents the market structure break above the reaction high
5. Bearish QML Conditions
A bearish QML is evaluated when the Left Shoulder is a High:
Head must be higher than Left Shoulder (sweep)
MSB must be lower than Reaction (break)
if p0.isHigh
if p2.price > p0.price and p3.price < p1.price
// Bearish QML confirmed
Interpretation:
p2 > p0 represents the liquidity grab above the prior swing high
p3 < p1 represents the market structure break below the reaction low
6. Drawing Logic (Structure, Highlight, Zone, Labels)
When confirmed, the script draws:
Three connecting legs (LS to Reaction, Reaction to Head, Head to MSB)
A shaded triangle using a transparent “ghost” line to enable filling
A dotted MSB emphasis line between Reaction and MSB
A QML Zone box spanning the LS to Head price range and projecting to the right
Point labels: LS, Head, MSB
A direction label: “Bullish QML” or “Bearish QML”
7. Latest Pattern Extension
To keep the newest setup readable, the script updates the most recently detected pattern by extending its projected elements as new bars print:
QML zone right edge is pushed forward
The main label x position is pushed forward
This keeps the last identified QML zone visible as price evolves, without having to redraw historical patterns on every bar.
Auto-Anchored Fibonacci Volume Profile [Custom Array Engine]Description:
1. The Theoretical Foundation: Structure vs. Participation In professional technical analysis, traders often struggle to reconcile two distinct datasets: Price Geometry (where price should go) and Market Participation (where money actually went).
Why Fibonacci? (The Structure) Fibonacci Retracements map the mathematical structure of a trend. They identify psychological and algorithmic "interest zones" (0.382, 0.5, 0.618) where a correction is statistically likely to terminate. However, Fibonacci levels are theoretical—they are "lines in the sand" that do not guarantee liquidity or reaction.
Why Volume Profile? (The Verification) Volume Profile maps the historical exchange of shares at specific price levels. It reveals "fair value" (High Volume Nodes) and "market imbalance" (Low Volume Nodes). It is the only tool that verifies if a specific price level was actually accepted by institutional participants.
2. Underlying Calculations (The Custom Engine) This script operates on a custom-built calculation engine that bypasses standard built-in functions entirely. It uses Pine Script Arrays to build a Volume Profile from scratch. Here is the breakdown of the proprietary code logic:
A. The "Smart-Fill" Distribution Algorithm (Solves Gapping)
The Problem: Standard volume scripts often assign a candle's entire volume to a single price row. In volatile markets or steep trends, this creates visual "gaps" or a "barcode" effect because price moved too fast to register on every row.
My Solution: I wrote a custom loop that calculates the vertical overlap of every candle against the profile grid.
The Math: Volume Per Bin = Total Candle Volume / Bins Touched.
The Result: If a single volatile candle spans 10 price rows (bins), the script mathematically divides that volume and distributes it equally into all 10 array indices. This generates a solid, continuous distribution curve that accurately reflects price action through the entire candle range, not just the close.
B. Dynamic Arrays & Split-Volume Logic The script initializes two separate floating-point arrays (buyVolArray and sellVolArray) sized to the user's resolution (up to 300 rows). It iterates through the specific time-window of the swing:
If Close >= Open, the calculated volume slice is injected into the Buy Array.
If Close < Open, it is injected into the Sell Array.
These arrays are then visually stacked to render the dual-color profile, allowing traders to see the "Delta" (Buyer vs. Seller aggression) at key structural levels.
C. Custom Garbage Collection (Performance) To enable the "Auto-Anchoring" feature without causing chart lag or visual artifacts ("ghosting"), the script includes a Garbage Collection System. Before drawing a new profile, the script iterates through a tracking array of all existing objects (box.delete, line.delete) and clears them from memory. This ensures the indicator remains lightweight and responsive even when dragging chart margins or switching timeframes.
3. The Synthesis: Why Combine Them? The core philosophy of this script is Confluence . A Fibonacci level without volume is merely a suggestion; a Fibonacci level backed by volume is a defensive wall. By algorithmically anchoring a Volume Profile to the exact coordinates of a Fibonacci swing, this tool allows traders to instantly answer critical questions:
"Is the Golden Pocket (0.618) supported by a High Volume Node (HVN), or is it a Low Volume Node (LVN) that price might slice through?"
"Is the Shallow Retracement (0.382) holding because of structural support, or just a lack of selling pressure?"
4. How to Read the Indicator
The Geometry: The script automatically detects the trend and draws standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
The Confluence Check: Look for the Point of Control (Red Line). If this High Volume Node aligns with a key Fib level (e.g., the 0.618), the probability of a reversal increases significantly.
The Imbalance Check: Look for "Valleys" in the profile (Low Volume Nodes). These gaps often act as "slippage zones" where price travels quickly between structural levels.
Buy/Sell Splits: The dual-color bars (Teal/Red) reveal the composition of the volume. A 0.618 level held up by dominant Buy Volume is a stronger bullish signal than one with mixed volume.
5. Settings & Customization
Lookback Length: Sensitivity of the swing detection (Default: 200 bars).
Resolution: Granularity of the profile rows (Default: 100). Higher values provide smoother definition.
Width (%): Responsive sizing that scales the profile relative to the trend's duration.
Extend Lines: Option to project structural levels infinitely to the right.
Disclaimer This script is an analytical tool for visualizing historical market data. It does not provide trade signals or financial advice.
ICT Unicorn Model [Kodexius]ICT Unicorn Model is a market structure and imbalance confluence tool that automatically detects high probability “Unicorn” setups by combining three key elements into a single, clean script:
-A first, clean break of that swing level (displacement style break)
-A Fair Value Gap that overlaps a breaker candle body range
Instead of plotting every pivot or every imbalance independently, the script waits for a specific sequence: price establishes a valid swing, breaks that swing for the first time, and prints a setup only when the resulting context aligns with a valid, volatility filtered FVG and a clearly defined breaker range.
Each detected setup is drawn directly on the chart with labeled zones (Breaker and FVG) and is then actively monitored. If price violates the breaker boundary based on your chosen invalidation basis (Close or Wick), the setup is marked inactive and can optionally be removed to keep the chart clean.
This indicator is designed for traders who work with ICT style concepts such as liquidity runs, displacement, breaker blocks, and imbalance reversion, and who want a structured, rules based visualization rather than discretionary drawing.
🔹 Features
🔸 Fair Value Gap Detection With Volatility Filtering
Bullish and bearish FVGs are detected using classic three candle imbalance logic. To avoid low quality gaps during compression, the script applies an ATR based minimum size filter using the “FVG Min Size (ATR Multiplier)” input. Only gaps larger than ATR * threshold are considered valid.
🔸 First Break Validation (Clean Break Logic)
A key part of the model is identifying a “first break” of a swing level. The script checks whether the swing price has already been invalidated between the swing bar and the current bar. If it has, the swing is ignored. This helps reduce repeated signals and focuses on fresh structural breaks.
🔸 Breaker and FVG Confluence With Overlap Requirement
After a valid break occurs, the script defines a breaker range using the body of the swing candle (open and close). A setup is only created if this breaker body range overlaps the detected FVG price range. This overlap requirement is what filters many “almost” conditions and keeps signals more selective.
Bullish Unicorn:
Bearish Unicorn:
🔸 Configurable Invalidation Basis (Close or Wick)
You can choose how a setup fails:
-Close: invalidation requires a candle close beyond the breaker boundary
-Wick: invalidation occurs as soon as any wick crosses beyond the breaker boundary
This allows the tool to adapt to different trading styles, from conservative confirmation to more sensitive risk control.
🔸 Automatic Cleanup of Failed Setups
If “Delete Invalidated Setups” is enabled, the script removes the breaker box, FVG box, and label as soon as the setup is invalidated. If disabled, the zones remain visible for review while the setup is marked inactive internally.
🔸 Clear Chart Visuals
Each setup plots:
-A labeled Breaker zone box
-A labeled FVG zone box
-A directional Unicorn label (Bull or Bear) that updates position as the chart advances
Colors for bullish and bearish structures are fully configurable.
🔸 Alert Conditions
Two alert conditions are provided:
-Bullish Unicorn Setup Detected
-Bearish Unicorn Setup Detected
Alerts trigger only on the bar a new setup is created.
🔹 Calculations
This section summarizes the main computations used internally. The goal here is to explain the model mechanics rather than reproduce every implementation detail.
1. Swing Detection (Pivot High / Pivot Low)
Swing levels are detected using a symmetric pivot definition with “Swing Length” bars on both sides:
float ph = ta.pivothigh(high, swingLength, swingLength)
float pl = ta.pivotlow(low, swingLength, swingLength)
When a pivot is confirmed, its price and originating bar index are stored:
-Swing High: price = pivot high, isHigh = true
-Swing Low: price = pivot low, isHigh = false
The script keeps a limited history (most recent swings) to stay efficient.
2. Fair Value Gap Detection
FVGs use the classic three candle displacement imbalance:
Bullish FVG condition
bool isBullFVG = high < low
Bullish gap range is defined as:
-Top = low
-Bottom = high
Bearish FVG condition
bool isBearFVG = low > high
Bearish gap range is defined as:
-Top = low
-Bottom = high
3. ATR Based Minimum Gap Filter
ATR is computed (length 14), then the gap size is compared against a user threshold:
float atr = ta.atr(14)
bool validBullFVG = isBullFVG and (bullFvgTop - bullFvgBot) > (atr * fvgThreshold)
bool validBearFVG = isBearFVG and (bearFvgTop - bearFvgBot) > (atr * fvgThreshold)
This prevents very small imbalances from generating setups in low volatility conditions.
4. “First Break” Check Using Level Invalidation Scan
Before accepting a swing break, the script scans forward from the swing bar to the current bar to confirm the level has not already been breached. The scan can be based on wick or close:
-Wick mode: uses high or low
-Close mode: uses close
Conceptually:
priceToCheck = mode == "Wick" ? (checkBelow ? low : high) : close
If a prior breach is found, the swing is treated as already invalidated and is ignored for setup creation.
5. Break Of Structure Condition
Bullish break requirement
A bullish setup requires breaking a stored swing high with bullish body intent:
-close > swingHighPrice
-open < close
Bearish break requirement
A bearish setup requires breaking a stored swing low with bearish body intent:
-close < swingLowPrice
-open > close
An additional proximity filter is applied in the bearish branch to reduce weak or overly extended breaks by requiring the prior close to be reasonably near the swing level.
6. Breaker Range Construction
Once a qualifying swing is found, the breaker range is derived from the body of the swing candle (the candle at the swing bar index). The body boundaries are:
float breakerTop = math.max(bOpen, bClose)
float breakerBot = math.min(bOpen, bClose)
This models the breaker as the candle body range rather than full wick range, which typically produces more practical invalidation boundaries.
7. Overlap Test Between Breaker and FVG
A setup is only created if the breaker body overlaps the FVG zone. Conceptually the script rejects cases where one range is fully above or fully below the other:
-If there is no overlap, no setup is created
-If overlap exists, the Unicorn setup is valid
8. Active Monitoring and Invalidation
Each setup remains active until invalidated. Invalidation is evaluated every bar using your selected basis:
-Close basis: compares close to breaker boundary
-Wick basis: compares high or low to breaker boundary
Bullish invalidation
Setup fails if price crosses below breaker bottom.
Bearish invalidation
Setup fails if price crosses above breaker top.
If deletion is enabled, all drawings related to that setup are removed immediately on invalidation.
9. Drawing Updates and Object Lifecycle
Breaker and FVG boxes are extended to the right while the setup is active to keep zones visible into the near future. The Unicorn label is also repositioned as new bars print so the most recent context stays readable.
Open Interest Bubbles [BackQuant]Open Interest Bubbles
A visual OI positioning overlay that aggregates futures open interest across major venues, normalizes it into a consistent “signal strength” scale, then plots extreme events as bubbles, labels, and optional horizontal levels directly on price.
What this is for
Open interest is one of the cleanest ways to track when positioning is building, unwinding, or aggressively shifting. The problem is raw OI is noisy, exchange-specific, and hard to compare across time. This script solves that by:
- Aggregating OI across multiple exchanges.
- Letting you choose what “OI signal” you care about (raw, delta, percent versions).
- Normalizing the signal so “big events” are easy to spot.
- Plotting those events as bubbles and levels at the exact price they occurred.
You end up with a clean, fast visual map of where large positioning changes occurred, and where those events may later matter as reaction points.
────────────────────────────────────────────────────────────
Plotting types (what you can display)
Bubbles
This mode plots OI events as size-bucketed circles on the chart. Bigger bubbles represent stronger normalized events. You can tune:
- Bubble sizing by bucket (Tiny → Huge).
- Heatmap vs solid color styling.
- Signed vs unsigned coloring (positive/negative separation or magnitude-only).
Best use:
- Spotting “where something changed” at a glance.
- Identifying clusters of positioning events around key price zones.
- Seeing whether the market is repeatedly building/closing positions at similar levels.
Levels
Levels mode draws a horizontal line at the anchor price when an extreme OI event triggers. These act like “positioning memory” levels:
- They do not claim to be support/resistance by themselves.
- They highlight prices where the derivatives market clearly did something meaningful.
Best use:
- Marking potential reaction zones.
- Combining with your price action tools (structure, OBs, FVGs) to confirm whether an OI level aligns with a technical level.
- Building a “map” of where leverage likely entered or exited.
Modes available in the script:
- Off
- Bubbles
- Bubbles + Labels
- Labels Only
- Levels + Labels
────────────────────────────────────────────────────────────
Aggregated Open Interest source (multi-exchange)
This indicator builds a single aggregated OI series by requesting OI data from multiple exchanges and summing it. You can toggle exchanges on/off:
- Binance, Bybit, OKX, Bitget, Kraken, HTX, Deribit
You can also choose OI units:
- COIN , OI in base units (native sizing)
- USD , converted for a dollar-value representation
Important note:
Not every symbol has OI data on every venue. If the script cannot build an aggregated series for the symbol, it will throw an error rather than quietly plotting garbage.
────────────────────────────────────────────────────────────
OI Source, what the bubbles are measuring
You control what “signal” is normalized and plotted:
- Delta , change in aggregated OI from the prior bar.
Use when you want to highlight bursts of new positioning or sudden unwind events.
- Raw OI , the aggregated open interest level itself.
Use when you want to highlight absolute positioning build-up periods.
- Delta % , percent change in OI.
Use when you want moves normalized to the current OI regime, useful across different market eras.
- Raw OI % , percent change form of the raw series.
Use when you want relative changes rather than absolute size.
Practical guidance:
- Delta modes are best for “event detection”.
- Raw modes are better for “regime context” and whether positioning is structurally rising or fading.
────────────────────────────────────────────────────────────
Normalization (the key to making it readable)
Because OI varies massively across assets and time, the script includes multiple normalization modes to convert your chosen OI source into a comparable “strength” value.
Options:
- ZScore , deviation from a rolling mean in standard deviation units.
- StdNorm , scaled by rolling standard deviation.
- AbsZScore , absolute value version for magnitude-only mapping.
- AbsStdNorm , absolute value version for magnitude-only mapping.
- None , plots raw values (advanced users only, often too noisy visually).
Why this matters:
Normalization makes a “1.5” or “3.0” threshold mean something across different assets and timeframes, instead of being stuck to raw OI units.
────────────────────────────────────────────────────────────
Threshold system (when bubbles/levels trigger)
The plot is driven by two user thresholds:
- Base Threshold
Controls where “meaningful” events start. Raising this reduces noise and focuses on larger deviations.
- Extreme Threshold
Controls what qualifies as a top-tier event. Extreme events are what you typically want to convert into labels and levels.
You also control side filtering:
- Both , show positive and negative events.
- Positive Only , show only increases (or positive signal side depending on source).
- Negative Only , show only decreases (or negative signal side).
In practice:
- Use Base Threshold to tune chart cleanliness.
- Use Extreme Threshold to mark only the “big stuff” that tends to matter later.
────────────────────────────────────────────────────────────
Anchor Source (where the bubble/level is placed)
The indicator places bubbles, labels, and levels at a price anchor you choose:
- HL2, Close, Open, High, Low, VWAP
This is important because “where you pin the event” changes how it reads:
- Close is clean and consistent for backtesting and candle-close logic.
- High/Low can better represent where the fight occurred intrabar.
- VWAP can be useful for “fair price” anchoring in active markets.
────────────────────────────────────────────────────────────
Style system (theme, palette, signed logic)
This script is built to look good and stay readable on busy charts.
Themes
- BackQuant, Classic, Ice, Fire, Mono, Custom
Palette Mode
- Solid , one consistent color
- Heatmap , intensity increases with magnitude
- Single Color Adaptive , adapts to chart background for clarity
Side Coloring
- Signed , positive and negative events can use different ramps
- Unsigned , magnitude-only coloring
Negative theme handling:
- Auto (mirrors your chosen theme),
- Invert (flips the ramp),
- Custom (fully user-defined negative palette).
What this gives you:
- You can run a clean “mono” look for professional charts.
- Or a high-contrast heatmap for fast scanning.
- Or fully custom branding colors for BackQuant-style presentation.
────────────────────────────────────────────────────────────
Labels (what’s inside the label)
When labels are enabled, the script can display:
- OI , the aggregated OI value
- OI + Norm , OI plus normalized strength
- Norm Only , just the normalized strength
- Src + Norm , the selected source value (Delta, Raw, %) plus normalized strength
You can also control:
- Left/Center/Right label alignment
- Number formatting style (Raw, Compact, Volume format)
Best practice:
- Use “Src + Norm” when you want both the raw event size and its rarity.
- Use “Norm Only” when you want a clean, minimal chart.
────────────────────────────────────────────────────────────
Levels and object limits (performance and cleanliness)
Because this script draws objects, it includes a hard cleanup system:
- You set Max Levels / Labels to control chart clutter.
- The script deletes older lines/labels when the limit is exceeded.
This is critical if you trade lower timeframes, where OI events can trigger frequently.
────────────────────────────────────────────────────────────
How to interpret the signals
What a large bubble usually means:
- A statistically large positioning change relative to recent history.
- This can represent fresh leverage entering, forced liquidations, or aggressive de-risking, depending on direction and context.
How to use levels:
- Treat them as “attention levels”, not automatic entries.
- Combine them with structure and liquidity tools:
- If price revisits an OI level and shows rejection, it often confirms that level mattered.
- If price slices through with no reaction, it often indicates the OI event was transitional, not defended.
Common setups:
- Clustered extreme bubbles near a breakout zone, then retest later.
- Extreme negative event at capitulation low, followed by structure flip.
- Extreme positive build into resistance, then unwind and mean reversion.
Also, please check out @NoveltyTrade for the OI Aggregation logic & pulling the data source!
Here is the original script:
Global J-1 & W-1 Levels (Fixed Lines / Lignes Fixes)Description
This indicator automatically plots key price levels from the previous day (D-1) and the previous week (W-1). It is designed for Day Traders and Scalpers who need clear visual references without cluttering their chart with past history.
Unlike standard indicators that use plot() and create "step-like" lines, this script uses graphic objects (line.new) to display fixed, infinite horizontal lines, just as if you had drawn them manually.
Key Features:
D-1 Levels (Blue): Previous Day High (DR-1) and Low (DS-1).
W-1 Levels (Red): Previous Week High (WR-1) and Low (WS-1).
Clean Chart: Lines are displayed only for the current session. No historical clutter.
Readability: Dashed lines with level names and exact prices displayed on the right.
How to use it? These levels often act as institutional support and resistance. Watch for price reactions (bounces or breakouts) near these zones to confirm your trade entries.
Goldbach Timing Model This indicator is designed as a simple visual framework rather than a rigid signal system. It highlights time-based structure and key alignment zones to help identify when price behavior is more likely to be active or responsive. The logic is intentionally flexible, allowing the user to apply their own discretion instead of relying on strict conditions. Its primary value is visual clarity and context, not automatic entries or exits.
SuperTrend Weighted by Divergence█ OVERVIEW
SuperTrend Weighted by Divergence is a trend-following indicator based on the classic SuperTrend, enhanced with dynamic ATR weighting driven by divergences. Its key feature is adaptive behavior: when a divergence appears, the indicator temporarily reduces the ATR multiplier, allowing the trend line to react faster to potential market reversals.
The indicator remains clean, visually clear, and well suited for traders who want to combine trend-following with early detection of weakening momentum.
█ CONCEPT
One of the biggest drawbacks of trend indicators is their lagging nature, caused by the characteristics of source data. Classic SuperTrends react only after the trend has already developed, which often leads to late entries or exits.
The idea behind SuperTrend Weighted by Divergence is to introduce dynamic adjustment of the trend line in response to the first signs of trend weakening.
Instead of treating ATR as a constant volatility buffer, the indicator temporarily modifies its impact when the market sends warning signals in the form of price–oscillator divergences.
For divergence detection, a hidden auxiliary oscillator called “MPO4 Lines – Modal Engine” (default settings) is used. This oscillator is not displayed on the chart – only the points where divergences are detected are shown as markers on price bars.
Divergences do not generate direct entry signals; they are used solely to temporarily adjust the behavior of the SuperTrend.
If, after detecting a divergence against the current trend, a divergence in line with the trend appears, the previous divergence is invalidated and the SuperTrend returns to its standard behavior (base ATR multiplier).
█ FEATURES
Data sources:
- ATR (Average True Range)
- Reference point: HL2 (high/low average)
- MPO4 Lines – Modal Engine oscillator (hidden, used only for divergence detection)
Divergence logic:
- Bullish divergence: lower low in price + higher low in the oscillator
- Bearish divergence: higher high in price + lower high in the oscillator
- Divergences are detected using pivots (left/right)
- Divergence detection is delayed by the pivot length, as confirmation requires a fixed number of bars on the right side
Divergence impact:
- After a divergence is detected, the ATR multiplier is reduced
- The reduction strength is controlled by Divergence Sensitivity
- The effect is active only for a limited number of bars – 200 bars by default (divBars)
- The effect is canceled on trend change or when a trend-aligned divergence appears
Trend change logic:
- Trend changes only after a confirmed close beyond the trailing line
- No repainting
- Trend lines break at reversal points
Visual signals:
- “Buy” and “Sell” labels only on confirmed trend changes
- Optional bar coloring based on current trend (Color bars by trend)
- Soft fill between price and the trend line
- Divergence markers (dots above/below bars) shown at the point of divergence detection, not across the entire divergence structure
Alerts:
- Buy Signal – trend change to bullish
- Sell Signal – trend change to bearish
- Bullish Divergence
- Bearish Divergence
█ HOW TO USE
Adding the indicator:
Paste the code into Pine Editor or search for “SuperTrend Weighted by Divergence” on TradingView
Main settings:
- ATR Length – ATR period
- Base ATR Multiplier – base SuperTrend width
- Pivot Length – divergence sensitivity and detection delay
- Divergence Sensitivity – strength of divergence impact (0.0–1.0)
- Color bars by trend – enable / disable bar coloring
- Line and fill colors – fully customizable
Interpretation:
- Green line and bars = uptrend
- Red line and bars = downtrend
- Divergence against the trend = possible weakening and faster SuperTrend reaction
- Trend-aligned divergence = return to standard SuperTrend behavior
- No divergence = classic, stable SuperTrend behavior
█ APPLICATIONS
Ideal for:
- Trend-following
Entering positions only in the direction of the current trend, using the SuperTrend as a directional filter.
- Early detection of trend weakness
Repeated divergences against the trend may indicate decreasing momentum and a potential upcoming reversal.
- Markets with variable dynamics (crypto, indices, forex)
Entries based on trend changes, preferably confirmed by other tools such as Fibonacci levels, RSI, support/resistance, or market structure.
- Scalping, day trading, and swing trading (with parameter adjustments)
Increasing Divergence Sensitivity to around 0.4–0.5 produces many more signals on small, often short-lived moves.
These settings work well for scalping and day trading, but are not ideal for swing trading, as they tend to generate more false signals and frequent trend changes.
█ NOTES
- Works on all markets and timeframes
- Divergences are used to adapt SuperTrend behavior, not as standalone entry signals
- Higher Divergence Sensitivity = faster reaction and more signals
- Lower Divergence Sensitivity = smoother trend and fewer changes
- Best results are achieved by tuning parameters to the instrument and trading style
Liquidity Sell Signal V2 [StrategyLAB_]Liquidity Sell Signal V2
Liquidity Sell Signal V2 is a TradingView indicator designed to help you spot high-probability Sell setups (reversal / pullback entries) using liquidity concepts around Buy-Side Liquidity (BSL) , combined with a bearish confirmation candle pattern.
OANDA:XAUUSD
This script will:
Automatically detect and plot BSL (Swing High) levels based on your selected Swing Strength.
Visually “fade” levels once price has broken above them.
Print a down triangle when a valid Bearish Liquidity Triangle forms at a qualified BSL area.
How it works
1) Identify Buy-Side Liquidity (BSL)
The indicator detects pivot highs using Swing Strength.
Each pivot high is drawn as a horizontal BSL level, keeping up to Max Buy Side Liquidity (BSL) Levels.
2) Bearish confirmation (Liquidity reaction)
A Sell signal triggers only when a bearish candle structure appears, suggesting strong selling pressure and a potential reversal after a liquidity sweep near/above BSL.
3) Noise filter (Avoid “body-cut” levels)
The script checks whether the BSL level has been repeatedly cut through candle bodies in prior bars.
If the level is considered “dirty” based on olderBodyLookback, it is filtered out to reduce false signals.
How to use
Suggested settings
Swing Strength
Lower (5–8): more levels, faster signals, but more noise.
Higher (12–20): fewer levels, cleaner zones, better for swing.
Max BSL Levels: increase if you want to keep more historical liquidity levels.
Filter lookback older bodies: increase to filter more aggressively (fewer signals, cleaner quality).
Entry idea (example)
Wait for a Sell triangle to appear (signal prints on candle close).
Prefer signals that align with:
a major swing high / key resistance,
clear rejection (wick / bearish reaction),
confluence with HTF supply, trendline, session, etc.
SL/TP idea (example)
SL: above the most recent swing high / above the BSL zone with a safety buffer.
TP: toward imbalance fill, previous lows (SSL), or a fixed RR such as 1:2 / 1:3.
Important notes
This is a probability tool, not a guaranteed signal.
Best results come from combining with market structure (BOS/CHOCH), supply/demand, HTF levels, and session context.
The script uses barstate.isconfirmed, so signals appear only after the candle closes (non-repainting signals).
OANDA:EURUSD
Hicham XAUUSD Key Levels PRO (Custom Series) V2🔑 XAUUSD Key Levels PRO | 1H / 4H Structure + Psychological Levels v2
This indicator is designed specifically for Gold (XAUUSD) traders who want clean, institutional-grade key levels without chart clutter.
It combines market structure levels with true psychological price levels used by institutions, making it ideal for scalping, intraday, and swing trading.
📌 Features
🔹 Market Structure Key Levels
Automatic 1H & 4H High / Low detection
Based on swing pivots (configurable strength)
Solid lines for clear structure visibility
🔹 Gold Psychological Levels (XAUUSD)
Major levels: every 500$ (strong institutional zones)
Medium levels: every 250$
Minor levels: every 10$
Dynamic levels around current price
No line spam, optimized performance
🔹 Visual Clarity
Solid / dashed / dotted line styles
Custom colors & line thickness
Optional price labels
Works perfectly on M1 → H4
🎯 Best Use Cases
Liquidity sweeps & reactions
Premium / discount zones
Stop-loss & take-profit placement
Confluence with BOS / CHoCH
London & New York sessions
⚙️ Fully Customizable
Toggle 1H / 4H levels
Adjust psychological level spacing
Enable / disable labels
Clean & lightweight (no lag)
⚠️ Notes
Optimized for XAUUSD (Gold)
Best results when combined with price action & structure
Not a trading signal indicator
If you want:
Session-based levels
Alerts on key levels
Smart Money Concepts integration
Feel free to comment or DM 👊
Happy trading 💛📈
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
hichamfata
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
50-Point Psych Levels (Multiples of 50)50-Point Psychological Levels (Multiples of 50)
This indicator plots static psychological price levels at fixed point intervals (default every 50 points) across the chart. These levels are commonly watched by traders as natural areas of reaction, balance, support, and resistance, especially on index futures such as NQ, ES, YM, and RTY.
The script automatically centers the levels around the current market price and draws them across a configurable range above and below price. All levels extend across the entire chart and are drawn once only, keeping the display clean and preventing redraw lag.
Key Features
Plots horizontal levels at fixed point spacing (default: 50 points)
Automatically anchors around the latest price
Configurable range above and below price
Customizable line color, width, and style
Lightweight, non-repainting, static reference levels
Best Use Cases
Identifying psychological support and resistance
Confluence with VWAP, EMA structure, ORB levels, and volume
Futures trading (NQ, ES, YM, RTY), indexes, and large-tick instruments
AI Market Open - Live Session Tracker (PDH/PDL/ONH/ONL)🤖 AI MARKET OPEN - LIVE SESSION TRACKER
A comprehensive real-time tracking system designed for intraday traders who trade the market open using previous day levels (PDH/PDL) and overnight session ranges (ONH/ONL). This indicator provides intelligent context and mitigation tracking to help you make informed trading decisions during the critical morning session.
═══════════════════════════════════════════════════════════════
📊 WHAT THIS INDICATOR DOES
This indicator automatically tracks and displays six critical price levels:
• PDH (Previous Day High) - Yesterday's regular session high (9:30 AM - 4:00 PM ET)
• PDL (Previous Day Low) - Yesterday's regular session low
• PDC (Previous Day Close) - Yesterday's 3:59 PM ET close price
• ONH (Overnight High) - Overnight session high (6:00 PM - 9:29 AM ET)
• ONL (Overnight Low) - Overnight session low
• 9:30 Open - The exact opening price at market open
It monitors whether each level has been "mitigated" (touched/tested) in real-time and provides AI-generated context about current market structure.
═══════════════════════════════════════════════════════════════
🎯 KEY FEATURES
✅ REAL-TIME MITIGATION TRACKING
• Live status updates showing ✅ (mitigated) or ⏳ (unmitigated) for each level
• Persistent tracking - once a level is touched, it stays marked
• Gap fill detection with 🌕 (filled) or 🌒 (open) status
✅ DYNAMIC CALCULATIONS
• Δ Open: Distance from 9:30 AM opening price to each level
• RT Δ: Real-time distance from current price to each level
• Automatic color coding (green for resistance, red for support)
✅ AI MARKET CONTEXT SUMMARY
The indicator generates intelligent commentary based on:
• Gap size classification (large/moderate/small)
• PDH/PDL mitigation status
• Current position within overnight range
• Directional bias and key levels to watch
✅ CUSTOMIZABLE DISPLAY
• Choose table position (9 locations available)
• Adjustable text size (tiny/small/normal/large)
• Custom colors for headers, summary text, and background
• Show/hide table with single toggle
✅ PROFESSIONAL LEVEL LINES
• Ray-style horizontal lines extending right
• Customizable line width (1-4)
• Three line styles: Solid, Dashed, Dotted
• Color-coded labels with exact price values
• Lines auto-update and reset each session
═══════════════════════════════════════════════════════════════
🔧 HOW IT WORKS
SESSION TRACKING
• Regular Session: 9:30 AM - 4:00 PM ET (for PDH/PDL calculation)
• Close Capture: 3:59 PM ET close becomes PDC
• Overnight Session: 6:00 PM - 9:29 AM ET (for ONH/ONL)
• Session Reset: 6:00 PM ET daily
MITIGATION LOGIC
A level is considered "mitigated" when price touches or crosses it:
• PDH mitigated: High >= PDH at any point after 6:00 PM previous day
• PDL mitigated: Low <= PDL at any point after 6:00 PM previous day
• ONH mitigated: High >= ONH after 9:30 AM open
• ONL mitigated: Low <= ONL after 9:30 AM open
• Gap filled: Price crosses PDC after gapping up or down
AI SUMMARY ALGORITHM
The indicator analyzes three key dimensions:
1. GAP CLASSIFICATION
• Large gap (>50 pts): Suggests gap-fill or extension scenarios
• Moderate gap (20-50 pts): Monitor overnight levels for direction
• Small gap (<20 pts): Range-bound expectation
2. PDH/PDL STATUS
• Both untested: Clean liquidity zones
• One mitigated: Remaining level becomes primary target
• Both mitigated: Expect range/balance trade
3. OVERNIGHT RANGE POSITION
• Top 25%: Bullish bias, watch PDH
• Mid-upper: Slight bull bias
• Mid-lower: Neutral
• Bottom 25%: Vulnerable to PDL sweep
═══════════════════════════════════════════════════════════════
📖 HOW TO USE
STEP 1: ADD TO CHART
• Apply to any intraday timeframe (1m, 5m, 15m recommended)
• Works on ES, NQ, YM, RTY, and other CME futures
• Can be used on stocks and forex (adjust session times accordingly)
STEP 2: SET YOUR TIMEZONE
• Default: America/New_York (Eastern Time)
• Also supports: Chicago, Los Angeles, Phoenix
• Ensure your chart timezone matches your selection
STEP 3: CUSTOMIZE APPEARANCE
• Position table where it doesn't block your chart action
• Adjust text size based on screen resolution
• Customize colors to match your chart theme
• Toggle line styles for visual preference
STEP 4: INTERPRET THE DATA
• Before market open (pre-9:30 AM): Review gap size and overnight levels
• At market open: Check which levels are closest to price
• During session: Monitor mitigation status and RT Δ values
• Read AI summary for contextual bias and key scenarios
STEP 5: APPLY TO YOUR STRATEGY
• Use unmitigated levels as potential targets
• Watch for reactions when price approaches key levels
• Gap-fill setups: Trade reversions when gap is open
• Breakout setups: Trade continuations when levels get mitigated
═══════════════════════════════════════════════════════════════
⚙️ INDICATOR SETTINGS
DISPLAY SETTINGS
• Timezone: Select your local market timezone
• Table Position: 9 locations (corners, edges, center)
• Text Size: tiny | small | normal | large
• Show Summary Table: Toggle on/off
COLOR CUSTOMIZATION
• Header Text Color: Default white
• AI Summary Color: Default aqua
• Background Color: Default semi-transparent black
• Border Color: Default blue
LINE CUSTOMIZATION (PDH)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default red with 40% transparency
LINE CUSTOMIZATION (PDL)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default green with 40% transparency
LINE CUSTOMIZATION (PDC)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default yellow with 60% transparency
LINE CUSTOMIZATION (ONH)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default orange with 50% transparency
LINE CUSTOMIZATION (ONL)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default blue with 50% transparency
LINE CUSTOMIZATION (9:30 Open)
• Line Width: 1-4 pixels
• Line Style: Solid | Dashed | Dotted
• Color: Default white with 50% transparency
═══════════════════════════════════════════════════════════════
💡 BEST PRACTICES
✓ Use on 1-minute or 5-minute charts for precise level tracking
✓ Combine with volume profile for confluence
✓ Wait for confirmation candles near key levels
✓ Pay attention to gap-fill probability (larger gaps more likely to fill)
✓ Use RT Δ values to gauge distance and set realistic targets
✓ Review AI summary each morning for bias and scenario planning
✓ Don't trade blindly - use levels as reference points, not mechanical signals
═══════════════════════════════════════════════════════════════
⚠️ IMPORTANT NOTES
• This indicator is designed for CME session times (futures markets)
• For stocks, session times may differ - adjust expectations accordingly
• Levels reset daily at 6:00 PM ET - no weekend carryover
• Mitigation tracking persists throughout the session
• The AI summary provides context, not trade signals
• Always use proper risk management
═══════════════════════════════════════════════════════════════
📌 IDEAL FOR
• Day traders focusing on market open
• Scalpers using previous day levels
• Session-based traders (Asia/London/NY)
• Traders who need automated level tracking
• Anyone trading overnight gaps and ranges
═══════════════════════════════════════════════════════════════
🔄 VERSION HISTORY
v1.0 - Initial Release
• Core tracking system for PDH/PDL/PDC/ONH/ONL/Open
• Real-time mitigation status
• AI context summary
• Fully customizable display and lines
• Multi-timezone support
═══════════════════════════════════════════════════════════════
📧 FEEDBACK & SUPPORT
If you find this indicator helpful, please:
• Leave a like 👍
• Add to favorites ⭐
• Share with fellow traders
• Comment with suggestions or questions
Happy trading! 📈
═══════════════════════════════════════════════════════════════
Plan Your Trade, Trade Your Plan. Levels. - by TenAMTrader📍 Plan Your Trade, Trade Your Plan. Levels. — by TenAMTrader
Successful trading is rarely about predicting — it’s about preparing.
"Plan Your Trade, Trade Your Plan. Levels" is designed to bridge the gap between analysis and execution by forcing clarity before the trade ever happens. Instead of reacting to price in real time, this tool encourages traders to define their plan, map their key levels, and then simply trade what they already decided.
🧠 Why Planning Matters
Most trading mistakes don’t come from bad analysis — they come from abandoning a plan mid-trade. Emotions take over when levels aren’t clearly defined ahead of time.
This indicator is built around a simple philosophy:
Make the plan first. Trade the plan second.
By writing your thesis directly into the indicator and visually anchoring it to price, you remove ambiguity and hesitation when the market starts moving.
📊 What This Indicator Does
Converts your written trade plan or market outlook into clearly plotted price levels
Automatically identifies:
Pivot level (key decision point)
Resistance levels (above pivot)
Support levels (below pivot)
Displays contextual notes directly on the chart so you always remember why a level matters
Keeps your focus on execution, not interpretation
✍️ How to Use It
Paste your daily or weekly plan into the Input your Plan/Levels box
Let the script extract and plot the levels automatically
Observe how price behaves around predefined zones
Execute only what aligns with your original plan
No guesswork. No moving targets.
🎯 Designed For
Traders who value structure and discipline
Futures, index, and equity traders who trade key levels
Traders focused on process over prediction
⚠️ Important Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice, investment advice, or a recommendation to buy or sell any security, futures contract, or financial instrument.
Trading involves substantial risk and is not suitable for all investors. Past performance is not indicative of future results. All trading decisions, risk management, and position sizing are the sole responsibility of the user.
By using this indicator, you acknowledge that TenAMTrader assumes no liability for any losses, damages, or decisions made based on its use.
Trade prepared. Trade disciplined.
"Plan Your Trade, Trade Your Plan.
— TenAMTrader
Options Pivot Smile## Options Pivot Smile
**Options Pivot Smile** is a visual market-structure indicator that transforms classic daily pivot levels into a smooth, bell-shaped “smile curve.” It is designed to help traders understand price equilibrium, directional bias, and volatility expansion using historically anchored support and resistance zones.
The script is optimized for discretionary analysis, options structure mapping, and futures market context.
---
### Core Concept
This indicator calculates **previous-day Pivot, S1, S2, R1, and R2** levels and projects them backward across configurable historical widths. These anchor points are then connected using a **Catmull–Rom spline**, producing a smooth bell-shaped curve that represents market balance and skew.
The result is a **visual distribution of price pressure**, rather than static horizontal levels.
---
### Key Features
#### 1. Daily Pivot-Based Levels
* Uses **previous daily High, Low, Close**
* Calculates:
* Pivot (P)
* Support: S1, S2
* Resistance: R1, R2
* Optional **pivot shift** for futures or synthetic instruments
* Optional **spread rounding** for options strike alignment
---
#### 2. Historical Anchor Projection
Each level is placed at a different historical distance:
* **R2 / S2** → farthest back
* **R1 / S1** → medium range
* **Pivot** → nearest anchor
This spacing creates the structural foundation for the bell curve.
---
#### 3. Smile / Bell Curve Visualization
* Smooth curve generated using **Catmull–Rom spline interpolation**
* Adjustable smoothness (number of curve segments)
* Customizable color and line width
* Represents equilibrium, skew, and volatility structure
---
#### 4. Structural Aids
Optional visual components include:
* Horizontal projection lines to the current bar
* Dotted straight connecting lines between anchor points
* Anchor dots at each pivot level
* Adaptive-width level boxes scaled by ATR
---
#### 5. Professional Styling Controls
* Line style: Solid / Dotted / Dashed
* Adjustable strike line width
* Independent colors for:
* S2, S1
* Pivot
* R1, R2
* Box opacity, borders, and label text colors
---
### Use Cases
* Market balance and mean-reversion analysis
* Options strike clustering and distribution framing
* Futures pivot bias visualization
* Contextual support/resistance mapping
* Intraday and swing structure reference
---
### Notes & Limitations
* This is a **visual analytical tool**, not a trading strategy
* Does not generate buy/sell signals
* Best used in conjunction with price action, volume, or volatility tools
* Requires sufficient historical bars to render the full structure
---
### Recommended Timeframes
* Intraday (5m–30m) for structure context
* H1–H4 for swing equilibrium
* Works on all symbols with daily data availability
---
**Options Pivot Smile** converts traditional pivot math into an intuitive visual distribution, helping traders see market structure as a curve rather than isolated lines.
Buy the dips StrategyThis strategy getting in long position only after the price drop- Buy the dips
The % of the drop is Determined by SMA for the first trade
The inputs of SMA and % of the drop can be adjust from the User
After that Strategy start taking safe trades if not take profit from the first trade
The safe trades are Determined by step down deviation % and by quantity
There is no Stop loss is not for one with small tolerance to getting under
if any question ask
Liquidity Levels Pro Tool - thewallranka
Liquidity Levels Pro Tool is a market-structure and liquidity-mapping indicator designed to help discretionary futures and index traders identify statistically relevant price levels where reactions, continuations, or liquidity sweeps are more likely to occur.
This script is a decision-support tool, not a signal generator. It does not issue buy/sell alerts or predict future price movement. Instead, it organizes and scores liquidity information so traders can make their own contextual decisions.
What this indicator does
The script continuously detects and maintains liquidity zones derived from price pivots, then evaluates those zones using multiple structural and contextual factors:
Repeated price interaction (touches)
Freshness (time since last interaction)
Confluence with key reference levels
Reaction behavior after contact
Session relevance (RTH vs overnight)
Market regime (trend vs mean reversion)
Time-of-day effects (open, midday, power hour)
Only the most relevant zones—based on a dynamic scoring system—are displayed to reduce chart clutter and focus attention on levels that have historically mattered.
Core components
1. Liquidity Zones
Zones are built from pivot highs and lows and expanded into areas using a configurable tick-based padding. Nearby zones are merged to avoid redundancy.
Each zone is continuously evaluated and assigned a score (0–100) reflecting its relative importance.
2. Zone Scoring (No Lookahead)
Zone scores are based on:
Number of confirmed interactions
Recency of the last touch
Confluence with prior day/week levels, VWAP, and Opening Range
Reaction quality after touches (speed and follow-through)
Session alignment (zones that “work” in the current session are favored)
Penalties after liquidity sweeps
Zones are not forward-looking and do not rely on future data.
3. Context Engine
The script classifies the current environment using VWAP slope and distance:
Trend (up or down)
Mean reversion
Mixed/transition
Time-of-day context (Open, Midday, Power Hour) is also tracked internally and influences zone scoring.
This context is displayed in the HUD to support situational awareness, not automated decisions.
4. Liquidity Sweeps
Optional sweep detection highlights situations where price trades beyond a zone and closes back inside, indicating potential stop runs or failed breakouts.
Sweeps are rate-limited and applied conservatively to avoid visual noise.
5. Trade Planning Levels (Optional)
When enabled, the script highlights the nearest high-quality liquidity level above and below price based on score thresholds.
These are intended as reference targets, not trade entries or exits.
HUD (Heads-Up Display)
The on-chart HUD summarizes:
Key reference levels (prior day/week, Opening Range)
Nearest strong liquidity above/below price
Market regime and time-of-day context
Distance to levels (ticks or points)
The HUD is fully optional, positionable, and includes resizable modes (Small / Medium / Large) to fit different chart layouts.
How to use this tool
This indicator is best used as part of a discretionary trading process, for example:
Identifying areas where price is more likely to react or pause
Framing trades around higher-quality structure instead of arbitrary levels
Filtering setups based on session and regime context
Managing expectations near known liquidity rather than chasing price
It is intentionally designed not to provide trade signals.
Limitations and important notes
This script does not predict outcomes or guarantee reactions
High-scoring zones can still fail
Liquidity behavior is context-dependent and probabilistic
No performance claims or backtested results are provided
The indicator should not be used in isolation
Past behavior does not imply future results.
Chart and usage notes
The script is intended for standard time-based charts
Recommended for liquid futures and index products
Use a clean chart for clarity when publishing or sharing
No external indicators are required
Final note
Liquidity Levels Pro (Tool) — v6 is designed to organize complex market structure into a clear, readable framework, allowing traders to focus on execution and risk management rather than raw level detection.
This script reflects an analytical approach to intraday liquidity and structure, not an automated trading system.
Hicham XAUUSD Key Levels PRO (1H / 4H + Psychological)🔑 XAUUSD Key Levels PRO | 1H / 4H Structure + Psychological Levels
This indicator is designed specifically for Gold (XAUUSD) traders who want clean, institutional-grade key levels without chart clutter.
It combines market structure levels with true psychological price levels used by institutions, making it ideal for scalping, intraday, and swing trading.
📌 Features
🔹 Market Structure Key Levels
Automatic 1H & 4H High / Low detection
Based on swing pivots (configurable strength)
Solid lines for clear structure visibility
🔹 Gold Psychological Levels (XAUUSD)
Major levels: every 500$ (strong institutional zones)
Medium levels: every 250$
Minor levels: every 10$
Dynamic levels around current price
No line spam, optimized performance
🔹 Visual Clarity
Solid / dashed / dotted line styles
Custom colors & line thickness
Optional price labels
Works perfectly on M1 → H4
🎯 Best Use Cases
Liquidity sweeps & reactions
Premium / discount zones
Stop-loss & take-profit placement
Confluence with BOS / CHoCH
London & New York sessions
⚙️ Fully Customizable
Toggle 1H / 4H levels
Adjust psychological level spacing
Enable / disable labels
Clean & lightweight (no lag)
⚠️ Notes
Optimized for XAUUSD (Gold)
Best results when combined with price action & structure
Not a trading signal indicator
If you want:
Session-based levels
Alerts on key levels
Smart Money Concepts integration
Feel free to comment or DM 👊
Happy trading 💛📈
EM Levelsstdv levels for you using VIX and VXN for ES and NQ so hopefully it helps you try it out and have fun
50% level of Daily RangeThe 50% or midpoint between the current days highest and lowest points be used to divide the premium and discount of the days range. Price often reacts at this point and it can be used as a target for reversal trades. This indicator plots the level as it moves through out each day so is useful for backtesting as well as determining whether the current price is in premium or discount.
Momentum Burst Pullback System v66* Detects **momentum “bursts”** using:
* **Keltner breakout** (high above upper band for long, low below lower band for short), and/or
* **MACD histogram extreme** (highest/lowest in a lookback window, with correct sign).
* Optional **burst-zone extension** keeps the burst “active” for N extra bars after the burst.
* Marks bursts with **K** (Keltner) and **M** (MACD) labels:
* Core burst labels use one color, extension labels use a different color.
* Tracks the most recent burst as the **dominant side** (long or short), and stores burst “leg” anchors (high/low context).
* Adds **structure-based invalidation**:
* On a new **core burst**, it locks the most recent **confirmed swing** level (pivot):
* Long: locks the last confirmed **swing low**.
* Short: locks the last confirmed **swing high**.
* After the burst, if price **breaks that locked level**, the burst regime is **cancelled** (and any pending setup on that side is dropped).
* Finds **pullback setups** after a dominant burst (and not inside the active burst zone), within min/max bars:
* Long pullback requires a sequence of **lower highs** and price still below the burst high.
* Short pullback requires **higher lows** and price still above the burst low.
* Optional background shading highlights pullback bars.
* On pullback bars, plots **static TP/SL crosses** using ATR:
* Anchor is the pullback bar’s high (long) or low (short).
* TP/SL are ± ATR * multiple.
* TP plots are visually classified (bright vs faded) based on whether TP would exceed the prior burst extreme.
* Maintains a **state-machine entry + trailing stop**:
* Sets a “waiting” trigger on pullback.
* Enters when price breaks the trigger (high break for long, low break for short).
* Trails a stop using **R-multiples**, with different behavior pre-break-even, post-break-even, and near-TP.
* Optionally draws the trailing stop as horizontal line segments.
* Optionally shows a **last-bar label** with the most recent pullback’s TP and SL values.
Confluence Levels + Vol Triangles + No-Trade GrayWhen two levels cross: Premarket High (PMH), Premarket Low (PML), Yesterday High (YH), Yesterday Low (YL), Opening Range High (ORH), Opening Range Low (ORL),VWAP, you get a confluence trigger (line cross) that is green for a bull signal and red for a bear signal. Orange line cross signals confluence, but it is unclear what direction. Additional confluence is signaled by a triangle once volume
Liquidity Sweep Reentry ToolkitHere’s a clear breakdown of what your Liquidity Sweep Reentry Toolkit script does, and how you can use it on your charts:
🔎 Script Breakdown
1. Visual Controls (Inputs)
• : Master toggle to turn all visuals on/off.
• : Show labels when a liquidity sweep + ChoCh condition occurs.
• : Plot green/red triangles for bullish/bearish reentry signals.
• : Prevent multiple signals within the same swing.
• : Show HH/HL/LL/LH market structure letters.
• : Slider to adjust how dim the background of HH/HL/LL/LH labels appear.
2. Core Conditions
• Defines simple bullish () and bearish () candles.
• is a placeholder for your Change of Character logic.
3. Sweep Detection
• : Detects when price makes a new high compared to the last 5 bars.
• : Detects when price makes a new low compared to the last 5 bars.
4. Restriction Flags
• Tracks whether a sweep signal has already triggered in the current swing.
• Resets when sweeps end, so new signals can appear.
5. Composite Triggers
• : Fires when bullish candle + buy-side sweep + ChoCh condition align.
• : Fires when bearish candle + sell-side sweep + ChoCh condition align.
6. Visual Labels
• Gold labels mark “BS Sweep + ChoCh” or “SS Sweep + ChoCh” events.
• Green triangle below bar = bullish reentry.
• Red triangle above bar = bearish reentry.
• Blue HH/HL/LL/LH labels narrate market structure pivots, with adjustable transparency.
7. Alerts
• Alerts can be set for bullish or bearish sweep reentry triggers, so you get notified when conditions align.
📘 How to Use It
1. Apply to Chart
Add the script to your TradingView chart (works best on intraday timeframes like 5‑minute).
2. Configure Visuals
• Use the Visual Controls panel to toggle features on/off.
• Adjust the Label Transparency slider to dim or brighten the HH/HL/LL/LH labels.
3. Interpret Signals
• Gold labels show when a sweep + ChoCh condition occurs.
• Triangles mark potential reentry points (green = bullish, red = bearish).
• HH/HL/LL/LH labels narrate market structure shifts for clarity.
4. Set Alerts
• Use the built‑in alert conditions to get notified when bullish or bearish sweep reentry triggers fire.
👉 In short: this toolkit helps you spot liquidity sweeps, confirm with ChoCh, and visualize reentry signals, while also narrating market structure pivots. It’s modular, so you can toggle features depending on how much visual clutter you want.
🛠 Workflow Example
1. Setup
• Apply the script to your chart (e.g., 5‑minute S&P futures).
• In the indicator settings, decide which visuals you want:
• Turn on Sweep + ChoCh labels if you want to see gold tags narrating liquidity events.
• Keep Entry triangles on to highlight actionable reentry points.
• Adjust the Label Transparency slider so HH/HL/LL/LH structure labels are dim enough not to clutter.
2. Watch for Sweeps
• As price pushes above recent highs → a Buy‑side Sweep is detected.
• As price dips below recent lows → a Sell‑side Sweep is detected.
• If ChoCh logic is true at the same time, you’ll see a gold label (“BS Sweep + ChoCh” or “SS Sweep + ChoCh”).
3. Confirm Reentry
• If conditions align (bullish candle + buy‑side sweep + ChoCh), you’ll see a green triangle below the bar.
• If bearish candle + sell‑side sweep + ChoCh, you’ll see a red triangle above the bar.
• These triangles are your potential reentry triggers.
4. Narrate Market Structure
• HH/HL/LL/LH labels appear at pivots, giving you a running commentary of structure shifts.
• Example: HH → HL → HH shows bullish continuation; LH → LL → LH shows bearish pressure.
• Use the transparency slider to keep these labels subtle but visible.
5. Alerts
• Set alerts for “Bullish Sweep Reentry” or “Bearish Sweep Reentry” so you don’t miss signals even if you’re away from the screen.
📘 How to Use in Practice
• Intraday trading: On a 5‑minute chart, use the toolkit to spot liquidity grabs and confirm reentry points.
• Narration: The HH/HL/LL/LH labels help you keep track of structure without manually marking pivots.
• Decision making: Gold labels + triangles = potential trade setups. Structure labels = context for trend bias.
• Customization: Dim labels when you want a cleaner chart, brighten them when you’re focused on structure.
👉 In short: this script gives you a modular toolkit — sweeps, ChoCh confirmation, reentry signals, and structure narration — all adjustable so you can tailor the visuals to your workflow.
📈 Bullish Scenario Walkthrough
1. Market Context
• You’re watching the 5‑minute chart.
• Price has been consolidating near recent highs, building liquidity above.
2. Liquidity Sweep
• Price spikes above the prior swing high → the script detects a buy‑side sweep.
• A gold label appears: “BS Sweep + ChoCh” (if your ChoCh condition is true).
3. Change of Character (ChoCh)
• The candle closes bullish ().
• Your ChoCh condition confirms a structural shift.
• Together, sweep + ChoCh = potential reentry setup.
4. Reentry Trigger
• The script plots a green triangle below the bar.
• This marks a bullish sweep reentry signal: price grabbed liquidity and is now showing strength.
5. Market Structure Narration
• At the same time, the HH/HL labels update:
• The sweep bar prints a new HH.
• The next pivot low prints an HL.
• This narrates bullish continuation: HH → HL → HH.
6. Trade Decision
• You can use the green triangle as your entry cue.
• The HH/HL narration gives you confidence that structure supports the trade.
• Alerts can be set so you don’t miss the trigger.
7. Risk Management
• Stop placement: below the HL pivot or sweep low.
• Target: next liquidity pool above, or measured move.
🧭 How to Use This in Practice
• Gold label = liquidity event + ChoCh confirmation.
• Green triangle = actionable bullish reentry trigger.
• HH/HL narration = context for trend bias and trade management.
• Transparency slider = keep structure labels subtle so the chart stays clean.
📉 Bearish Scenario Walkthrough
1. Market Context
• You’re watching the 5‑minute chart.
• Price has been consolidating near recent lows, building liquidity underneath.
2. Liquidity Sweep
• Price spikes below the prior swing low → the script detects a sell‑side sweep.
• A gold label appears: “SS Sweep + ChoCh” (if your ChoCh condition is true).
3. Change of Character (ChoCh)
• The candle closes bearish ().
• Your ChoCh condition confirms a structural shift.
• Together, sweep + ChoCh = potential bearish reentry setup.
4. Reentry Trigger
• The script plots a red triangle above the bar.
• This marks a bearish sweep reentry signal: price grabbed liquidity below and is now showing weakness.
5. Market Structure Narration
• At the same time, the LH/LL labels update:
• The sweep bar prints a new LL.
• The next pivot high prints a LH.
• This narrates bearish continuation: LH → LL → LH.
6. Trade Decision
• You can use the red triangle as your entry cue.
• The LH/LL narration gives you confidence that structure supports the short.
• Alerts can be set so you don’t miss the trigger.
7. Risk Management
• Stop placement: above the LH pivot or sweep high.
• Target: next liquidity pool below, or measured move.
🧭 How to Use This in Practice
• Gold label = liquidity event + ChoCh confirmation.
• Red triangle = actionable bearish reentry trigger.
• LH/LL narration = context for trend bias and trade management.
• Transparency slider = keep structure labels subtle so the chart stays clean.
Premarket, Previous Day, Current Day high/lowHighs and lows for premarket, previous day, and current day






















