HTF Candle Overlay
This custom indicator is designed to help traders see *Higher Timeframe (HTF)* price action without leaving their current (lower timeframe) chart. It overlays the body and wicks of a larger candle (e.g., 4-hour or Daily) directly onto your 5-minute or 15-minute chart.
Key Functions
1. *Multi-Timeframe Visualization:* It draws the Open, High, Low, and Close of a higher timeframe candle (like the 4-hour) on top of your current chart.
2. *Live Projection:* As the live market moves, the indicator projects the expected width of the current HTF candle, allowing you to see it forming in real-time.
3. *Custom Styling:* You can toggle the background fill on/off and customize colors for bullish/bearish borders and backgrounds separately.
Practical Trading Uses
* Trend Alignment: Traders often use this to ensure they are trading in the direction of the higher timeframe trend. For example, if the 4-hour candle is green (Bullish), you might only look for buy setups on the 5-minute chart.
* Support & Resistance: The High and Low of the previous HTF candle often act as strong support or resistance levels. This indicator makes those levels immediately visible.
* Engulfing Patterns: You can easily spot if the current price action is "engulfing" the previous HTF candle, which can be a powerful reversal signal.
* Context for Scalping: Scalpers use this to avoid shorting into a strong bullish HTF candle or buying into a bearish one. It keeps you aware of the "bigger picture."."
Educational
n-Day Stock Return with MAs and SlopesThis indicator calculates the n-day percentage return of a stock and visualizes it either as a histogram or line, with optional moving averages (MA1 and MA2) of the return and their slopes. The script highlights trend changes in the slopes of these moving averages by drawing colored horizontal markers at each reversal point—green for upward slope shifts, red for downward shifts, and gray when the slope turns flat—allowing users to quickly identify strengthening, weakening, or neutral return trends over time. It also includes optional slope plots for additional trend context and a zero reference line for distinguishing positive and negative performance.
FAD Dashboard (Future vs Spot)Inspired by Wealthcon
This dashboard shows Real Time sentiment of Future Asset Difference with Future price of 3 Main Index & 10 Most significant Nifty 50 stocks . But the list is user customisable.
Fut Up + FAD Up (Deep Green)
Fut Down + FAD Up (Deep Blue)
Fut Up + FAD Down (Yellow)
Fut Down + FAD Down (Red)
Only for Educational purpose.
EMA Market Structure [BOSWaves]// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// Join our channel for more free tools: t.me
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © BOSWaves
//@version=6
indicator("EMA Market Structure ", overlay=true, max_lines_count=500, max_labels_count=500, max_boxes_count=500)
// ============================================================================
// Inputs
// ============================================================================
// Ema settings
emaLength = input.int(50, "EMA Length", minval=1, tooltip="Period for the Exponential Moving Average calculation")
emaSource = input.source(close, "EMA Source", tooltip="Price source for EMA calculation (close, open, high, low, etc.)")
colorSmooth = input.int(3, "Color Smoothing", minval=1, group="EMA Style", tooltip="Smoothing period for the EMA color gradient transition")
showEmaGlow = input.bool(true, "EMA Glow Effect", group="EMA Style", tooltip="Display glowing halo effect around the EMA line for enhanced visibility")
// Structure settings
swingLength = input.int(5, "Swing Detection Length", minval=2, group="Structure", tooltip="Number of bars to the left and right to identify swing highs and lows")
swingCooloff = input.int(10, "Swing Marker Cooloff (Bars)", minval=1, group="Structure", tooltip="Minimum number of bars between consecutive swing point markers to reduce visual clutter")
showSwingLines = input.bool(true, "Show Structure Lines", group="Structure", tooltip="Display lines connecting swing highs and swing lows")
showSwingZones = input.bool(true, "Show Structure Zones", group="Structure", tooltip="Display shaded zones between consecutive swing points")
showBOS = input.bool(true, "Show Break of Structure", group="Structure", tooltip="Display BOS labels and stop loss levels when price breaks structure")
bosCooloff = input.int(15, "BOS Cooloff (Bars)", minval=5, maxval=50, group="Structure", tooltip="Minimum number of bars required between consecutive BOS signals to avoid signal spam")
slExtension = input.int(20, "SL Line Extension (Bars)", minval=5, maxval=100, group="Structure", tooltip="Number of bars to extend the stop loss line into the future for visibility")
slBuffer = input.float(0.1, "SL Buffer %", minval=0, maxval=2, step=0.05, group="Structure", tooltip="Additional buffer percentage to add to stop loss level for safety margin")
// Background settings
showBG = input.bool(true, "Show Trend Background", group="EMA Style", tooltip="Display background color based on EMA trend direction")
bgBullColor = input.color(color.new(#00ff88, 96), "Bullish BG", group="EMA Style", tooltip="Background color when EMA is in bullish trend")
bgBearColor = input.color(color.new(#ff3366, 96), "Bearish BG", group="EMA Style", tooltip="Background color when EMA is in bearish trend")
// ============================================================================
// Ema trend filter with gradient color
// ============================================================================
ema = ta.ema(emaSource, emaLength)
// Calculate EMA acceleration for gradient color
emaChange = ema - ema
emaAccel = ta.ema(emaChange, colorSmooth)
// Manual tanh function for normalization
tanh(x) =>
ex = math.exp(2 * x)
(ex - 1) / (ex + 1)
accelNorm = tanh(emaAccel / (ta.atr(14) * 0.01))
// Map normalized accel to hue (60 = green, 120 = yellow/red)
hueRaw = 60 + accelNorm * 60
hue = na(hueRaw ) ? hueRaw : (hueRaw + hueRaw ) / 2
sat = 1.0
val = 1.0
// HSV to RGB conversion
hsv_to_rgb(h, s, v) =>
c = v * s
x = c * (1 - math.abs((h / 60) % 2 - 1))
m = v - c
r = 0.0
g = 0.0
b = 0.0
if (h < 60)
r := c
g := x
b := 0
else if (h < 120)
r := x
g := c
b := 0
else if (h < 180)
r := 0
g := c
b := x
else if (h < 240)
r := 0
g := x
b := c
else if (h < 300)
r := x
g := 0
b := c
else
r := c
g := 0
b := x
color.rgb(int((r + m) * 255), int((g + m) * 255), int((b + m) * 255))
emaColor = hsv_to_rgb(hue, sat, val)
emaTrend = ema > ema ? 1 : ema < ema ? -1 : 0
// EMA with enhanced glow effect using fills
glowOffset = ta.atr(14) * 0.25
emaGlow8 = plot(showEmaGlow ? ema + glowOffset * 8 : na, "EMA Glow 8", color.new(emaColor, 100), 1, display=display.none)
emaGlow7 = plot(showEmaGlow ? ema + glowOffset * 7 : na, "EMA Glow 7", color.new(emaColor, 100), 1, display=display.none)
emaGlow6 = plot(showEmaGlow ? ema + glowOffset * 6 : na, "EMA Glow 6", color.new(emaColor, 100), 1, display=display.none)
emaGlow5 = plot(showEmaGlow ? ema + glowOffset * 5 : na, "EMA Glow 5", color.new(emaColor, 100), 1, display=display.none)
emaGlow4 = plot(showEmaGlow ? ema + glowOffset * 4 : na, "EMA Glow 4", color.new(emaColor, 100), 1, display=display.none)
emaGlow3 = plot(showEmaGlow ? ema + glowOffset * 3 : na, "EMA Glow 3", color.new(emaColor, 100), 1, display=display.none)
emaGlow2 = plot(showEmaGlow ? ema + glowOffset * 2 : na, "EMA Glow 2", color.new(emaColor, 100), 1, display=display.none)
emaGlow1 = plot(showEmaGlow ? ema + glowOffset * 1 : na, "EMA Glow 1", color.new(emaColor, 100), 1, display=display.none)
emaCore = plot(ema, "EMA Core", emaColor, 3)
emaGlow1b = plot(showEmaGlow ? ema - glowOffset * 1 : na, "EMA Glow 1b", color.new(emaColor, 100), 1, display=display.none)
emaGlow2b = plot(showEmaGlow ? ema - glowOffset * 2 : na, "EMA Glow 2b", color.new(emaColor, 100), 1, display=display.none)
emaGlow3b = plot(showEmaGlow ? ema - glowOffset * 3 : na, "EMA Glow 3b", color.new(emaColor, 100), 1, display=display.none)
emaGlow4b = plot(showEmaGlow ? ema - glowOffset * 4 : na, "EMA Glow 4b", color.new(emaColor, 100), 1, display=display.none)
emaGlow5b = plot(showEmaGlow ? ema - glowOffset * 5 : na, "EMA Glow 5b", color.new(emaColor, 100), 1, display=display.none)
emaGlow6b = plot(showEmaGlow ? ema - glowOffset * 6 : na, "EMA Glow 6b", color.new(emaColor, 100), 1, display=display.none)
emaGlow7b = plot(showEmaGlow ? ema - glowOffset * 7 : na, "EMA Glow 7b", color.new(emaColor, 100), 1, display=display.none)
emaGlow8b = plot(showEmaGlow ? ema - glowOffset * 8 : na, "EMA Glow 8b", color.new(emaColor, 100), 1, display=display.none)
// Create glow layers with fills (from outermost to innermost)
fill(emaGlow8, emaGlow7, showEmaGlow ? color.new(emaColor, 97) : na)
fill(emaGlow7, emaGlow6, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow6, emaGlow5, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow5, emaGlow4, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow4, emaGlow3, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow3, emaGlow2, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow2, emaGlow1, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow1, emaCore, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaCore, emaGlow1b, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaGlow1b, emaGlow2b, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow2b, emaGlow3b, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow3b, emaGlow4b, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow4b, emaGlow5b, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow5b, emaGlow6b, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow6b, emaGlow7b, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow7b, emaGlow8b, showEmaGlow ? color.new(emaColor, 97) : na)
// ============================================================================
// Swing high/low detection
// ============================================================================
// Swing High/Low Detection
swingHigh = ta.pivothigh(high, swingLength, swingLength)
swingLow = ta.pivotlow(low, swingLength, swingLength)
// Cooloff tracking
var int lastSwingHighPlot = na
var int lastSwingLowPlot = na
// Check if cooloff period has passed
canPlotHigh = na(lastSwingHighPlot) or (bar_index - lastSwingHighPlot) >= swingCooloff
canPlotLow = na(lastSwingLowPlot) or (bar_index - lastSwingLowPlot) >= swingCooloff
// Store swing points
var float lastSwingHigh = na
var int lastSwingHighBar = na
var float lastSwingLow = na
var int lastSwingLowBar = na
// Track previous swing for BOS detection
var float prevSwingHigh = na
var float prevSwingLow = na
// Update swing highs with cooloff
if not na(swingHigh) and canPlotHigh
prevSwingHigh := lastSwingHigh
lastSwingHigh := swingHigh
lastSwingHighBar := bar_index - swingLength
lastSwingHighPlot := bar_index
// Update swing lows with cooloff
if not na(swingLow) and canPlotLow
prevSwingLow := lastSwingLow
lastSwingLow := swingLow
lastSwingLowBar := bar_index - swingLength
lastSwingLowPlot := bar_index
// ============================================================================
// Structure lines & zones
// ============================================================================
var line swingHighLine = na
var line swingLowLine = na
var box swingHighZone = na
var box swingLowZone = na
if showSwingLines
// Draw line connecting swing highs with zones
if not na(swingHigh) and canPlotHigh and not na(prevSwingHigh)
if not na(lastSwingHighBar)
line.delete(swingHighLine)
swingHighLine := line.new(lastSwingHighBar, lastSwingHigh, bar_index - swingLength, swingHigh, color=color.new(#ff3366, 0), width=2, style=line.style_solid)
// Create resistance zone
if showSwingZones
box.delete(swingHighZone)
zoneTop = math.max(lastSwingHigh, swingHigh)
zoneBottom = math.min(lastSwingHigh, swingHigh)
swingHighZone := box.new(lastSwingHighBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#ff3366, 80), bgcolor=color.new(#ff3366, 92))
// Draw line connecting swing lows with zones
if not na(swingLow) and canPlotLow and not na(prevSwingLow)
if not na(lastSwingLowBar)
line.delete(swingLowLine)
swingLowLine := line.new(lastSwingLowBar, lastSwingLow, bar_index - swingLength, swingLow, color=color.new(#00ff88, 0), width=2, style=line.style_solid)
// Create support zone
if showSwingZones
box.delete(swingLowZone)
zoneTop = math.max(lastSwingLow, swingLow)
zoneBottom = math.min(lastSwingLow, swingLow)
swingLowZone := box.new(lastSwingLowBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#00ff88, 80), bgcolor=color.new(#00ff88, 92))
// ============================================================================
// Break of structure (bos)
// ============================================================================
// Track last BOS bar for cooloff
var int lastBullishBOS = na
var int lastBearishBOS = na
// Check if cooloff period has passed
canPlotBullishBOS = na(lastBullishBOS) or (bar_index - lastBullishBOS) >= bosCooloff
canPlotBearishBOS = na(lastBearishBOS) or (bar_index - lastBearishBOS) >= bosCooloff
// Bullish BOS: Price breaks above previous swing high while EMA is bullish
bullishBOS = showBOS and canPlotBullishBOS and emaTrend == 1 and not na(prevSwingHigh) and close > prevSwingHigh and close <= prevSwingHigh
// Bearish BOS: Price breaks below previous swing low while EMA is bearish
bearishBOS = showBOS and canPlotBearishBOS and emaTrend == -1 and not na(prevSwingLow) and close < prevSwingLow and close >= prevSwingLow
// Update last BOS bars
if bullishBOS
lastBullishBOS := bar_index
if bearishBOS
lastBearishBOS := bar_index
// Plot BOS with enhanced visuals and SL at the candle wick
if bullishBOS
// Calculate SL at the low of the current candle (bottom of wick) with buffer
slLevel = low * (1 - slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, low, "BOS", style=label.style_label_up, color=color.new(#00ff88, 0), textcolor=color.black, size=size.normal, tooltip="Bullish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle low
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#00ff88, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#00ff88, 60), bgcolor=color.new(#00ff88, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#00ff88, 0), textcolor=color.black, size=size.tiny)
if bearishBOS
// Calculate SL at the high of the current candle (top of wick) with buffer
slLevel = high * (1 + slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, high, "BOS", style=label.style_label_down, color=color.new(#ff3366, 0), textcolor=color.white, size=size.normal, tooltip="Bearish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle high
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#ff3366, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#ff3366, 60), bgcolor=color.new(#ff3366, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#ff3366, 0), textcolor=color.white, size=size.tiny)
// ============================================================================
// Dynamic background zones
// ============================================================================
bgcolor(showBG and emaTrend == 1 ? bgBullColor : showBG and emaTrend == -1 ? bgBearColor : na)
// ============================================================================
// Alerts
// ============================================================================
alertcondition(bullishBOS, "Bullish BOS", "Bullish Break of Structure detected!")
alertcondition(bearishBOS, "Bearish BOS", "Bearish Break of Structure detected!")
alertcondition(emaTrend == 1 and emaTrend != 1, "EMA Bullish", "EMA turned bullish")
alertcondition(emaTrend == -1 and emaTrend != -1, "EMA Bearish", "EMA turned bearish")
// ╔════════════════════════════════╗
// ║ Download at ║
// ╚════════════════════════════════╝
// ███████╗██╗███╗ ███╗██████╗ ██╗ ███████╗
// ██╔════╝██║████╗ ████║██╔══██╗██║ ██╔════╝
// ███████╗██║██╔████╔██║██████╔╝██║ █████╗
// ╚════██║██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝
// ███████║██║██║ ╚═╝ ██║██║ ███████╗███████╗
// ╚══════╝╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝
// ███████╗ ██████╗ ██████╗ ███████╗██╗ ██╗
// ██╔════╝██╔═══██╗██╔══██╗██╔════╝╚██╗██╔╝
// █████╗ ██║ ██║██████╔╝█████╗ ╚███╔╝
// ██╔══╝ ██║ ██║██╔══██╗██╔══╝ ██╔██╗
// ██║ ╚██████╔╝██║ ██║███████╗██╔╝ ██╗
// ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
// ████████╗ ██████╗ ██████╗ ██╗ ███████╗
// ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
// ██║ ██║ ██║██║ ██║██║ ███████╗
// ██║ ██║ ██║██║ ██║██║ ╚════██║
// ██║ ╚██████╔╝╚██████╔╝███████╗███████║
// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
// ==========================================================================================
Breaker Blocks [TakingProphets]Breaker Blocks
Smart Money “breaker” zones automatically mapped on your chart.
This tool is designed for traders who use ICT / Smart Money concepts and want a clean, automated way to see breaker blocks form and evolve in real time.
-----------------------------------------------------------------------------------------------
🔍 What this indicator does
The script automatically detects potential bullish and bearish breaker blocks after a market structure shift, then draws and maintains those zones on your chart:
-Plots bullish breaker blocks as green shaded zones.
-Plots bearish breaker blocks as red shaded zones.
-Optionally shows the 50% (midline) of each breaker for refinement.
-Keeps a rolling list of the most recent breakers and removes older ones to keep your chart clean.
-Optionally hides breakers once price closes through them (invalidation), so only active zones remain.
It’s built to work on any symbol and any timeframe. Lower timeframes will naturally generate more breakers; higher timeframes will show fewer, more significant zones.
Important: This script does not open, manage, or close trades for you. It only visualizes price zones that may be relevant to your own strategy and analysis.
-----------------------------------------------------------------------------------------------
🧠 Core logic (high level)
Under the hood, the indicator:
Uses an internal zigzag swing structure to track major pivot highs and lows.
Watches for a market structure shift (MSS):
Bullish MSS: price closes above a prior swing high.
Bearish MSS: price closes below a prior swing low.
Once an MSS is confirmed, it:
Locates the relevant impulse candle(s) that price traded through.
Defines the breaker block using the high/low (or body vs. wick, based on internal settings).
Draws a breaker box from that origin forward in time.
Each breaker is stored as an internal object with:
Direction (bullish or bearish)
Top and bottom prices
Visual boxes and an optional midline
On every new candle, all active breakers are updated:
Extended forward as new bars print.
Optionally invalidated and deleted if price closes back through the breaker in the opposite direction.
This gives you a dynamic map of which breaker blocks are still “respected” by price and which have failed.
-----------------------------------------------------------------------------------------------
⚙️ Key Inputs & Settings
All user-facing options are grouped under “Breaker Blocks” for a clean UI.
-Display Breaker Block
Toggle the visualization on/off without removing detection logic.
-Bullish Color / Bearish Color
Choose the fill color for bullish and bearish breaker zones.
-Show 50% Line
Plots a dashed line at the mid-point of each breaker block.
Helpful if you use the 50% level as a refinement or entry anchor.
-Max Visible
Limits how many of the most recent breaker blocks stay on the chart.
Older breakers are deleted once this limit is exceeded (keeps things clean and lightweight).
-Hide When Invalidated
If enabled:
Bullish breaker is hidden once price closes below its low.
Bearish breaker is hidden once price closes above its high.
If disabled, breakers remain visible even after those closes (for study / backtesting purposes).
These options allow you to run the tool in either a minimal, current-context only mode, or a more historical, educational mode.
-----------------------------------------------------------------------------------------------
🧭 How traders might use it
Some common ways traders may incorporate breaker blocks into their own plans:
As context zones around which to look for entries using their personal triggers.
As potential support/resistance areas after a shift in structure.
To visually separate active vs. invalidated zones instead of manually redrawing them.
In confluence with other SMC tools (FVGs, liquidity pools, PD arrays, etc.) and higher-timeframe bias.
This indicator is intended as a visual aid and works best when combined with a complete trading plan, risk management rules, and your own discretion.
-----------------------------------------------------------------------------------------------
⚠️ Disclaimer
This indicator does not guarantee profits or specific outcomes.
It is provided for educational and informational purposes only.
Past price behavior around breaker blocks does not imply future results.
Always test any tool on a demo account or in a simulated environment before using it with real capital.
Trading involves risk, and you are solely responsible for your own decisions.
Alt Trading: Asia Fibonacci Strategy
The Alt Trading: Asia Fibonacci Strategy is a session-anchored liquidity and Fibonacci engine designed for traders who want to systematically exploit the overnight Asia range instead of just marking it and guessing. It automatically profiles the Asia session to build a precise high–low liquidity band, then waits for clean sweeps of that range before it will even consider a setup forcing every idea to start from an objective liquidity event. Behind the scenes, a swing-based structure model defines the dominant leg and projects a true, directionally-aligned Fibonacci map, extending down for long scenarios and up for shorts so the premium/discount zones are never “mirrored” or visually inverted. Key extension bands are converted into forward-projected price zones, with dedicated entry corridors that only activate once price has both raided the Asia high/low and traded back into the correct Fibonacci pocket. A lightweight FVG engine tracks the most recent opposing Fair Value Gap and uses its invalidation as a final confirmation step, so your long setups only trigger when a bearish imbalance has been meaningfully reclaimed and vice versa for shorts. The result is a minimal but strict playbook: sweep the Asia range, respect the leg, touch the fib zone, invalidate the opposing FVG, then and only then print a clean visual marker on the chart. Transparent fib blocks, trigger FVG highlights, and compact “double-circle” text markers keep the chart readable even on lower timeframes, while still giving you a clear sense of where the setup originated and which liquidity it’s built around. All colors and visual layers are customizable, making it easy to blend the tool into your existing layout while preserving the core logic. Rather than trying to predict the entire session, Asia Fibonacci Strategy turns one of the most consistent structures in the market overnight range and its sweep into a repeatable, rule-driven framework for high-quality intraday entries.
Tempo's Trades IFVG Mastery IndicatorThe indicator I use is called IFVG Mastery. Below you can find all of the features, Automatically maps 50% of the daily range level, Marks out all equal highs and equal lows, Marks out all session killzones, Plots all FVG and IFVGs.
We will constantly a
Multi-Symbol FVG Scanner - Fixed This is a Multi-Symbol Fair Value Gap (FVG) Scanner for TradingView that monitors multiple currency pairs simultaneously for FVG patterns.
Key Features
What it does:
Scans 5 currency pairs simultaneously for Fair Value Gaps (FVGs)
Detects both bullish and bearish FVG patterns
Tracks when FVGs get "mitigated" (price reverses back through them)
Displays results in a real-time table
Generates alerts when patterns are detected
Shows visual histogram of active signals
Momentum FlowThis is a rule-based, fully automated trading strategy** developed **exclusively for BANKNIFTY** and optimized strictly for the **2-Hour (2H) timeframe**. The system is designed to identify **high-quality directional opportunities** while filtering out low-probability market noise.
The strategy is built for traders who prefer:
* Clean positional trading
* Limited, high-quality signals
* Fully mechanical execution
* No discretionary decision-making
This system is **locked by design** and will **only operate on BANKNIFTY – 2H timeframe** to preserve performance integrity. Usage on any other symbol or timeframe is intentionally restricted.
---
### ✅ SUITABLE FOR:
* Positional traders
* Swing traders
* Working professionals
* Traders seeking structured, disciplined systems
---
### ❌ NOT SUITABLE FOR:
* Scalping
* Low-timeframe trading
* High-frequency setups
* Traders seeking daily signals
---
### ⚠️ IMPORTANT DISCLAIMER:
This strategy is provided strictly for **educational and research purposes only**. Trading in financial markets involves significant risk, and losses are possible. Past performance does not guarantee future results. The creator is not responsible for any financial losses incurred by the use of this strategy. Always trade with proper risk management.
---
RSI Candles Pro [MTF]**RSI Candles Pro**
## **Overview**
The RSI Candles Pro indicator provides an advanced framework for visualizing RSI momentum through candlestick representation, structural analysis, and multi-dimensional confirmation signals. Unlike conventional RSI oscillators that display only a line plot, this system transforms RSI into a complete OHLC candlestick chart with integrated strength metrics, structural break detection, divergence analysis, and dynamic support/resistance mapping.
Each element adapts continuously to RSI behavior, offering traders a living map of momentum shifts, structural changes, and reversal potential. The indicator doesn't simply show overbought/oversold conditions—it quantifies momentum strength, tracks structural breaks, detects price-RSI divergences, and projects key inflection levels with precision.
The result is a comprehensive, momentum-aware representation of market structure:
- **RSI OHLC Candles** visualize momentum direction, strength, and conviction through candlestick patterns with dynamic color intensity.
- **Strength Scoring System** quantifies momentum conviction using distance from neutral, momentum acceleration, and candle body characteristics.
- **RSI Structure Lines & Zones** connect swing highs and lows, creating visual support/resistance zones within RSI space.
- **Break of Structure (BOS) Detection** identifies decisive momentum shifts when RSI breaks previous structural levels, complete with projected support/resistance lines.
- **Auto Pivot Horizontal Lines** dynamically map key RSI levels where price repeatedly reacts, serving as momentum inflection zones.
- **Divergence Detection** captures classic bullish and bearish divergences between price action and RSI behavior, flagging potential reversal conditions.
Unlike static RSI line plots or simple zone highlighting, RSI Candles Pro fuses candlestick visualization with structural awareness, strength quantification, and divergence analysis to provide a clear, multi-dimensional picture of momentum dynamics and potential turning points.
---
## **Theoretical Foundation**
The RSI Candles Pro indicator builds on principles of **momentum oscillation theory**, **structural market analysis**, and **divergence recognition**—concepts widely used by technical analysts to identify trend strength, exhaustion, and reversal conditions.
Standard RSI indicators display momentum as a single line crossing threshold levels, but this approach ignores critical dimensions: **momentum strength**, **structural context**, and **rate of change acceleration**. This indicator recognizes that RSI behavior can be decomposed into candlestick patterns that reveal conviction, hesitation, and reversal signals just as price candles do.
At its core are six interacting components:
### **1. RSI OHLC Candlestick Construction**
The indicator calculates RSI independently for open, high, low, and close prices within each bar, creating true RSI candlesticks rather than a single-line plot. This reveals:
- **Momentum direction** (bullish vs. bearish candles)
- **Momentum volatility** (wick length shows RSI range)
- **Momentum conviction** (body size indicates decisiveness)
- **Indecision patterns** (doji candles signal momentum exhaustion)
### **2. Strength Scoring Algorithm**
A composite strength score quantifies momentum conviction by analyzing three factors:
- **Distance from neutral (50 level)**: Greater distance indicates stronger directional bias
- **Momentum acceleration**: Rate of RSI change over recent bars reveals building or fading momentum
- **Body-to-range ratio**: Larger bodies relative to total candle range show decisive momentum vs. indecision
This produces a 0-100 strength score that dynamically adjusts candle transparency—strong moves appear vibrant, weak moves appear faded—providing instant visual feedback on momentum quality.
### **3. RSI EMA with Slope-Sensitive Coloring**
A smoothed exponential moving average of RSI serves as a trend filter, but with a critical enhancement: **dynamic color coding based on slope direction**. When the RSI EMA slopes upward, it displays in bullish color; when sloping downward, bearish color. This provides instant trend context and filters noise from raw RSI fluctuations.
### **4. RSI Structural Framework**
The indicator identifies swing highs and lows within RSI space using pivot detection, then:
- **Connects consecutive swings with lines** to visualize RSI trend channels
- **Creates shaded zones between swings** to highlight support/resistance regions in momentum space
- **Implements cooloff periods** to prevent redundant signals and maintain chart clarity
These structural elements reveal whether RSI is forming higher highs/higher lows (bullish structure) or lower highs/lower lows (bearish structure).
### **5. Break of Structure (BOS) Logic**
The system detects **decisive momentum shifts** when RSI breaks previous structural levels in alignment with RSI EMA trend direction:
- **Bullish BOS**: RSI breaks above previous swing high while RSI EMA is rising
- **Bearish BOS**: RSI breaks below previous swing low while RSI EMA is falling
When BOS occurs, the indicator automatically:
- Places a BOS label at the breakout point
- Projects a support/resistance line forward (20+ bars)
- Creates a shaded zone around the S/R level
- Provides tooltip information with exact S/R values
This gives traders actionable levels where momentum shifts may be defended or rejected.
### **6. Price-RSI Divergence Detection**
Classic divergence analysis identifies conditions where price and momentum disagree:
- **Bullish Divergence**: Price makes lower low, RSI makes higher low (momentum refusing to confirm weakness)
- **Bearish Divergence**: Price makes higher high, RSI makes lower high (momentum weakening despite price strength)
Divergences often precede significant reversals, providing early warning signals before price structure breaks.
### **7. Auto Pivot Horizontal Lines**
The indicator dynamically tracks historical RSI pivot points and plots horizontal lines at these levels, extended forward in time. These act as **momentum support/resistance zones**—levels where RSI has repeatedly turned in the past and may respect again in the future. The system:
- Detects unique pivot levels (filtering duplicates within 2 RSI points)
- Maintains a configurable maximum number of lines per side
- Optionally extends lines infinitely right for persistent reference
- Labels each line with its exact RSI value
By integrating these elements, the indicator provides both micro-level momentum analysis (individual candle strength) and macro-level structural context (swing patterns, BOS events, divergences, key levels), maintaining clarity while revealing momentum dynamics in real time.
---
## **How It Works**
The RSI Candles Pro indicator operates through layered processing stages:
### **Stage 1: RSI OHLC Calculation**
- Four independent RSI calculations are performed for each bar: RSI(open), RSI(high), RSI(low), RSI(close)
- These are combined to form RSI candlesticks:
- **RSI Open/Close**: Determines candle body direction and size
- **RSI High**: Highest value among all four RSI calculations becomes upper wick
- **RSI Low**: Lowest value among all four RSI calculations becomes lower wick
- This creates a complete candlestick representation in RSI space that mirrors price action behavior
### **Stage 2: Strength Score Computation**
For each RSI candle, a composite strength score is calculated:
This score drives **dynamic transparency**: strong moves (score > 70) display with high opacity, weak moves (score < 40) display faded, providing instant visual feedback on momentum quality.
### **Stage 3: RSI EMA Trend Filter**
- An exponential moving average smooths RSI values over a configurable period (default 9)
- The slope is calculated: `rsiEmaSlope = rsiEMA - rsiEMA `
- Dynamic coloring:
- **Positive slope** → Green/Bullish color
- **Negative slope** → Red/Bearish color
- **Flat slope** → Gray/Neutral color
- This provides trend context and filters out noise from raw RSI oscillations
### **Stage 4: Structural Swing Detection**
- Swing highs and lows are identified using pivot detection with configurable lookback (default 5 bars left/right)
- **Cooloff mechanism** prevents redundant signals by requiring minimum bars between swings (default 8)
- When new swings are detected:
- Previous swing values are stored for BOS comparison
- Lines connect consecutive swings to visualize momentum structure
- Shaded boxes (zones) highlight the range between swings as support/resistance regions
### **Stage 5: Break of Structure (BOS) Analysis**
The system monitors RSI behavior relative to previous structural levels:
**Bullish BOS triggers when:**
1. RSI EMA slope is positive (uptrend filter)
2. Current RSI close exceeds previous swing high
3. Previous bar's RSI was below that swing high (confirms break)
4. Cooloff period has elapsed since last bullish BOS (default 10 bars)
**Bearish BOS triggers when:**
1. RSI EMA slope is negative (downtrend filter)
2. Current RSI close breaks below previous swing low
3. Previous bar's RSI was above that swing low (confirms break)
4. Cooloff period has elapsed since last bearish BOS
Upon BOS detection, the indicator automatically:
- Places a labeled marker at the breakout point
- Calculates S/R level with buffer (e.g., RSI low - 0.5 points for bullish BOS)
- Draws a dashed S/R line extending forward (configurable, default 20 bars)
- Creates a shaded S/R zone (±0.5 points from line)
- Adds an "S/R" label at the line's end
### **Stage 6: Auto Pivot Line Management**
- Pivot highs and lows are detected using a separate lookback period (default 5)
- When a new pivot forms:
- System checks if a similar level already exists (within 2 RSI points)
- If unique, adds a horizontal line at that RSI value
- Lines are stored in arrays with configurable maximum capacity (default 4 per side)
- Oldest lines are automatically removed when capacity is exceeded
- Optional labels display exact RSI values at pivot levels
### **Stage 7: Divergence Detection**
The system compares price pivot points with RSI pivot points:
**Bearish Divergence:**
- Price makes higher high compared to previous pivot high
- RSI makes lower high compared to previous RSI pivot high
- RSI must be above 50 (mid-level) to confirm overbought context
- Triangle-down marker placed above candle with "DIV" text
**Bullish Divergence:**
- Price makes lower low compared to previous pivot low
- RSI makes higher low compared to previous RSI pivot low
- RSI must be below 50 to confirm oversold context
- Triangle-up marker placed below candle with "DIV" text
### **Stage 8: Strength Dot Visualization**
Colored dots appear according to Delta Volume strength:
### **Stage 9: Real-Time Info Table**
Through these processes, the indicator creates a living, adaptive representation of RSI behavior that reveals both momentum strength and structural context in real time.
---
## **Interpretation**
The RSI Candles Pro indicator reframes momentum reading from simple overbought/oversold levels to structured awareness of momentum behavior:
### **Candle Patterns**
- **Large-bodied bullish candles (vibrant green)**: Strong, decisive bullish momentum—continuation likely
- **Large-bodied bearish candles (vibrant red)**: Strong, decisive bearish momentum—continuation likely
- **Small-bodied or doji candles (faded/gray)**: Indecision or momentum exhaustion—reversal possible
- **Long upper wicks**: Failed bullish momentum—rejection at resistance
- **Long lower wicks**: Failed bearish momentum—support holding
### **RSI EMA Trend Context**
- **RSI EMA rising (green)**: Momentum uptrend—favor bullish setups
- **RSI EMA falling (red)**: Momentum downtrend—favor bearish setups
- **RSI EMA flat (gray)**: Momentum consolidation—wait for directional clarity
### **Structural Analysis**
- **RSI making higher swing lows with rising EMA**: Bullish structure intact—look for dip-buying opportunities
- **RSI making lower swing highs with falling EMA**: Bearish structure intact—look for rally-selling opportunities
- **Shaded structure zones**: Key support/resistance in momentum space—expect reactions at these levels
### **Break of Structure Signals**
- **Bullish BOS + S/R line**: Momentum confirming upward shift—S/R line becomes support if price dips
- **Bearish BOS + S/R line**: Momentum confirming downward shift—S/R line becomes resistance if price rallies
- **S/R line break**: Momentum structure failing—potential reversal or deeper retracement
### **Pivot Lines**
- **Price approaching RSI pivot high**: Momentum resistance—watch for rejection or breakout
- **Price approaching RSI pivot low**: Momentum support—watch for bounce or breakdown
- **Multiple pivot lines clustered**: Strong momentum support/resistance zone—high-probability reaction area
### **Divergences**
- **Bullish divergence in oversold zone**: Momentum refusing to make new lows despite price weakness—reversal setup
- **Bearish divergence in overbought zone**: Momentum weakening despite price strength—reversal setup
- **Divergence + structure break**: High-conviction reversal signal—combined technical and momentum confirmation
### **Strength Dots**
- **Large dots**: High-conviction moves—reliable trend continuation signals
- **Small dots**: Low-conviction moves—increased reversal risk, avoid chasing
- **Diamond warnings in extremes**: Overextended conditions—prepare for mean reversion
### **Zone Background**
- **Red background (RSI > 70)**: Overbought—watch for bearish divergence or momentum exhaustion
- **Green background (RSI < 30)**: Oversold—watch for bullish divergence or momentum recovery
- **No background (30-70)**: Neutral zone—rely on structure and BOS for directional bias
---
## **Strategy Integration**
RSI Candles Pro integrates seamlessly into momentum-based and reversal trading systems:
### **Trend Continuation Strategies**
- **Entry trigger**: Bullish BOS in rising RSI EMA context with strong candle (large dot)
- **Confirmation**: Price respecting S/R line as support on pullback
- **Exit**: Bearish divergence or RSI candle indecision (doji) at pivot resistance
### **Reversal Strategies**
- **Setup**: Divergence forming in extreme zone (RSI > 70 or < 30)
- **Trigger**: RSI structure break opposite to prevailing trend (bearish BOS in uptrend)
- **Confirmation**: RSI EMA slope change + decisive candle in reversal direction
- **Entry**: On pullback to S/R line or pivot level
### **Momentum Fade Strategies**
- **Signal**: Small strength dots appearing in extreme zones
- **Setup**: RSI touching pivot resistance/support with indecision candle
- **Entry**: Opposite-direction candle with medium/large dot
- **Stop**: Beyond recent RSI structure level
### **Structure-Based Entries**
- **Align higher-timeframe RSI trend** (EMA slope direction)
- **Wait for lower-timeframe BOS** in alignment with higher trend
- **Enter on retest** of S/R line with strength confirmation (large dot)
- **Scale out** at next pivot level or divergence signal
### **Multi-Indicator Confluence**
Combine RSI Candles Pro with:
- **Price structure indicators** (Smart Money Concepts, market structure) for trade direction
- **Volume indicators** to confirm momentum with participation
- **Volatility indicators** (ATR, Bollinger Bands) for position sizing context
- **Institutional Zone Detector** for volume profile alignment—RSI BOS + price at VAL/VAH = high-conviction entry
### **Multi-Timeframe Coordination**
- **Higher timeframe** (4H-Daily): Identify RSI EMA trend direction and major structure
- **Lower timeframe** (15min-1H): Execute entries on BOS signals aligned with higher timeframe
- **Micro timeframe** (1-5min): Fine-tune entries using strength dots and pivot reactions
---
## **Technical Implementation Details**
### **Core Engine**
- **RSI OHLC calculation**: Four independent RSI computations per bar create candlestick representation
- **Strength scoring**: Multi-factor composite algorithm quantifies momentum conviction
- **Dynamic transparency**: Real-time opacity adjustment based on strength score
### **Structural Framework**
- **Pivot-based swing detection**: Configurable left/right bar lookback with cooloff mechanism
- **Line and zone visualization**: Connects consecutive swings with shaded support/resistance regions
- **Array-based storage**: Previous swing values preserved for BOS comparison logic
### **BOS Detection Engine**
- **Dual-condition logic**: Structure break + trend alignment (RSI EMA slope) required
- **Automatic S/R projection**: Lines, zones, and labels generated upon BOS events
- **Cooloff management**: Prevents signal spam during extended directional moves
### **Divergence System**
- **Price-RSI pivot comparison**: Detects higher-high/lower-high and lower-low/higher-low patterns
- **Zone filtering**: Divergences only trigger in appropriate zones (above/below 50)
- **Visual markers**: Triangle shapes with "DIV" text for instant recognition
### **Auto Pivot Management**
- **Dynamic level tracking**: Arrays store lines, values, and labels
- **Duplicate filtering**: Prevents redundant lines within 2 RSI points
- **Capacity control**: Automatic removal of oldest lines when maximum reached
- **Optional extension**: Lines can extend infinitely right for persistent reference
### **Performance Profile**
- **Lightweight computation**: Efficient pivot detection and array management
- **Real-time responsiveness**: Immediate updates on bar close
- **Scalable across timeframes**: Maintains clarity from 1-minute to daily charts
- **Configurable visual elements**: All features can be toggled for custom layouts
---
## **Optimal Application Parameters**
### **Timeframe Guidance**
**1-5 Minute Charts (Scalping):**
- RSI Length: 9-11 (faster response)
- RSI EMA Length: 5-7
- Structure Lookback: 3-4
- Pivot Lookback: 3-4
- Use Case: Micro momentum shifts, quick BOS entries
**15-60 Minute Charts (Intraday Swing):**
- RSI Length: 14 (standard)
- RSI EMA Length: 9
- Structure Lookback: 5
- Pivot Lookback: 5
- Use Case: Intraday structure breaks, divergence reversals
**4 Hour - Daily Charts (Position Trading):**
- RSI Length: 14-21
- RSI EMA Length: 13-21
- Structure Lookback: 7-10
- Pivot Lookback: 7-10
- Use Case: Major momentum shifts, high-timeframe divergences
### **Suggested Configuration (Default)**
- **RSI Length**: 14 (industry standard)
- **RSI EMA Length**: 9 (smooth but responsive)
- **Overbought Level**: 70
- **Oversold Level**: 30
- **Structure Lookback**: 5 bars
- **Structure Cooloff**: 8 bars
- **BOS Cooloff**: 10 bars
- **S/R Extension**: 20 bars
- **S/R Buffer**: 0.5 RSI points
- **Pivot Lookback**: 5 bars
- **Max Pivot Lines**: 4 per side
- **Divergence Lookback**: 5 bars
- Use strength dots as primary filter—require large dots for entries
- Rely heavily on divergences and structure zones
**Trending Markets:**
- Focus on BOS signals aligned with RSI EMA slope
- Use pivot lines as profit targets
- Ignore counter-trend divergences until RSI EMA changes slope
**Ranging Markets:**
- Emphasize divergences at extreme levels
- Trade bounces from pivot lines
- Reduce reliance on BOS signals (more false breaks)
---
## **Performance Characteristics**
### **High Effectiveness:**
- **Trending markets with clear momentum cycles**: RSI structure aligns with price structure for reliable BOS signals
- **Markets with defined swing patterns**: Pivot lines and structure zones provide accurate support/resistance
- **Divergence-prone assets**: Assets that respect momentum/price divergences (equities, major FX pairs)
- **Timeframes with sufficient volatility**: RSI candles show meaningful patterns when price moves decisively
### **Reduced Effectiveness:**
- **Choppy, sideways markets**: RSI oscillates around 50 with no structural pattern, generating false BOS signals
- **Low-liquidity assets**: Erratic price action creates unreliable RSI swings
- **News-driven volatility spikes**: Sudden moves invalidate structure and create whipsaws
- **Extremely low timeframes (< 1 minute)**: Noise overwhelms signal, structure breaks lack follow-through
### **Optimal Market Conditions:**
- **Clear momentum phases** with defined RSI EMA trend
- **Respect for previous swing levels** in RSI space
- **Volume participation** during BOS events (combine with volume indicator)
- **Alignment between RSI structure and price structure**
---
## **Integration Guidelines**
### **Confluence Framework**
Combine RSI Candles Pro with:
1. **Volume analysis** (Institutional Zone Detector, volume profile) to confirm RSI BOS with volume participation
2. **Price structure** (Smart Money Concepts, order blocks) to align RSI momentum with price levels
3. **Trend indicators** (moving averages, Supertrend) for higher-timeframe directional bias
4. **Volatility indicators** (ATR, Bollinger Bands) for stop-loss and profit target placement
### **Directional Control**
- **Never trade against RSI EMA slope** unless high-conviction divergence present
- **Require BOS alignment** with RSI EMA direction for continuation trades
- **Wait for RSI EMA slope change** before taking counter-trend reversals
### **Risk Calibration**
- **Stop-loss placement**: Beyond recent RSI structure swing (converted to price)
- **Position sizing**: Larger positions for strong candles (large dots) at BOS events
- **Profit targets**: Next pivot line level or opposite-zone boundary (70/30)
- **Trail stops**: Use S/R lines as trailing stop levels after BOS
### **Multi-Timeframe Synergy**
1. **Check higher timeframe** (3x-5x current): RSI EMA slope and major structure
2. **Identify current timeframe**: BOS events and divergences
3. **Execute on lower timeframe** (1/3x-1/5x current): Strength-confirmed entries at pivot levels
4. **Align all timeframes**: Only trade when RSI structure agrees across timeframes
### **Alert Strategy**
Enable alerts for:
- **RSI BOS events**: Immediate notification of momentum structure breaks
- **Divergences**: Early warning of potential reversals
- **Extreme zone entries**: RSI crossing 70/30 levels
- **RSI EMA trend changes**: Shifts in momentum trend direction
---
## **Disclaimer**
The RSI Candles Pro indicator is a professional-grade momentum visualization and structural analysis tool. It is not predictive or guaranteed profitable; performance depends on parameter tuning, market regime, and disciplined execution.
**Key Considerations:**
- RSI is a **derivative indicator** (calculated from price), not a leading indicator—it confirms momentum but does not predict future price
- **Divergences can persist** for extended periods; early entries may require multiple attempts
- **BOS signals may fail** in choppy markets; always use stop-losses and risk management
- **Optimal parameters vary** by asset, timeframe, and volatility regime—backtesting recommended
- **No indicator works in isolation**; combine with price action, volume, and market context
**Best Practices:**
- Paper trade new configurations before risking capital
- Maintain a trading journal to identify which signals work best for your style
- Adjust cooloff periods and lookback lengths based on asset characteristics
- Use in conjunction with fundamental analysis and broader market context
- Never risk more than 1-2% of capital per trade, regardless of indicator signals
This indicator is designed to enhance decision-making, not replace it. Traders should integrate RSI Candles Pro into a comprehensive analytical framework that includes price structure, volume analysis, and risk management protocols. Success requires consistent application of tested strategies, emotional discipline, and continuous adaptation to changing market conditions.
FVG Supply and DemandThis indicator combines powerful tools into one:
• Supply & Demand Zones built from swing highs/lows with ATR-based zone width, POI markers, and Break-of-Structure (BOS) detection.
• Volumized Fair Value Gaps (FVGs) showing bullish/bearish gaps, total volume inside the gap, volume distribution, optional zone-combining, and auto-cleanup.
• Swing TSL Line and manage bar color.
It helps visualize key imbalance areas, institutional zones, and price reaction points.
Credits to the Author.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not provide trading advice.
Past results do not guarantee future outcomes.
Use responsibly and in conjunction with your market analysis.
Universal_Position Size Calculator_by PaulinusFTMO Position Size Calculator - Professional Risk Management Tool
The ultimate position sizing calculator designed specifically for FTMO traders and professional risk managers.
🎯 What Does This Indicator Do?
This powerful calculator automatically determines the exact lot size you should trade based on your account size, risk tolerance, and stop loss distance. No more manual calculations or guesswork - just enter your trade parameters and get instant, accurate position sizing.
✨ Key Features
📈 Two Calculation Methods:
Entry/Stop Price Method: Enter your exact entry and stop loss prices - perfect for planned trades
Stop Loss Pips Method: Simply enter your stop loss distance in pips - ideal for quick calculations
💰 Complete Risk Management:
Calculates precise position size in lots
Shows actual dollar risk amount
Displays potential profit based on your risk:reward ratio
Automatic risk percentage calculation
Real-time updates as you adjust parameters
🌍 Multi-Asset Support:
Cryptocurrencies: BTC, ETH, XRP, LTC, BCH, BNB, ADA
Forex Pairs: All major and cross pairs (EUR/USD, GBP/USD, USD/JPY, etc.)
Commodities: Gold (XAU/USD), Oil (USOIL)
Indices: US30, US100, SPX500
🎨 Professional Interface:
Clean, easy-to-read table display
Customizable position (9 locations on chart)
Adjustable text size (Tiny, Small, Normal, Large)
Toggle detailed breakdown on/off for simplified view
Visual entry, stop loss, and take profit lines on chart
🔧 FTMO-Optimized:
Pre-configured with accurate FTMO contract specifications
Built-in contract sizes for all supported instruments
Minimum lot size requirements automatically applied
Perfect for FTMO Challenge and Verification phases
📋 How To Use
Method 1: Entry/Stop Price
Select your trading pair
Enter your account balance
Set your risk percentage (typically 1-2% for FTMO)
Choose your risk:reward ratio (e.g., 1:2, 1:3)
Enter your planned entry price
Enter your stop loss price
Get instant position size in lots!
Method 2: Stop Loss Pips
Select your trading pair
Enter your account balance
Set your risk percentage
Choose your risk:reward ratio
Enter your stop loss distance in pips
Get instant position size in lots!
📊 What You'll See
Essential Information (Always Visible):
Trading Pair
Account Balance
Risk Percentage
Risk Amount in Dollars
Target Profit Ratio
POSITION SIZE IN LOTS ⬅️ Your main result
Detailed Breakdown (Optional):
Entry Price / Stop Loss / Take Profit
Stop Loss Distance in pips
Contract Size
Actual Risk Amount
Potential Profit in Dollars
🎓 Perfect For:
✅ FTMO Challenge traders
✅ Prop firm traders
✅ Professional risk managers
✅ Swing and day traders
✅ Anyone who wants consistent position sizing
✅ Traders working on passing funded accounts
💡 Why Use This Calculator?
Eliminate Calculation Errors: No more spreadsheets or manual math - get accurate results instantly.
Stay Consistent: Maintain proper risk management on every single trade.
Save Time: Calculate position sizes in seconds, not minutes.
Protect Your Capital: Never risk more than your intended percentage.
Maximize Efficiency: Focus on trading, not calculating.
⚠️ Important Notes
This calculator uses standard FTMO contract specifications
Always verify lot sizes with your broker before placing trades
Recommended risk per trade: 1-2% for FTMO accounts
The calculator rounds to minimum lot sizes automatically
Visual lines only appear when using Entry/Stop Price method
🔒 Professional Tool
This is a protected indicator with clean, optimized code designed for serious traders who value accuracy and efficiency.
📝 Settings Guide
Table Position: Choose where the calculator appears on your chart
Table Text Size: Adjust for your screen and preference
Calculation Method: Switch between price-based or pip-based calculations
Account Balance: Your total account size
Risk Per Trade: Percentage you're willing to risk (0.1% - 5%)
TP Risk:Reward Ratio: Your target profit ratio (e.g., 2 = 1:2 RR)
Show Detailed Breakdown: Toggle extra information on/off
🚀 Start Trading With Confidence
Stop guessing your position sizes. Start using professional risk management today.
⭐ If this indicator helps your trading, please leave a review and share it with fellow traders!
By Paulinus © 2025
Volume Flow Anatomy [Kodexius]Volume Flow Anatomy is a dynamic, multi-dimensional volume map that reconstructs how buy, sell, and “stealth” activity is distributed across price rather than just across time. Instead of relying on a static, session-based volume profile, it uses an exponentially decaying memory of recent bars to build a constantly evolving “anatomy” of the auction, where each price level carries an adaptive history of order flow.
The script separates buy vs. sell pressure, adds a third “Stealth Flow” dimension for low-volume price movement (ease of movement / divergence), and automatically derives POC, Value Area, imbalances, absorption zones, and classic profile shapes (D, P, b, B). This gives the trader a compact but highly information-dense map on the right side of the chart to read control (buyers vs. sellers), structure (balanced vs. trending vs. double distribution), and key reaction levels (support/resistance born from flow, not just wicks).
🔹 Features
🔸 Dynamic Lookback with Decay
- The script computes an effective lookback N from the Decay Factor and caps it with Max Lookback.
- Higher decay keeps more history; lower decay emphasizes the most recent flow.
- The profile continuously adapts as new bars are printed.
🔸 Price-Bucketed Flow Map
Each bucket accumulates:
- Sell Flow (sell pressure)
- Buy Flow (buy pressure)
- Stealth Flow (low-volume price movement)
- Box width at each bucket is proportional to the relative intensity of that component.
🔸 Stealth Flow (Low-Volume Price Movement)
- Measures close to close movement relative to volume, emphasizing price movement that occurs on comparatively low volume.
- Helps reveal hidden participation, inefficient moves, and areas that may be vulnerable to re-tests or reversions.
🔸 POC & 70% Value Area (VA)
- Identifies the Point of Control (price bucket with the highest total volume) over the effective lookback.
- Builds a 70% Value Area by expanding from POC towards the nearest high volume neighbors until 70% of the total volume is included.
- POC is drawn as a line over the analyzed range; VA is displayed as a shaded band in the profile area.
🔸 Market Profile Shape Detection
Splits the profile vertically into three zones (bottom / middle / top) and compares their volume distribution.
Classifies structure as:
- D-Shape (Balanced)
- P-Shape (Short Covering)
- b-Shape (Long Liquidation)
- B-Shape (Double Distribution)
Displays a shape label with color coded bias for quick auction context interpretation.
🔸 Imbalance Zones & Absorption
Imbalance: detects buckets where Buy Flow or Sell Flow exceeds the opposite side by at least Imbalance Ratio.
Absorption: flags zones with high volume but low price “ease”, where price is not moving much despite significant volume.
Extends these levels into horizontal zones, marking potential support/resistance and trap areas.
Bullish Imbalance Zone :
Bearish Imbalance Zone :
Absorption Zone :
🔸 Range Context & On-Chart Legend
Draws a Range Box covering the dynamically determined lookback (N bars), with a label displaying the effective bar count.
A bottom-right legend summarizes:
- Color keys for Buy / Sell / Stealth
- POC / VA status
- Bullish vs. Bearish dominance percentage
- Profile shape classification
- Imbalance and Absorption conventions
🔹 Calculations
1. Dynamic Lookback & Price Buckets
int N = math.min(int(4 / (1 - decayFactor) - 1), maxHistory)
float priceHigh = ta.highest(high, N)
float priceLow = ta.lowest(low, N)
float bucketSize = (priceHigh - priceLow) / bucketCount
The effective lookback N is derived from the Decay Factor, using the approximation 4 / (1 - decay) to capture roughly 99% of the decayed influence, then capped with maxHistory to control performance. Over that adaptive range, the script finds the highest and lowest prices and divides the band into bucketCount equal slices (bucketSize). Each slice is a price bucket that will accumulate volume-flow information.
2. Exponentially Decayed Volume Allocation
addValue(array profile, float weight, float minPrice, float maxPrice) =>
for j = 0 to bucketCount - 1
float bucketMin = priceLow + j * bucketSize
float bucketMax = bucketMin + bucketSize
float overlapMin = math.max(minPrice, bucketMin)
float overlapMax = math.min(maxPrice, bucketMax)
float overlapRange = overlapMax - overlapMin
if overlapRange > 0
profile.set(j, profile.get(j) * decayFactor + weight * overlapRange)
This function is the core engine of the indicator. For a given price span and intensity, it checks every bucket for overlap, distributes the weight proportionally to the overlapping range, and before adding new value, decays the existing bucket content by decayFactor. This results in an exponentially weighted profile: recent activity dominates, while older levels retain a gradually fading footprint.
3. POC and 70% Value Area
array totalProfile = array.new(bucketCount, 0)
for j = 0 to bucketCount - 1
float total = sellProfile.get(j) + buyProfile.get(j)
totalProfile.set(j, total)
if total > eaMax
eaMax := total
int pocIdx = 0
float pocVal = 0.0
for j = 0 to bucketCount - 1
if totalProfile.get(j) > pocVal
pocVal := totalProfile.get(j)
pocIdx := j
float totalSum = totalProfile.sum()
float targetSum = totalSum * 0.70
int vaLow = pocIdx
int vaHigh = pocIdx
float currentSum = pocVal
while currentSum < targetSum and (vaLow > 0 or vaHigh < bucketCount - 1)
float lowVal = vaLow > 0 ? totalProfile.get(vaLow - 1) : 0.0
float highVal = vaHigh < bucketCount - 1 ? totalProfile.get(vaHigh + 1) : 0.0
First, totalProfile is built as the sum of buy and sell flow per bucket, and eaMax (the maximum total) is tracked for later normalization. The POC bucket (pocIdx) is simply the index with the highest totalProfile value.
To compute the 70% Value Area, the algorithm starts at the POC bucket and expands outward, each step adding either the upper or lower neighbor depending on which has more volume. This continues until the cumulative volume reaches 70% of totalSum. The result is a volume-driven VA, not necessarily symmetric around POC, which more accurately represents where the market has truly traded.
4. Market Profile Shape Classification
float volTopThird = 0.0
float volMidThird = 0.0
float volBotThird = 0.0
int thirdIdx = int(bucketCount / 3)
for j = 0 to bucketCount - 1
float val = totalProfile.get(j)
if j < thirdIdx
volBotThird += val
else if j < thirdIdx * 2
volMidThird += val
else
volTopThird += val
float totalVolShape = totalProfile.sum()
string shapeStr = "D-Shape (Balanced)"
if (volTopThird > totalVolShape * 0.20) and (volBotThird > totalVolShape * 0.20) and (volMidThird < totalVolShape * 0.50)
shapeStr := "B-Shape (Double Dist)"
else
if pocIdx > bucketCount * 0.5 and volTopThird > volBotThird * 1.3
shapeStr := "P-Shape (Short Covering)"
else if pocIdx < bucketCount * 0.5 and volBotThird > volTopThird * 1.3
shapeStr := "b-Shape (Long Liquidation)"
else
shapeStr := "D-Shape (Balanced)"
The profile is split into bottom, middle, and top thirds. The script compares how much volume is concentrated in each and combines that with the relative location of POC. If both extremes are heavy and the middle light, it labels a B-Shape (double distribution). If the POC is high and the top dominates the bottom, it’s a P-Shape (short covering). If the POC is low and the bottom dominates, it’s a b-Shape (long liquidation). Otherwise, it defaults to a D-Shape (balanced). This provides a quick, at-a-glance assessment of auction structure.
5. Imbalances, Absorption & Zones
bool isBuyImb = showImb and sVal > 0 and (bVal / sVal >= imbRatio)
bool isSellImb = showImb and bVal > 0 and (sVal / bVal >= imbRatio)
float volRatio = eaMax > 0 ? tVal / eaMax : 0
float stRatio = esmRange > 0 ? (stVal - esmMin) / esmRange : 1.0
bool isAbsorp = showAbsorp and volRatio > 0.6 and stRatio < 0.25
if showImbZone
if isSellImb
zoneBoxes.push(box.new(bar_index - N + 1, bucketHi, bar_index + 1, bucketLo, ...))
if isBuyImb
zoneBoxes.push(box.new(bar_index - N + 1, bucketHi, bar_index + 1, bucketLo, ...))
if isAbsorp
zoneBoxes.push(box.new(bar_index - N + 1, bucketHi, bar_index + 1, bucketLo, ...))
Imbalances are identified where one side’s volume (buy or sell) exceeds the other by at least Imbalance Ratio. These buckets are marked as buy or sell imbalance zones, indicating aggressive participation from one side.
Absorption is detected by combining a high volume ratio (volRatio) with a low normalized stealth ratio (stRatio). High volume with limited price movement suggests that opposing orders are absorbing flow at that level. Both imbalance and absorption buckets are extended into horizontal zones from the start of the lookback to the current bar, visually emphasizing key support/resistance and liquidity areas.
6. Building Buy, Sell & Stealth Profiles
sellProfile := array.new(bucketCount, 0)
buyProfile := array.new(bucketCount, 0)
stealthProfile := array.new(bucketCount, 0)
Three arrays are used to store Sell Flow, Buy Flow, and Stealth Flow. Bars are processed from oldest to newest so that decay is applied in correct chronological order. For each bar, a volume density (volume / range) is calculated and distributed across the candle range. Bull candles feed buyProfile, bear candles feed sellProfile.
Stealth Flow computes the close-to-close move between consecutive bars, scaled by 1 / (1 + volume). Big moves on low volume produce high stealth values, which are then allocated across the move’s price span into stealthProfile. This yields a three-layer profile per price level: directional volume and stealthy price movement.
Trend Gazer: Unified ICT Trading System with Signals# Trend Gazer User Guide (English)
## 📖 Table of Contents
1. (#about-this-indicator)
2. (#quick-start-guide-3-steps)
3. (#detailed-usage)
4. (#settings-customization)
5. (#why-combine-multiple-features)
6. (#faq)
---
## About This Indicator
**Trend Gazer** is an integrated trading system designed to read institutional order flow like professional traders.
### 🎯 3 Problems This Indicator Solves
#### ❌ Problem 1: Too Many Indicators = Information Overload
```
Normal: RSI + MACD + Moving Average + Bollinger Bands... → Cluttered chart
Solution: All integrated into ONE indicator → Clean & Clear
```
#### ❌ Problem 2: Single Indicators Give False Signals
```
Normal: Enter based on RSI alone → Frequent stop-outs
Solution: Structure × Zone × Momentum multi-angle confirmation → Higher win rate
```
#### ❌ Problem 3: Unclear Entry Timing
```
Normal: Know the trend but don't know WHERE to enter
Solution: LS Bounce Signal shows EXACT entry points
```
---
## Quick Start Guide (3 Steps)
### 🚀 STEP 1: Confirm Trend Direction
**Look for CHoCH (Change of Character)**
```
📍 (1.CHoCH) label = Uptrend starting
📍 (a.CHoCH) label = Downtrend starting
```
**Important**: Wait for CHoCH! No direction without it.
---
### 🎯 STEP 2: Find Entry Points
**Wait for LS Bounce Signal (green/red labels)**
```
🟢 "Long@ HL only" label → LONG (buy) candidate
🔴 "Short@ LH only" label → SHORT (sell) candidate
```
**Label text color meaning**:
- **White text**: Clean trend (high confidence)
- **Yellow text**: Trend transition (moderate caution)
---
### 🛡️ STEP 3: Final Confirmation with Bar Color
**Bar color shows market state**
```
🔴 Red bar: BUY zone (buying is favored)
🟢 Green bar: SELL zone (selling is favored)
⚪ White bar: Neutral (wait and see)
```
---
## Detailed Usage
### 📊 Understanding the Chart
#### 1. Labels (Market Structure Changes)
```
(1.CHoCH) / (a.CHoCH) : Trend reversal
(2.SiMS) / (b.SiMS) : Momentum confirmation
(3.BoMS) / (c.BoMS) : Trend continuation
```
#### 2. Boxes (Institutional Order Zones)
```
📦 Blue boxes: Bullish OB (buy orders accumulated)
📦 Red boxes: Bearish OB (sell orders accumulated)
📦 Black transparent boxes: Liquidity Sweep
```
**How to use Order Blocks**:
- Function as support/resistance
- Signals within OB have higher reliability
- Use for stop-loss placement
#### 3. Lines (Trends and Support/Resistance)
```
━━━ Red lines: EMA20, EMA50, EMA100 (short to mid-term trends)
━━━ Blue lines: 60min NPR/BB bands (support/resistance)
```
#### 4. Bar Colors (Filter 6)
```
Bar color = Real-time market state
🔴 Red: Buying is favored
🟢 Green: Selling is favored
⚪ White: Neutral
```
---
### 🎯 Practical Trading Flow
#### 📍 Preparation Phase
```
1. Open chart (recommended: 5min or 15min)
2. Add Trend Gazer to chart
3. Start in observation mode (don't enter yet)
```
#### 📍 Entry Decision
```
✅ CHoCH confirms direction → Uptrend starting
✅ LS Bounce Signal "Long@ HL only" appears
→ Entry point candidate
✅ Bar turns red → Market supports buying
→ Entry decision 🎯
✅ Place stop below nearest Order Block (blue box)
```
#### 📍 Exit Decision
```
🔴 Opposite LS Bounce Signal "Short@ LH only" appears
→ Consider taking profit
🔴 Bar turns green
→ Potential trend reversal, review position
🔴 Stop loss hit
→ Exit with loss
```
---
### 💡 Tips for Higher Win Rate
#### ✅ DO's
```
1. Enter AFTER CHoCH appears
2. Prioritize white-text LS Bounce Signals
3. Check higher timeframe (1H or Daily) trend
4. Emphasize signals within Order Blocks
5. Use bar color as final confirmation
```
#### ❌ DON'Ts
```
1. Enter before CHoCH → No clear direction
2. Enter only on yellow text → Unstable transition period
3. Ignore bar color → Trading against market state
4. Don't check Order Blocks → Unclear support/resistance
5. Enter same direction consecutively → Overtrading
```
---
## Settings Customization
### 🔧 How to Open Settings
```
1. Right-click on indicator name on chart
2. Select "Settings..."
3. Settings panel opens
```
---
### 📋 Recommended Setting Profiles
#### 🔰 Beginner Settings (Simple)
**Goal**: Reduce noise, show only important signals
```
【FILTERS】
✅ Bonus Filter: ON
✅ Filter 6 (OB/BB/NPR Zone Filter): ON
❌ Direction Filter: OFF
❌ Liquidation Reversal Filter: OFF
❌ ICT Market Structure Filter: OFF
❌ EMA Trend Filter: OFF
❌ OB/FVG Filter 1: OFF
❌ OB/FVG Filter 2: OFF
【SIGNALS】
✅ Signal 0 (Bonus): ON
✅ Signal 1 (VWC Change): ON
✅ Signal 2 (Liq Rev): ON
❌ Signal 3 (LS): OFF (complex alone)
❌ Signal 4 (LS Break): OFF
❌ Signal 5 (OB+LS NPR): OFF
❌ Signal 6 (OB+LS EMA): OFF
【LS BOUNCE SIGNAL】
✅ Exclude EMA50 from touch detection: OFF
❌ Only show when EMA fills are mixed: OFF
```
**What happens with this setup**:
- Only Bonus (black background) signals display
- LS Bounce Signals clearly visible
- Noisy signals filtered out
---
#### 💪 Intermediate Settings (Balanced)
**Goal**: Enable key filters for better accuracy
```
【FILTERS】
✅ Bonus Filter: ON
✅ Filter 6 (OB/BB/NPR Zone Filter): ON
✅ ICT Market Structure Filter: ON
❌ Direction Filter: OFF
❌ Liquidation Reversal Filter: OFF
❌ EMA Trend Filter: OFF
❌ OB/FVG Filter 1: OFF
❌ OB/FVG Filter 2: OFF
【SIGNALS】
✅ Signal 0 (Bonus): ON
✅ Signal 1 (VWC Change): ON
✅ Signal 2 (Liq Rev): ON
✅ Signal 3 (LS): ON
❌ Signal 4 (LS Break): OFF
❌ Signal 5 (OB+LS NPR): OFF
❌ Signal 6 (OB+LS EMA): OFF
【LS BOUNCE SIGNAL】
✅ Exclude EMA50 from touch detection: OFF
❌ Only show when EMA fills are mixed: OFF
```
**What happens with this setup**:
- Signals only after CHoCH (trend confirmed)
- Filter 6 changes bar colors
- Liquidity Sweeps also displayed
---
#### 🚀 Advanced Settings (Full Utilization)
**Goal**: Master all features
```
【FILTERS】
✅ Bonus Filter: ON
✅ Filter 6 (OB/BB/NPR Zone Filter): ON
✅ ICT Market Structure Filter: ON
✅ Direction Filter: ON
✅ EMA Trend Filter: ON
❌ Liquidation Reversal Filter: OFF (optional)
✅ OB/FVG Filter 1: ON
✅ OB/FVG Filter 2: ON
【SIGNALS】
✅ All ON
【LS BOUNCE SIGNAL】
✅ Exclude EMA50 from touch detection: ON (reduce EMA50 noise)
✅ Only show when EMA fills are mixed: ON (show only transition zones)
```
**What happens with this setup**:
- Fewer signals (precision-focused)
- Multiple confirmations greatly reduce false signals
- Only signals confirmed by trend, momentum, and zones
---
### 🎨 Display Customization
#### Change Label Size
```
【BUY/SELL SIGNAL APPEARANCE】
→ "BUY/SELL Label Size"
→ Choose from: tiny / small / normal / large / huge
Recommended: small (default)
```
#### Order Block Display Settings
```
【ORDER BLOCK (OB) SETTINGS】
✅ Show Current TF OB: Current timeframe OB
✅ Show 1min OB: 1-minute OB
✅ Show 5min OB: 5-minute OB
✅ Show 15min OB: 15-minute OB
Recommended: Only 15min OB ON (simple)
```
#### Liquidity Sweep Display
```
【LIQUIDITY SWEEPS SETTINGS】
→ "Sweep Length": Sensitivity (small=frequent, large=selective)
→ "Sweep Option": Standard / Maximum
Recommended: Length=40, Option=Standard
```
#### NPR/BB Bands Display
```
【NPR (NON-REPAINT STDEV) SETTINGS】
✅ Display 60min NPR Bands: 60-minute support/resistance
❌ Display Current TF NPR Bands: Current timeframe (optional)
Recommended: Only 60min ON
```
---
### ⚙️ Advanced Settings
#### Fine-tune Filter 6
```
【FINAL FILTERS】
→ "Enable Filter 6 (OB/BB/NPR Zone Filter)"
When ON:
- Bars color-coded red/green/white
- Behavior at OB, NPR/BB touches controlled
```
#### LS Bounce Signal Adjustments
```
【LS BOUNCE SIGNAL】
→ "Exclude EMA50 from touch detection"
OFF: Detect NPR/BB/EMA50 (all 3)
ON: Detect NPR/BB only (exclude EMA50)
→ "Only show when EMA fills are mixed"
OFF: Show all LS Bounce Signals
ON: Show only transition zone signals (yellow text)
```
#### MTF (Multi-Timeframe) Control
```
【ORDER BLOCK (OB) SETTINGS】
→ "Disable MTF on 1hr+ Charts"
ON: Disable MTF on 1H+ (save memory)
OFF: MTF enabled on all timeframes
Recommended: ON (unnecessary on larger timeframes)
```
---
### 🎯 Purpose-Based Configuration Guide
#### 🔍 Goal 1: Reduce Signal Count
```
✅ Bonus Filter: ON
✅ ICT Market Structure Filter: ON
✅ Filter 6: ON
✅ All Signals OFF, only Signal 0 ON
```
#### 🔍 Goal 2: Get More Signals
```
❌ All Filters OFF
✅ All Signals ON
```
#### 🔍 Goal 3: Trend Following Only
```
✅ ICT Market Structure Filter: ON
✅ Direction Filter: ON
✅ EMA Trend Filter: ON
```
#### 🔍 Goal 4: Counter-Trend Trading
```
✅ LS Bounce Signal: ON
✅ Filter 6: ON
❌ ICT Market Structure Filter: OFF
```
#### 🔍 Goal 5: Day Trading (5-15min charts)
```
✅ Show 15min OB: ON
✅ Display 60min NPR Bands: ON
✅ LS Bounce Signal: ON
❌ Show 1min/5min OB: OFF
```
#### 🔍 Goal 6: Scalping (1-5min charts)
```
✅ Show 5min OB: ON
✅ Show 15min OB: ON
✅ Display 60min NPR Bands: ON
✅ All Signals: ON
```
---
### 💾 Saving and Loading Settings
#### Save Settings
```
1. Click "..." in top-right of Settings screen
2. Select "Save as default"
→ Same settings auto-applied next time
```
#### Reset Settings
```
1. Click "..." in top-right of Settings screen
2. Select "Reset settings"
→ Return to default settings
```
---
## Why Combine Multiple Features?
### 🎯 Problem: Single Indicator Limitations
Common trader problems:
```
❌ RSI alone → Trade against trend, lose
❌ Moving Average alone → Late entry timing
❌ Support/Resistance alone → Caught by false breakouts
```
**Markets are complex**. One angle isn't enough.
---
### 💡 Solution: Multi-Angle Integrated Approach
#### 1️⃣ Structure × Zone × Momentum
```
📐 Structure (ICT CHoCH)
→ "Which direction is likely?"
📦 Zone (OB/NPR/BB)
→ "Where will price react?"
💨 Momentum (EMA/VWC)
→ "Is there momentum now?"
```
**When all 3 align = Highest win-rate timing**
---
#### 2️⃣ Multi-Timeframe Analysis
```
Big picture: Confirm Daily direction
Medium-term: Check 1H Order Blocks
Short-term: Time entry on 5min
```
**Short-term entries aligned with higher timeframes = Better win rate**
---
#### 3️⃣ Understanding Liquidity
```
🎣 Institutional strategy:
1. Intentionally move price opposite to stop out retail
2. Then, move in real direction
💡 Liquidity Sweep = Visualize this "trap"
→ Read institutional order flow
```
---
### 🧠 Integration Examples
#### Case 1: RSI Alone vs Integrated System
**Scenario**: RSI at 30 (oversold)
```
❌ RSI-only decision:
→ "Buy!"
→ But downtrend continues, loss 😢
✅ Trend Gazer:
CHoCH check → Still downtrend ❌
Order Block → In Bearish OB ❌
LS Bounce → SHORT signal only ❌
→ Skip or SHORT
→ Avoid loss ✅
```
**Result**: Multiple filters block wrong entry
---
#### Case 2: LS Bounce Signal 2-Stage Logic
**Scenario**: Price touches 60min NPR lower band
```
🔍 Traditional method:
Touched → Buy!
→ But price continues down 😢
✅ Trend Gazer:
Stage 1: NPR touch + red bar → Flag ON
Stage 2: EMA20 crosses above EMA50 → Confirm bounce
→ Now "Long@ HL only" displays
→ Entry → Success ✅
```
**Result**: Not just "touch" but "touch + bounce confirmation" improves accuracy
---
### 🎓 Progressive Learning Design
This indicator is designed for **beginners to advanced**:
```
📖 Beginner (Month 1):
Use only CHoCH + LS Bounce Signal
→ Learn trend and entry points
📖 Intermediate (Months 2-3):
Add Order Block + Bar Color
→ Learn support/resistance and filtering
📖 Advanced (Month 6+):
Master all features
→ Read institutional order flow
```
**Ultimate goal**: Indicator becomes confirmation tool. Your market sense becomes primary.
---
### 🔬 Technical Advantages
#### 1. Non-Repaint STDEV (NPR)
```
Normal Bollinger Bands:
→ Past data changes (repaints)
→ Inaccurate backtesting
NPR:
→ Past data doesn't change (non-repaint)
→ Reliable verification possible
```
#### 2. 2-Stage Signal Logic
```
Traditional: Condition met → Immediate signal
→ Many false signals
Trend Gazer: Condition1 → Flag ON → Condition2 → Signal
→ Confirmation step improves accuracy
```
#### 3. Alternating Filter
```
Problem: Same-direction signals spam
→ Overtrading
Solution: LONG → SHORT → LONG alternating only
→ Prevent unnecessary entries
```
---
### 💎 Conclusion: Why Integration?
```
Single indicator = "Partial truth"
Integrated system = "3D market perspective"
```
**Markets are multifaceted**. One angle isn't enough.
Trend Gazer **integrates multiple screens pros watch simultaneously into ONE**,
allowing beginners to read charts with institutional perspective.
---
## FAQ
### ❓ Q1: Which timeframe is best?
**A**: Depends on trading style
```
Scalping: 1min ~ 5min
Day Trading: 5min ~ 15min
Swing: 1H ~ 4H
```
**Important**: LS Bounce Signal only works on 30min and below.
---
### ❓ Q2: Too many signals, confused
**A**: Enable filters
```
【Recommended Settings】
✅ Bonus Filter: ON
✅ Filter 6: ON
✅ ICT Market Structure Filter: ON
→ Show only Signal 0
```
This significantly reduces signal count.
---
### ❓ Q3: No CHoCH appearing, what to do?
**A**: Wait or check higher timeframe
```
Method 1: Wait for CHoCH (recommended)
Method 2: Check higher timeframe (e.g., Daily) for trend
Method 3: Disable ICT Filter (not recommended)
```
**When trend is unclear, sitting out is also strategy**.
---
### ❓ Q4: LS Bounce Signal not appearing
**A**: Checkpoints
```
1. Are you on 30min or below chart?
→ Doesn't show on 1H+
2. Are NPR/BB bands displayed?
→ Check Settings "Display 60min NPR Bands"
3. Is EMA50 excluded?
→ If "Exclude EMA50" is ON, EMA50 signals won't show
```
---
### ❓ Q5: Bar color not changing?
**A**: Check Filter 6
```
Settings → FINAL FILTERS
→ Confirm "Enable Filter 6 (OB/BB/NPR Zone Filter)" is ON
If ON but still not changing:
→ Current price may be outside OB/NPR/BB zones
```
---
### ❓ Q6: Too many Order Blocks, hard to see
**A**: Narrow down displayed OBs
```
Settings → ORDER BLOCK (OB) SETTINGS
Recommended:
❌ Show Current TF OB: OFF
❌ Show 1min OB: OFF
❌ Show 5min OB: OFF
✅ Show 15min OB: ON (only this)
```
---
### ❓ Q7: How to improve win rate?
**A**: Thorough multiple confirmations
```
Checklist:
✅ CHoCH appeared
✅ LS Bounce Signal (white text)
✅ Bar color matches (red bar=LONG, green bar=SHORT)
✅ Signal within Order Block
✅ Aligns with higher timeframe trend
Enter ONLY when all align
```
---
### ❓ Q8: Want to practice on demo
**A**: Recommended practice method
```
Week 1: Observation only
→ Watch signals and chart movement
→ Resist entering
Weeks 2-3: Keep records
→ Screenshot when signal appears
→ Record subsequent movement
Week 4+: Start demo trading
→ Start with small amounts
→ Continue keeping records
```
---
### ❓ Q9: Are there alert features?
**A**: Yes, multiple alerts available
```
Setup method:
1. Right-click indicator on chart
2. Select "Add Alert..."
3. Choose from:
- ANY ALERT: BUY/SELL Signals
- BUY ONLY ALERT
- SELL ONLY ALERT
- MS UP / MS DOWN
- BAR COLOR: RED / LIME
- LS BOUNCE: LONG / SHORT Signal
```
---
### ❓ Q10: Works on other markets?
**A**: Yes, works on all markets
```
✅ Cryptocurrency (BTC, ETH, etc.)
✅ Forex (EUR/USD, USD/JPY, etc.)
✅ Stocks (individual stocks, indices)
✅ Futures (oil, gold, etc.)
```
Works on any market with price and volume data.
---
## 📋 Disclaimer
### ⚠️ Important Notice
This indicator is for **educational and informational purposes only**.
```
❌ NOT investment advice
❌ Does NOT guarantee profits
❌ Past results do NOT guarantee future performance
```
### Risk Warning
```
⚠️ Trading involves substantial risk
⚠️ Only trade with funds you can afford to lose
⚠️ Practice extensively on demo account before live trading
⚠️ Make your own informed decisions and act at your own risk
```
---
## 📞 Support
### Feedback & Questions
Feel free to ask questions in TradingView comments section.
### Bug Reports
Please report with specific details (timeframe, symbol, screenshots).
---
**Author**: rasukaru666
**License**: Mozilla Public License 2.0
**Last Updated**: December 2025
**Version**: Latest
---
**Thank you for using Trend Gazer!**
**Happy Trading! 📈**
---------------
ACCDv3# ACCDv3 - Accumulation/Distribution MACD with Divergence Detection
## Overview
**ACCDv3** (Accumulation/Distribution MACD Version 3) is an advanced volume-weighted momentum indicator that combines the Accumulation/Distribution (A/D) line with MACD methodology and divergence detection. It helps identify trend strength, momentum shifts, and potential reversals by analyzing volume-weighted price movements.
## Key Features
- **Volume-Weighted MACD**: Applies MACD calculation to volume-weighted A/D values for earlier, more reliable signals
- **Divergence Detection**: Identifies when A/D trend diverges from MACD momentum
- **Volume Strength Filtering**: Distinguishes high-volume confirmations from low-volume noise
- **Color-Coded Histogram**: 4-color system showing momentum direction and volume strength
- **Real-Time Alerts**: Background colors and alert conditions for bullish/bearish divergences
## Components
### 1. Accumulation/Distribution (A/D) Line
The A/D line measures buying and selling pressure by comparing the close price to the trading range, weighted by volume:
```
A/D = Σ ((2 × Close - Low - High) / (High - Low)) × Volume
```
- **Rising A/D**: More accumulation (buying pressure)
- **Falling A/D**: More distribution (selling pressure)
- **Doji Handling**: When High = Low, contribution is zero (avoids division errors)
### 2. Volume-Weighted MACD
Instead of simple EMAs, the indicator weights A/D values by volume:
- **Fast Line** (default 12): `EMA(A/D × Volume, 12) / EMA(Volume, 12)`
- **Slow Line** (default 26): `EMA(A/D × Volume, 26) / EMA(Volume, 26)`
- **MACD Line**: Fast Line - Slow Line (green line)
- **Signal Line** (default 9): EMA or SMA of MACD (orange line)
- **Histogram**: MACD - Signal (color-coded columns)
This volume-weighting ensures that periods with higher volume have greater influence on the indicator values.
### 3. Histogram Color System
The histogram uses 4 distinct colors based on **direction** and **volume strength**:
| Condition | Color | Meaning |
|-----------|-------|---------|
| Rising + High Volume | **Dark Green** (#1B5E20) | Strong bullish momentum with volume confirmation |
| Rising + Low Volume | **Light Teal** (#26A69A) | Bullish momentum but weak volume (less reliable) |
| Falling + High Volume | **Dark Red** (#B71C1C) | Strong bearish momentum with volume confirmation |
| Falling + Low Volume | **Light Red/Pink** (#FFCDD2) | Bearish momentum but weak volume (less reliable) |
Additional shading:
- **Light Cyan** (#B2DFDB): Positive but not rising (momentum stalling)
- **Bright Red** (#FF5252): Negative and accelerating down
### 4. Divergence Detection
Divergence occurs when A/D trend and MACD momentum move in opposite directions:
#### Bullish Divergence (Green Background)
- **Condition**: A/D is trending up BUT MACD is negative and trending down
- **Interpretation**: Accumulation increasing while momentum appears weak
- **Signal**: Potential bullish reversal or continuation
- **Action**: Look for entry opportunities or hold long positions
#### Bearish Divergence (Red Background)
- **Condition**: A/D is trending down BUT MACD is positive and trending up
- **Interpretation**: Distribution increasing while momentum appears strong
- **Signal**: Potential bearish reversal or weakening uptrend
- **Action**: Consider exits, tighten stops, or prepare for reversal
## Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Fast Length** | 12 | 1-50 | Period for fast EMA (shorter = more sensitive) |
| **Slow Length** | 26 | 1-100 | Period for slow EMA (longer = smoother) |
| **Signal Smoothing** | 9 | 1-50 | Period for signal line (MACD smoothing) |
| **Signal Line MA Type** | EMA | SMA/EMA | Moving average type for signal calculation |
| **Volume MA Length** | 20 | 5-100 | Period for volume average (strength filter) |
## Usage Guide
### Reading the Indicator
1. **MACD Lines (Green & Orange)**
- **Crossovers**: When green crosses above orange = bullish, below = bearish
- **Distance**: Wider gap = stronger momentum
- **Zero Line**: Above = bullish bias, below = bearish bias
2. **Histogram Colors**
- Focus on **dark colors** (dark green/red) for high-confidence signals
- Be cautious with **light colors** (teal/pink) - wait for volume confirmation
- Watch for **rising red bars** (V-bottom pattern) = potential bullish reversal
- Watch for **falling green bars** (Λ-top pattern) = potential bearish reversal
3. **Background Divergence Alerts**
- **Green background**: Bullish divergence - consider long entries
- **Red background**: Bearish divergence - consider exits or shorts
- Best used in combination with price action and support/resistance levels
### Trading Strategies
#### Trend Following
1. Wait for MACD to cross above zero line with dark green histogram
2. Enter long when histogram shows consecutive dark green bars
3. Exit when histogram turns light green or red appears
#### Divergence Trading
1. Wait for background divergence alert (green or red)
2. Confirm with price action (support/resistance, candlestick patterns)
3. Enter on next dark-colored histogram bar in divergence direction
4. Set stops beyond recent swing high/low
#### Volume Confirmation
1. Ignore signals during low-volume periods (light colors)
2. Take aggressive positions during high-volume confirmations (dark colors)
3. Use volume strength as position sizing guide (larger size on dark bars)
### Best Practices
✓ **Combine with price action**: Don't rely on indicator alone
✓ **Wait for dark colors**: High-volume bars are more reliable
✓ **Watch for divergences**: Early warning signs of reversals
✓ **Use multiple timeframes**: Confirm signals across 1m, 5m, 15m
✓ **Respect zero line**: Trading direction should align with MACD side
✗ **Don't chase light-colored signals**: Low volume = lower reliability
✗ **Don't ignore context**: Market structure and levels matter
✗ **Don't over-trade**: Wait for clear, high-volume setups
✗ **Don't ignore alerts**: Divergences are early warnings
## Technical Details
### Volume-Weighted Calculation Method
Traditional MACD uses simple price EMAs. ACCDv3 weights each A/D value by its corresponding volume:
```pine
// Volume-weighted fast EMA
close_vol_fast = ta.ema(ad × volume, fast_length)
vol_fast = ta.ema(volume, fast_length)
vw_ad_fast = close_vol_fast / vol_fast
// Same for slow EMA
close_vol_slow = ta.ema(ad × volume, slow_length)
vol_slow = ta.ema(volume, slow_length)
vw_ad_slow = close_vol_slow / vol_slow
// MACD is the difference
macd = vw_ad_fast - vw_ad_slow
```
This ensures high-volume periods have proportionally more impact on the indicator.
### Volume Strength Filter
Determines whether current volume is above or below average:
```pine
vol_avg = ta.sma(volume, vol_length)
vol_strength = volume > vol_avg
```
Used to select dark (high volume) vs light (low volume) histogram colors.
### Divergence Logic
```pine
// A/D trending up if above its 5-period SMA
ad_trend = ad > ta.sma(ad, 5)
// MACD trending up if above zero
macd_trend = macd > 0
// Divergence when trends oppose
divergence = ad_trend != macd_trend
// Specific conditions
bullish_divergence = ad_trend and not macd_trend and macd < 0
bearish_divergence = not ad_trend and macd_trend and macd > 0
```
## Alerts
The indicator includes built-in alert conditions:
- **Bullish Divergence**: "Bullish Divergence: A/D trending up but MACD trending down"
- **Bearish Divergence**: "Bearish Divergence: A/D trending down but MACD trending up"
To enable:
1. Click "Create Alert" button in TradingView
2. Select "ACCDv3" as condition
3. Choose "Bullish Divergence" or "Bearish Divergence"
4. Configure notification method (popup, email, webhook, etc.)
## Comparison with Standard MACD
| Feature | Standard MACD | ACCDv3 |
|---------|---------------|---------|
| **Input** | Close price | Accumulation/Distribution line |
| **Weighting** | Simple EMA | Volume-weighted EMA |
| **Divergence** | Price vs MACD | A/D vs MACD |
| **Volume Analysis** | None | Built-in strength filter |
| **Color System** | 2 colors (up/down) | 4+ colors (direction + volume) |
| **Leading/Lagging** | Lagging | More leading (volume-weighted) |
## Example Scenarios
### Scenario 1: Strong Bullish Signal
- **Chart**: MACD crosses above zero line
- **Histogram**: Dark green bars (#1B5E20) appearing
- **Volume**: Above 20-period average
- **Action**: Enter long, strong momentum with volume confirmation
### Scenario 2: Weak Bearish Signal
- **Chart**: MACD crosses below zero line
- **Histogram**: Light pink bars (#FFCDD2) appearing
- **Volume**: Below 20-period average
- **Action**: Avoid shorting, low volume = unreliable signal
### Scenario 3: Bullish Divergence Reversal
- **Chart**: Price making lower lows
- **Indicator**: A/D line trending up, MACD negative
- **Background**: Green shading appears
- **Histogram**: Transitions from red to dark green
- **Action**: Look for long entry on next dark green bar
### Scenario 4: V-Bottom Reversal
- **Chart**: Downtrend in place
- **Histogram**: Red bars start rising (becoming less negative)
- **Pattern**: Forms "V" shape at bottom
- **Confirmation**: Transitions to dark green bars
- **Action**: Bullish reversal signal, consider long entry
## Timeframe Recommendations
- **1-minute**: Scalping, very fast signals (noisy, use with caution)
- **5-minute**: Intraday momentum trading (recommended)
- **15-minute**: Swing entries, clearer trend signals
- **1-hour+**: Position trading, major trend identification
## Limitations
- **Requires volume data**: Will not work on instruments without volume
- **Lag during consolidation**: MACD is inherently trend-following
- **False signals in chop**: Sideways markets generate noise
- **Not a standalone system**: Should be combined with price action and risk management
## Version History
- **v3**: Removed traditional price MACD, using only volume-weighted A/D MACD with A/D divergence
- **v2**: Added A/D divergence detection, volume strength filtering, enhanced histogram colors
- **v1**: Basic MACD on A/D line with volume-weighted calculation
## Support & Further Reading
For questions, updates, or to report issues, refer to the main project documentation or contact the developer.
**Related Indicators in Suite:**
- **VMACDv3**: Volume-weighted MACD on price (not A/D)
- **RSIv2**: RSI with A/D divergence
- **DMI**: Directional Movement Index with A/D divergence
- **Elder Impulse**: Bar coloring system using volume-weighted MACD
---
*This indicator is for educational purposes. Always practice proper risk management and never risk more than you can afford to lose.*
CISD by tncylyvCISD (Change in State of Delivery) by tncylyv
The CISD (Change in State of Delivery) indicator is a precision price action tool designed to help traders identify key reversal points based on ICT concepts. Unlike standard support and resistance indicators, this script tracks the specific algorithmic opening prices responsible for the current delivery state and highlights when that state has been invalidated.
🧠 What is CISD?
Change in State of Delivery refers to the moment price shifts from a Buy Program to a Sell Program (or vice versa).
• Bearish CISD (-CISD): Occurs when price closes below the opening price of the up-candle sequence that created the most recent High.
• Bullish CISD (+CISD): Occurs when price closes above the opening price of the down-candle sequence that created the most recent Low.
This indicator automates the identification of these levels, tracking the "Active" reference price in real-time and marking historical reversals.
🚀 Key Features
1. Continuous Active Level Tracking:
o The indicator plots a continuous, stepped line (The "Active CISD") that follows the market structure. As the market expands (makes new highs or lows), the line updates to the new valid reference point.
o This allows you to see the current invalidation level at a glance without cluttering the chart with old lines.
2. Triggered Reversal Lines:
o When a candle closes beyond the Active CISD level, a "Triggered" line is drawn to mark the exact price and location of the reversal.
o These lines serve as excellent historical references for potential Order Blocks or Breakers later in time.
3. Smart Filtering:
o You can choose to display Both Bullish and Bearish setups, or filter to see Bullish Only or Bearish Only. This is ideal for traders who have a specific daily bias and want to remove noise from the chart.
4. Clean & Customizable:
o Fully customizable colors for Bullish and Bearish events.
o Options to toggle Labels, adjust Line Width, and change Line Styles (Solid, Dashed, Dotted).
o "No Continuation" Logic: This version focuses purely on major reversals (Change in State) rather than minor pullbacks, keeping your chart clean.
⚙️ Settings Guide
• Show Active CISD Level: Toggles the continuous stepped line representing the current threshold for a reversal.
• Triggered CISD Display: Choose between Both, Bullish Only, Bearish Only, or None. This controls the historical lines left behind after a reversal occurs.
• Visual Settings: Adjust line width, label sizes, and font styles to match your chart aesthetic.
• Colors: Customize the Shrek Mode (Bullish) and Blood Bath (Bearish) colors.
⚠️ A Note for Developers
This indicator is open source! If you are a Pine Script developer, feel free to check the source code. I’ve utilized some... creative variable naming conventions to make the coding experience more entertaining. Enjoy the read!
________________________________________
Risk Disclaimer: This tool is for educational purposes and market analysis. It does not guarantee future performance. Always manage your risk.
Perfect Trade Screener – Merthan KRYPTO PRO (v6) for cryptoPerfect Trade Screener – Merthan KRYPTO PRO (v6) for crypto
BuzzFx Market SessionsBuzzFx Market Sessions is a clean and powerful tool that highlights the most important trading sessions directly on your chart.
It automatically marks:
London Session
New York Session
Asian Session
Pre-New York
Session highs & lows (optional)
Session ranges & volatility zones
This indicator helps traders instantly understand:
When major liquidity enters the market
When volatility typically increases
How price reacts inside each session
Which session is driving the current trend
Designed for both beginners and advanced traders, BuzzFx Market Sessions gives you a clearer view of market structure and timing—so you can trade smarter, not harder.
Perfect for day traders, scalpers, and SMC traders who rely on timing, volatility, and session behavior.
TJR Strategy - Pinhead TradesMarks Out Session Ranges
BOS/CHOCH/79% Extension
SMT Divergences
Entry Signals (TP/SL)
ATR Based / Fixed RR
Fully Modular
*Based on TJR'S Session Reversal Strategy
Quicksilver Recovery Overlay [Strict]The Quicksilver Recovery Overlay is a proprietary visual analysis tool designed to identify high-probability reversal points in volatile markets. Originally developed for internal use to stabilize Prop Firm drawdowns, this script translates complex algorithmic logic into simple, actionable visual signals on your chart.
🚫 The Problem:
Most traders lose capital trying to "catch a falling knife." They buy too early during a crash and get liquidated before the reversal happens.
✅ The Solution:
This overlay forces discipline. It will only print a "QS BUY" signal when three specific institutional criteria are met simultaneously. If the setup is not perfect, the chart remains clean, keeping you out of bad trades.
The Logic (The "Triple Confluence" Engine):
Deep Exhaustion: The Stochastic RSI must pierce the extreme oversold zone (< 20), indicating seller exhaustion.
Momentum Crossover: The Fast %K line must cross above the Slow %D line, confirming momentum has shifted.
Heikin Ashi Filter: The current Heikin Ashi candle must be GREEN (Bullish). This filters out "fake" reversals where price is still wicking down.
Features:
Visual Signal Labels: Green "QS BUY" and Red "QS SELL" tags appear directly on the bar.
Zero Repaint Logic: Signals are confirmed on candle close.
Status Dashboard: A built-in monitor in the top right corner confirms the algorithm is active.
Recommended Settings:
Assets: ETHUSD, BTCUSD, XAUUSD (Gold).
Timeframes:
1-Minute: For scalping and drawdown recovery.
15-Minute: For swing trading and trend reversals.
How to Get Access:
This is a Protected Script. Access is granted exclusively to members of the Quicksilver Algo Systems ecosystem.
Get your license key here: whop.com
Risk Disclosure: Trading involves substantial risk. Past performance is not indicative of future results.
Multi-Condition Alert System d//@version=5
indicator("Multi-Condition Alert System", shorttitle="MC Alert", overlay=false)
// Timeframe check - Set to 10 minutes
isCorrectTF = timeframe.isintraday and timeframe.multiplier == 10
// EMA Calculations
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
// MACD Calculations
= ta.macd(close, 12, 26, 9)
// RSI Calculations
rsiValue = ta.rsi(close, 14)
// Define RSI levels (you can adjust these based on your violet/yellow lines)
// Assuming violet is above 50 and yellow is below 50
rsiVioletLevel = 50 // Adjust based on your actual levels
rsiYellowLevel = 50 // Adjust based on your actual levels
// Conditions
emaCondition = ema9 > ema21 and ema9 > ema50
macdCondition = macdLine > signalLine
rsiCondition = rsiValue > rsiVioletLevel and rsiValue > rsiYellowLevel
// All conditions must be true
buySignal = emaCondition and macdCondition and rsiCondition and isCorrectTF
// Plotting for visualization
plot(ema9, color=color.blue, title="EMA 9")
plot(ema21, color=color.orange, title="EMA 21")
plot(ema50, color=color.red, title="EMA 50")
plot(macdLine, color=color.blue, title="MACD Line", style=plot.style_line)
plot(signalLine, color=color.orange, title="Signal Line", style=plot.style_line)
hline(rsiVioletLevel, "RSI Violet Level", color=color.purple)
hline(rsiYellowLevel, "RSI Yellow Level", color=color.yellow)
plot(rsiValue, color=color.white, title="RSI")
// Plot buy signals
plotshape(buySignal ? 1 : na, title="Buy Signal", location=location.bottom,
color=color.green, style=shape.triangleup, size=size.small)
// Alert condition
if buySignal
alert("BUY SIGNAL: EMA 9 > EMA 21 & 50, MACD blue > orange, RSI above levels", alert.freq_once_per_bar)
// Table display
var table signalTable = table.new(position.top_right, 1, 5, bgcolor=color.black,
border_width=1)
if barstate.islast
table.cell(signalTable, 0, 0, "10min TF Check:",
text_color=isCorrectTF ? color.green : color.red)
table.cell(signalTable, 0, 1, "EMA 9 > 21 & 50:",
text_color=emaCondition ? color.green : color.red)
table.cell(signalTable, 0, 2, "MACD Blue > Orange:",
text_color=macdCondition ? color.green : color.red)
table.cell(signalTable, 0, 3, "RSI Condition:",
text_color=rsiCondition ? color.green : color.red)
table.cell(signalTable, 0, 4, "BUY SIGNAL:",
text_color=buySignal ? color.green : color.red)
Fib Green zone / Red zone + Elliott Wave 3═══════════════════════════════════════════
🎯 FIB GREEN ZONE / RED ZONE + ELLIOTT WAVE 3
═══════════════════════════════════════════
OVERVIEW
--------
A comprehensive technical analysis tool combining Fibonacci retracement levels
with Elliott Wave theory to identify high-probability trading opportunities.
KEY FEATURES
------------
✅ Dynamic Fibonacci Levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%)
✅ Color-Coded Trading Zones:
• Green Zone (0-23.6%): Strong support area
• Golden Zone (50-61.8%): High-probability reversal zone
• Red Zone (78.6-100%): Potential resistance area
✅ Elliott Wave 3 Detection:
• Automatic Wave 1 & 2 identification
• Wave 3 entry signals
• Golden Pocket setups (highest probability)
• Customizable retracement parameters
✅ Fully Customizable:
• Toggle individual levels on/off
• Customize all colors and line styles
• Adjust Elliott Wave sensitivity
• Show/hide labels and zones
IDEAL FOR
---------
- Day traders and swing traders
- Fibonacci-based trading strategies
- Elliott Wave practitioners
- Support/resistance trading
ALERT SYSTEM
------------
Built-in alerts for:
- Price crossing key Fibonacci levels
- Wave 3 entry signals
- Golden Pocket setups
HOW TO USE
----------
1. Apply to any timeframe (works best on 1min-1hr for intraday)
2. Watch for price action in zones
3. Wave 3 signals appear when setup criteria are met
4. Use with other confirmations (volume, price action, etc.)
IMPORTANT DISCLAIMER
-------------------
This indicator is for educational purposes only. It does not guarantee
profitable trades. Past performance does not indicate future results.
Always use proper risk management and conduct your own analysis.
═══════════════════════════════════════════
📧 For access requests or questions, please message me directly.
Multi-Timeframe Smart Analysis [Abusuhil]الوصف بالعربي في الاسفل .
📊 Multi-Timeframe Smart Analysis
🇬🇧 ENGLISH DESCRIPTION
Overview
Multi-Timeframe Smart Analysis is a professional trading indicator designed for cryptocurrency and forex markets, combining RSI and MACD with multi-timeframe (MTF) confirmation to generate high-probability trading signals. The indicator provides clear entry points, automatic Fibonacci-based targets, and risk management levels.
Key Features
1. Multi-Timeframe Analysis (MTF)
Analyzes up to 3 higher timeframes simultaneously
Provides trend confirmation from HTF1, HTF2, and HTF3
Real-time dashboard showing current trend status
Optional: Can be disabled to trade based on current timeframe only
2. Smart Signal Generation
Buy Signals: Generated when MACD crosses above signal line with bullish RSI and HTF confirmation
Sell Signals: Generated when MACD crosses below signal line with bearish RSI and HTF confirmation
Anti-spam system: Minimum bars between signals (default: 10 bars)
Optional: Show only last signal to keep chart clean
3. Automatic Risk Management
Entry Line: Displays exact entry price
Stop Loss: Calculated using ATR (default: 1.5x ATR)
Take Profit Levels:
T1: 1.618x ATR (First target)
T2: 2.618x ATR (Second target)
T3: 4.236x ATR (Final target)
4. Visual Dashboard
Shows current timeframe RSI and MACD status
Displays HTF1 and HTF2 trend direction (BULL/BEAR)
Real-time signal status (🟢 BUY / 🔴 SELL / ⚪ WAIT)
Clean, professional interface in top-right corner
5. Customization Options
Multiple signal styles: Label, Triangle, Arrow, Circle
Adjustable signal size: Tiny, Small, Normal, Large
Customizable colors for buy/sell signals
Flexible target extension bars
Toggle all features on/off independently
📋 Recommended Settings by Timeframe
For 1-Minute Chart (Scalping)
HTF1: 5 minutes
HTF2: 15 minutes
HTF3: 1 hour
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 1.0
Best for: High-frequency scalping on volatile pairs like BTC/USDT, ETH/USDT
For 5-Minute Chart (Day Trading)
HTF1: 15 minutes
HTF2: 1 hour
HTF3: 4 hours
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 1.5
Best for: Intraday trading on major crypto pairs and forex
For 15-Minute Chart (Swing Trading)
HTF1: 1 hour
HTF2: 4 hours
HTF3: 1 day
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 1.5
Best for: Short-term swing trades, ideal for crypto and forex
For 1-Hour Chart (Position Trading)
HTF1: 4 hours
HTF2: 1 day
HTF3: 3 days
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 2.0
Best for: Medium-term positions, suitable for all markets
For 4-Hour Chart (Swing/Position)
HTF1: 1 day
HTF2: 3 days
HTF3: 1 week
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 2.5
Best for: Swing trading with lower frequency, higher accuracy
For Daily Chart (Long-Term)
HTF1: 3 days
HTF2: 1 week
HTF3: 1 month
RSI Length: 14
MACD: 12/26/9
Stop Loss ATR: 3.0
Best for: Position trading and long-term investments
🎯 How to Trade with This Indicator
Entry Rules
For LONG (Buy) Entries:
Wait for 🟢 BUY signal to appear
Verify HTF1 and HTF2 show BULL trend in dashboard
Check RSI is below 70 (not overbought)
Enter at the displayed Entry Line price
Place stop loss at SL level
Set take profit at T1, T2, T3 (scale out)
For SHORT (Sell) Entries:
Wait for 🔴 SELL signal to appear
Verify HTF1 and HTF2 show BEAR trend in dashboard
Check RSI is above 30 (not oversold)
Enter at the displayed Entry Line price
Place stop loss at SL level
Set take profit at T1, T2, T3 (scale out)
Exit Strategy (Recommended)
Conservative Approach:
Close 50% position at T1
Move SL to breakeven
Close 30% at T2
Let 20% run to T3 with trailing stop
Aggressive Approach:
Hold full position to T2
Close 70% at T2
Trail remaining 30% to T3
Quick Scalp:
Close entire position at T1
Re-enter on next signal
⚙️ Settings Guide
Timeframe Settings
Enable Higher Timeframe Analysis: Toggle MTF confirmation on/off
HTF1, HTF2, HTF3: Set your desired higher timeframes
RSI Settings
RSI Length: Period for RSI calculation (default: 14)
RSI Overbought: Upper threshold (default: 70)
RSI Oversold: Lower threshold (default: 30)
Use RSI Filter: Enable/disable RSI confirmation
MACD Settings
Fast Length: Fast EMA period (default: 12)
Slow Length: Slow EMA period (default: 26)
Signal Length: Signal line period (default: 9)
Use MACD Filter: Enable/disable MACD confirmation
Target Settings
Show Price Targets: Toggle target lines on/off
Fib Target 1/2/3: Customize Fibonacci multipliers
Target Extension Bars: How far targets extend (default: 50)
Stop Loss ATR: Stop loss distance multiplier (default: 1.5)
Signal Settings
Show Buy/Sell Signals: Toggle signals independently
Show Only Last Signal: Hide previous signals, show only latest
Signal Style: Choose visual style (Label/Triangle/Arrow/Circle)
Minimum Bars Between Signals: Anti-spam filter (default: 10)
📌 Important Notes
Not a Holy Grail: This indicator is a tool, not a guarantee. Always use proper risk management
Backtest First: Test on historical data before live trading
Combine with Price Action: Use support/resistance levels for additional confirmation
Adjust to Market Conditions: Volatile markets may need wider stops, ranging markets need tighter targets
News Events: Avoid trading during major news releases
Risk Management: Never risk more than 1-2% of your capital per trade
🎓 Best Practices
Start Conservative: Begin with default settings
One Timeframe at a Time: Master one chart before expanding
Journal Your Trades: Track which settings work best for your style
Use Demo Account: Practice before risking real money
Stay Disciplined: Follow your trading plan strictly
🔔 Alert System
The indicator includes built-in alerts:
Buy Signal Alert: Notifies when long opportunity appears
Sell Signal Alert: Notifies when short opportunity appears
To activate alerts:
Click "Create Alert" in TradingView
Select "Multi-Timeframe Smart Analysis"
Choose "Buy Signal" or "Sell Signal"
Set notification preferences
💡 Pro Tips
Confluence Trading: Wait for signals that align with key S/R levels
Trend Trading: In strong trends, prioritize signals in trend direction
Multiple Timeframe Entries: Use HTF for bias, lower TF for precise entry
Partial Profits: Always secure some profit at T1
Trailing Stops: Move SL to breakeven after T1 is hit
⚠️ Risk Disclaimer
Trading cryptocurrencies, forex, and other financial instruments involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. The indicator provides technical analysis only and should not be considered financial advice. You are solely responsible for your trading decisions. Always conduct your own research and consider consulting with a licensed financial advisor.
📞 Support & Updates
For questions, suggestions, or bug reports, please contact via TradingView messages.
Version: 1.0
Author: Abusuhil
Last Updated: December 2024
📊 التحليل الذكي متعدد الأطر الزمنية
🇸🇦 الوصف بالعربية
نظرة عامة
التحليل الذكي متعدد الأطر الزمنية هو مؤشر تداول احترافي مصمم لأسواق العملات الرقمية والفوركس، يجمع بين مؤشري RSI و MACD مع تأكيد من أطر زمنية أعلى لتوليد إشارات تداول عالية الاحتمالية. يوفر المؤشر نقاط دخول واضحة، أهداف تلقائية مبنية على فيبوناتشي، ومستويات إدارة المخاطر.
المزايا الرئيسية
1. التحليل متعدد الأطر الزمنية (MTF)
يحلل حتى 3 أطر زمنية أعلى في وقت واحد
يوفر تأكيد الاتجاه من HTF1، HTF2، و HTF3
لوحة معلومات فورية تظهر حالة الاتجاه الحالي
اختياري: يمكن تعطيله للتداول بناءً على الإطار الزمني الحالي فقط
2. توليد إشارات ذكية
إشارات الشراء: تُنشأ عندما يعبر MACD فوق خط الإشارة مع RSI صاعد وتأكيد HTF
إشارات البيع: تُنشأ عندما يعبر MACD تحت خط الإشارة مع RSI هابط وتأكيد HTF
نظام مضاد للإزعاج: حد أدنى من الشموع بين الإشارات (افتراضي: 10 شموع)
اختياري: إظهار آخر إشارة فقط للحفاظ على نظافة الشارت
3. إدارة تلقائية للمخاطر
خط الدخول: يعرض سعر الدخول الدقيق
وقف الخسارة: محسوب باستخدام ATR (افتراضي: 1.5x ATR)
مستويات جني الأرباح:
T1: 1.618x ATR (الهدف الأول)
T2: 2.618x ATR (الهدف الثاني)
T3: 4.236x ATR (الهدف النهائي)
4. لوحة معلومات مرئية
تعرض حالة RSI و MACD للإطار الزمني الحالي
تظهر اتجاه HTF1 و HTF2 (صاعد/هابط)
حالة الإشارة الفورية (🟢 شراء / 🔴 بيع / ⚪ انتظار)
واجهة نظيفة واحترافية في الزاوية العلوية اليمنى
5. خيارات التخصيص
أنماط إشارات متعددة: تسمية، مثلث، سهم، دائرة
حجم إشارة قابل للتعديل: صغير جداً، صغير، عادي، كبير
ألوان قابلة للتخصيص لإشارات الشراء/البيع
أشرطة تمديد الهدف مرنة
تبديل جميع الميزات تشغيل/إيقاف بشكل مستقل
📋 الإعدادات الموصى بها حسب الإطار الزمني
لشارت دقيقة واحدة (سكالبينج)
HTF1: 5 دقائق
HTF2: 15 دقيقة
HTF3: 1 ساعة
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 1.0
الأفضل لـ: السكالبينج عالي التردد على الأزواج المتقلبة مثل BTC/USDT، ETH/USDT
لشارت 5 دقائق (التداول اليومي)
HTF1: 15 دقيقة
HTF2: 1 ساعة
HTF3: 4 ساعات
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 1.5
الأفضل لـ: التداول اليومي على أزواج العملات الرقمية الرئيسية والفوركس
لشارت 15 دقيقة (التداول المتأرجح)
HTF1: 1 ساعة
HTF2: 4 ساعات
HTF3: 1 يوم
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 1.5
الأفضل لـ: صفقات التأرجح قصيرة المدى، مثالي للعملات الرقمية والفوركس
لشارت ساعة واحدة (التداول بالمراكز)
HTF1: 4 ساعات
HTF2: 1 يوم
HTF3: 3 أيام
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 2.0
الأفضل لـ: المراكز متوسطة المدى، مناسب لجميع الأسواق
لشارت 4 ساعات (التأرجح/المراكز)
HTF1: 1 يوم
HTF2: 3 أيام
HTF3: 1 أسبوع
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 2.5
الأفضل لـ: التداول المتأرجح بتردد أقل ودقة أعلى
للشارت اليومي (طويل المدى)
HTF1: 3 أيام
HTF2: 1 أسبوع
HTF3: 1 شهر
طول RSI: 14
MACD: 12/26/9
وقف الخسارة ATR: 3.0
الأفضل لـ: تداول المراكز والاستثمارات طويلة المدى
🎯 كيفية التداول باستخدام هذا المؤشر
قواعد الدخول
لصفقات الشراء (LONG):
انتظر ظهور إشارة 🟢 شراء
تحقق من أن HTF1 و HTF2 تظهر اتجاه صاعد في لوحة المعلومات
تأكد من أن RSI أقل من 70 (ليس في منطقة التشبع الشرائي)
ادخل عند سعر خط الدخول المعروض
ضع وقف الخسارة عند مستوى SL
اضبط جني الأرباح عند T1، T2، T3 (اخرج تدريجياً)
لصفقات البيع (SHORT):
انتظر ظهور إشارة 🔴 بيع
تحقق من أن HTF1 و HTF2 تظهر اتجاه هابط في لوحة المعلومات
تأكد من أن RSI أعلى من 30 (ليس في منطقة التشبع البيعي)
ادخل عند سعر خط الدخول المعروض
ضع وقف الخسارة عند مستوى SL
اضبط جني الأرباح عند T1، T2، T3 (اخرج تدريجياً)
استراتيجية الخروج (موصى بها)
النهج المحافظ:
أغلق 50% من المركز عند T1
حرك وقف الخسارة إلى نقطة التعادل
أغلق 30% عند T2
دع 20% يعمل حتى T3 مع وقف خسارة متحرك
النهج العدواني:
احتفظ بالمركز الكامل حتى T2
أغلق 70% عند T2
تتبع الـ 30% المتبقية حتى T3
سكالبينج سريع:
أغلق المركز بالكامل عند T1
أعد الدخول عند الإشارة التالية
⚙️ دليل الإعدادات
إعدادات الإطار الزمني
تفعيل تحليل الإطار الزمني الأعلى: تبديل تأكيد MTF تشغيل/إيقاف
HTF1، HTF2، HTF3: اضبط الأطر الزمنية الأعلى المرغوبة
إعدادات RSI
طول RSI: فترة حساب RSI (افتراضي: 14)
RSI في التشبع الشرائي: العتبة العليا (افتراضي: 70)
RSI في التشبع البيعي: العتبة السفلى (افتراضي: 30)
استخدام فلتر RSI: تمكين/تعطيل تأكيد RSI
إعدادات MACD
الطول السريع: فترة المتوسط المتحرك السريع (افتراضي: 12)
الطول البطيء: فترة المتوسط المتحرك البطيء (افتراضي: 26)
طول الإشارة: فترة خط الإشارة (افتراضي: 9)
استخدام فلتر MACD: تمكين/تعطيل تأكيد MACD
إعدادات الأهداف
إظهار أهداف الأسعار: تبديل خطوط الأهداف تشغيل/إيقاف
هدف فيبوناتشي 1/2/3: تخصيص مضاعفات فيبوناتشي
أشرطة تمديد الأهداف: مدى امتداد الأهداف (افتراضي: 50)
وقف الخسارة ATR: مضاعف مسافة وقف الخسارة (افتراضي: 1.5)
إعدادات الإشارات
إظهار إشارات الشراء/البيع: تبديل الإشارات بشكل مستقل
إظهار آخر إشارة فقط: إخفاء الإشارات السابقة، إظهار الأحدث فقط
نمط الإشارة: اختر النمط المرئي (تسمية/مثلث/سهم/دائرة)
الحد الأدنى من الشموع بين الإشارات: فلتر مضاد للإزعاج (افتراضي: 10)
📌 ملاحظات مهمة
ليس الكأس المقدسة: هذا المؤشر أداة، وليس ضماناً. استخدم دائماً إدارة مخاطر مناسبة
اختبار رجعي أولاً: اختبر على البيانات التاريخية قبل التداول المباشر
ادمج مع حركة السعر: استخدم مستويات الدعم/المقاومة لتأكيد إضافي
تكيّف مع ظروف السوق: الأسواق المتقلبة قد تحتاج إلى وقف خسارة أوسع، الأسواق الجانبية تحتاج إلى أهداف أضيق
أحداث الأخبار: تجنب التداول أثناء إصدارات الأخبار الكبرى
إدارة المخاطر: لا تخاطر أبداً بأكثر من 1-2% من رأس مالك لكل صفقة
🎓 أفضل الممارسات
ابدأ بحذر: ابدأ بالإعدادات الافتراضية
إطار زمني واحد في كل مرة: أتقن شارت واحد قبل التوسع
سجل صفقاتك: تتبع أي الإعدادات تعمل بشكل أفضل لأسلوبك
استخدم حساب تجريبي: تدرب قبل المخاطرة بأموال حقيقية
التزم بالانضباط: اتبع خطة تداولك بصرامة
🔔 نظام التنبيهات
يتضمن المؤشر تنبيهات مدمجة:
تنبيه إشارة الشراء: يُعلمك عند ظهور فرصة شراء
تنبيه إشارة البيع: يُعلمك عند ظهور فرصة بيع
لتفعيل التنبيهات:
انقر على "إنشاء تنبيه" في TradingView
اختر "Multi-Timeframe Smart Analysis"
اختر "Buy Signal" أو "Sell Signal"
اضبط تفضيلات الإشعارات
💡 نصائح احترافية
تداول التقاء: انتظر الإشارات التي تتماشى مع مستويات الدعم والمقاومة الرئيسية
تداول الاتجاه: في الاتجاهات القوية، أعط الأولوية للإشارات في اتجاه الترند
مداخل الإطار الزمني المتعدد: استخدم HTF للتحيز، إطار زمني أقل للدخول الدقيق
أرباح جزئية: احفظ دائماً بعض الربح عند T1
وقف خسارة متحرك: حرك وقف الخسارة إلى التعادل بعد الوصول إلى T1
⚠️ إخلاء مسؤولية المخاطر
تداول العملات الرقمية والفوركس وغيرها من الأدوات المالية ينطوي على مخاطر كبيرة للخسارة وليس مناسباً لجميع المستثمرين. الأداء السابق لا يشير إلى النتائج المستقبلية. يوفر المؤشر التحليل الفني فقط ولا ينبغي اعتباره نصيحة مالية. أنت المسؤول الوحيد عن قرارات التداول الخاصة بك. قم دائماً بإجراء بحثك الخاص وفكر في استشارة مستشار مالي مرخص.
📞 الدعم والتحديثات
للأسئلة أو الاقتراحات أو الإبلاغ عن الأخطاء، يرجى التواصل عبر رسائل TradingView.
الإصدار: 1.0
المطور: Abusuhil
آخر تحديث: ديسمبر 2024






















