Blakes Order Blocks v2just for you 2! it has order blocks with duration, they break after the stock moves substantially above or below the block.
المؤشرات والاستراتيجيات
RSI 0xHideShort guide to the “RSI 0xHide” indicator
What it shows:
Color-coded RSI:
• Green: RSI > 60 (bullish dominance)
• Red: RSI < 40 (bearish dominance)
• Gray: 40–60 (balance / no clear trend)
Gray shading between 40 and 60 highlights consolidation.
Horizontal levels (dashed, color configurable):
• 80 (green)
• 60 (red)
• 40 (green)
• 20 (red)
RSI vs price divergences: bullish and bearish (regular and hidden), displayed with lines and a “DIV” label.
⸻
How to use:
Inputs / settings:
• Source: price series used for RSI
• RSI Length: RSI period (default 14)
• Plot RSI Moving Average: enable/disable RSI moving average
• MA Type / MA Length: choose RSI MA type and length
• Pivot Left / Right Bars: pivot sensitivity for divergence detection
• Show Hidden / Regular Divergences: enable/disable divergence types
• 80/60/40/20 line colors: customizable
⸻
Signals:
• RSI > 60: look for long opportunities, especially when breaking upward from the 40–60 gray zone
• RSI < 40: look for short opportunities, especially when breaking downward from the 40–60 zone
• Bullish divergence: price makes a lower low (LL), RSI makes a higher low (HL) — potential upward reversal
• Bearish divergence: price makes a higher high (HH), RSI makes a lower high (LH) — potential downward pullback
• 20 / 80 levels: extreme zones — watch for reversals or divergences
⸻
Tips:
• Combine RSI signals with the prevailing price trend.
• Inside the 40–60 gray zone, limit trend trading or wait for a breakout.
• Divergences are more reliable near the 20/80 levels or during retests of 40/60.
Bollinger Aurora Velocity [Pineify]Pineify - Bollinger Aurora Velocity
The Bollinger Aurora Velocity is an enhanced volatility and trend analysis indicator that transforms the classic Bollinger Bands into a visually stunning, multi-dimensional trading tool. By combining standard deviation bands with historical extreme tracking and dynamic momentum coloring, this indicator provides traders with deeper insights into volatility cycles, squeeze conditions, and trend strength all in one overlay.
Key Features
Classic Bollinger Bands with customizable period and standard deviation multiplier
Nebula Memory Cloud tracking historical band extremes for volatility context
Volatility Squeeze Detection with visual dot indicators on the basis line
Gradient-based candle coloring reflecting normalized price position
Multi-layer aurora gradient fills for intuitive visual analysis
How It Works
The indicator begins with a standard Bollinger Bands calculation using a simple moving average as the basis line, with upper and lower bands placed at a user-defined multiple of standard deviation. This core structure measures price volatility and identifies overbought/oversold conditions.
The Nebula Memory Cloud extends beyond traditional bands by tracking the highest point of the upper band and lowest point of the lower band over a configurable lookback period. This creates an outer envelope showing the maximum volatility expansion in recent history.
Trading Ideas and Insights
The Volatility Squeeze is a powerful concept where contracting Bollinger Bands often precede significant price breakouts. This indicator detects squeezes by comparing the current band width to its 100-period simple moving average. When the current range falls below this average, yellow dots appear on the basis line, alerting traders to potential explosive moves ahead.
When squeeze dots appear and the outer nebula cloud shows significant distance from the current bands, it suggests volatility is at a historical low relative to recent extremes—a setup often followed by strong directional moves.
How Multiple Indicators Work Together
Bollinger Bands establish the primary volatility envelope and mean-reversion zones
The Nebula Cloud provides historical context, showing how current volatility compares to recent extremes
Squeeze Detection identifies compression phases using relative bandwidth analysis
Normalized Scoring translates price position into a 0-100 scale for gradient coloring
Unique Aspects
Unlike standard Bollinger Bands indicators, the Aurora Velocity creates a heat-map effect on price bars. The normalized score calculates where price sits within the bands as a percentage, then applies a smooth gradient from bearish to bullish colors. This allows traders to instantly perceive momentum strength—saturated bullish colors near the upper band indicate strong upward pressure, while saturated bearish colors near the lower band signal selling dominance.
The aurora-style gradient fills between band layers create visual depth, making it easy to distinguish the core volatility zone from the historical extreme boundaries.
How to Use
Monitor candle colors for momentum direction—bright green indicates bullish positioning, bright red signals bearish pressure
Watch for yellow squeeze dots on the basis line as early warning for potential breakouts
Use the outer nebula cloud to assess if current volatility is testing historical extremes
Set alerts for price breakouts above the upper band or below the lower band
Combine squeeze conditions with the nebula cloud width to gauge breakout potential
Customization
Base Period - Controls Bollinger Bands calculation length (default: 20)
Standard Deviation Multiplier - Adjusts band width from the basis (default: 2.0)
Price Source - Select the price input for calculations (default: close)
Nebula Memory Length - Lookback period for tracking historical extremes (default: 50)
Color Settings - Customize bullish and bearish gradient colors
Conclusion
The Bollinger Aurora Velocity elevates traditional Bollinger Bands analysis by adding historical volatility context through the Nebula Cloud, precise squeeze detection for breakout anticipation, and intuitive momentum visualization through gradient candle coloring. This combination helps traders identify not just where price is relative to volatility bands, but how that volatility compares to recent history and when compression may lead to expansion.
TurboRSI Pro [JOAT]TurboRSI Pro - Multi-Length RSI Ensemble with Dynamic Momentum Analysis
Introduction
TurboRSI Pro is an open-source indicator that reimagines the classic RSI by calculating multiple RSI lengths simultaneously and combining them into a single, more reliable momentum reading. Instead of relying on a single RSI period that may lag or produce false signals, this indicator creates an ensemble of RSI values across a configurable range, providing a smoother and more robust momentum assessment.
The indicator is designed for traders who want deeper insight into momentum conditions without the noise that comes from single-period oscillators.
Originality and Purpose
This indicator is NOT a simple RSI with different settings. It is an original implementation that solves a fundamental problem with traditional RSI:
The Problem with Single-Period RSI: Traditional RSI uses a single lookback period (typically 14). The issue is that different market conditions favor different RSI lengths. A 14-period RSI might work well in one market phase but produce false signals in another. There's no "perfect" RSI length that works in all conditions.
The Multi-Length Solution: TurboRSI Pro calculates RSI across a range of lengths (default: 10 to 20) simultaneously, then averages all values to create a composite reading. This ensemble approach filters out period-specific noise while preserving genuine momentum shifts. When multiple RSI lengths agree, the signal is more reliable.
OB/OS Strength Percentage: The indicator tracks how many individual RSI lengths are in overbought or oversold territory. When 100% of lengths are overbought, it's a much stronger signal than when only 50% are. This percentage-based approach is original to this indicator and provides conviction assessment.
Candle Heatmap Innovation: An optional feature colors price bars based on deviation from a 200-bar linear regression line. This shows when price is statistically overextended (HOT/COLD) independent of RSI, providing another layer of analysis.
How the components work together:
Multi-length RSI ensemble provides a more robust momentum reading than single-period RSI
OB/OS Strength percentages quantify how many timeframes agree on the momentum condition
Dynamic channels expand/contract based on momentum strength across all calculated lengths
Candle heatmap adds statistical price deviation context independent of RSI
Core Concept: Multi-Length RSI Ensemble
Traditional RSI uses a single lookback period (typically 14). The problem is that different market conditions favor different RSI lengths. TurboRSI Pro solves this by:
Calculating RSI across a range of lengths (default: 10 to 20)
Averaging all RSI values to create a composite reading
Tracking how many individual RSI lengths are in overbought or oversold territory
Displaying this information as "OB Strength" and "OS Strength" percentages
This approach filters out noise while preserving genuine momentum shifts.
How the Multi-Length RSI Works
The calculation uses an efficient array-based approach:
int N = maxLength - minLength + 1
float diff = nz(srcInput - srcInput )
for i = 0 to N - 1
int len = minLength + i
float alpha = 1.0 / len
float numRma = alpha * diff + (1 - alpha) * array.get(numArr, i)
float denRma = alpha * math.abs(diff) + (1 - alpha) * array.get(denArr, i)
float rsiVal = denRma != 0 ? 50 * numRma / denRma + 50 : 50
avgRSI += rsiVal
Each RSI length is calculated using the RMA (Running Moving Average) formula, then all values are averaged. The result is a composite RSI that responds to momentum changes while filtering out period-specific noise.
Visual Components
1. Multi-Length RSI Line
The main oscillator line displays the averaged RSI value with a gradient color:
Green gradient when RSI is above 50 (bullish momentum)
Red gradient when RSI is below 50 (bearish momentum)
Color intensity increases as RSI approaches extreme levels
2. Dynamic Channels
Two adaptive channel lines track momentum extremes:
Upper Channel: Expands when multiple RSI lengths enter overbought territory
Lower Channel: Expands when multiple RSI lengths enter oversold territory
Channel width indicates momentum strength across all calculated lengths
3. Candle Heatmap
An optional feature that colors price bars based on deviation from a linear regression line:
Red/Orange bars: Price is significantly above the regression line (overextended to upside)
Blue bars: Price is significantly below the regression line (overextended to downside)
Yellow bars: Price is near the regression line (neutral)
The heatmap uses a 200-bar regression calculation to identify when price has deviated significantly from its statistical trend.
4. Reference Lines
Standard RSI reference levels are displayed:
80 and 20: Extreme overbought/oversold
70 and 30: Standard overbought/oversold thresholds
50: Neutral momentum line
5. Background Zones
Shaded areas indicate the percentage of RSI lengths in extreme territory:
Green shading from bottom: Percentage of lengths in overbought
Red shading from top: Percentage of lengths in oversold
Dashboard Panel
The dashboard displays real-time analysis in a 7-row table:
RSI Value: Current composite RSI reading (large text for visibility)
Momentum: Current state - OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
OB Strength: Percentage of RSI lengths currently above the overbought threshold
OS Strength: Percentage of RSI lengths currently below the oversold threshold
Heat Level: Current price deviation state - HOT, WARM, NEUTRAL, COOL, or COLD
Trend Bias: Overall trend assessment based on RSI level and channel direction
Optional Stochastic RSI
When enabled, an additional Stochastic RSI line is plotted. This applies the stochastic formula to the RSI itself, providing another layer of momentum analysis. The Stochastic RSI is more sensitive to short-term momentum shifts.
Input Parameters
RSI Settings:
Min RSI Length: Starting length for the RSI range (default: 10)
Max RSI Length: Ending length for the RSI range (default: 20)
Source: Price source for calculation (default: ohlc4)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Candle Heatmap:
Enable Heatmap: Toggle bar coloring on/off (default: enabled)
Regression Length: Lookback for linear regression calculation (default: 200)
Display:
Show Dashboard: Toggle the information panel (default: enabled)
Show Dynamic Channels: Toggle channel lines (default: enabled)
Show Stochastic RSI: Toggle additional Stoch RSI line (default: disabled)
Colors:
Bullish: Color for bullish conditions (default: teal)
Bearish: Color for bearish conditions (default: red)
Neutral: Color for neutral conditions (default: gray)
How to Use TurboRSI Pro
Identifying Momentum Shifts:
Watch for RSI crossing above 50 for bullish momentum confirmation
Watch for RSI crossing below 50 for bearish momentum confirmation
Use the gradient color to quickly assess momentum direction
Using OB/OS Strength:
When OB Strength reaches 100%, all RSI lengths are overbought - strong reversal potential
When OS Strength reaches 100%, all RSI lengths are oversold - strong bounce potential
Partial readings (e.g., 50%) indicate mixed conditions across timeframes
Heatmap Analysis:
HOT readings combined with high RSI suggest overextension - caution for longs
COLD readings combined with low RSI suggest oversold conditions - watch for reversal
Use heatmap divergence from RSI for additional confirmation
Channel Interpretation:
Expanding upper channel with rising RSI confirms strong bullish momentum
Expanding lower channel with falling RSI confirms strong bearish momentum
Channel contraction suggests momentum is weakening
Alert Conditions
Six alert conditions are available:
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
RSI Bullish Cross: RSI crosses above 50
RSI Bearish Cross: RSI crosses below 50
All RSI Overbought: Every RSI length is in overbought territory
All RSI Oversold: Every RSI length is in oversold territory
Best Practices
Use on higher timeframes (1H, 4H, Daily) for more reliable signals
Combine with price action analysis - RSI confirms, it does not predict
Pay attention to OB/OS Strength percentages for conviction assessment
The heatmap works best on assets with clear trending behavior
Adjust min/max RSI lengths based on your trading style - wider range for smoother signals
Limitations
Like all oscillators, can remain in overbought/oversold territory during strong trends
The heatmap regression may lag during rapid price movements
Multi-length calculation requires more processing than single RSI
Best suited for swing trading and position trading timeframes
Technical Notes
This indicator is written in Pine Script v6 and uses:
Array-based calculations for efficient multi-length RSI computation
Linear regression for heatmap deviation analysis
Gradient coloring for intuitive visual feedback
State management for dynamic channel calculations
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
Dow Theory Cockpit [Analytics Pro]1. Overview and Key Features
The core philosophy of this tool is to "Eliminate market noise and pinpoint high-probability trade setups.
🤖 Triple-Logic Engine: Automatically detects three distinct strategies: Trend Following
(Breakout), Retracement (Dip), and Reversal (Sniper).
🛡️ Ironclad Protection: Features an ATR-based dynamic Stop Loss (SL). It automatically
positions your SL at levels resistant to "stop hunting" or market noise.
💰 Automatic Risk Management: The tool calculates and displays the optimal lot size based
on your SL distance, ensuring your risk amount remains constant regardless of market
volatility.
📊 Performance Visualization: Real-time Win Rate panel displaying data for "Today," "This
Month," "This Year," and "All Time.
🌍 Global Market Insights: Monitor not just your active chart, but also Gold, JPY, BTC, and
critical US/JP economic indicators (Interest Rates, Inflation, etc.) simultaneously.
2. Three Entry Signals
The tool automatically toggles between three optimized logics depending on market conditions
Signal Type Target & Strategy 🎯
SNIPER Reversal Captures "Tops and Bottoms." Detects RSI exhaustion + Bollinger
Band mean reversion to catch the start of a reversal.
DIP Trend Following Captures "Pullbacks." Picks up entries when price touches MAs or
retraces during a strong uptrend.
BREAK Trend Following Captures "Breakouts." Rides the momentum the moment price
breaks recent Highs or Lows.
💡 Pro Tip: When multiple conditions align, signals merge (e.g., "SNIPER & DIP") to keep
your chart clean and highlight high-conviction setups.
3. Dashboard Guide
The dual-panel interface is fully customizable in terms of visibility and placement.
① Main Analysis Panel (Default: Top Right)
In-depth analysis of the current currency pair.
・MAIN: Displays the pair and volatility status (HIGH VOL / NORMAL).
・Target RR: Your target Risk:Reward ratio (e.g., 1:1.5).
・🌊 Trend Monitor: Instantly check trend directions across 15M, 1H, 4H, and Daily timeframes.
・Strategic Note: When all timeframes align (Full Alignment), the signal is considered a "high-
probability" setup.
・📊 Win Rate: Tracks success rates and trade counts across four periods (Day, Mo, Yr, All).
・Risk: Shows current risk settings, spread, and account type.
② Market Scanner Panel (Default: Bottom Right)
Multi-market and fundamental surveillance.
・SCANNER: Constant monitoring of Gold, USDJPY, and Bitcoin. It alerts you immediately when
a trend or signal forms on these major assets.
・US/JP ECONOMY: Side-by-side comparison of essential fundamental data:
・Rate: Policy Interest Rates
・Inf%: Inflation (CPI)
・GDP: Economic Growth Rate
・Job: Unemployment / Payrolls
4. Trading Workflow
Follow these steps for the highest success rate:
1.STEP 1: Wait for SignalWait for the audio alert or the "BUY/SELL" label to appear.
Important: Never entry while the candle is still moving.
2.STEP 2: Filter ConfirmationJust before the candle closes, verify:
・MTF Panel: Are the 1H and 4H colors aligned with the signal? (Green for Buy, Red for Sell)
・MA Ribbon: Is the ribbon showing a clean, healthy spread?
3.STEP 3: Execution (At Candle Close)If the signal remains after the candle closes, enter at
the open of the next candle. Use the "Lot: X.XX" value shown on the blue label—this is your
safety-calculated lot size.
4.STEP 4: Exit Strategy (TP/SL)Immediately set your orders based on the lines on the chart:
・🟥 Red Line (SL): Positioned at 3x ATR to withstand noise.
・🟩 Green Line (TP): Optimized for consistent win rates.
5. Customization
・ : Set your Risk(%) per trade (Recommended: 1.0–2.0%). Adjust the SL Buffer (Default 3.0) to balance win rate versus lot size.
・ : Adjust font size (Tiny/Small/Normal) and panel width to fit your screen resolution.
・ : Customize colors and thickness to match your visual preference.
KCP VWAP + Previous Day High/Low + CPR [Dr.K.C.Prakash]KCP VWAP + PDH/PDL + CPR Indicator
This indicator combines VWAP, Previous Day High (PDH), Previous Day Low (PDL), and CPR (Pivot, BC, TC) levels for intraday trading.
VWAP shows the fair price and intraday trend direction
PDH & PDL act as strong support and resistance
CPR levels help identify range, breakout, and reversal zones
Displays only today’s levels with clean right-side labels
Best suited for index and stock intraday trading
Use:
Above VWAP → bullish bias | Below VWAP → bearish bias
Price near CPR → range | Break from CPR → trending move
[CT] Highest/Lowest Close Midline Candle ColorThis indicator looks back a user defined number of bars, the default is 14, and finds the highest closing price and the lowest closing price in that lookback window. Those two values form a rolling closing range. The script then calculates a midpoint of that range by averaging the highest close and the lowest close. That midpoint is plotted as “o”, and it acts like a simple, adaptive balance line for where the market is trading within its recent closing range.
On every bar, the candle color is driven by where the current close finishes relative to that midpoint. When price closes above the midpoint, the script colors the candle green, which tells you that the close is occurring in the upper half of the most recent closing range. When price closes below the midpoint, the candle is colored red, which tells you the close is occurring in the lower half of the most recent closing range. If the close lands exactly on the midpoint, the script leaves the bar uncolored, which is a quick way to spot “neutral” closes that are sitting right at the balance point.
On the chart you will see three plots. The “hi” line is the highest close over the lookback period, so it behaves like a dynamic ceiling for closes. The “lo” line is the lowest close over the lookback period, so it behaves like a dynamic floor for closes. The “o” line is the midpoint between those two, and it will move up when the rolling highest and lowest closes lift, and it will move down when they fall. Because all three are based on closing prices instead of highs and lows, they reflect where the market is actually accepting value at the end of each bar rather than momentary wicks.
In practical use, the midpoint line is your decision line and the candle colors are your bias filter. A sequence of green candles means closes are consistently happening above the midpoint, which implies bullish control of the recent closing range and can be used as a confirmation to favor long setups, trend continuation trades, or pullbacks that hold above the midpoint. A sequence of red candles means closes are consistently happening below the midpoint, which implies bearish control of the recent closing range and can be used to favor short setups or bearish continuation until price can reclaim the midpoint. When candles flip color around the midpoint repeatedly, that is a visual cue that the market is rotating and the midpoint is acting like a balance area rather than support or resistance, which often aligns with consolidation or choppier conditions.
The “hi” and “lo” lines can be treated as context levels. If price is closing above the midpoint and pressing toward the “hi” line, you are seeing strength within the closing range and the prior highest close becomes the next level where continuation may stall or break. If price is closing below the midpoint and pressing toward the “lo” line, you are seeing weakness within the closing range and the prior lowest close becomes the next level where continuation may pause or accelerate through. Breaks beyond the “hi” or “lo” line indicate that the rolling closing range is expanding, which can coincide with trend continuation or a breakout from a prior range.
This tool is simple by design and is best used as a directional filter and a structure guide rather than a standalone entry system. It does not repaint past bars because it only uses completed historical closes within the selected lookback window, and it updates normally as each new bar closes. You can increase the period to smooth it for higher time frames or more stable trends, and decrease it to make it more sensitive for faster markets or scalping, with the tradeoff that shorter periods will flip colors more often in chop.
HTR Reclaim Hunter
🏹 HTR Reclaim Hunter
(1H Execution + Zones + 4H Bias)
HTR Reclaim Hunter is a trend-continuation indicator designed to identify high-probability pullback & reclaim entries using multi-timeframe bias, EMA structure, and dynamic reclaim zones.
This indicator is best suited for swing trading and intraday continuation setups, especially in trending markets.
🔑 CORE CONCEPT
Trade WITH the higher-timeframe trend.
Enter on pullbacks.
Confirm strength on reclaim.
HTR Reclaim Hunter combines:
4H trend bias
1H execution logic
EMA reclaim structure
Supply & demand reclaim zones
Built-in SL / TP visualization
🧭 RECOMMENDED SETTINGS
Best timeframe: 1H (designed for this)
Markets: Stocks, Crypto, Futures, Forex
Works best in: Trending markets (not chop)
📊 WHAT YOU SEE ON THE CHART
🔹 EMA Structure
EMA 50 (green): Trend filter
EMA 9 (colored): Momentum & pullback guide
🔹 Reclaim Zones
Green boxes: Support / demand zones
Red boxes: Resistance / supply zones
These zones highlight areas where price previously reacted and may reclaim.
🔹 Trade Signals
LONG label: Bullish reclaim setup
SHORT label: Bearish reclaim setup
🔹 Risk Levels (Optional)
Stop Loss (Red)
TP1 (Orange)
TP2 (Green)
🟢 LONG TRADE RULES
A LONG signal appears when ALL of the following are true:
4H trend is bullish
Price above 4H EMA 50
EMA 50 is rising
1H trend is bullish
Price above EMA 50
EMA 9 above EMA 50
Pullback occurs
Price pulls back below EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bullish candle closes back above EMA 9
Candle is not a doji
Signal prints
A green LONG label appears
👉 This indicates a trend continuation entry, not a reversal.
🔴 SHORT TRADE RULES
A SHORT signal appears when ALL of the following are true:
4H trend is bearish
Price below 4H EMA 50
EMA 50 is falling
1H trend is bearish
Price below EMA 50
EMA 9 below EMA 50
Pullback occurs
Price pulls back above EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bearish candle closes back below EMA 9
Candle is not a doji
Signal prints
A red SHORT label appears
🛑 STOP LOSS & TAKE PROFIT
When enabled, the indicator automatically plots:
Stop Loss
Based on recent swing high / low
TP1
1R (1× risk)
TP2
Configurable runner target (default 2R)
These are visual guides only — always manage risk according to your plan.
⚠️ IMPORTANT NOTES
This indicator is not meant for ranging or choppy markets
Best results occur when:
EMA 50 is clearly sloped
Price respects reclaim zones
Always confirm with:
Market structure
Volume
Higher-timeframe context
🔔 ALERTS
Alerts are available for:
HRH LONG
HRH SHORT
Alerts trigger on confirmed reclaim signals, not on every pullback.
❗ DISCLAIMER
This indicator is for educational purposes only.
It does not provide financial advice.
Always test and manage risk appropriately.
🏹 FINAL TIP
HTR Reclaim Hunter works best when you are patient.
Skip chop.
Wait for clean trends.
Hunt only high-quality reclaims.
If you want, I can also:
Write a short description version
Create a “Quick Start” section
Add example captions for screenshots
Help you choose TradingView tags & category
trend-following
ema reclaim
pullback strategy
multi-timeframe
price action
Kewme//@version=5
indicator("EMA 9/15 + ATR TP/SL Separate Boxes (No Engulfing)", overlay=true, max_lines_count=500, max_boxes_count=500)
// ===== INPUTS =====
atrLen = input.int(14, "ATR Length")
slMult = input.float(1.0, "SL ATR Multiplier")
rr = input.float(2.0, "Risk Reward")
// ===== EMA =====
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
plot(ema9, color=color.green, title="EMA 9")
plot(ema15, color=color.red, title="EMA 15")
// ===== TREND STATE =====
var int trendState = 0
// ===== ATR =====
atr = ta.atr(atrLen)
// ===== Indecision =====
bodySize = math.abs(close - open)
candleRange = high - low
indecision = bodySize <= candleRange * 0.35
// ===== SIGNAL CONDITIONS (NO Engulfing) =====
buySignal =
ema9 > ema15 and
trendState != 1 and
indecision and
close > ema9
sellSignal =
ema9 < ema15 and
trendState != -1 and
indecision and
close < ema9
// ===== UPDATE TREND STATE =====
if buySignal
trendState := 1
if sellSignal
trendState := -1
// ===== SL & TP =====
buySL = close - atr * slMult
buyTP = close + atr * slMult * rr
sellSL = close + atr * slMult
sellTP = close - atr * slMult * rr
// ===== PLOTS =====
plotshape(buySignal, text="BUY", style=shape.labelup, location=location.belowbar, color=color.green, size=size.tiny)
plotshape(sellSignal, text="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, size=size.tiny)
// ===== VARIABLES =====
var line buySLLine = na
var line buyTPLine = na
var line sellSLLine = na
var line sellTPLine = na
var box buySLBox = na
var box buyTPBox = na
var box sellSLBox = na
var box sellTPBox = na
// ===== BUY SIGNAL =====
if buySignal
// Delete previous
if not na(buySLLine)
line.delete(buySLLine)
line.delete(buyTPLine)
box.delete(buySLBox)
box.delete(buyTPBox)
// Draw lines
buySLLine := line.new(bar_index, buySL, bar_index + 15, buySL, color=color.red, width=2)
buyTPLine := line.new(bar_index, buyTP, bar_index + 15, buyTP, color=color.green, width=2)
// Draw separate boxes
buySLBox := box.new(bar_index, buySL - atr*0.1, bar_index + 15, buySL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
buyTPBox := box.new(bar_index, buyTP - atr*0.1, bar_index + 15, buyTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
// ===== SELL SIGNAL =====
if sellSignal
// Delete previous
if not na(sellSLLine)
line.delete(sellSLLine)
line.delete(sellTPLine)
box.delete(sellSLBox)
box.delete(sellTPBox)
// Draw lines
sellSLLine := line.new(bar_index, sellSL, bar_index + 15, sellSL, color=color.red, width=2)
sellTPLine := line.new(bar_index, sellTP, bar_index + 15, sellTP, color=color.green, width=2)
// Draw separate boxes
sellSLBox := box.new(bar_index, sellSL - atr*0.1, bar_index + 15, sellSL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
sellTPBox := box.new(bar_index, sellTP - atr*0.1, bar_index + 15, sellTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
Manus - Ultimate Liquidity Points & SMC V3Ultimate Liquidity Points & SMC V3 is an advanced tool designed for traders following the Smart Money Concepts (SMC) and institutional liquidity analysis methodologies. The script automatically identifies price levels where large order volumes (stop losses and pending orders) are most likely to be found, allowing you to anticipate potential market reversals or accelerations.
Dow Theory Cockpit [Final Fixed V15]1. Evolution History
The system has reached its final form through five distinct development phases:
Phase 1: Logic Development (V1–V6)
Established four core logics: BREAK and DIP (Dow Theory), SNIPER (Reversal), and PUSH (Trend continuation).
Implemented the Multi-Timeframe (MTF) panel and Market Scanner.
Phase 2: Strategy Transition (V7–V9)
Integrated backtesting features, but found the Pine Script calculation load too heavy for real-time charting.
Phase 3: Optimization & Performance (V10–V11)
Prioritized smooth real-time execution by returning to a lightweight indicator format.
Introduced the on-chart stats panel for Win Rate and P&L tracking.
Phase 4: Visual Completion (V12–V13)
High-Vis Fib: Bold orange lines highlighting the Golden Zone (38.2%/61.8%).
Visual Zones: Introduced Green and Red bands for intuitive trade tracking.
Phase 5: Smart Adjust Implementation (V14 - Current)
Barrier Avoidance: Automatically detects nearby Support/Resistance boxes and shortens the TP to secure profits before a potential reversal.
Dynamic RR Optimization: Automatically adjusts the SL in tandem with the shortened TP to maintain a healthy Risk-Reward ratio.
2. Specifications
Name: Dow Theory Cockpit
Format: Indicator
Trading Style: Scalping to Day Trading
Timeframes: 5M, 15M (Recommended), 1H
Assets: All pairs (Gold, Crypto, Forex, Indices)
3. Features
① Quad-Logic Entry Signals
🎯 SNIPER: Reversal logic targeting "Tops and Bottoms" when the market is overextended.
🌊 DIP: Trend-following logic for "Deep Pullbacks" with clean Moving Average alignment.
⚡ PUSH: Scalping logic for "Shallow Pullbacks" during high-momentum trends.
🚀 BREAK: Classic Dow Theory momentum entry on recent High/Low breakouts.
② Visual Analysis Tools
S/R BOX: Displays key price levels as shaded zones to account for market noise and wick volatility.
High-Vis Auto Fib: Automatically plots Fibonacci levels, highlighting the Golden Zone with bold lines.
③ Bulletproof Money Management
Calculated Lot Size: Displays the precise lot size based on your account balance and Risk % directly on the signal label.
TP/SL Zones: Dynamic Green and Red bands show exactly where your profit and loss targets lie.
④ Smart Adjust Function (NEW)
Logic: Automatically scans for strong S/R walls near your entry.
Normal Condition: Displays TP/SL at your default Risk-Reward ratio.
Wall Detected: Automatically pulls the TP to the edge of the barrier and tightens the SL to maintain the ratio.
Alert: A "⚠️Adj" warning appears on the label when this adjustment is active.
⑤ Integrated Info Panel
Main Panel: Trends across all timeframes, real-time Win Rate, and Period Net P&L.
Scanner: Constant monitoring of Gold/JPY/BTC and major US/JP economic data.
4. How to Use
Configuration: In the settings under , input your balance and Risk %. Set your start date in .
Entry Decision: Wait for the "★ BUY" or "★ SELL" label.
"⚠️Adj" displayed: The system has detected a nearby barrier and narrowed the TP/SL for safety. This results in a higher win rate with smaller gains.
No warning: No barriers detected. Targets the default wide Risk-Reward ratio.
Execution: Enter using the exact Lot size on the label. Set your Limit/Stop orders at the provided TP/SL prices.
Exit: The trade concludes when the price reaches the Green or Red zone. Smart Adjust ensures you exit the market before a potential bounce.
1. 大幅なアップデート履歴 (Evolution History)
このシステムは、以下の5つのフェーズを経て完成しました。
フェーズ1:ロジック構築期 (V1〜V6)
ダウ理論に基づく「BREAK」「DIP」に加え、逆張り「SNIPER」、順張り追撃「PUSH」の4つのロジックを搭載。
マルチタイムフレーム(MTF)パネル、市場監視スキャナーの実装。
フェーズ2:ストラテジー化への挑戦 (V7〜V9)
バックテスト機能を搭載したが、Pine Scriptの計算負荷増大によりチャート動作が重くなる問題が発生。
フェーズ3:軽量化と原点回帰 (V10〜V11)
**「実戦での快適さ」**を最優先し、indicator 形式へ戻して超軽量化。
期間損益や勝率を、チャート上のパネルで簡易確認できる仕様に変更。
フェーズ4:視認性の完成 (V12〜V13)
High-Vis Fib: フィボナッチの重要ライン(38.2%/61.8%)を太いオレンジ実線で強調。
Visual Zone: トレード中、チャート上に「緑(利益)/赤(損失)」の帯を表示し、直感的な判断を可能に。
フェーズ5:スマート・アジャスト実装 (V14 - Current)
障害物回避機能: エントリー方向の直近に「逆側のレジサポBOX(壁)」がある場合、TPをその手前に自動短縮し、反発による含み益消滅リスクを回避。
RR自動最適化: TPの短縮に合わせて、最低限のリスクリワード(RR)を維持するようSLも自動調整する機能を搭載。
2. 全体の仕様 (Specifications)
名称: Dow Theory Cockpit
形式: インジケーター (Indicator)
※TradingViewの「ストラテジーテスター」タブは使用しません。
推奨スタイル: スキャルピング 〜 デイトレード
推奨時間足: 5分足、15分足(推奨)、1時間足
通貨ペア: 全通貨対応(Gold, Crypto, Forex, Index)
3. 特徴と機能 (Features)
① 4つの「高期待値」エントリーロジック
相場の状況に合わせて最適なサインが点灯します。
🎯 SNIPER: 行き過ぎた相場の反転(天底)を狙う逆張り。
🌊 DIP: 移動平均線の並びが良い状態での「深い押し目」を拾う順張り。
⚡ PUSH: 強いトレンド(ADX上昇中)の「浅い押し目」で飛び乗るスキャルピング用。
🚀 BREAK: ダウ理論の基本、直近高値・安値ブレイクでのエントリー。
② 視覚的環境認識ツール
レジサポ BOX: 重要価格帯を「面(ボックス)」で表示。ヒゲのダマシを許容します。
High-Vis Auto Fib: 直近の波を検知し、38.2%/61.8%(ゴールデンゾーン)を太線で強調表示。
③ 鉄壁の資金管理 (Money Management)
推奨ロット表示: 口座資金と許容リスク(%)に基づき、適正ロット数を自動計算して表示します。
TP/SL ゾーン: エントリー中、チャート上に「利確までの緑の帯」と「損切までの赤の帯」が表示され、価格の進行度合いが一目で分かります。
④ スマート・アジャスト機能 (Smart Adjust) ★NEW
機能: エントリー時、目標地点の手前に「強力なレジサポBOX」があるかを自動検知します。
動作:
通常時: 設定通りのRR(2.5倍など)でTP/SLを表示。
壁がある時: **「壁の手前」**にTPを引き下げ、それに合わせてSLも浅く調整します。
表示: 調整が行われた場合、ラベルに 「⚠️Adj(調整済み)」 と警告が出ます。
⑤ 情報集約パネル
Main Panel: 全時間足のトレンド方向、直近の勝率、期間内の純損益を表示。
Scanner: Gold / JPY / BTC の動向と、日米経済指標を常時監視。
4. 使い方 (How to Use)
STEP 1: 初期設定
インジケーター設定の 【F. 資金管理】 を開き、口座資金 と リスク(%) を入力します。
【T. バックテスト期間】 で損益計算を開始したい日付を設定します。
STEP 2: エントリー判断
チャートに 「★ BUY」 または 「★ SELL」 のラベルが出現するのを待ちます。
ラベルの確認:
「⚠️Adj」 と出ている場合 → 「近くに壁があるため、TP/SLを狭く調整しました」という意味です。勝率は上がりますが、値幅は小さくなります。
何も出ていない場合 → 「障害物なし。通常のRRで大きく狙います」という意味です。
STEP 3: 注文 (Execution)
ラベルの数値を信頼して注文を出します。
Lot: 表示された数量を入力。
TP/SL: 表示された価格に指値・逆指値を置く。
STEP 4: 決済 (Exit)
チャート上の 「緑の帯(TP)」 か 「赤の帯(SL)」 にローソク足が到達したら決済です。
**「スマートアジャスト」により、壁の手前で利確設定されているため、「反発して戻ってくる前に逃げ切る」**ことができます。
Candle Anatomy (feat. Dr. Rupward)# Candle Anatomy (feat. Dr. Rupward)
## Overview
This indicator dissects a single Higher Timeframe (HTF) candle and displays it separately on the right side of your chart with detailed anatomical analysis. Instead of cluttering your entire chart with analysis on every candle, this tool focuses on what matters most: understanding the structure and strength of the most recent HTF candle.
---
## Why I Built This
When analyzing price action, I often found myself manually calculating wick-to-body ratios, estimating retracement levels, and trying to gauge candle strength. This indicator automates that process and presents it in a clean, visual format.
The "Dr. Rupward" theme is just for fun – a lighthearted way to present technical analysis. Think of it as your chart's "health checkup." Don't take it too seriously, but do take the data seriously!
---
## How It Works
### 1. Candle Decomposition
The indicator breaks down the HTF candle into three components:
- **Upper Wick %** = (High - max(Open, Close)) / Range × 100
- **Body %** = |Close - Open| / Range × 100
- **Lower Wick %** = (min(Open, Close) - Low) / Range × 100
Where Range = High - Low
### 2. Strength Assessment
Based on body percentage:
- **Strong** (≥70%): High conviction move, trend likely to continue
- **Moderate** (40-69%): Normal price action
- **Weak** (<40%): Indecision, potential reversal or consolidation
### 3. Pressure Analysis
- **Upper Wick** indicates selling pressure (bulls pushed up, but sellers rejected)
- **Lower Wick** indicates buying pressure (bears pushed down, but buyers rejected)
Thresholds:
- ≥30%: Strong pressure
- 15-29%: Moderate pressure
- <15%: Weak pressure
### 4. Pattern Recognition
The indicator automatically detects:
| Pattern | Condition |
|---------|-----------|
| Doji | Body < 10% |
| Hammer | Lower wick ≥ 60%, Upper wick < 10%, Body < 35% |
| Shooting Star | Upper wick ≥ 60%, Lower wick < 10%, Body < 35% |
| Marubozu | Body ≥ 90% |
| Spinning Top | Body < 30%, Both wicks > 25% |
### 5. Fibonacci Levels
Displays key Fibonacci retracement and extension levels based on the candle's range:
**Retracement:** 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
**Extension:** 1.272, 1.618, 2.0, 2.618
**Negative Extension:** -0.272, -0.618, -1.0
These levels help identify potential support/resistance if price retraces into or extends beyond the analyzed candle.
### 6. Comparison with Previous Candle
When enabled, displays the previous HTF candle (semi-transparent) alongside the current one. This allows you to:
- Compare range expansion/contraction
- Observe momentum shifts
- Identify continuation or reversal setups
---
## Settings Explained
### Display Settings
- **Analysis Timeframe**: The HTF candle to analyze (default: Daily)
- **Offset from Chart**: Distance from the last bar (default: 15)
- **Candle Width**: Visual width of the anatomy candle
- **Show Previous Candle**: Toggle comparison view
### Fibonacci Levels
- Toggle individual levels on/off based on your preference
- Retracement levels for pullback analysis
- Extension levels for target projection
### Diagnosis Panel
- Shows pattern name, strength assessment, and expected behavior
- Can be toggled off if you prefer minimal display
---
## Use Cases
1. **Swing Trading**: Analyze daily candle structure before entering on lower timeframes
2. **Trend Confirmation**: Strong body % with minimal upper wick = healthy trend
3. **Reversal Detection**: Hammer/Shooting Star patterns with high wick %
4. **Target Setting**: Use Fibonacci extensions for take-profit levels
---
## Notes
- This indicator is designed for analysis, not for generating buy/sell signals
- Works best on liquid markets with clean price action
- The "diagnosis" is algorithmic interpretation, not financial advice
- Combine with your own analysis and risk management
---
## About the Name
"Dr. Rupward" is a playful persona I created – combining "Right" + "Upward" (my trading philosophy) with a doctor theme because we're "diagnosing" candle health. It's meant to make technical analysis a bit more fun and approachable. Enjoy!
---
## Feedback Welcome
If you find this useful or have suggestions for improvement, feel free to leave a comment. Happy trading!
Intrabar Volume Flow IntelligenceIntrabar Volume Flow Intelligence: A Comprehensive Analysis:
The Intrabar Volume Flow Intelligence indicator represents a sophisticated approach to understanding market dynamics through the lens of volume analysis at a granular, intrabar level. This Pine Script version 5 indicator transcends traditional volume analysis by dissecting price action within individual bars to reveal the true nature of buying and selling pressure that often remains hidden when examining only the external characteristics of completed candlesticks. At its core, this indicator operates on the principle that volume is the fuel that drives price movement, and by understanding where volume is being applied within each bar—whether at higher prices indicating buying pressure or at lower prices indicating selling pressure—traders can gain a significant edge in anticipating future price movements before they become obvious to the broader market.
The foundational innovation of this indicator lies in its use of lower timeframe data to analyze what happens inside each bar on your chart timeframe. While most traders see only the open, high, low, and close of a five-minute candle, for example, this indicator requests data from a one-minute timeframe by default to see all the individual one-minute candles that comprise that five-minute bar. This intrabar analysis allows the indicator to calculate a weighted intensity score based on where the price closed within each sub-bar's range. If the close is near the high, that volume is attributed more heavily to buying pressure; if near the low, to selling pressure. This methodology is far more nuanced than simple tick volume analysis or even traditional volume delta calculations because it accounts for the actual price behavior and distribution of volume throughout the formation of each bar, providing a three-dimensional view of market participation.
The intensity calculation itself demonstrates the coding sophistication embedded in this indicator. For each intrabar segment, the indicator calculates a base intensity using the formula of close minus low divided by the range between high and low. This gives a value between zero and one, where values approaching one indicate closes near the high and values approaching zero indicate closes near the low. However, the indicator doesn't stop there—it applies an open adjustment factor that considers the relationship between the close and open positions within the overall range, adding up to twenty percent additional weighting based on directional movement. This adjustment ensures that strongly directional intrabar movement receives appropriate emphasis in the final volume allocation. The adjusted intensity is then bounded between zero and one to prevent extreme outliers from distorting the analysis, demonstrating careful consideration of edge cases and data integrity.
The volume flow calculation multiplies this intensity by the actual volume transacted in each intrabar segment, creating buy volume and sell volume figures that represent not just quantity but quality of market participation. These figures are accumulated across all intrabar segments within the parent bar, and simultaneously, a volume-weighted average price is calculated for the entire bar using the typical price of each segment multiplied by its volume. This intrabar VWAP becomes a critical reference point for understanding whether the overall bar is trading above or below its fair value as determined by actual transaction levels. The deviation from this intrabar VWAP is then used as a weighting mechanism—when the close is significantly above the intrabar VWAP, buying volume receives additional weight; when below, selling volume is emphasized. This creates a feedback loop where volume that moves price away from equilibrium is recognized as more significant than volume that keeps price near balance.
The imbalance filter represents another layer of analytical sophistication that separates meaningful volume flows from normal market noise. The indicator calculates the absolute difference between buy and sell volume as a percentage of total volume, and this imbalance must exceed a user-defined threshold—defaulted to twenty-five percent but adjustable from five to eighty percent—before the volume flow is considered significant enough to register on the indicator. This filtering mechanism ensures that only bars with clear directional conviction contribute to the cumulative flow measurements, while bars with balanced buying and selling are essentially ignored. This is crucial because markets spend considerable time in equilibrium states where volume is simply facilitating position exchanges without directional intent. By filtering out these neutral periods, the indicator focuses trader attention exclusively on moments when one side of the market is demonstrating clear dominance.
The decay factor implementation showcases advanced state management in Pine Script coding. Rather than allowing imbalanced volume to simply disappear after one bar, the indicator maintains decayed values using variable state that persists across bars. When a new significant imbalance occurs, it replaces the decayed value; when no significant imbalance is present, the previous value is multiplied by the decay factor, which defaults to zero point eight-five. This means that a large volume imbalance continues to influence the indicator for several bars afterward, gradually diminishing in impact unless reinforced by new imbalances. This decay mechanism creates persistence in the flow measurements, acknowledging that large institutional volume accumulation or distribution campaigns don't execute in single bars but rather unfold across multiple bars. The cumulative flow calculation then sums these decayed values over a lookback period, creating a running total that represents sustained directional pressure rather than momentary spikes.
The dual moving average crossover system applied to these volume flows creates actionable trading signals from the underlying data. The indicator calculates both a fast exponential moving average and a slower simple moving average of the buy flow, sell flow, and net flow values. The use of EMA for the fast line provides responsiveness to recent changes while the SMA for the slow line provides a more stable baseline, and the divergence or convergence between these averages signals shifts in volume flow momentum. When the buy flow EMA crosses above its SMA while volume is elevated, this indicates that buying pressure is not only present but accelerating, which is the foundation for the strong buy signal generation. The same logic applies inversely for selling pressure, creating a symmetrical approach to detecting both upside and downside momentum shifts based on volume characteristics rather than price characteristics.
The volume threshold filtering ensures that signals only generate during periods of statistically significant market participation. The indicator calculates a simple moving average of total volume over a user-defined period, defaulted to twenty bars, and then requires that current volume exceed this average by a multiplier, defaulted to one point two times. This ensures that signals occur during periods when the market is actively engaged rather than during quiet periods when a few large orders can create misleading volume patterns. The indicator even distinguishes between high volume—exceeding the threshold—and very high volume—exceeding one point five times the threshold—with the latter triggering background color changes to alert traders to exceptional participation levels. This tiered volume classification allows traders to calibrate their position sizing and conviction levels based on the strength of market participation supporting the signal.
The flow momentum calculation adds a velocity dimension to the volume analysis. By calculating the rate of change of the net flow EMA over a user-defined momentum length—defaulted to five bars—the indicator measures not just the direction of volume flow but the acceleration or deceleration of that flow. A positive and increasing flow momentum indicates that buying pressure is not only dominant but intensifying, which typically precedes significant upward price movements. Conversely, negative and decreasing flow momentum suggests selling pressure is building upon itself, often preceding breakdowns. The indicator even calculates a second derivative—the momentum of momentum, termed flow acceleration—which can identify very early turning points when the rate of change itself begins to shift, providing the most forward-looking signal available from this methodology.
The divergence detection system represents one of the most powerful features for identifying potential trend reversals and continuations. The indicator maintains separate tracking of price extremes and flow extremes over a lookback period defaulted to fourteen bars. A bearish divergence is identified when price makes a new high or equals the recent high, but the net flow EMA is significantly below its recent high—specifically less than eighty percent of that high—and is declining compared to its value at the divergence lookback distance. This pattern indicates that while price is pushing higher, the volume support for that movement is deteriorating, which frequently precedes reversals. Bullish divergences work inversely, identifying situations where price makes new lows without corresponding weakness in volume flow, suggesting that selling pressure is exhausted and a reversal higher is probable. These divergence signals are plotted as distinct diamond shapes on the indicator, making them visually prominent for trader attention.
The accumulation and distribution zone detection provides a longer-term context for understanding institutional positioning. The indicator uses the bars-since function to track consecutive periods where the net flow EMA has remained positive or negative. When buying pressure has persisted for at least five consecutive bars, average intensity exceeds zero point six indicating strong closes within bar ranges, and volume is elevated above the threshold, the indicator identifies an accumulation zone. These zones suggest that smart money is systematically building long positions across multiple bars despite potentially choppy or sideways price action. Distribution zones are identified through the inverse criteria, revealing periods when institutions are systematically exiting or building short positions. These zones are visualized through colored fills on the indicator pane, creating a backdrop that helps traders understand the broader volume flow context beyond individual bar signals.
The signal strength scoring system provides a quantitative measure of conviction for each buy or sell signal. Rather than treating all signals as equal, the indicator assigns point values to different signal components: twenty-five points for the buy flow EMA-SMA crossover, twenty-five points for the net flow EMA-SMA crossover, twenty points for high volume presence, fifteen points for positive flow momentum, and fifteen points for bullish divergence presence. These points are summed to create a buy score that can range from zero to one hundred percent, with higher scores indicating that multiple independent confirmation factors are aligned. The same methodology creates a sell score, and these scores are displayed in the information table, allowing traders to quickly assess whether a signal represents a tentative suggestion or a high-conviction setup. This scoring approach transforms the indicator from a binary signal generator into a nuanced probability assessment tool.
The visual presentation of the indicator demonstrates exceptional attention to user experience and information density. The primary display shows the net flow EMA as a thick colored line that transitions between green when above zero and above its SMA, indicating strong buying, to a lighter green when above zero but below the SMA, indicating weakening buying, to red when below zero and below the SMA, indicating strong selling, to a lighter red when below zero but above the SMA, indicating weakening selling. This color gradient provides immediate visual feedback about both direction and momentum of volume flows. The net flow SMA is overlaid in orange as a reference line, and a zero line is drawn to clearly delineate positive from negative territory. Behind these lines, a histogram representation of the raw net flow—scaled down by thirty percent for visibility—shows bar-by-bar flow with color intensity reflecting whether flow is strengthening or weakening compared to the previous bar. This layered visualization allows traders to simultaneously see the raw data, the smoothed trend, and the trend of the trend, accommodating both short-term and longer-term trading perspectives.
The cumulative delta line adds a macro perspective by maintaining a running sum of all volume deltas divided by one million for scale, plotted in purple as a separate series. This cumulative measure acts similar to an on-balance volume calculation but with the sophisticated volume attribution methodology of this indicator, creating a long-term sentiment gauge that can reveal whether an asset is under sustained accumulation or distribution across days, weeks, or months. Divergences between this cumulative delta and price can identify major trend exhaustion or reversal points that might not be visible in the shorter-term flow measurements.
The signal plotting uses shape-based markers rather than background colors or arrows to maximize clarity while preserving chart space. Strong buy signals—meeting multiple criteria including EMA-SMA crossover, high volume, and positive momentum—appear as full-size green triangle-up shapes at the bottom of the indicator pane. Strong sell signals appear as full-size red triangle-down shapes at the top. Regular buy and sell signals that meet fewer criteria appear as smaller, semi-transparent circles, indicating they warrant attention but lack the full confirmation of strong signals. Divergence-based signals appear as distinct diamond shapes in cyan for bullish divergences and orange for bearish divergences, ensuring these critical reversal indicators are immediately recognizable and don't get confused with momentum-based signals. This multi-tiered signal hierarchy helps traders prioritize their analysis and avoid signal overload.
The information table in the top-right corner of the indicator pane provides real-time quantitative feedback on all major calculation components. It displays the current bar's buy volume and sell volume in millions with appropriate color coding, the imbalance percentage with color indicating whether it exceeds the threshold, the average intensity score showing whether closes are generally near highs or lows, the flow momentum value, and the current buy and sell scores. This table transforms the indicator from a purely graphical tool into a quantitative dashboard, allowing discretionary traders to incorporate specific numerical thresholds into their decision frameworks. For example, a trader might require that buy score exceed seventy percent and intensity exceed zero point six-five before taking a long position, creating objective entry criteria from subjective chart reading.
The background shading that occurs during very high volume periods provides an ambient alert system that doesn't require focused attention on the indicator pane. When volume spikes to one point five times the threshold and net flow EMA is positive, a very light green background appears across the entire indicator pane; when volume spikes with negative net flow, a light red background appears. These backgrounds create a subliminal awareness of exceptional market participation moments, ensuring traders notice when the market is making important decisions even if they're focused on price action or other indicators at that moment.
The alert system built into the indicator allows traders to receive notifications for strong buy signals, strong sell signals, bullish divergences, bearish divergences, and very high volume events. These alerts can be configured in TradingView to send push notifications to mobile devices, emails, or webhook calls to automated trading systems. This functionality transforms the indicator from a passive analysis tool into an active monitoring system that can watch markets continuously and notify the trader only when significant volume flow developments occur. For traders monitoring multiple instruments, this alert capability is invaluable for efficient time allocation, allowing them to analyze other opportunities while being instantly notified when this indicator identifies high-probability setups on their watch list.
The coding implementation demonstrates advanced Pine Script techniques including the use of request.security_lower_tf to access intrabar data, array manipulation to process variable-length intrabar arrays, proper variable scoping with var keyword for persistent state management across bars, and efficient conditional logic that prevents unnecessary calculations. The code structure with clearly delineated sections for inputs, calculations, signal generation, plotting, and alerts makes it maintainable and educational for those studying Pine Script development. The use of input groups with custom headers creates an organized settings panel that doesn't overwhelm users with dozens of ungrouped parameters, while still providing substantial customization capability for advanced users who want to optimize the indicator for specific instruments or timeframes.
For practical trading application, this indicator excels in several specific use cases. Scalpers and day traders can use the intrabar analysis to identify accumulation or distribution happening within the bars of their entry timeframe, providing early entry signals before momentum indicators or price patterns complete. Swing traders can use the cumulative delta and accumulation-distribution zones to understand whether short-term pullbacks in an uptrend are being bought or sold, helping distinguish between healthy retracements and trend reversals. Position traders can use the divergence detection to identify major turning points where price extremes are not supported by volume, providing low-risk entry points for counter-trend positions or warnings to exit with-trend positions before significant reversals.
The indicator is particularly valuable in ranging markets where price-based indicators produce numerous false breakout signals. By requiring that breakouts be accompanied by volume flow imbalances, the indicator filters out failed breakouts driven by low participation. When price breaks a range boundary accompanied by a strong buy or sell signal with high buy or sell score and very high volume, the probability of successful breakout follow-through increases dramatically. Conversely, when price breaks a range but the indicator shows low imbalance, opposing flow direction, or low volume, traders can fade the breakout or at minimum avoid chasing it.
During trending markets, the indicator helps traders identify the healthiest entry points by revealing where pullbacks are being accumulated by smart money. A trending market will show the cumulative delta continuing in the trend direction even as price pulls back, and accumulation zones will form during these pullbacks. When price resumes the trend, the indicator will generate strong buy or sell signals with high scores, providing objective entry points with clear invalidation levels. The flow momentum component helps traders stay with trends longer by distinguishing between healthy momentum pauses—where momentum goes to zero but doesn't reverse—and actual momentum reversals where opposing pressure is building.
The VWAP deviation weighting adds particular value for traders of liquid instruments like major forex pairs, stock indices, and high-volume stocks where VWAP is widely watched by institutional participants. When price deviates significantly from the intrabar VWAP and volume flows in the direction of that deviation with elevated weighting, it indicates that the move away from fair value is being driven by conviction rather than mechanical order flow. This suggests the deviation will likely extend further, creating continuation trading opportunities. Conversely, when price deviates from intrabar VWAP but volume flow shows reduced intensity or opposing direction despite the weighting, it suggests the deviation will revert to VWAP, creating mean reversion opportunities.
The ATR normalization option makes the indicator values comparable across different volatility regimes and different instruments. Without normalization, a one-million share buy-sell imbalance might be significant for a low-volatility stock but trivial for a high-volatility cryptocurrency. By normalizing the delta by ATR, the indicator accounts for the typical price movement capacity of the instrument, making signal thresholds and comparison values meaningful across different trading contexts. This is particularly valuable for traders running the indicator on multiple instruments who want consistent signal quality regardless of the underlying instrument characteristics.
The configurable decay factor allows traders to adjust how persistent they want volume flows to remain influential. For very short-term scalping, a lower decay factor like zero point five will cause volume imbalances to dissipate quickly, keeping the indicator focused only on very recent flows. For longer-term position trading, a higher decay factor like zero point nine-five will allow significant volume events to influence the indicator for many bars, revealing longer-term accumulation and distribution patterns. This flexibility makes the single indicator adaptable to trading styles ranging from one-minute scalping to daily chart position trading simply by adjusting the decay parameter and the lookback bars.
The minimum imbalance percentage setting provides crucial noise filtering that can be optimized per instrument. Highly liquid instruments with tight spreads might show numerous small imbalances that are meaningless, requiring a higher threshold like thirty-five or forty percent to filter noise effectively. Thinly traded instruments might rarely show extreme imbalances, requiring a lower threshold like fifteen or twenty percent to generate adequate signals. By making this threshold user-configurable with a wide range, the indicator accommodates the full spectrum of market microstructure characteristics across different instruments and timeframes.
In conclusion, the Intrabar Volume Flow Intelligence indicator represents a comprehensive volume analysis system that combines intrabar data access, sophisticated volume attribution algorithms, multi-timeframe smoothing, statistical filtering, divergence detection, zone identification, and intelligent signal scoring into a cohesive analytical framework. It provides traders with visibility into market dynamics that are invisible to price-only analysis and even to conventional volume analysis, revealing the true intentions of market participants through their actual transaction behavior within each bar. The indicator's strength lies not in any single feature but in the integration of multiple analytical layers that confirm and validate each other, creating high-probability signal generation that can form the foundation of complete trading systems or provide powerful confirmation for discretionary analysis. For traders willing to invest time in understanding its components and optimizing its parameters for their specific instruments and timeframes, this indicator offers a significant informational advantage in increasingly competitive markets where edge is derived from seeing what others miss and acting on that information before it becomes consensus.
NSDT LatticeThis script automatically detects the Open price once the Futures markets open (6PM Eastern Time) and plots Support/Resistance levels based on the "Ticks Between Levels" that the trader enters in the settings.
The trader can also chose to set their own Custom Start Price should they wish to. For example: If they want to use the New York session Open price (for RTH) instead of the Asia session Open price (ETH).
You can change the colors and thickness of the lines, as well as the numbers of levels plotted.
Dynamic Supports + Volume Profile (Smart Time Selector)This indicator is an "All-in-One" tool designed to simplify Market Structure and Volume analysis on higher timeframes (especially Daily charts).
Its main innovation is the **Unique Period Selector**, which automatically adjusts 5 internal parameters (tolerance, pivot sensitivity, resolution, and historical depth) with a single click.
**🛠️ MAIN FEATURES:**
1. **Automatic Engine (1-5 Years):**
* Forget about manually setting pivot lengths or "Lookback".
* Select **"1 Year"**: The script scans for fast pivots and recent volume for *Swing Trading*.
* Select **"5 Years"**: The script filters noise and shows only "Rock-Solid" structures (Historical S/R) for *Long Term Investing*.
2. **"Merged" Support & Resistance (S/R):**
* The script detects Pivot Highs/Lows.
* **Fusion Logic:** If price bounces multiple times in the same zone (within calculated tolerance), the script updates the existing line instead of drawing a new one. It extends the line and counts the touches (e.g., "S (4)" means a Support validated 4 times).
* **Clean Chart:** Avoids visual noise.
3. **Lateral Volume Profile (VP):**
* Displays volume distribution to the right of the current price.
* **Orange POC (Point of Control):** Marks the exact price level with the highest trading volume in the selected period.
**🚀 HOW TO USE (STRATEGY):**
Best used on the **Daily Timeframe (1D)**:
* **Scenario 1: Mean Reversion**
* If price moves far from the **Orange POC**, look for it to act as a magnet.
* Enter when price touches a **Green Line (Support)** that aligns with a high volume node.
* **Scenario 2: Breakout**
* If price breaks a **Red Line (Resistance)** aggressively and the volume above is thin (low volume nodes), the move tends to be fast due to lack of friction.
* **Scenario 3: Multi-Timeframe Analysis**
* Use "5 Years" to mark your long-term zones.
* Switch to "1 Year" for tactical entries.
**🎨 VISUAL SETTINGS:**
* **Green Lines:** Demand Zones (Supports).
* **Red Lines:** Supply Zones (Resistances).
* **Dotted Orange Line:** POC (Fair Value).
* **Blue Bars:** Volume Profile.
**Disclaimer / Descargo:**
This script is designed for educational and analytical purposes on the daily timeframe. Use it to identify zones of interest, not as automatic buy/sell signals.
Advanced Momentum TrackerThe Advanced Momentum Tracker (AMT) is a technical indicator designed to identify high-probability trend reversals and momentum shifts in real-time. Unlike traditional indicators that rely solely on mathematical formulas, AMT analyzes price action structure and historical patterns to detect when market momentum is shifting from bullish to bearish (and vice versa).
Core Methodology:
The indicator tracks consecutive price movements and maintains a comprehensive database of historical momentum patterns. It identifies trend changes by analyzing:
Sequential candle relationships (opens and closes)
Break of key trailing stop levels formed by recent price action
Historical success rates of similar momentum patterns
Key Features
1. Dynamic Levels:
Automatically plots real-time dynamic trailing stop levels based on current momentum
Color-coded lines: Green for bullish momentum, Red for bearish momentum
These levels act as trigger points for potential trend changes
2. Entry Signal Markers:
Clear BUY (↑) and SELL (↓) arrows when momentum shifts are detected
Arrows positioned above/below candles for maximum visibility ,Signals only appear on confirmed trend changes
3. Momentum Score Display:
Shows statistical probability based on historical pattern analysis
Displays strength percentage of current momentum continuation
Helps traders assess confidence level of the current trend
4. Exit Zone Indicator:
Plots recommended exit levels for active positions
Dynamic color coding: Red for long exits, Green for short exits
Warning system (orange) when price breaches exit zones
5. Position Management Filter:
Optional risk filter to avoid trades with excessive distance from trigger level
Customizable position threshold percentage
Helps maintain consistent risk-reward ratios
6. Comprehensive Alert System:
Customizable alert messages for both long and short signals
Configurable alert frequency (once per bar or once per bar close)
Real-time notifications for all signal types
Customization Options-
Visual Settings:
Toggle visibility of current price level, momentum score, and exit zones
Customizable colors for all elements (bullish/bearish themes)
Adjustable line thickness for dynamic levels
Entry Markers:
Custom colors for long and short entry signals
Adjustable arrow distance from candles
Core Parameters:
Historical Depth: Amount of past data to analyze (default: 20,000 bars)
Sensitivity Level: Controls how strong a move must be to trigger signals (default: 4)
Higher values = fewer but stronger signals
Lower values = more signals with earlier entries
Position Management:
Enable/disable position filter
Set maximum acceptable risk threshold as percentage
How It Works:-
Momentum Detection Engine: The script continuously monitors price action, tracking each bullish and bearish leg. It maintains arrays of opens, closes, and counts to build a comprehensive picture of market structure.
Pattern Recognition: When price breaks key levels (minimum/maximum of recent candles based on sensitivity), the indicator recognizes a potential momentum shift.
Statistical Validation: The script compares the current pattern against its historical database to calculate the probability of momentum continuation.
Signal Generation: When a valid trend change is detected (and passes the position filter if enabled), entry signals are displayed with corresponding exit zones.
Best Use Cases:
Swing trading on any timeframe (works on 1m to 1D charts)
Trend reversal identification
Momentum trading strategies
Works on all markets: Forex, Stocks, Crypto, Indices, Commodities etc
Recommended Settings:
Scalping/Day Trading: Sensitivity 2-3, Historical Depth 10,000-20,000
Swing Trading: Sensitivity 3-4, Historical Depth 20,000-30,000
Position Trading: Sensitivity 4-5, Historical Depth 30,000+
Important Notes:
Signals appear only on confirmed bars (not on real-time candles unless confirmed)
The momentum score becomes more accurate as more historical data is processed
Position filter should be adjusted based on the volatility of the instrument being traded
Best used in conjunction with proper risk management and position sizing
What Makes This Indicator Unique:
Unlike indicators that simply apply mathematical formulas to price data, AMT learns from historical price behavior. It doesn't just tell you what happened—it tells you what's likely to happen next based on thousands of similar situations in the past. The statistical momentum score provides an edge that pure technical indicators cannot offer.
Disclaimer: This indicator is a tool for technical analysis and should not be used as the sole basis for trading decisions. Always use proper risk management and combine with your own analysis. Happy Trading !!
Virgin-VWAPThis draws the Virgin levels of VWAP.
It gives a visual representation of Volume-Weighted Gap Map.
Visual "Fill": It looks like a "Gap Fill" indicator. The lines will look like rectangles or "beams" shooting across the chart, stopping exactly where the market "filled" that price level.
Trimmed lines: The virgin line gets trimmed once touched. This tells you: "This level was hit, it might still be support/resistance, but the 'Virgin' status is gone."
Terminal Labels: A vigin vwap lines carries the price label so ones can see the strike's value at a glance.
Clean Forward Space: Because the lines stop when touched, your "future" chart (the empty space to the right) won't be cluttered with old lines that are no longer relevant. You will only see the lines for levels that haven't been hit yet extending into the empty space.
Was built for NSE options in mind, seeing those "beams" of historical value stop exactly where price met them is a powerful way to visualize where the market has found "fair value" versus where there are still "unfilled orders."
PS: Built with Gemini 3!!
Price Levels [TickDaddy] - v5Added more instruments and fixed some calculation errors. please let me know if you find anything else!
BogBog Session FibMarks fibs on selected session,
Current settings:
Asia Fibs
UTC -5, 20:00 -> 23:00
ZTC Key Levels IndicatorPick the levels of your likely and set bias for and entry levels for your needs.
Premarket High/Low (Today + Yesterday)Plots Premarket High and Low (04:00–09:30 ET) for the current day and previous day.
Designed for intraday traders who use premarket structure as key levels.
Universal Market Sessions | Forex & FuturesThis indicator delivers a fully customizable and professional view of global market sessions directly on the chart. It is designed for both Forex and Futures traders and includes a built in mode switch that adjusts session structure and behavior based on the selected market.
All major sessions including Sydney Asia Frankfurt London and New York are displayed as clean session boxes with top centered labels for quick and intuitive identification. Every component of the indicator can be edited through the settings, including session times session names colors border styles transparency and visibility. This allows the script to adapt to any instrument broker feed or personal trading workflow.
For Forex trading, the indicator offers an optional Europe session that can merge the Frankfurt and London sessions into a single unified session. This feature is intended for traders who want a simplified European view without losing awareness of the full trading window.
The Futures mode is structured specifically around futures market behavior, using non overlapping sessions and clearly defined transitions. It includes New York pre market regular trading hours and a labeled break period to help traders identify liquidity shifts and session handoffs with clarity.
The script is lightweight efficient and intentionally minimal while still offering deep customization. It is well suited for traders who value precision flexibility and a clean professional chart layout without unnecessary visual noise.
This is a improved script from my first one "ES Sessions - Asia / London / NY / Break"
@burntledger IG
Triangles (trade direction) + info box (SL/Entry/TP)Purpose of the programme
The program detects simple reversing candles,
defines a clearly defined stop loss in pips,
automatically calculates a CRV-based take profit and displays SL, Entry and TP clearly in an info box in the chart.
What is the program ideally suited for?
Discretionary trading
Scalping & Intraday
Liquidity sweep setups
Fakeouts/stop hunts
Structure Reversals
Preparation of trades with clearly defined risk
What the program deliberately does NOT do
❌ No Orders
❌ No backtesting
❌ No alerts
❌ No repainting
❌ No indicator mix (RSI, EMA, etc.)
It is 100% price action based.






















