SessionBarThis PineScript is designed to display various visual elements on a chart to help traders track session activity within the lower time frames, specifically for the USA main session. Here's a breakdown of the script's functionality:
Session Tracking
The script tracks the USA main session, defined as 9:30 AM to 4:00 PM ET, Monday through Friday.
Visual Elements
The script displays various visual elements, including:
1. Session Open and Close Lines: Lines marking the open and close of the USA main session.
2. Session High and Low Lines: Lines marking the high and low of the USA sessions.
3. Active Session Bar: A Realtime Candle as the current session bar.
4. Overnight Session Bar: A Realtime Candle as the overnight session bar.
5. Session Timer: A label displaying the time left until the next session.
6. Background Colors: Colors indicating different session periods, such as pre-market, post-market, and active session.
Customization
The script allows users to customize various aspects, including:
1. Session Time: Users can adjust the session time.
2. Colors: Users can choose colors for different visual elements.
3. Display Options: Users can toggle the display of various visual elements.
Overall, this script provides a educational tool for traders to track session activity and visualize key market data.
Candlestick analysis
TEEREX NO.12 MASTER BAR TEEREX NO.12 MASTER BAR is a breakout strategy that identifies strong bullish and bearish candles following relatively smaller candles (Master Bar logic).
🟢 Entry Conditions:
– The current candle's body must be significantly larger (5x) than the previous candle's body.
– Volume must be higher than the 20-period moving average of volume.
– The previous candle must not be a Doji.
– Backtesting window can be customized via inputs.
🔴 Long/Short Setup:
– Long: Enter when a strong bullish candle forms with volume confirmation.
– Short: Enter when a strong bearish candle forms with volume confirmation.
– Both entries use Stop Loss at the opposite end of the candle, and Take Profit equals the size of the breakout.
This script is designed for traders looking to capture momentum-based breakouts with simple volume and price action filters.
⚠️ Note: This strategy is best tested across multiple timeframes and assets to identify optimal performance conditions.
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)Overview
The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) indicator is a specialized tool designed for traders using Inner Circle Trader (ICT) methodologies. Inspired by LuxAlgo's Fair Value Gap indicator, this script introduces significant enhancements by integrating ICT principles, focusing on precise time-based FVG detection, inversion tracking, and retest signals tailored for institutional trading strategies. Unlike LuxAlgo’s general FVG approach, this indicator filters FVGs within customizable 10-minute windows aligned with ICT’s macro timeframes and incorporates ICT-specific concepts like mitigation, liquidity grabs, and session-based gap prioritization.
This tool is optimized for 1–5 minute charts, though probably best for 1 minute charts, identifying bullish and bearish FVGs, tracking their mitigation into inverted FVGs (iFVGs) as key support/resistance zones, and generating retest signals with customizable “Close” or “Wick” confirmation. Features like ATR-based filtering, optional FVG labels, mitigation removal, and session-specific FVG detection (e.g., first FVG in AM/PM sessions) make it a powerful tool for ICT traders.
Originality and Improvements
While inspired by LuxAlgo’s FVG indicator (credit to LuxAlgo for their foundational work), this script significantly extends the original concept by:
1. Time-Based FVG Detection: Unlike LuxAlgo’s continuous FVG identification, this script filters FVGs within user-defined 10-minute windows each hour (:00–:10, :10–:20, etc.), aligning with ICT’s emphasis on specific periods of institutional activity, such as hourly opens/closes or kill zones (e.g., New York 7:00–11:00 AM EST). This ensures FVGs are relevant to high-probability ICT setups.
2. Session-Specific First FVG Option: A unique feature allows traders to display only the first FVG in ICT-defined AM (9:30–10:00 AM EST) or PM (1:30–2:00 PM EST) sessions, reflecting ICT’s focus on initial market imbalances during key liquidity events.
3. ICT-Driven Mitigation and Inversion Logic: The script tracks FVG mitigation (when price closes through a gap) and converts mitigated FVGs into iFVGs, which serve as ICT-style support/resistance zones. This aligns with ICT’s view that mitigated gaps become critical reversal points, unlike LuxAlgo’s simpler gap display.
4. Customizable Retest Signals: Retest signals for iFVGs are configurable for “Close” (conservative, requiring candle body confirmation) or “Wick” (faster, using highs/lows), catering to ICT traders’ need for precise entry timing during liquidity grabs or Judas swings.
5. ATR Filtering and Mitigation Removal: An optional ATR filter ensures only significant FVGs are displayed, reducing noise, while mitigation removal declutters the chart by removing filled gaps, aligning with ICT’s principle that mitigated gaps lose relevance unless inverted.
6. Timezone and Timeframe Safeguards: A timezone offset setting aligns FVG detection with EST for ICT’s New York-centric strategies, and a timeframe warning alerts users to avoid ≥1-hour charts, ensuring accuracy in time-based filtering.
These enhancements make the script a distinct tool that builds on LuxAlgo’s foundation while offering ICT traders a tailored, high-precision solution.
How It Works
FVG Detection
FVGs are identified when a candle’s low is higher than the high of two candles prior (bullish FVG) or a candle’s high is lower than the low of two candles prior (bearish FVG). Detection is restricted to:
• User-selected 10-minute windows (e.g., :00–:10, :50–:60) to capture ICT-relevant periods like hourly transitions.
• AM/PM session first FVGs (if enabled), focusing on 9:30–10:00 AM or 1:30–2:00 PM EST for key market opens.
An optional ATR filter (default: 0.25× ATR) ensures only gaps larger than the threshold are displayed, prioritizing significant imbalances.
Mitigation and Inversion
When price closes through an FVG (e.g., below a bullish FVG’s bottom), the FVG is mitigated and becomes an iFVG, plotted as a support/resistance zone. iFVGs are critical in ICT for identifying reversal points where institutional orders accumulate.
Retest Signals
The script generates signals when price retests an iFVG:
• Close: Triggers when the candle body confirms the retest (conservative, lower noise).
• Wick: Triggers when the candle’s high/low touches the iFVG (faster, higher sensitivity). Signals are visualized with triangular markers (▲ for bullish, ▼ for bearish) and can trigger alerts.
Visualization
• FVGs: Displayed as colored boxes (green for bullish, red for bearish) with optional “Bull FVG”/“Bear FVG” labels.
• iFVGs: Shown as extended boxes with dashed midlines, limited to the user-defined number of recent zones (default: 5).
• Mitigation Removal: Mitigated FVGs/iFVGs are removed (if enabled) to keep the chart clean.
How to Use
Recommended Settings
• Timeframe: Use 1–5 minute charts for precision, avoiding ≥1-hour timeframes (a warning label appears if misconfigured).
• Time Windows: Enable :00–:10 and :50–:60 for hourly open/close FVGs, or use the “Show only 1st presented FVG” option for AM/PM session focus.
• ATR Filter: Keep enabled (multiplier 0.25–0.5) for significant gaps; disable on 1-minute charts for more FVGs during volatility.
• Signal Preference: Use “Close” for conservative entries, “Wick” for aggressive setups.
• Timezone Offset: Set to -5 for EST (or -4 for EDT) to align with ICT’s New York session.
Trading Strategy
1. Macro Timeframes: Focus on New York (7:00–11:00 AM EST) or London (2:00–5:00 AM EST) kill zones for high institutional activity.
2. FVG Entries: Trade bullish FVGs as support in uptrends or bearish FVGs as resistance in downtrends, especially in :00–:10 or :50–:60 windows.
3. iFVG Retests: Enter on retest signals (▲/▼) during liquidity grabs or Judas swings, using “Close” for confirmation or “Wick” for speed.
4. Session FVGs: Use the “Show only 1st presented FVG” option to target the first gap in AM/PM sessions, often tied to ICT’s market maker algorithms.
5. Risk Management: Combine with ICT concepts like order blocks or breaker blocks for confluence, and set stops beyond FVG/iFVG boundaries.
Alerts
Set alerts for:
• “Bullish FVG Detected”/“Bearish FVG Detected”: New FVGs in selected windows.
• “Bullish Signal”/“Bearish Signal”: iFVG retest confirmations.
Settings Description
• Show Last (1–100, default: 5): Number of recent iFVGs to display. Lower values reduce clutter.
• Show only 1st presented FVG : Limits FVGs to the first in 9:30–10:00 AM or 1:30–2:00 PM EST sessions (overrides time window checkboxes).
• Time Window Checkboxes: Enable/disable FVG detection in 10-minute windows (:00–:10, :10–:20, etc.). All enabled by default.
• Signal Preference: “Close” (default) or “Wick” for iFVG retest signals.
• Use ATR Filter: Enables ATR-based size filtering (default: true).
• ATR Multiplier (0–∞, default: 0.25): Sets FVG size threshold (higher values = larger gaps).
• Remove Mitigated FVGs: Removes filled FVGs/iFVGs (default: true).
• Show FVG Labels: Displays “Bull FVG”/“Bear FVG” labels (default: true).
• Timezone Offset (-12 to 12, default: -5): Aligns time windows with EST.
• Colors: Customize bullish (green), bearish (red), and midline (gray) colors.
Why Use This Indicator?
This indicator empowers ICT traders with a tool that goes beyond generic FVG detection, offering precise, time-filtered gaps and inversion tracking aligned with institutional trading principles. By focusing on ICT’s macro timeframes, session-specific imbalances, and customizable signal logic, it provides a clear edge for scalping, swing trading, or reversal setups in high-liquidity markets.
Volume Peak RectangleOutlines the 'Latest' Highest Volume Bar. Typically High Volume bars create very good support and resistance levels. This is a draw off the Opening Range Breakout theory, with the idea that high volume candles create very good upper and lower levels of liquidity zones.
Strong Trend Bars (ATR-based)This is a ChatGPT pinescript meant as an indicator for detecting strength in the market. The primary function I use it for is to decide which bars to trail a stop loss beneath.
💥 Explanation of adjustable inputs:
Bull Close Threshold (default 0.6):
If set to 0.6, bull bars must close above 60% of bar height → low + 0.6 * barHeight
Bear Close Threshold (default 0.6):
If set to 0.6, bear bars must close below 40% of bar height → high - 0.6 * barHeight
This lets you experiment with tighter or looser filters. For example:
0.7 → only bars closing near the extremes will light up
0.5 → about midpoint
0.8 → very demanding, “almost full body” bars
MC High/LowMC High/Low is a minimalist precision tool designed to show traders the most critical price levels — the High and Low of the current Day and Week — in real-time, without any visual clutter or historical trails.
It automatically tracks:
🔼 HOD – High of Day
🔽 LOD – Low of Day
📈 HOW – High of Week
📉 LOW – Low of Week
Each level is plotted using simple black horizontal lines, updated dynamically as the session evolves. Labels are clearly marked and positioned to the right of the screen for easy reference.
There’s no trailing history, no background colors, and no distractions — just pure price structure for clean confluence.
Perfect for:
Intraday scalpers
Swing traders
Liquidity & range traders
This is a tool built for sniper-level execution — straight from the MadCharts mindset.
🛠 Created by:
🔒 Version: Public Release
🎯 Use this with your favorite price action, liquidity, or market structure strategies.
Gaps EnhancedThis advanced gap detection tool identifies and visualizes price gaps on trading charts, helping traders spot potential support/resistance levels and trading opportunities.
🔲 Components and Features
Visual gap boxes with directional coloring
Dynamic labels showing key price levels
Smart sorting of nearest gaps
Customizable appearance
Key Features
Gap Visualization
Colored boxes (orange for support, green for resistance)
Dashed lines marking gap boundaries
Right-aligned price labels
Smart Gap Table
Shows 5 most relevant open gaps
Sorted by proximity to current price
Displays required move percentage to fill each gap
Customization Options
Adjustable gap size threshold
Color customization
Label positioning controls
Table location settings
How To Use
Basic Interpretation
Orange boxes: Price gaped up might come back (support zones)
Green boxes: Price gaped down price might come back to close the gap (resistance zones)
The table shows how much the price needs to move to fill each gap (as percentage)
Trading Applications
Look for price reactions near gap levels
Trade bounces off support/resistance gaps
Watch for gap fills as potential trend continuation signals
Use nearest gaps as profit targets
Settings Guide
Minimal Deviation: Set minimum gap size
Max Number of Gaps: Limits how many gaps are tracked
Visual Settings: Customize colors and label positions
Table Position: Choose where the info table appears
Pro Tips
Combine with other indicators for confirmation
Watch for volume spikes at gap levels
Larger gaps often act as stronger S/R
CANDLE SCRUTINY | GSK-VIZAG-AP-INDIAIndicator: CANDLE SCRUTINY | GSK-VIZAG-AP-INDIA
1. Overview
The CANDLE SCRUTINY indicator is a candle-by-candle analytical tool designed to dissect and visually represent the behavior of recent candles on a chart. It presents a concise table overlay that summarizes critical candlestick data including price movement, directional trend, volume dynamics, and strength of price sequences — all updated in real time.
2. Purpose / Trading Use Case
This tool is ideal for:
Scalpers and intraday traders needing quick real-time candle insights.
Trend analyzers who want to observe evolving price momentum.
Volume-based decision makers monitoring buyer-seller imbalance.
Traders who scrutinize candles for confirmations before entries or exits.
3. Key Features & Logic Breakdown
Candle Classification: Each candle is categorized as Bullish, Bearish, or Doji based on open-close comparison.
Move Calculation: Calculates and displays net candle move (Close - Open) for each bar.
Trend Count: Tracks the number of consecutive candles of the same type (bullish or bearish).
Sequential Move (Total SM): Aggregates move values when candles of the same type form a sequence.
Volume Breakdown: Approximates buy/sell volume ratio using candle type logic.
Delta Volume: Measures buy-sell imbalance to gauge intrabar strength.
Time Localization: Candle timestamps are shown in the user-selected timezone.
4. User Inputs / Settings
Number of Candles (numCandles): Choose how many recent candles to analyze (1–10).
Table Position (tablePos): Set to top_right by default.
Timezone Selector (tzOption): Choose from multiple global timezones (e.g., IST, UTC, NY, London) to view local candle times.
These settings let traders customize the scope and perspective of candle analysis to fit their trading region and strategy focus.
5. Visual & Plotting Elements
A floating data table appears on the chart (top-right by default), showing:
Time of candle (localized)
Type (Bullish/Bearish/Doji)
Move value with green/red background
Total SM (sequential movement) with trend-based color shading
Trend Count
Buy Volume, Sell Volume, Total Volume
Delta (volume imbalance) with color-coded strength indicator
Color coding makes it visually intuitive to quickly assess strength, direction, and sequence.
6. Effective Usage Tips
Use in 1-minute to 15-minute timeframes for scalping or momentum breakout confirmation.
Monitor Delta and Sequential Move (SM) to confirm strength behind price action.
Trend Count helps gauge sustained direction—useful for short-term trend continuation strategies.
Combine with support/resistance zones or volume profile for stronger confluence.
Great for detecting early signs of exhaustion or continuation.
7. What Makes It Unique
Combines price action + volume behavior + trend memory into one compact visual table.
Allows user-defined timezone adjustment, a rare feature in similar indicators.
Designed to give a story of the last N candles from a momentum and participation viewpoint.
Fully non-intrusive overlay—doesn't clutter chart space.
8. Alerts / Additional Features
Currently no alerts, but future versions may include:
Alert when trend count exceeds a threshold
Alert on strong delta volume shifts
Alert on back-to-back Dojis (sign of indecision)
9. Technical Concepts Used
Candlestick Logic: Bullish, Bearish, Doji classification
Volume Analysis: Approximate buy/sell split based on candle type
Color Coding: For intuitive interpretation of move, trend, and delta
Arrays & Looping Logic: Efficient tracking of trends and sequences
Timezone Handling: Uses hour(time, timezone) and minute(time, timezone) for local display
10. Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest thoroughly and use appropriate risk management when applying this or any indicator in live markets. The author is not responsible for any financial losses incurred.
London Judas Swing Indicator by PoorTomTradingThis indicator is designed to help people identify and trade the London Judas Swing by Inner Circle Trader (ICT).
UPDATES IN V2:
This is a v2 update with automatic timezone settings, there is no longer any need to adjust the time or offset for DST.
It will now also work on any chart that trades during the Asia and London sessions (20:00 - 05:00 NY Time), including crypto.
It is recommended to use this indicator on the 5 minute timeframe.
INTRODUCTION OF KEY CONCEPTS:
Swing Points are a candle patterns defining highs and lows, these are explained further down in the description in more detail. They are shown on the indicator by arrows above and below candles. They can be removed if you wish by turning their opacity to 0% in settings. Swing points are automatically removed when price trades beyond them (above swing highs, below swing lows).
The Asia Session can be set by the user, but is defined by default as 20:00 - 00:00 NY time. Lines are drawn at the high and low of the Asia Session and the Asian Range is set at midnight.
The London Session is defined as 02:00 - 05:00 NY time.
The user can also include the pre-London session (00:00 - 02:00) for detection of breakouts and Market Structure Breaks (MSBs - explained lower down in the description with examples). This is selected by default.
EXPLANATION OF INDICATOR:
During the London Session, the indicator will wait for a break of either the high or low of the Asian Range.
When this is detected, it will draw a dashed line where the breakout occurred and trigger an alert.
After the break of the Asian Range, the indicator will look for an MSB in the opposite direction, which is when price closes beyond a swing point opposing current price direction. The indicator will draw a line indicating the MSB point and trigger an alert.
Finally, the indicator will also trigger an alert when price returns to this MSB level, which is the most simple Judas Swing entry method.
The Judas swing
Example with chart for Judas Swing short setups -
Price breaks above the Asia High, no candle close is required, the indicator will then wait for price to close a candle below the last swing low.
A swing low is defined as a 3 candle pattern, with two candles on either side of the middle one having higher lows. When a candle closes below the middle candle's low, that is an MSB.
When price returns to the MSB point, the Take Profit and Stop Loss levels will appear.
When price goes to either the Stop Loss or Take Profit level, the MSB, TP and SL, lines will be removed.
After this, if price creates a new setup in the opposite direction, the indicator will also work for this, as shown in this example that occurred right after the first example
SETTINGS:
- The "Swing Point strength" can be adjusted in the settings.
Example:
For a swing low:
The default setting is 1 (one candle on each side of a middle candle has a higher low).
You can change this setting to 2, for a 5 candle pattern (two candles on each side of the middle candle have higher lows).
This can be changed to a maximum of 10. But only 1 or 2 is recommended especially on the 5 minute chart.
- ATR Length and Triangle Distance Multiplier settings are for adjusting how the swing point symbols appear on the chart.
This is to ensure triangles are not drawn over candles when price gets volatile.
The default setting is ideal for almost all market conditions, but you can play around with it to adjust to your liking.
- Alerts.
For alerts to be triggered, they must first be selected in settings.
Then you need to go on to the chart and right-click on an element of the indicator (such as the swing point symbols) and select "add alert on PTT-LJS-v2".
If after this, you change any settings on the indicator such as session times or pre-London session, you must add the alert again, and delete the old one if you wish.
Color Coded Volume IndicatorColor Coded Volume Indicator
Overview
Splits each bar’s total volume into estimated buy-side vs. sell-side components and displays them as stacked two-tone columns (red = sell, green = buy). Axis labels and tooltips use “K”/“M” formatting.
Features
Stacked Two-Tone Columns
Red Base : estimated sell volume (50% opacity)
Green Top : remaining buy volume (50% opacity)
Automatic K/M Formatting via format=format.volume
Zero Baseline for clean reference at zero
Positive-Only Bars (no negatives)
How It Works
True-Range Guard
Skips bars where high == low to avoid divide-by-zero.
Volume Split
BuyVol = Volume × (Close − Low) / (High − Low)
SellVol = Volume × (High − Close) / (High − Low)
Both series clamped ≥ 0.
Layered Plot
Draw semi-transparent green at full height, then overlay red sell portion.
Usage
Open TradingView’s Pine Editor
Paste in the full script
Click “Save & Add to Chart”
In the Publish dialog, title it “Color Coded Volume Indicator” and paste this description.
Interpretation
Green-dominant bars → strong buying pressure
Red-dominant bars → strong selling pressure
Equal halves → balanced activity
Order Blocks [TakingProphets]The Order Blocks indicator automatically finds and highlights institutional Order Blocks (OBs) on your chart — powerful price zones where smart money has previously entered the market with large orders. These areas often act as strong support or resistance, and they’re key tools for traders using ICT (Inner Circle Trader) and Smart Money Concepts (SMC) strategies.
📘 What’s an Order Block?
An Order Block is usually the last bullish or bearish candle before a big move or shift in market structure. It represents where banks, funds, or institutions placed large buy or sell orders. Retail traders often miss these zones, but smart money traders use them to anticipate where price may return, stall, or even reverse.
This indicator identifies these zones for you — both bullish and bearish — so you don’t have to manually mark them.
🔍 How the Indicator Works
It waits for a market structure shift — when price breaks out of a recent high or low range.
Then it looks back to find the last opposite candle before that breakout — that candle becomes the OB.
It draws a box from the open of that candle to the high/low (depending on type) and keeps updating the box forward.
You can choose how strict the OBs need to be (Small, Medium, or Large) using ATR-based size filtering.
🔄 Breaker Blocks (Optional Feature)
If price closes through an Order Block in the opposite direction, that OB is considered invalid. But instead of deleting it, the indicator can automatically draw a Breaker Block. Breakers are important because they often become new support or resistance zones — a sign the market has flipped direction and is now respecting that level in a new way.
🎛 Custom Settings
Choose OB detection sensitivity: High (shows smaller moves), Medium, or Low (only the biggest institutional moves).
Customize colors and whether you want to show borders on each block.
Turn Breaker Blocks on or off based on your strategy.
Everything is dynamic and updates live as price evolves.
💡 Why Use It?
Knowing where smart money entered the market gives you a huge edge. Price often returns to these Order Blocks to "rebalance" or fill unfilled orders. With this indicator, you’ll:
Spend less time marking charts.
Spot high-probability entry zones faster.
Avoid common retail traps and trade with the algorithm.
X HL RangeOverview:
The X Range indicator is a multi-timeframe visualization tool designed to display the high and low price ranges of previous candles from higher timeframes (HTFs) directly on a lower timeframe chart. It helps traders identify significant price zones and potential support/resistance levels by visually representing the price range of up to three previous candles for each selected timeframe.
Key Features:
Multi-Timeframe Support: The indicator supports three configurable higher timeframes (default: 60 min, 15 min, 5 min) which can be independently toggled on or off.
Custom Candle Range Display: For each enabled timeframe, users can choose to display the range of the most recent 1, 2, or 3 completed candles.
Dynamic Box Drawing: Price ranges are highlighted using rectangular boxes that extend across the chart to show where the highs and lows of each selected HTF candle occurred.
Custom Styling: Each timeframe's boxes can be individually styled with user-defined background and border colors to suit visual preferences or chart themes.
Efficient Redrawing: Boxes update in real-time as new higher timeframe candles complete, and previous boxes are removed to prevent chart clutter.
Use Case:
This indicator is particularly useful for intraday traders who want to align entries and exits with higher timeframe levels. By visualizing previous HTF ranges on a lower timeframe chart, traders gain contextual awareness of where price is likely to react or consolidate, aiding in decision-making for breakouts, reversals, or trend continuation setups.
Dumb Money ConceptUse in 1 minute timeframe
1. Strategy setup
Name & sizing: Trades 25% of your account on each signal, assumes 0.04% commission + 2‑tick slippage, starts with a notional 10 million.
Timing: Only makes decisions at each 1‑minute bar close, and processes orders at bar‑close.
2. Optional filters (both default to off)
Volatility filter : when on, requires that yesterday’s ATR (average true range) ≥ your threshold before even placing an entry.
Trend filter : when on, only allows a “long” if yesterday’s close was above its daily MA, or a “short” if below.
You can toggle each filter on/off and adjust ATR period, ATR threshold, and MA length through the inputs at the top.
3. Signal logic (“dumb money” wicks)
At today’s first minute, the script pulls yesterday’s open, high, low, close, ATR and MA—using only completed daily bars so nothing repaints.
It measures the size of yesterday’s upper wick (close→high) vs. lower wick (open→low).
If the upper wick was longer, that sets a long bias (“dumb money” got shaken out at the top). Otherwise it sets a short bias.
4. Calculate where to place orders
On that same first minute of day:
Entry: a limit order at half of yesterday’s range away from today’s open (below the open for longs, above for shorts).
Stop‑loss: one full‑range (×1.0) below today’s open for longs (and above for shorts).
Take‑profit: 1.236× yesterday’s range above today’s open for longs (and below for shorts).
5. Apply filters before sending entry
Before actually placing that limit order, it checks:
Volatility: if enabled, requires yesterday’s ATR ≥ your “Min Daily ATR.”
Trend: if enabled, requires yesterday’s close to lie on the same side of its daily MA as your signal.
If either filter fails, no order is sent.
6. Give the limit order up to 24 hours to fill
The code remembers the bar‑index when the order went live.
If 1440 one‑minute bars pass (≈24 h) without a fill, it automatically cancels the unfilled entry—so stale orders don’t hang around.
7. Once filled, TP/SL manage the trade
As soon as your limit order executes, two opposite orders are placed:
A take‑profit at the 1.236× range level
A stop‑loss at the –1.0× range level
One cancels the other when triggered.
8. No overnight risk
On the very first minute of the next daily bar, any position still open is force‑closed (“Time Exit”)
Engulfing Logic Candle Consolidation
The "Engulfing Logic Candle Consolidation" indicator is designed to visualize price zones where multiple candlesticks are engulfing each other. When candles meet specific engulfing conditions, the script merges them into a single "virtual" range and displays it using semi-transparent boxes on the chart.
- Engulfing Range Logic : Automatically detects and consolidates groups of candles that are fully engulfed by others, forming clear structural zones.
- Multi-Session Time Highlights : Marks major trading sessions (Asia, Europe, U.S.) with customizable colors and visibility settings, helping traders identify time-based market rhythms.
The indicator uses two engulfing conditions to form virtual zones:
1、 Short-after-Long (right-side engulfing) : If the current candle is engulfed by the previous candle, a virtual box begins from that pair.
2、 Long-after-Short (left-side engulfing) : If the current candle engulfs one or more previous candles (looping backward), it triggers zone formation.
The zone grows as long as new candles are completely inside the range of prior ones. When engulfing ends, the range is boxed and preserved visually.
This tool is ideal for traders who focus on price structure. By consolidating engulfing candles into zones, it filters out noise and emphasizes meaningful price behavior. Works well when combined with trendlines, support/resistance, and volume indicators.
---
中文
<概述>
結合律 K 線整理指標用於視覺化市場中具有「吞噬行為」的價格結構。當多根 K 線出現互相包含的情況時,指標會將它們合併成一個虛擬區間,並以半透明區塊方式在圖表中標示出來。
<功能>
- 吞噬區間邏輯 :自動判斷多根 K 線是否符合「包容」邏輯,將其歸納為單一整理區。
- 多時區背景提示 :標示亞洲、歐洲、美國主要交易時段,並可自由設定顏色與開關,強化交易節奏感知。
<邏輯說明>
此指標使用兩種吞噬條件建立整理區:
短後長(右側包容) :若當前 K 線被前一根吞噬,將該兩根視為起點。
長後短(左側包容) :若當前 K 線吞噬一或多根前方 K 線,則回頭形成區間。
只要後續 K 線繼續落在區間內,就會不斷擴展。直到不再符合條件,該區間會被框選並視覺化標示。
<使用情境>
適合用於進行價格行為結構分析的交易者。它能簡化雜訊,聚焦在關鍵轉折與延續區。可與趨勢線、支撐壓力、成交量指標等搭配使用,提高 K 線策略的判讀效率。
[Pandora's Chambers] BUY/SELL Blocks + Strength FCBased on the secret technique of ATTA,
Traditional price action analysis techniques, such as ICT (Inner Circle Trader), are often based on subjective interpretations and frequently miss the true structure of the market according to the Wyckoff method. The " BUY/SELL Blocks + Strength FC" indicator aims to correct this problem by automatically and accurately identifying buy/sell "blocks" according to Wyckoff principles, calculating volume strength, filtering breached blocks, and displaying precise support and resistance levels.
Indicator Highlights
Buy/Sell Blocks Identification
Uses the ta.pivothigh and ta.pivotlow functions to locate upper and lower pivot points, and draws a "box" between the two points to represent the block.
Each block is automatically extended to the right of the chart (can be disabled in settings) for a fixed number of bars or until the end of the chart.
Colors are configurable: turquoise shades for buy blocks, and purple for sell blocks.
Volume Strength Calculation and Update
In each candle, positive volume (in a rising market) or negative volume (in a falling market) is added to the relevant block.
Displays in percentages which side (buyers/sellers) controls the block: a label on the block shows +XX% or -XX%.
Changes the background color of the box to gray when the net volume flips (e.g., a strong sell block receives a net positive).
Filtering Breached Blocks
Option to automatically filter and remove blocks where the price has closed above the top of the sell block or below the bottom of the buy block, in order to maintain a clean and focused chart.
"Adjusted" Fibonacci Grid
In the last calculated bars, the indicator identifies the nearest high support level (sup) and the nearest low resistance level (res) among all existing blocks.
Based on sup and res, a Fibonacci grid of 0%, 25%, 50%, 75%, and 100% is constructed, automatically updating as the chart progresses.
What is so new here?
Accuracy according to Wyckoff and not personal interpretation: In the Wyckoff method, market oscillations are built on supply and demand balances in precise price gaps. Here, each block is built directly on pivots from a number of bars back, and not on feelings of an "area" as is sometimes done in ICT techniques.
Quantitative measurement of control: The indicator does not settle for a visual identification of a block but calculates for each block the buy volume versus the sell volume, and clearly displays who is in control.
Automatic filtering to maintain relevance: Breached blocks are removed, so only the strong areas that have not yet been closed remain.
Full integration with modern price action: Understanding price movement is measured here objectively, leaving no room for subjective interpretations of "structure breaks" or "diagonal waves" that standard tools do not support.
Why is the existing price action not enough?
Inconsistency in defining supply and demand zones: Many techniques rely on manual marking of "buy zones" only, without fixed criteria (number of bars back, low highs, volume, etc.).
Scarcity of quantitative indicators: Without calculating net volume, it is difficult to know if a particular block is truly supported by the power of buyers or sellers.
Net invalidation of blocks that have been violated: Repeated breaches of support and resistance areas below/above their boundaries confuse the trader, while here they are automatically removed.
The " BUY/SELL Blocks + Strength FC" indicator comes to correct all these shortcomings, and provides the user with an objective, accurate, and quantitative framework for understanding the dynamics of the market and identifying volume-based support and resistance areas, according to the principles of the Wyckoff method.
X OHLdesigned to plot significant levels—closed higher timeframe High, Low, Open, and an Equilibrium (EQ) level and current Open—on the current chart based on user-defined higher timeframes (HTFs). It helps traders visualize HTF price levels on lower timeframes for confluence, context, or decision-making.
Key Functional Components:
Configurable Inputs:
Four Timeframes: Customizable (default: 1H, 4H, D, W).
Visibility Toggles for:
Previous High (pHigh)
Previous Low (pLow)
EQ (midpoint between high and low)
Current Open
Previous Open
How It Works:
For each selected timeframe:
retrieves OHL Data
Previous high/low (high , low )
Current and previous open
EQ is calculated as midpoint: (high + low) / 2
Draws Horizontal Lines:
Lines are drawn from the candle where the HTF bar opens and extended until timeframe switch. Lines extends a few bars beyond current to assist in visualization
Labels:
On the most recent bar, each level is labeled with a description (pHigh 1H, EQ 6H, etc.).
Labels are customizable (size, color, background).
Anchoring:
Lines and labels are redrawn on the start of each new HTF bar to ensure accuracy and relevance.
Yome Kill Zones ProPerfect for US30 Entry ## Yome Kill Zones Pro
**Yome Kill Zones Pro** is a precision trading tool designed for day traders and scalpers who focus on session-based setups, liquidity sweeps, and directional bias during the London–New York overlap.
---
### **Key Features**
- **Customizable Kill Zone Box**
- Marks session high/low from any user-defined time window (default: 6:00–11:30 UTC).
- **Swing Point Sweep Detection**
- Identifies significant highs/lows swept by price with momentum—ideal for supply/demand or S/R zones.
- **Independent Bias Kill Zone**
- Separate bias calculation window with adjustable start/end time to isolate market sentiment.
- **Bias Table (Always-On Display)**
- **Killzone Bias** – Shows direction based on price change during bias time.
- **Long-Term Bias** – Compares price vs. Open and EMA(50) from any selected timeframe (default: 15m).
- **Full Visual Customization**
- Editable sweep labels, line colors, line style, label visibility, and kill zone extensions.
---
### **How to Use**
1. **Set Your Session Times**
- Use the “Killzone Settings” to define high/low tracking time.
- Use “Bias Killzone Settings” to define when to calculate bias direction.
2. **Check the Bias Table**
- Use **Killzone Bias** for short-term session direction.
- Use **Long-Term Bias** to align with higher timeframe market structure.
3. **Watch for Liquidity Sweeps**
- Look for momentum-based breaks of swing highs/lows within your kill zone window.
- Use these levels to anticipate reversals, retests, or continuations.
4. **Customize It Your Way**
- Everything from line styles, sweep label visibility, thickness, and colors can be customized.
---
### **Best For**
- London & New York session scalpers
- Liquidity & structure-based traders
- Traders using ICT, Smart Money Concepts, or Wyckoff-style analysis
---
> **Tip:** Pair with volume or order block tools for enhanced sniper entries.
Momentum Pull Back Stratergy"Master Pull Back Strategy" is a highly detailed momentum and volume-based trading system designed for Trading View. It visually annotates the chart, detects buy/sell signals, tracks market phases, and evaluates retracements and confirmations. Below is a full breakdown of its logic and components:
🔷 1. Volume Profile Highlights (Arrow Emojis)
Purpose: Show volume strength vs. average using color-coded arrows.
Calculates average volume over a user-defined period (length = 10).
Divides current volume by average volume to get volRatio.
Based on volRatio, plots small arrows (acting like diamonds) in various colors:
Low volume (black, navy, blue...) to high volume (yellow, red, purple).
Visual Purpose: Give a quick sense of how "loud" or "quiet" a candle's volume is.
📈 2. Highs of Day Tracking
Purpose: Track the high price reached during different trading sessions.
Defines pre-market, regular, and post-market sessions.
Tracks the highest price (high) in each session.
Plots colored lines:
Orange: Pre-market high
Red: Regular market high
Blue: Post-market high
🟩 3. Green Candle Pattern Detection
Purpose: Detect bullish patterns formed by consecutive green candles.
Key Conditions:
Count green candles (greenCount) until a red candle appears or 10 candles max.
Require at least 1 silver-or-above volume candle (volRatio >= 1.0).
Must have ≥3% price gain during the green sequence.
Must accumulate >20,000 volume during the green run.
If Valid:
Locks the pattern.
Records important values:
patternStartPrice, patternEndPrice, totalPatternVolume, patternHigh, patternBars
Marks the bar after which red starts (redStartBar)
⬇️ 4. Retracement Monitoring
Purpose: Track retracement from the pattern high after it locks.
Defines retracement percentage:
(greenPatternHigh - low) / (greenPatternHigh - greenPatternLow)
If retracement exceeds 80%, it invalidates the pattern.
Buy signal is disabled if pattern retraces too far.
✅ 5. Buy Signal Logic
Purpose: Fire a buy signal after pattern lock if price breaks above local high.
Conditions:
Pattern is locked (patternLocked).
Price breaks above a short-term high (triggerBreak).
It's not the first red candle.
Price is within 8.5% above EMA9.
Buy signal fires and:
Sets buyActive = true
Tracks highest price after buy
Stores buyPrice = close
❌ 6. Sell Signal Logic
Purpose: Exit signal after retracement from post-buy high.
While buy is active:
If price retraces ≥3% from the post-buy high → sellSignal = true
Resets buyActive, trackedHigh, and buyPrice
Plots a red "SELL" label above the bar.
🎨 7. Buy Signal Visual Color Coding
Purpose: Color buy signal based on how deep the retracement is.
Uses retracement percentage:
≥65% → Red (high risk)
45–65% + MACD bullish → Yellow (moderate)
<45% + MACD bullish → Green (ideal)
Plots BUY label below bar in the respective color.
🔻 8. Retracement Triangle Visuals
Purpose: Shows retracement progression while pattern is locked.
If pattern is locked and not ready for buy:
Plots triangle below bar in the buyColor for visual tracking.
⭐ 9. Star Markers Above Lock Candle
Purpose: Confirmations when pattern locks.
First Star:
Plotted above the first red candle after green pattern lock.
Second Star (⭐⭐):
Additional confirmations:
Volume OK (less than previous)
MACD bullish
Price > VWAP
VolAtLock > 100K
Price up >6% from first green candle
Price below 75% of daily EMA200 or above EMA200
Third Star (⭐⭐⭐):
Even stricter confirmations:
Volume < 60% of previous
High <= previous high
VolAtLock > 500K
Price > $3
Gain >9% from first green
Price < 50% of daily EMA200 or above EMA200
📊 10. Bar Coloring
Purpose: Visually highlight bars based on pattern phase and MACD.
Gray: MACD Bearish
Light Green: Part of active green pattern
Blue: In locked phase but no buy triggered
🔄 11. Reset Logic
Purpose: Clears all tracking variables once a buy signal fires or pattern is invalidated.
Also resets if:
Retracement is too deep
10 candles pass post-lock without a trigger
⛰️ 12. Double Top Detection
Purpose: Basic visual marker when current high == previous high.
Plots a gray triangle if current and previous bar highs match.
📌 Summary: What This Strategy Shows
Buy Opportunities: Based on high-volume green runs and confirmed breakouts.
Sell Triggers: Once a retracement from peak exceeds 3%.
Visuals for Confirmation:
Diamonds for volume
Stars for lock confidence
Colors for retracement strength
Risk Management:
Retracement filtering
Time limits on locked phases
Volume filters
Market Context: Tracks pre/regular/post market highs and daily EMA 200.
FVG [TakingProphets]🧠 Purpose
This indicator is built for traders applying Inner Circle Trader (ICT) methodology. It detects and manages Fair Value Gaps (FVGs) — price imbalances that often act as future reaction zones. It also highlights New Day Opening Gaps (NDOGs) and New Week Opening Gaps (NWOGs) that frequently play a role in early-session price behavior.
📚 What is a Fair Value Gap?
A Fair Value Gap forms when price moves rapidly, skipping over a portion of the chart between three candles — typically between the high of the first candle and the low of the third. These zones are considered inefficient, meaning institutions may return to them later to:
-Rebalance unfilled orders
-Enter or scale into positions
-Engineer liquidity with minimal slippage
In ICT methodology, FVGs are seen as both entry zones and targets, depending on market structure and context.
⚙️ How It Works
-This script automatically identifies and manages valid FVGs using the following logic:
-Bullish FVGs: When the low of the current candle is above the high from two candles ago
-Bearish FVGs: When the high of the current candle is below the body of two candles ago
-Minimum Gap Filter: Gaps must be larger than 0.05% of price
-Combine Consecutive Gaps (optional): Merges adjacent gaps of the same type
-Consequent Encroachment Line (optional): Plots the midpoint of each gap
-NDOG/NWOG Tracking: Labels gaps created during the 5–6 PM session transition
-Automatic Invalidation: Gaps are removed once price closes beyond their boundary
🎯 Practical Use
-Use unmitigated FVGs as potential entry points or targets
-Monitor NDOG and NWOG for context around daily or weekly opens
-Apply the midpoint (encroachment) line for precise execution decisions
-Let the script handle cleanup — only active, relevant zones remain visible
🎨 Customization
-Control colors for bullish, bearish, and opening gaps
-Toggle FVG borders and midpoint lines
-Enable or disable combining of consecutive gaps
-Fully automated zone management, no manual intervention required
✅ Summary
This tool offers a clear, rules-based approach to identifying price inefficiencies rooted in ICT methodology. Whether used for intraday or swing trading, it helps traders stay focused on valid, active Fair Value Gaps while filtering out noise and maintaining chart clarity.
OTC COT / smart money Index 2.0 COT/ Smart money Indicator – Institutional Commitment & Position Sizing (Inspired by Bernd Skorupinski Methodology)
📈 Description:
This indicator focuses on visualizing net positions held by commercials (smart money) and other key market participants, using data from the Commitments of Traders (COT) report. Inspired by Bernd Skorupinski’s institutional approach, the tool works hand-in-hand with the COT Index to provide a full picture of institutional sentiment and positioning strength.
👉 Core Functionality:
Displays net-long and net-short positions over time, helping traders understand how heavily institutions are positioned in a market.
Highlights historical extremes in net positions, which can act as warning signs or entry points when combined with technical analysis.
Supports customizable timeframes and asset selection (commodities, forex, indices) for maximum flexibility.
Best used in combination with the COT Index, offering a layered view of both relative extremes (COT Index) and absolute exposure (Net Positions).
The tool is designed to act as a contextual filter—it should complement technical setups rather than provide standalone trade signals.
📊 Applied Example – Gold Trade Using COT Net Position Analysis
To show the practical application, here’s a breakdown of a Gold (GC1!) trade that leveraged both COT Index and COT Net Positions to identify a high-probability setup.
Step 1️⃣ – Identifying Technical Structure:
The analysis started with classic price action review: Gold was approaching a significant demand zone, a well-established area that has historically triggered institutional buying.
Step 2️⃣ – COT Index Confirmation:
Upon reviewing the COT Index, the data revealed a 312-week buying extreme—the most aggressive commercial buying seen in over six years, signaling strong institutional accumulation.
Step 3️⃣ – COT Net Positions Validation:
Next, the COT Net Position Indicator showed that commercials were holding their largest net-long position in over 15 years—a rare and powerful signal of institutional conviction.
Step 4️⃣ – Divergence Check:
For added confirmation, divergence between commercials and retail traders was assessed:
✅ Commercials: Strongly net-long.
❌ Retail traders: Heavily net-short.
This clear divergence between smart money and retail sentiment further validated the setup.
Step 5️⃣ – Trade Execution:
With everything aligned:
Demand zone identified,
312-week COT Index extreme,
15-year high in net positions,
Divergence between commercials and retail,
…the trade was entered with a stop-loss placed just below the demand zone and a target set at a significant prior high. The result: a risk-reward ratio of 1:14.8, reflecting the strength and precision of the setup.
⚙️ What Sets This Tool Apart:
Provides deep insight into institutional exposure, showing both the magnitude of positions and how they evolve over time.
Enhances decision-making by cross-validating positioning extremes with technical levels.
Flexible design allows use across multiple asset classes and timeframes.
📌 Best Practices:
Always pair COT Net Position data with the COT Index to gauge both relative and absolute strength.
Use in conjunction with demand/supply zones or key technical levels for the strongest setups.
Look for divergence signals (institutions vs. retail) to confirm potential reversals.
Indicators Used in the Example:
This trade combined:
🧠 COT Net Position Indicator – to measure institutional exposure.
📊 COT Index – to identify positioning extremes.
📅 Seasonality Forecasting Tool – for time-based confirmation.
Together, these indicators provided a robust, multi-layered framework for high-confidence trading decisions.
OTC - COT Net positions 2.0 COT Net Position Indicator – Institutional Commitment & Position Sizing (Inspired by Bernd Skorupinski Methodology)
📈 Description:
This indicator focuses on visualizing net positions held by commercials (smart money) and other key market participants, using data from the Commitments of Traders (COT) report. Inspired by Bernd Skorupinski’s institutional approach, the tool works hand-in-hand with the COT Index to provide a full picture of institutional sentiment and positioning strength.
👉 Core Functionality:
Displays net-long and net-short positions over time, helping traders understand how heavily institutions are positioned in a market.
Highlights historical extremes in net positions, which can act as warning signs or entry points when combined with technical analysis.
Supports customizable timeframes and asset selection (commodities, forex, indices) for maximum flexibility.
Best used in combination with the COT Index, offering a layered view of both relative extremes (COT Index) and absolute exposure (Net Positions).
The tool is designed to act as a contextual filter—it should complement technical setups rather than provide standalone trade signals.
📊 Applied Example – Gold Trade Using COT Net Position Analysis
To show the practical application, here’s a breakdown of a Gold (GC1!) trade that leveraged both COT Index and COT Net Positions to identify a high-probability setup.
Step 1️⃣ – Identifying Technical Structure:
The analysis started with classic price action review: Gold was approaching a significant demand zone, a well-established area that has historically triggered institutional buying.
Step 2️⃣ – COT Index Confirmation:
Upon reviewing the COT Index, the data revealed a 312-week buying extreme—the most aggressive commercial buying seen in over six years, signaling strong institutional accumulation.
Step 3️⃣ – COT Net Positions Validation:
Next, the COT Net Position Indicator showed that commercials were holding their largest net-long position in over 15 years—a rare and powerful signal of institutional conviction.
Step 4️⃣ – Divergence Check:
For added confirmation, divergence between commercials and retail traders was assessed:
✅ Commercials: Strongly net-long.
❌ Retail traders: Heavily net-short.
This clear divergence between smart money and retail sentiment further validated the setup.
Step 5️⃣ – Trade Execution:
With everything aligned:
Demand zone identified,
312-week COT Index extreme,
15-year high in net positions,
Divergence between commercials and retail,
…the trade was entered with a stop-loss placed just below the demand zone and a target set at a significant prior high. The result: a risk-reward ratio of 1:14.8, reflecting the strength and precision of the setup.
⚙️ What Sets This Tool Apart:
Provides deep insight into institutional exposure, showing both the magnitude of positions and how they evolve over time.
Enhances decision-making by cross-validating positioning extremes with technical levels.
Flexible design allows use across multiple asset classes and timeframes.
📌 Best Practices:
Always pair COT Net Position data with the COT Index to gauge both relative and absolute strength.
Use in conjunction with demand/supply zones or key technical levels for the strongest setups.
Look for divergence signals (institutions vs. retail) to confirm potential reversals.
Indicators Used in the Example:
This trade combined:
🧠 COT Net Position Indicator – to measure institutional exposure.
📊 COT Index – to identify positioning extremes.
📅 Seasonality Forecasting Tool – for time-based confirmation.
Together, these indicators provided a robust, multi-layered framework for high-confidence trading decisions.
OTC Seasonal forecasting tool 2.0Seasonality Forecasting Tool – Advanced Seasonal Pattern Analysis (Inspired by Bernd Skorupinski Methodology)
📈 Description:
This script provides a structured way to analyze seasonal trends across financial markets, helping traders identify historical patterns that tend to repeat at specific times of the year. Inspired by Bernd Skorupinski’s institutional strategy, it has been refined with enhanced smoothing and customization options to improve adaptability across asset classes like commodities, forex, and indices.
👉 Core Functionality:
Analyzes historical price data over multiple lookback periods (5, 10, and 15 years) to calculate average seasonal performance.
Generates a smoothed seasonal curve that visually highlights periods of expected strength or weakness.
Allows users to customize lookback periods and adjust smoothing parameters, offering flexibility based on market type and volatility.
This tool is designed to be used as a contextual filter rather than a trade trigger—adding a layer of time-based confluence to enhance decision-making.
📊 Applied Example – Crude Oil Seasonality & Demand Zone Alignment
To demonstrate practical usage, here’s an example using Light Crude Oil Futures (CL1!) where seasonal tendencies and price structure aligned to create a high-probability setup.
Setup Steps:
1️⃣ Structural Context – Price Reaching a Demand Zone:
The market had been in a decline and approached a well-defined institutional demand area, which historically attracts buying interest.
2️⃣ Seasonality Analysis – Bullish Bias Identified:
The Seasonality Tool was applied using three distinct lookback windows:
5-year average 🟢
10-year average 🔴
15-year average 🔵
All three seasonal curves showed consistent upward trends during the late December to February period, historically signaling accumulation phases in crude oil markets.
3️⃣ Execution – Trade Setup:
With both:
Price action confirming a technical demand zone,
and seasonality indicating a strong historical bullish period,
a long position was taken targeting the next significant supply zone.
Result:
The trade unfolded as anticipated, with price rebounding strongly and delivering a risk-reward ratio of approximately 1:5.8—an outcome consistent with historical seasonal performance patterns.
⚙️ What Sets This Tool Apart:
Combines multi-timeframe seasonal data into a unified, easy-to-interpret visual output.
Includes custom smoothing algorithms to reduce noise, making the seasonal curves clearer and more reliable in fast-moving markets.
Offers flexibility to analyze not only commodities but also forex, indices, and other instruments influenced by recurring cycles (e.g., agricultural products, metals).
📌 Best Practices for Use:
Apply the tool alongside key technical zones (demand/supply) to find optimal trade timing.
Look for confluence across at least two of the seasonal curves (e.g., 5-year and 10-year averages agreeing on direction).
Use in combination with other market analysis tools—such as valuation indicators, COT data, or smart money flow—for full confirmation.
OTC valuation indicator 2.0Valuation Indicator – Relative Asset Valuation Tool (Inspired by Bernd Skorupinski Methodology)
📈 Description:
This script is designed to analyze relative value shifts between two assets—such as Gold (GC1!) and the Dollar Index (DXY)—to identify overvalued and undervalued market conditions. It is inspired by principles from Bernd Skorupinski’s methodology but has been developed with custom adjustments and improvements to enhance flexibility and adaptability across various asset classes.
👉 How It Works:
The script calculates a normalized valuation index by measuring the percentage price deviation between a target asset (e.g., Gold) and a reference asset (e.g., Dollar Index).
A moving average baseline defines fair value, with deviations indicating potential overvaluation or undervaluation.
A volatility-adjusted filter dynamically smooths the output, reducing noise and improving signal accuracy across different market environments.
Parameters such as evaluation period and sensitivity are fully customizable, allowing traders to tailor the tool to commodities, forex, indices, or other asset pairs.
📊 Detailed Example – Gold & Dollar Index Setup:
To demonstrate how the indicator can be used, here’s an example based on a real market scenario:
Context : Identifying high-probability buy setups on Gold when undervaluation is confirmed relative to the Dollar Index.
Conditions :
1️⃣ Gold enters a significant demand zone (identified through traditional technical analysis).
2️⃣ The valuation index (from this script) drops below the -75 level, signaling strong undervaluation
In both October 2022 and October 2023, the valuation index dropped well below -75, and Gold was sitting at major demand zones. The result?
📈 Massive moves to the upside, with Risk-Reward ratios hitting 1:4 or more.
snapshot
This is a textbook Bernd Skorupinski strategy setup, combining macro fundamentals (valuation) with technical structure (demand zones).
This is not just theory — the same conditions repeated multiple times, delivering repeatable, high-probability trades.
This showcases how macro mispricing (Dollar overvalued, Gold undervalued) can be identified visually and quantitatively using the indicator, enabling traders to make more confident, data-backed entry decisions.
⚙️ What Makes It Unique:
Unlike standard correlation or spread indicators, this script combines dynamic volatility filtering with a multi-step comparative analysis to better handle market volatility and price extremes.
It offers flexible asset pairing, allowing traders to adapt the tool to various market scenarios beyond just Gold/DXY—such as Oil vs. Euro or Stocks vs. Forex.
📌 Recommended Use:
Best applied on weekly and daily charts.
Should be combined with other technical tools such as support/resistance levels or demand zones for added confirmation.
Not intended as a standalone signal; it works best as part of a broader market analysis strategy.
Strong Body Candle (80% of Range)You said:
Strong body candle 80% range
ChatGPT said:
A strong body candle with an 80% range typically refers to a candlestick on a price chart (usually used in technical analysis) where the real body of the candle (the open-to-close price movement) makes up 80% or more of the entire candle’s range (the high-to-low movement).
Breakdown:
Candle Range = High − Low
Body Size = |Close − Open|
Body-to-Range Ratio = (Body Size ÷ Candle Range) × 100
If this ratio is ≥ 80%, the candle is considered to have a strong body.
Interpretation:
A strong bullish candle: Close is near the high, open is near the low — strong buying pressure.
A strong bearish candle: Close is near the low, open is near the high — strong selling pressure.
These candles often signal momentum or trend continuation, especially when occurring after consolidation or at breakout points.
Would you like a script or formula to help detect these on a chart?
2/2
You said:
Yeh indicator banaya hai is ki description Bana ker rain publish kernrehanhun trading view per
ChatGPT said:
Great! Here's a professional and clear description you can use to publish your indicator on TradingView:
🔥 Strong Body Candle (80% Range) — Indicator Description
This indicator highlights candlesticks where the real body constitutes 80% or more of the entire candle's range (High − Low). These candles often represent strong momentum and are useful for identifying potential trend continuations, reversals, or breakout confirmations.
📌 Key Features:
✅ Detects both bullish and bearish strong body candles.
✅ Customizable threshold (default: 80%) for fine-tuning to your strategy.
✅ Visual markers make it easy to spot high-momentum candles on any timeframe.
📊 How It Works:
The script calculates the ratio of the candle's body size (|Close − Open|) to its total range (High − Low). If the ratio is equal to or above 80%, the candle is flagged:
Green Marker = Strong Bullish Candle (Close > Open)
Red Marker = Strong Bearish Candle (Open > Close)
🛠️ Use Cases:
Identify momentum shifts and breakout confirmations.
Use with support/resistance zones or trendlines for stronger signals.
Combine with volume indicators for enhanced precision.