TTP IFVG Signals With EMA /ICT Gold scalpingThis script uses original logic and alerting rules. in Japan
finding ICT IFVG and EMA conditions.
#IFVG, Forex, ICT, EMA, Scalping, Indicator
This indicator automatically finds IFVG (Imbalance / Fair Value Gap) zones and gives you a buy or sell signal when price comes back and breaks out through that gap.
It also draws a colored box over the gap so you can see the zone visually, and it raises alerts when a new signal appears.
High-level logic:
On every bar, the script looks back up to “IFVG_GapBars” bars.
For each offset i it checks a 3-candle pattern:
– If the low of the newer candle is above the high of the older candle: bullish FVG (price jumped up, leaving a gap).
– If the high of the newer candle is below the low of the older candle: bearish FVG (price jumped down, leaving a gap).
When a valid FVG is found:
– For a bullish FVG it looks for a later close that breaks down through that gap (sell signal).
– For a bearish FVG it looks for a later close that breaks up through that gap (buy signal).
– A moving-average trend filter must agree (downtrend for sells, uptrend for buys).
– It checks that price has not already “filled” the gap before the breakout.
If all conditions are satisfied, it:
– Sets signal_dir = 1 for a buy, or -1 for a sell.
– Draws a box from the original FVG bar to the bar just before the breakout (extended a bit to the right), between the gap high and gap low.
– Plots an ▲ label for buys or ▼ label for sells.
– Triggers the corresponding alert conditions.
Now the parameters:
PipSizeMultilier (PipSizeManual)
Multiplies the symbol’s minimum tick size (syminfo.mintick).
It is used when converting “MinFVG_Pips” into an actual price distance.
If you feel the indicator is too sensitive (too many small gaps), you can increase this multiplier to effectively require a larger price difference.
TickSize
Internal value = syminfo.mintick * PipSizeMultiplier.
This is the actual price step the script uses as a “pip” when checking minimum gap size.
FVG Search Lookback (IFVG_GapBars)
How many bars back from the current bar the script will scan for a 3-candle FVG pattern.
Larger value = it can find older FVGs, but loop cost is higher.
Min FVG Size (Pips/Points) (MinFVG_Pips)
Minimum allowed size of the gap, measured in “pips/points” using TickSize.
If the vertical distance between the gap high and gap low is smaller than this, the gap is ignored.
0.0 means “no size filter” (every FVG is allowed).
FVG Epsilon (Price Units) (FVG_EpsPoints)
Tolerance for the FVG detection.
It is subtracted/added in the condition that checks “low > old high” or “high < old low”.
0.0 means strict gap (no overlap at all). A small positive epsilon allows tiny overlaps to still count as a gap.
Show IFVG Zones (ShowZones)
If true, the script draws a box over the IFVG zone when a signal is confirmed.
If false, no boxes are drawn; you only see the ▲ / ▼ markers and alerts.
Buy Zone Color (ZoneColorBuy)
Fill color and border color for boxes created from bearish FVGs that later produce a buy signal.
Sell Zone Color (ZoneColorSell)
Fill color and border color for boxes created from bullish FVGs that later produce a sell signal.
Box Extension (Bars) (BoxExtension)
How many extra bars to extend the right side of the box beyond the breakout bar.
The internal right coordinate is “bar_index - 1 + BoxExtension”.
Increase this if you want the zone to visually extend further into the future.
MA Period (MA_Period)
Lookback length of the moving average used as a trend filter.
MA Type (MA_Kind)
Type of moving average: “SMA” or “EMA”.
If SMA is chosen, the script uses ta.sma; if EMA, it uses ta.ema.
Moving-average filter behavior:
For sell signals (from bullish FVG): MA must be sloping down (MA < MA ) and price must be below MA.
For buy signals (from bearish FVG): MA must be sloping up (MA > MA ) and price must be above MA.
If these conditions are not satisfied, the FVG is ignored even if the gap and breakout conditions are met.
Signals and alerts:
signal_dir = 1 → buy signal, ▲ label below the bar, “IFVG Buy Alert” / “IFVG Buy/Sell Alert” can fire.
signal_dir = -1 → sell signal, ▼ label above the bar, “IFVG Sell Alert” / “IFVG Buy/Sell Alert” can fire.
signal_dir = 0 → no new signal on this bar.
In short:
This indicator finds 3-candle IFVG gaps, filters them by size and trend, waits for a clean breakout through the gap, draws a box on the original gap zone, and gives you a clear buy or sell signal plus alerts.
Candlestick analysis
FluxPulse Beacon## FluxPulse Beacon
FluxPulse Beacon applies a microstructure lens to every bar, combining directional thrust, realized volatility, and multi-timeframe liquidity checks to decide whether the tape is being pushed by real sponsorship or just noise. The oscillator's color-coded columns and adaptive burst thresholds transform complex flow dynamics into a single actionable flux score for futures and equities traders.
HOW IT WORKS
Momentum Extraction – Price differentials over a configurable pulse distance are smoothed using exponential moving averages to isolate directional thrust without reacting to single prints.
Volatility + Liquidity Normalization – The momentum stream is divided by realized volatility and multiplied by both local and higher-timeframe EMA volume ratios, ensuring pulses only appear when volatility and liquidity align.
Adaptive Thresholding – A volatility-derived standard deviation of flux is blended with the base threshold so bursts scale automatically between low-volatility and high-volatility market conditions.
Divergence Engine – Linear regression slopes compare price vs. flux to tag bullish/bearish divergences, highlighting stealth accumulation or distribution zones.
HOW TO USE IT
Continuation Entries : Go with the trend when histogram bars stay above the adaptive threshold, the signal line confirms, and trend bias agrees—this is where liquidity-backed follow-through lives.
Fade Plays : Watch for divergence alerts and shrinking compression values; when flux prints below zero yet price grinds higher, hidden selling pressure often precedes rollovers.
Session Filter : Compression percentage in the diagnostics table instantly tells you whether to trade thin overnight sessions—low compression means stand down.
VISUAL FEATURES
Dynamic background heat maps flux magnitude, while threshold lines provide a quick read on whether a pulse is statistically significant.
Diagnostics table displays live flux, signal, adaptive threshold, and compression for quick reference.
Alert-first workflow: The surface is intentionally clean—bursts and divergences are delivered via alerts instead of on-chart clutter.
PARAMETERS
Trend EMA Length (default: 34): Defines the macro bias anchor; increase for higher-timeframe confirmation.
Pulse Distance (default: 8): Controls how sensitive momentum extraction becomes.
Volatility Window (default: 21): Sample window for realized volatility normalization.
Liquidity Window (default: 55): Volume smoothing window that proxies liquidity expansion.
Liquidity Reference TF (default: 60): Select a higher timeframe to cross-check whether current volume matches institutional flows.
Adaptive Threshold (default: enabled): Disable for fixed thresholds on slower markets; enable for high-volatility assets.
Base Burst Threshold (default: 1.25): Minimum flux magnitude that qualifies as an actionable pulse.
ALERTS
The indicator includes four alert conditions:
Bull Burst: Detects upside liquidity pulses
Bear Burst: Detects downside liquidity pulses
Bull Divergence: Flags bullish delta divergence
Bear Divergence: Flags bearish delta divergence
LIMITATIONS
This indicator is designed for liquid futures and equity markets. Performance may degrade in low-volume or highly illiquid instruments. The adaptive threshold system works best on timeframes where sufficient volatility history exists (typically 15-minute charts and above). Divergence signals are probabilistic and should be confirmed with price action.
INSERT_CHART_SNAPSHOT_URL_HERE
---
## RangeLattice Mapper
RangeLattice Mapper constructs a higher-timeframe scaffolding on any intraday chart, locking in structural highs/lows, mid/quarter grids, VWAP confluence, and live acceptance/break analytics. It provides a non-repainting overlay that turns range management into a disciplined process.
HOW IT WORKS
Structure Harvesting – Using request.security() , the script samples highs/lows from a user-selected timeframe (default 240 minutes) over a configurable lookback to establish the dominant range.
Grid Construction – Midpoint and quarter levels are derived mathematically, mirroring how institutional traders map distribution/accumulation zones.
Acceptance Detection – Consecutive closes inside the range flip an acceptance flag and darken the cloud, signaling balanced auction conditions.
Break Confirmation – Multi-bar closes outside the structure raise break labels and alerts, filtering the countless fake-outs that plague breakout traders.
VWAP Fan Overlay – Session VWAP plus ATR-based bands provide a live measure of flow centering relative to the lattice.
HOW TO USE IT
Range Plays : Fade taps of the outer rails only when acceptance is active and VWAP sits inside the grid—this is where mean-reversion works best.
Breakout Plays : Wait for confirmed break labels before entering expansion trades; the dashboard's Width/ATR metric tells you if the expansion has enough fuel.
Market Prep : Carry the same lattice from pre-market into regular trading hours by keeping the structure timeframe fixed; alerts keep you notified even when managing multiple tickers.
VISUAL FEATURES
Range Tap and Mid Pivot markers provide a tape-reading breadcrumb trail for journaling.
Cloud fill opacity tightens when acceptance persists, visually signaling balance compressions ready to break.
Dashboard displays absolute width, ATR-normalized width, and current state (Balanced vs Transitional) so you can glance across charts quickly.
Acceptance Flag toggle: Keep the repeated acceptance squares hidden until you need to audit balance.
PARAMETERS
Structure Timeframe (default: 240): Choose the timeframe whose ranges matter most (4H for indices, Daily for stocks).
Structure Lookback (default: 60): Bars sampled on the structure timeframe.
Acceptance Bars (default: 8): How many consecutive bars inside the range confirm balance.
Break Confirmation Bars (default: 3): Bars required outside the range to validate a breakout.
ATR Reference (default: 14): ATR period for width normalization.
Show Midpoint Grid (default: enabled): Display the midpoint and quarter levels.
Show Adaptive VWAP Fan (default: enabled): Toggle the VWAP channel for assets where volume distribution matters most.
Show Acceptance Flags (default: disabled): Turn the acceptance markers on/off for maximum visual control.
Show Range Dashboard (default: enabled): Disable if screen space is limited, re-enable during prep sessions.
ALERTS
The indicator includes five alert conditions:
Range High Tap: Price interacted with the RangeLattice high
Range Low Tap: Price interacted with the RangeLattice low
Range Mid Tap: Price interacted with the RangeLattice mid
Range Break Up: Confirmed upside breakout
Range Break Down: Confirmed downside breakout
LIMITATIONS
This indicator works best on liquid instruments with clear structural levels. On very low timeframes (1-minute and below), the structure may update too frequently to be useful. The acceptance/break confirmation system requires patience—faster traders may find the multi-bar confirmation too slow for scalping. The VWAP fan is session-based and resets daily, which may not suit all trading styles.
---
C3 Pattern Trigger-DhirenFawxThis indicator is a highly streamlined and immediate signal generator based on a specific 3-Candle (3C) pattern used to quickly identify potential demand and supply exhaustion points.
Unlike traditional zone-based indicators that wait for a price breakout after the pattern forms, the 3C Pattern Trigger signals the moment the pattern completes, offering an early entry/alert opportunity.
Connect - DhirenFawx
ICT | SMC [Sky Eye] 體驗版12/15體驗版12/15
DC: discord.gg/8kE8XwmErc
輔助 SMC 位子畫線 幫助你加速學習
只需要知道這個位子是甚麼在去加強研究 ICT / SMC 即可
想學習更多可以到DC一起學習
DC: discord.gg/8kE8XwmErc
This tool helps you draw lines to indicate SMC positions, accelerating your learning.
You only need to know what each position represents before focusing your research on ICT/SMC.
To learn more, join us at DC.
Sky Eye AI 體驗版至12/15體驗版至12/15
DC: discord.gg/8kE8XwmErc
輔助 規劃進出場 位子畫線 幫助你加速學習
只需要知道這個位子是甚麼在去加強研究 技術分析 即可
想學習更多可以到DC一起學習
DC: discord.gg/8kE8XwmErc
Assisted with entry and exit point planning and position drawing to accelerate your learning.
You only need to know what this position represents before you can further study and analyze technical indicators.
To learn more, you can join us at DC
Sky Eye Oscillator 中文版 [Sky Eye]DC: discord.gg
輔助 判斷RSI KDJ 量能 幫助你加速學習
只需要知道這個位子是甚麼在去加強研究 技術分析 即可
想學習更多可以到DC一起學習
DC: discord.gg
Assists in judging RSI, KDJ, and volume to help you learn faster.
Just know what this position represents before you can further study technical analysis.
Want to learn more? Join DC for more learning opportunities.
Sky Eye TRADE AI DC: discord.gg
輔助 規劃進出場 位子畫線 幫助你加速學習
只需要知道這個位子是甚麼在去加強研究 技術分析 即可
想學習更多可以到DC一起學習
DC: discord.gg
Assisted with entry and exit point planning and position drawing to accelerate your learning.
You only need to know what this position represents before you can further study and analyze technical indicators.
To learn more, you can join us at DC.
ICT | SMC 工具箱 [Sky Eye]DC: discord.gg
輔助 SMC 位子畫線 幫助你加速學習
只需要知道這個位子是甚麼在去加強研究 ICT / SMC 即可
想學習更多可以到DC一起學習
DC: discord.gg
This tool helps you draw lines to indicate SMC positions, accelerating your learning.
You only need to know what each position represents before focusing your research on ICT/SMC.
To learn more, join us at DC.
Moving Average + Count Candles Number - DiLeViThis indicator can add Moving Averages and candles number within same indicator and can be personalised.
EMA Low + Supertrend (Alerts)this strategy uses the EMA LOW(25 89 110 355 and 480) and the Supertrend. the supertrend gives you the BUY/SELL When the market flip
Casper 5min candle v0.6--------------------------------------------
Description
--------------------------------------------
This is an indicator showing trade ideas and alerts based on
5minute Candle breakout strategy according to www.youtube.com
BASIC FUNCTIONS
- it draws 5 min Range (default 9:30 NY time at Stock market open)
- detects breakout of range with fvg_tap_wait
- wait for tapping FVG
- waits for entry confirmation
- it has sets of alerts (FVG creation, FVG tapping and Entry confirmation)
Structure Analysis + Hammer Alert# Structure Resistance + Hammer Alert
## 📊 Indicator Overview
This indicator integrates Structure Breakout Analysis with Candlestick Pattern Recognition, helping traders identify market trend reversal points and strong momentum signals. Through visual markers and background colors, you can quickly grasp the bullish/bearish market structure.
---
## 🎯 Core Features
### 1️⃣ Structure Resistance System
- Auto-plot Previous High/Low: Automatically marks key support/resistance based on pivot points
- Structure Breakout Detection: Shows "BULL" when price breaks above previous high, "BEAR" when breaking below previous low
- Trend Background Color: Green background for bullish structure, red background for bearish structure
### 2️⃣ Bullish Momentum Candles (Hammer Patterns)
Detects candles with long lower shadows, indicating strong buying pressure at lows:
- 💪Strong Bull (Bullish Hammer): Green marker, bullish close with significant lower shadow
- 💪Weak Bull (Bearish Hammer): Teal marker, bearish close but strong lower shadow
### 3️⃣ Bearish Momentum Candles (Inverted Hammer/Shooting Star)
Detects candles with long upper shadows, indicating strong selling pressure at highs:
- 💪Weak Bear (Bullish Inverted Hammer): Orange marker, bullish close but significant upper shadow
- 💪Strong Bear (Shooting Star): Red marker, bearish close with significant upper shadow
### 4️⃣ Smart Marker Sizing
Markers automatically adjust size based on current trend:
- With-Trend Signals: Larger markers (e.g., hammer in bullish trend)
- Counter-Trend Signals: Smaller markers (e.g., shooting star in bullish trend)
- Neutral Trend: Medium-sized markers
---
## ⚙️ Parameter Settings
### Structure Resistance Parameters
- Swing Length: Default 5, higher values = clearer structure but fewer signals
- Show Lines/Labels: Toggle on/off options
### Bullish Momentum (Hammer) Parameters
- Lower Shadow/Body Ratio: Default 2.0, lower shadow must be 2x body size
- Upper Shadow/Body Ratio Limit: Default 0.2, upper shadow cannot be too long
- Body Position Ratio: Default 2.0, ensures body is at the top of candle
### Bearish Momentum (Inverted Hammer) Parameters
- Upper Shadow/Body Ratio: Default 2.0, upper shadow must be 2x body size
- Lower Shadow/Body Ratio Limit: Default 0.2, lower shadow cannot be too long
- Body Position Ratio: Default 2.0, ensures body is at the bottom of candle
### Filter & Display Settings
- Minimum Body Size: Filters out doji-like candles with tiny bodies
- Pattern Type Toggles: Show/hide different pattern types individually
- Background Transparency: Adjust background color intensity (higher = more transparent)
- Label Distance: Adjust marker distance from candles
---
## 📈 Usage Guidelines
### Trading Signal Interpretation
**Long Signals (Strongest to Weakest):**
1. Bullish Structure + Bullish Hammer (💪Strong Bull) → Strongest long signal
2. Bullish Structure + Bearish Hammer (💪Weak Bull) → Secondary long signal
3. Bearish Structure + Hammer → Potential reversal signal
**Short Signals (Strongest to Weakest):**
1. Bearish Structure + Shooting Star (💪Strong Bear) → Strongest short signal
2. Bearish Structure + Bullish Inverted Hammer (💪Weak Bear) → Secondary short signal
3. Bullish Structure + Shooting Star → Potential reversal signal
### Practical Tips
✅ Trend Following: Prioritize large marker signals (aligned with trend)
✅ Structure Confirmation: Wait for structure breakout before entry to avoid false breaks
✅ Multiple Timeframes: Confirm trend direction with higher timeframes
⚠️ Counter-Trend Caution: Small marker signals (counter-trend) require stricter risk management
---
## 🔔 Alert Setup
This indicator provides 9 alert conditions:
- Individual Patterns: Bullish Hammer, Bearish Hammer, Bullish Inverted Hammer, Shooting Star
- Combined Signals: Bullish Momentum, Bearish Momentum, Bull/Bear Momentum
- Structure Breakouts: Bullish Structure Break, Bearish Structure Break
---
## 💡 FAQ
**Q: Why do hammers sometimes appear without markers?**
A: Check "Minimum Body Size" setting - the candle body may be too small and filtered out
**Q: Too many or too few markers?**
A: Adjust "Lower Shadow/Body Ratio" or "Upper Shadow/Body Ratio" parameters - higher ratios = stricter conditions
**Q: How to see only the strongest signals?**
A: Disable "Bearish Hammer" and "Bullish Inverted Hammer", keep only "Bullish Hammer" and "Shooting Star"
**Q: Can it be used on all timeframes?**
A: Yes, but recommended for 15-minute and higher timeframes - shorter timeframes have more noise
---
## 📝 Disclaimer
⚠️ This indicator is a supplementary tool and should be used with other technical analysis methods
⚠️ Past performance does not guarantee future results - always practice proper risk management
⚠️ Recommended to test on demo account before live trading
---
**Version:** Pine Script v6
**Applicable Markets:** Stocks, Futures, Cryptocurrencies, and all markets
CCI TIME COUNT//@version=6
indicator("CCI Multi‑TF", overlay=true)
// === Inputs ===
// CCI Inputs
cciLength = input.int(20, "CCI Length", minval=1)
src = input.source(hlc3, "Source")
// Timeframes
timeframes = array.from("1", "3", "5", "10", "15", "30", "60", "1D", "1W")
labels = array.from("1m", "3m", "5m", "10m", "15m", "30m", "60m", "Daily", "Weekly")
// === Table Settings ===
tblPos = input.string('Top Right', 'Table Position', options = , group = 'Table Settings')
i_textSize = input.string('Small', 'Text Size', options = , group = 'Table Settings')
textSize = i_textSize == 'Small' ? size.small : i_textSize == 'Normal' ? size.normal : i_textSize == 'Large' ? size.large : size.tiny
textColor = color.white
// Resolve table position
var pos = switch tblPos
'Top Left' => position.top_left
'Top Right' => position.top_right
'Bottom Left' => position.bottom_left
'Bottom Right' => position.bottom_right
'Middle Left' => position.middle_left
'Middle Right' => position.middle_right
=> position.top_right
// === Custom CCI Function ===
customCCI(source, length) =>
sma = ta.sma(source, length)
dev = ta.dev(source, length)
(source - sma) / (0.015 * dev)
// === CCI Values for All Timeframes ===
var float cciVals = array.new_float(array.size(timeframes))
for i = 0 to array.size(timeframes) - 1
tf = array.get(timeframes, i)
cciVal = request.security(syminfo.tickerid, tf, customCCI(src, cciLength))
array.set(cciVals, i, cciVal)
// === Countdown Timers ===
var string countdowns = array.new_string(array.size(timeframes))
for i = 0 to array.size(timeframes) - 1
tf = array.get(timeframes, i)
closeTime = request.security(syminfo.tickerid, tf, time_close)
sec_left = barstate.isrealtime and not na(closeTime) ? math.max(0, (closeTime - timenow) / 1000) : na
min_left = sec_left >= 0 ? math.floor(sec_left / 60) : na
sec_mod = sec_left >= 0 ? math.floor(sec_left % 60) : na
timer_text = barstate.isrealtime and not na(sec_left) ? str.format("{0,number,00}:{1,number,00}", min_left, sec_mod) : "–"
array.set(countdowns, i, timer_text)
// === Build Table ===
if barstate.islast
rows = array.size(timeframes) + 1
var table t = table.new(pos, 3, rows, frame_color=color.rgb(252, 250, 250), border_color=color.rgb(243, 243, 243))
// Headers
table.cell(t, 0, 0, "Timeframe", text_color=textColor, bgcolor=color.rgb(238, 240, 242), text_size=textSize)
table.cell(t, 1, 0, "CCI (" + str.tostring(cciLength) + ")", text_color=textColor, bgcolor=color.rgb(239, 243, 246), text_size=textSize)
table.cell(t, 2, 0, "Time to Close", text_color=textColor, bgcolor=color.rgb(239, 244, 248), text_size=textSize)
// Data Rows
for i = 0 to array.size(timeframes) - 1
row = i + 1
label = array.get(labels, i)
cciVal = array.get(cciVals, i)
countdown = array.get(countdowns, i)
// Color CCI: Green if < -100, Red if > 100
cciColor = cciVal < -100 ? color.green : cciVal > 100 ? color.red : color.rgb(236, 237, 240)
// Background warning if <60 seconds to close
tf = array.get(timeframes, i)
closeTime = request.security(syminfo.tickerid, tf, time_close)
sec_left = barstate.isrealtime and not na(closeTime) ? math.max(0, (closeTime - timenow) / 1000) : na
countdownBg = sec_left < 60 ? color.rgb(255, 220, 220, 90) : na
// Table cells
table.cell(t, 0, row, label, text_color=color.rgb(239, 240, 244), text_size=textSize)
table.cell(t, 1, row, str.tostring(cciVal, "#.##"), text_color=cciColor, text_size=textSize)
table.cell(t, 2, row, countdown, text_color=color.rgb(232, 235, 243), bgcolor=countdownBg, text_size=textSize)
FVG IFVG DetectorThe FVG IFVG Detector is a market–structure-based indicator designed to automatically detect Fair Value Gaps (FVGs) and Inversion Fair Value Gaps (IFVGs) on any timeframe. It highlights these imbalances as extended zones on the chart, helping traders identify areas where price has moved inefficiently and is likely to revisit.
Below is the detailed breakdown of what the indicator does:
1. Detects Bullish and Bearish Fair Value Gaps (FVGs)
The indicator checks for the standard 3-candle FVG structure:
Bullish FVG
Formed when high of candle (n-2) is below low of candle (n)
Indicates price moved upward too fast, leaving an imbalance below.
Bearish FVG
Formed when low of candle (n-2) is above high of candle (n)
Indicates price moved downward too fast, leaving an imbalance above.
2. Detects IFVG (Inversion Fair Value Gaps)
IFVG forms when an FVG is later retested and price reacts opposite its origin.
Bullish IFVG
A bullish FVG is created
Price returns and taps the upper boundary
The candle closes bullish (close > open)
The zone becomes a support-like inversion area
Bearish IFVG
A bearish FVG is created
Price returns and taps the lower boundary
The candle closes bearish (close < open)
The zone becomes a resistance-like inversion area
3. Draws IFVG Zones Extended to the Right
The indicator plots:
A top line
A bottom line
A filled area between the two lines
The zone extends indefinitely to the right, acting like supply/demand imbalance levels.
This makes it visually clear where price may react again in the future.
4. Separate Maximum Counts for Bullish & Bearish IFVGs
User can define:
How many bullish IFVG zones should be displayed
How many bearish IFVG zones should be displayed
Older zones are automatically removed to keep the chart clean.
5. Clean Visuals — No Labels, No Clutter
The indicator intentionally avoids:
Labels
Markers
Text overlays
Only clean, extended imbalance zones are shown for a professional SMC-style chart.
6. Fully Compatible with Any Timeframe
Works on:
Scalping (M1–M15)
Intraday (M30–H1)
Swing (H4–Daily)
The logic stays the same across all chart speeds.
7. Practical Use Cases for Traders
The indicator helps identify:
Areas where price is likely to return, react, or mitigate
Entries based on retest of imbalance
Potential zones for reversal, continuation, or trend confirmation
8. Advantages for SMC Traders
Automatically highlights hidden inefficiencies
Helps anticipate reversal zones
Filters low-quality imbalances
Provides structure-aligned entries
Reduces chart noise
Improves consistency in finding Smart Money levels
Multi Timeframe Traffic LightsMonthly, Weekly, Daily, Hourly previous candle range vs current price. Inside = orange, above = green, below = red
DMM Buyers vs Sellers Gauge (Fully Optimized)A volume-weighted momentum gauge that measures real-time buyer vs seller pressure (0-100%) and generates tiered long/short signals using trend alignment, ADX strength, volume posture analysis, and exhaustion detection.
Core Function:
Calculates buyer/seller pressure from volume-weighted candle bodies
Displays as visual gauge: RED (sellers) ← → GREEN (buyers)
Scores signals 0-15 points across WEAK/MEDIUM/STRONG tiers
Key Features:
Multi-timeframe trend confirmation (LTF + HTF EMAs)
Volume posture system (trend, momentum, divergence, strength)
Market regime detection (trending vs ranging with volatility)
Exhaustion detection (price distance from MA in ATR terms)
RSI divergence detection (bullish/bearish)
Adaptive thresholds (adjust based on market regime)
Signal Logic:
LONG: Buyers ≥60% + uptrend + volume confirmation + scoring
SHORT: Sellers ≥60% + downtrend + volume confirmation + scoring
Gates: ADX ≥20, ATR percentile range, session filter, optional volume gate
Visual Output:
Bottom gauge showing buyer/seller split
Top-right table with exhaustion, regime, volume posture
Optional arrows for signal tiers
Background coloring for regime
Previous Day High / Low / EquilibriumThis indicator plots Previous Day High (PDH), Previous Day Low (PDL), and Previous Day Equilibrium (PD-EQ) anchored to the candles that formed these levels.
🔥 Key Features
Candle-Anchored Levels
PDH/PDL aren’t placed at the midnight candle or the daily bar open. They’re anchored to the actual intraday candle that made the previous day’s high or low.
Session-Aware (17:00 or 18:00 NY)
Set your preferred daily session open (17:00 for Forex, 18:00 for indices/futures) for correct cross-timeframe behavior, including Daily and H4.
Dynamic Line Extension
Lines extend only up to the current candle
Adjustable Line Styles
Choose between Solid, Dashed, or Dotted lines for PDH, PDL, and PD-EQ.
⚙️ Inputs Overview
Session Settings
Daily Session Open Hour (NY Time)
Line Settings
PDH Line Color
PDL Line Color
PD-EQ Line Color
Line Style (Solid / Dashed / Dotted)
Label Settings
Show/Hide Labels
Label Font Size
Label Text Colors
Label Offset (bars to the right)
🛡️ Non-Repainting
The indicator does not repaint.
Levels are locked in once the new session begins.
Correlation Scanner📊 CORRELATION SCANNER - Financial Instruments Correlation Analyzer
🎯 ORIGINALITY AND PURPOSE
Correlation Scanner is a professional tool for analyzing correlation relationships between different financial instruments. Unlike standard correlation indicators that show the relationship between only two instruments, this script allows you to simultaneously track the correlation of up to 10 customizable instruments with a selected base asset.
The indicator is designed for traders working with cross-market analysis, portfolio diversification, and searching for related assets for arbitrage strategies.
🔧 HOW IT WORKS
The indicator uses the built-in ta.correlation() function to calculate the Pearson correlation coefficient between instrument closing prices over a specified period. Mathematical foundation:
1. Correlation Calculation: for each instrument, the correlation coefficient with the base asset is calculated over N bars (default 60)
2. Results Sorting: instruments are automatically ranked by absolute correlation value (from strongest to weakest)
3. Visualization: results are displayed in a table with color coding:
- Green: positive correlation (instruments move in the same direction)
- Red: negative correlation (instruments move in opposite directions)
- Color intensity depends on correlation strength
4. Correlation Strength Classification:
- Very Strong (💪💪💪): |r| > 0.8 — very strong relationship
- Strong (💪💪): |r| > 0.6 — strong relationship
- Medium (💪): |r| > 0.4 — medium relationship
- Weak: |r| > 0.2 — weak relationship
- Very Weak: |r| ≤ 0.2 — very weak relationship
📋 SETTINGS AND USAGE
MAIN PARAMETERS:
• Main Instrument — base instrument for comparison (default TVC:DXY - US Dollar Index)
• Correlation Period — calculation period in bars (10-500, default 60)
• Number of Instruments to Display — number of instruments to show (1-10)
• Table Position — table location on the chart
INSTRUMENT CONFIGURATION:
The indicator allows configuring up to 10 instruments for analysis. For each, you can specify:
• Instrument — instrument ticker (e.g., FX_IDC:EURUSD)
• Name — display name (emojis supported)
VISUAL SETTINGS:
• Show Chart Label with Correlation — display current chart's correlation with base instrument
• Table Header Color — table header color
• Table Row Background — table row background color
💡 USAGE EXAMPLES
1. DOLLAR IMPACT ANALYSIS: set DXY as the base instrument and track how dollar index changes affect currency pairs, gold, and cryptocurrencies
2. HEDGING ASSETS SEARCH: find instruments with strong negative correlation for risk diversification
3. PAIRS TRADING: identify assets with high positive correlation to find divergences and arbitrage opportunities
4. CROSS-MARKET ANALYSIS: track relationships between stocks, bonds, commodities, and currencies
5. SYSTEMIC RISK ASSESSMENT: identify periods of increased correlation between assets, which may indicate systemic risks
⚠️ IMPORTANT NOTES
• Correlation does NOT imply causation
• Correlation can change over time — regularly review the analysis period
• High past correlation doesn't guarantee the relationship will persist in the future
• Recommended to use the indicator in combination with fundamental analysis
🔔 ALERTS
The indicator includes a built-in alert condition: triggers when strong correlation (|r| > 0.8) is detected between the current chart and the base instrument.
Pivot Gauge Cluster IndicatorThe Pivot Gauge Cluster Indicator is designed to give traders a clear visual map of the most important price levels across timeframes, combined with automatic cluster zones that highlight areas where the market is most likely to react. It simplifies the chart by showing only relevant levels and grouping them into meaningful zones of confluence.
The indicator displays levels from four major timeframes: Daily, Weekly, Monthly, and Quarterly. For each of these timeframes, it can plot the open, high, low, previous high, previous low, midpoint, quarter and three-quarter levels, classic pivot levels (P, S1–S3, R1–R3), and Fibonacci 0.618 and 0.382 retracements. All levels are optional and can be turned on or off. They are color-coded based on whether current price is above or below the level, so market bias is easy to read.
The indicator can also show round-number levels (big round numbers), such as 50s, 100s, or 1000s, depending on the instrument. You can configure the spacing, color, and how many levels to show above and below the current price. These round levels also feed into the cluster detection system.
Cluster Zones are the core of the indicator. A cluster is created when multiple significant levels from higher timeframes sit close together in price. Instead of forcing the trader to interpret many overlapping lines, the indicator automatically detects these overlaps and draws a yellow zone across the chart. These zones often become important reaction areas, support or resistance, liquidity pockets, or turning points. The zones are recalculated every bar, so they are always accurate and never static. You can adjust how tight a cluster must be and how many levels are required to form one.
There is an optional SMA trend filter. When enabled, the indicator uses a user-selectable SMA (default 200) to hide clusters that do not align with the trend direction. If price is above the SMA, only clusters below price are shown as potential support. If price is below the SMA, only clusters above price are shown as potential resistance. This keeps the chart focused on the most relevant zones.
The indicator has two alert types. The first is “Cluster Zone Formed,” which triggers when a new cluster is created. This alert only fires on future cluster formations and does not trigger for existing historical clusters when the alert is added. The second is “Cluster Zone Touch,” which alerts instantly when price touches a cluster zone. Both alerts are optimized so they do not repeatedly fire for the same zone within the same bar.
Overall, the Pivot Gauge Indicator gives a structured and simplified view of the market by combining higher-timeframe structure, psychological levels, and automated confluence zones. It helps intraday traders, scalpers, and swing traders quickly identify high-probability reaction points, support and resistance, trend-aligned zones, and key areas for entries or exits. It is fully customizable, allowing the user to enable the exact timeframes, level types, colors, cluster sensitivity, round numbers, trend filters, and alert preferences they want.
Enjoy!
Wick Size Percentage (%) IndicatorA lightweight utility script that measures the wick size of every bar in percentages. It helps identify significant rejection blocks and volatility spikes by displaying the exact % value above and below each candle. Perfect for ICT concepts and precise risk management.
This indicator is designed for price action traders who need precise measurements of market volatility and rejection. It automatically calculates and displays the size of both the upper and lower wicks of a candle as a percentage relative to the open price.
Key Features:
Dual Measurement: Separately calculates the upper wick (high to body) and lower wick (body to low).
Percentage Based: Values are shown in percentages (%) rather than price points, making it easier to compare volatility across different assets (Crypto, Forex, Stocks).
Dynamic Labels: Visual labels appear above and below the candles for quick reading.
Fully Customizable: Users can adjust the decimal precision (e.g., for low timeframe scalping), change text size, and toggle visibility to keep the chart clean.
Data Window Support: Values are also visible in the side Data Window for detailed analysis without clutter.
Volumetric Inverse Fair Value Gap (IFVG) [Kodexius]The Volumetric Inverse Fair Value Gap (IFVG) indicator detects and visualizes inverse fair value gaps (IFVGs) zones where previous inefficiencies in price (fair value gaps) are later invalidated or “inverted.”
Unlike traditional FVG indicators, this tool integrates volume-based analysis to quantify the bullish, bearish, and overall strength of each inversion. It visually represents these metrics within a dynamically updating box on the chart, giving traders deeper insight into market reactions when liquidity imbalances are filled and reversed.
Features
Inverse fair value gap detection
The script identifies bullish and bearish fair value gaps, stores them as pending zones, and turns them into inverse fair value gaps when price trades back through the gap in the opposite direction. Each valid inversion becomes an active IFVG zone on the chart.
Sensitivity control with ATR filter and strict mode
A minimum gap size based on ATR is used to filter out small and noisy gaps. Strict mode can be enabled so that any wick contact between the relevant candles prevents the gap from being accepted as a fair value gap. This lets you decide how clean and selective the zones should be.
Show Last N Boxes control
The indicator can keep only the most recent N IFVG zones visible. Older zones are removed from the chart once the number of active objects exceeds the user setting. This prevents clutter on higher timeframes or long histories and keeps attention on the most relevant recent zones.
Ghost box for the original gap
When the ghost option is enabled, the script draws a faint box that marks the original fair value gap from which the inverse zone came. This makes it easy to see where the initial imbalance appeared and how price later inverted that area.
Volumetric bull, bear and strength metrics
For each IFVG, the script estimates how much of the bar volume is associated with buying and how much with selling, then computes bull percentage, bear percentage and a strength score that uses a percentile rank of volume. These values are stored with the IFVG object and drive the visualization inside the zone.
Three band visual layout inside each IFVG
Each active IFVG is drawn as a container with three horizontal sections. The top band represents the bull percentage, the middle band the bear percentage and the bottom band the strength metric. The width of each bar reflects its respective value so you can read the structure of the zone at a glance.
Customizable colors and label text
Colors for bull, bear, strength, the empty background area, the ghost box and label text can be adjusted in the inputs. This allows you to match the indicator to different chart themes or highlight specific aspects such as strength or direction.
Automatic invalidation and cleanup
When price clearly closes beyond the IFVG in a way that breaks the logic of that zone, the script marks it as inactive and deletes all boxes and labels linked to it. Only valid and active IFVGs remain on the chart, which keeps the display clean and focused.
Calculations
1. Detecting Fair Value Gaps (FVGs)
A fair value gap is identified when price action leaves an imbalance between candle wicks. Depending on the mode:
Bullish FVG: When low > high
Bearish FVG: When high < low
Optionally, the strict mode ensures wicks do not touch.
The gap’s significance is filtered using the ATR multiplier input to exclude minor noise.
Once detected, FVGs are stored as pending zones until inverted by opposite movement (price crossing through).
bool bull_cond = strict_mode ? (low > high ) : (close > high )
bool bear_cond = strict_mode ? (high < low ) : (close < low )
float gap_size = 0.0
if bull_cond and close > open
gap_size := low - high
if bear_cond and close < open
gap_size := low - high
2. Creating IFVGs (Inversions)
When price later moves through a previous FVG in the opposite direction, an Inverse FVG (IFVG) is created.
For example:
A previous bearish FVG becomes bullish IFVG if price moves upward through it.
A previous bullish FVG becomes bearish IFVG if price moves downward through it.
The IFVG is initialized with structural boundaries (top, bottom) and timestamp metadata to anchor visualization.
if not p.is_bull_gap and close > p.top
inverted := true
to_bull := true
if p.is_bull_gap and close < p.btm
inverted := true
to_bull := false
3. Volume Metrics (Bull, Bear, Strength)
Each IFVG calculates buy and sell volumes from the current bar’s price spread and total volume.
Bull % = proportion of upward (buy) volume
Bear % = proportion of downward (sell) volume
Strength % = normalized percentile rank of total volume
These are obtained through a custom function that estimates directional volume contribution:
calc_metrics(float o, float h, float l, float c, float v) =>
float rng = h - l
float buy_v = 0.0
if rng == 0
buy_v := v * 0.5
else
if c >= o
buy_v := v * ((math.abs(c - o) + (math.min(o, c) - l)) / rng)
else
buy_v := v * ((h - math.max(o, c)) / rng)
float sell_v = v - buy_v
float total = buy_v + sell_v
float p_bull = total > 0 ? buy_v / total : 0
float p_bear = total > 0 ? sell_v / total : 0
float p_str = ta.percentrank(v, 100) / 100.0
Swing Trading System v5 - Dynamic SL/Targets with LabelsThe Swing Trading System v5 is a fully-automated swing-trend framework designed to identify high-confidence breakout entries, generate dynamic stop-loss and target levels, and visually label actionable trade zones on the chart.
It adapts to market conditions using structure breaks, EMA trend filters, candle confirmation, and volume expansion signals.
Core Features
1. Swing Breakout Engine (Structure-Based)
The system detects short-term swing highs/lows and evaluates whether price has broken out above resistance or broken down below support.
A directional bias is established using a structure-based confirmation variable and automatically updated trailing stop logic.
2. Trend Filter (EMA 20/50/200)
To avoid counter-trend trades, the engine uses:
EMA-200 for primary trend direction
EMA-20 and EMA-50 for near-term momentum
Signals align only when structure breaks AND the major trend confirm each other.
3. Candle Confirmation
Entry signals require classical reversal momentum patterns:
Bullish Engulfing for long trades
Bearish Engulfing for short trades
This filters out weak structure breaks and ensures institutional momentum.
4. Volume Confirmation
Volume must exceed a configurable SMA-based threshold.
This prevents false signals during low-liquidity or consolidation phases.
Signal Logic
Long Signal Triggers
A Buy signal is printed when:
Price crosses above the dynamic trailing stop (swing resistance)
Price is above EMA-200 (bull trend)
Candle forms a bullish engulfing confirmation
Volume > SMA(10) × Multiplier
Short Signal Triggers
A Sell signal occurs when:
Price crosses below the dynamic trailing stop (swing support)
Price is below EMA-200 (bear trend)
Candle forms a bearish engulfing confirmation
Volume expansion confirms downside momentum
Dynamic Stop-Loss & Profit Targets
When a signal triggers, the system automatically calculates:
Stop-Loss (SL):
Long trades: last swing low
Short trades: last swing high
Target 1 (TP1): 1.5R relative to swing distance
Target 2 (TP2): 3.0R for trend continuation moves
SL, TP1, and TP2 are displayed on-chart using extended line plots and right-side labels for clean visualization.
Labels for old signals are automatically deleted to keep the chart uncluttered.
Visual Components
The indicator provides:
BUY/SELL signal labels
Dynamic SL, TP1, TP2 lines with color coding
SL/TP labels positioned at the end of each new trade
Clean breakout detection based on structural pivots
All elements update automatically as new swings form.
Intended Use
This system is built for:
Swing Traders
Systematic Discretionary Traders
Trend Followers
Breakout/Momentum Traders
Works well on:
Stocks
Crypto
Forex
Indices
Commodities
Optimal timeframes: 1H, 4H, Daily, Weekly
Summary
The Swing Trading System v5 provides:
High-quality breakout entries
Trend-aligned signals
Volume-filtered confirmation
Automated risk-reward generation
Clean and dynamic chart labels
A complete, self-contained swing-trading solution for systematic execution and disciplined risk management.
S&P Options Patterns Detector (6-20 Candles)Pattern detector for S&P options. Detects alerts for bullish or bearish signals for any stock in S&P 500






















