S/R Pro – 4-Level Zone-Based Signal Engine v4S/R Pro – 4-Level Zone-Based Signal Engine v4
The indicator combines support/resistance levels, moving averages, and cloud zones to identify trend strength and entry points. On higher timeframes, it helps define market direction, while on lower timeframes it provides buy/sell signals.
成交量
Volume TargetThis tool highlights unusual volume by comparing it against a moving average benchmark. Users can set the average type/length and define a volume target as a percentage of that average. The script colors bars and provides alerts when volume exceeds the target
Institutions order spikes spotter//@version=5
indicator("Volume Spike — QuickFire (TF-Adaptive)", overlay=true, max_labels_count=500)
//––– Helpers –––
barsFromMinutes(mins, avgBarMs) =>
ms = mins * 60000.0
int(math.max(2, math.round(ms / math.max(1.0, nz(avgBarMs, 60000.0)))))
alphaFromLen(lenBarsFloat) =>
lb = math.max(2.0, lenBarsFloat)
2.0 / (lb + 1.0) // EMA alpha
//––– Inputs –––
useMinutesHorizon = input.bool(true, "Use Minutes Horizon (TF-adaptive)")
presetMinutes = input.string("120","Horizon Preset (min)", options= )
horizonMinutes = input.int(240, "Custom Horizon (min) if preset OFF", minval=10, maxval=24*60)
usePresetMins = input.bool(true, "Use Preset")
// Sensitivity (LOOSE defaults)
multK = input.float(2.2, "K: vol > baseline × K", minval=1.1, step=0.1)
zThresh = input.float(2.5, "Z: vol > mean + Z·stdev", minval=1.5, step=0.1)
requireBoth = input.bool(false, "Require BOTH (K & Z). If OFF → EITHER")
// Optional filters (OFF by default)
useNewExtreme = input.bool(false, "Require New Extreme vs Prior Max (OFF)")
priorWinBarsInp = input.int(100, "Prior-Max Window (bars)", minval=20, maxval=5000)
priorFactor = input.float(1.20, "New Extreme ≥ priorMax ×", minval=1.0, step=0.05)
minDollarVol = input.float(0.0, "Min Dollar-Volume (price×vol×mult) — 0=off", step=1.0)
contractMult = input.float(1.0, "Contract/Dollar Multiplier (e.g., NQ 20, MNQ 2)", step=0.1)
sessionOnly = input.bool(false, "Restrict to Session (OFF)")
sess = input.session("0830-1600", "Session (exchange tz)")
earlyDetect = input.bool(true, "Early Intrabar Detection")
cooldownMins = input.int(10, "Cooldown Minutes", minval=0, maxval=24*60)
markerSize = input.string("normal", "Marker Size", options= )
showLabel = input.bool(false, "Show ratio label")
shadeNear = input.bool(true, "Shade near-misses (only one condition)")
colUp = color.new(color.teal, 0)
colDn = color.new(color.red, 0)
colBgHit = color.new(color.yellow, 80)
colBgNear = color.new(color.silver, 88)
//––– Derived (minutes → bars → alphas) –––
avgBarMs = ta.sma(time - time , 50)
useMin = usePresetMins ? str.tonumber(presetMinutes) : horizonMinutes
lenEffBars = useMinutesHorizon ? barsFromMinutes(useMin, avgBarMs) : useMin
lenEffF = float(lenEffBars)
alphaVol = alphaFromLen(lenEffF)
alphaATR = alphaFromLen(math.max(10.0, lenEffF/2.0))
cooldownBars = useMinutesHorizon ? barsFromMinutes(cooldownMins, avgBarMs) : cooldownMins
//––– Guards –––
inSess = sessionOnly ? not na(time(timeframe.period, sess)) : true
//––– EW stats (no series-int) –––
vol = volume
var float vMean = na
var float vVar = na
vMeanPrev = nz(vMean , vol)
vMean := na(vMean ) ? vol : vMeanPrev + alphaVol * (vol - vMeanPrev)
delta = vol - vMeanPrev
vVar := na(vVar ) ? 0.0 : (1.0 - alphaVol) * (nz(vVar ) + alphaVol * delta * delta)
vStd = math.sqrt(math.max(vVar, 0.0))
// EW ATR (for optional anatomy later if you want)
trueRange = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
var float atrEW = na
atrEW := na(atrEW ) ? trueRange : atrEW + alphaATR * (trueRange - atrEW )
// Intrabar scaling
elapsedMs = barstate.isrealtime ? (timenow - time) : nz(avgBarMs, 0)
frac = earlyDetect ? math.max(0.0, math.min(1.0, elapsedMs / math.max(1.0, nz(avgBarMs, 1)))) : 1.0
// Thresholds
thMult = nz(vMean, 0) * multK
thZ = nz(vMean, 0) + zThresh * vStd
thMultEf = thMult * frac
thZEf = thZ * frac
condMult = vol > thMultEf
condZ = vol > thZEf
condCore = requireBoth ? (condMult and condZ) : (condMult or condZ)
// Optional filters (default OFF)
priorMax = ta.highest(vol , priorWinBarsInp)
condNewMax = not useNewExtreme or (vol >= priorMax * priorFactor)
dollarVol = close * vol * contractMult
condDVol = (minDollarVol <= 0) or (dollarVol >= minDollarVol)
// Cooldown
var int lastSpikeBar = -1000000000
coolOK = (bar_index - lastSpikeBar) > cooldownBars
// Final event (minimal gates)
isSpike = inSess and condCore and condNewMax and condDVol and coolOK
// Near-miss shading (only one condition true)
nearMiss = shadeNear and inSess and not isSpike and (condMult != condZ) and (condMult or condZ)
// Severity
ratio = nz(vol) / nz(vMean, 1.0)
dirUp = close >= open
// Update cooldown stamp
if isSpike
lastSpikeBar := bar_index
//––– Plotting –––
bgcolor(isSpike ? colBgHit : nearMiss ? colBgNear : na)
isUp = isSpike and dirUp
isDn = isSpike and not dirUp
// const-size markers
plotshape(markerSize == "tiny" and isUp, title="Spike Up tiny", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.tiny)
plotshape(markerSize == "small" and isUp, title="Spike Up small", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.small)
plotshape(markerSize == "normal" and isUp, title="Spike Up normal", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.normal)
plotshape(markerSize == "large" and isUp, title="Spike Up large", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.large)
plotshape(markerSize == "huge" and isUp, title="Spike Up huge", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.huge)
plotshape(markerSize == "tiny" and isDn, title="Spike Dn tiny", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.tiny)
plotshape(markerSize == "small" and isDn, title="Spike Dn small", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.small)
plotshape(markerSize == "normal" and isDn, title="Spike Dn normal", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.normal)
plotshape(markerSize == "large" and isDn, title="Spike Dn large", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.large)
plotshape(markerSize == "huge" and isDn, title="Spike Dn huge", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.huge)
// Optional label
if showLabel and isSpike
y = dirUp ? low : high
st = dirUp ? label.style_label_down : label.style_label_up
c = dirUp ? colUp : colDn
label.new(bar_index, y, str.tostring(ratio, "#.##x"), xloc=xloc.bar_index, style=st, textcolor=color.white, color=c)
// Alerts
alertcondition(isSpike, title="Volume Spike (Any)", message="Volume spike detected.")
alertcondition(isSpike and isUp, title="Volume Spike Up", message="UP volume spike.")
alertcondition(isSpike and isDn, title="Volume Spike Down", message="DOWN volume spike.")
// Hidden refs (optional)
plot(ratio, title="Severity Ratio", display=display.none)
plot(dollarVol, title="Dollar Volume", display=display.none)
plot(atrEW, title="EW ATR", display=display.none)
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
Simple TPODisplays price distribution over time using Time Price Opportunities (TPO). Shows Point of Control (POC), Value Area High/Low (VAH/VAL) levels to identify key support/resistance zones and fair value areas. Includes customizable timeframes and price breakout alerts.
RSI + Sell/Buy RatesEnglish follow
Sell/Buy Rates = des barres vert/rouge qui mesurent la pression acheteurs vs vendeurs (calculé à partir des bougies et du volume), centrées sur 50. > 50 (vert) : acheteurs dominent. < 50 (rouge) : vendeurs dominent. Plus loin de 50 ⇒ plus fort. Avec le RSI : on ne fait que confirmer — RSI > 50 et barres > 50 → acheteurs ; RSI < 50 et barres < 50 → vendeurs ; sinon on s’abstient.
Sell/Buy Rates = green/red bars that measure buyer vs. seller pressure (calculated from candles and volume), centered at 50.
> 50 (green): buyers dominate. < 50 (red): sellers dominate.
Farther from 50 ⇒ stronger.
With RSI: it’s just a confirmation — RSI > 50 and bars > 50 → buyers; RSI < 50 and bars < 50 → sellers; otherwise, stand aside.
Volume + RSI & MA Differential"Volume + RSI & MA Differential," integrates volume, RSI, and moving average differentials to generate trading signals. The script calculates a 14-period RSI to identify overbought or oversold conditions, with customizable thresholds for buy and sell signals. It also computes a 20-period SMA of the volume to smooth out trading activity data, helping to identify trends in market participation.
The script incorporates a fast (50-period) and a slow (200-period) SMA to analyze short-term and long-term trends, respectively. The differential between these moving averages, adjusted by the volume SMA, is used to identify potential trend changes or confirmations. Bars are colored yellow when the RSI is below the buy threshold and volume is high, indicating a potential buy signal. Conversely, bars turn red when the RSI is above the sell threshold and the fast MA is below the current close price, suggesting a potential sell signal. Neutral conditions result in grey bars.
Additionally, the script uses color-coding to plot the volume SMA and a line that changes color based on the moving average differential. A black line indicates a broadening MA cloud and a bullish trend, while a grey line suggests a narrowing MA cloud and a potential selloff. A yellow line signals the beginning of a buyback. This visual representation helps traders quickly identify potential trading opportunities and trend changes, making the script a valuable tool for technical analysis.
Candle Spread + ATR SMA Analysis
This indicator combines elements from two popular open-source scripts — Candle Range Compare
by @oldinvestor
and Objective Analysis of Spread (VSA)
by @Rin-Nin
— into a single tool for analyzing candle spreads (ranges and bodies) in relation to volatility benchmarks.
🔎 What It Does
Candle Decomposition:
Plots total candle ranges (high–low) in gray, for both up and down closes.
Plots up-close bodies (open–close) in white.
Plots down-close bodies in black.
This makes it easy to spot whether volatility comes from real price movement (body) or extended wicks.
ATR & SMA Volatility Bands:
Calculates ATR (Average True Range) and overlays it as a black line.
Plots four volatility envelopes derived from the SMA of the true range:
0.8× (blue, shaded)
1.3× (green)
1.8× (red)
3.0× (purple)
Colored fill zones highlight when candle spreads are below, within, or above key thresholds.
Visual Context:
Track expansion/contraction in spreads.
Compare bullish (white) vs bearish (black) bodies to gauge buying/selling pressure.
Identify when candles stretch beyond typical volatility ranges.
📈 How To Use It
VSA context: Wide down bars (black) beyond ATR bands may suggest supply; wide up bars (white) may indicate demand.
Trend confirmation: Expanding ranges above average thresholds (green/red/purple bands) often confirm momentum.
Reversal potential: Small bodies but large ranges (gray + wicks) frequently appear at turning points.
Volatility filter: Use ATR bands to filter trades — e.g., only act when candle ranges exceed 1.3× or 1.8× SMA thresholds.
🙏 Credits
This script is inspired by and combines ideas from:
Candle Range Compare
by @oldinvestor
Objective Analysis of Spread (VSA)
by @Rin-Nin
Big thanks to both authors for their valuable contributions to the TradingView community.
One thing I couldnt quite get to work is being able to display up and down wicks like in the candle range compare, so I just add that indicator to the chart as well, uncheck everything but the wick plots and there it is.
EWC Precision Blocks📌 EWC Precision Blocks
🔎 Overview
EWC Precision Blocks is a professional market analysis tool designed to highlight high-probability trading zones on the chart. Instead of relying on lagging signals, this indicator maps out Alpha Zones (bullish) and Beta Zones (bearish), allowing traders to identify potential market reaction areas with clarity.
The algorithm is built to adapt across Scalp, Swing, and Position trading modes, making it flexible for short-term intraday traders as well as long-term investors.
⚡ Key Features
Multi-Mode Detection – Switch between Scalp, Swing, or Position modes depending on your trading style.
EWC Alpha Zone (Bullish Detection) – Highlights areas where the market may find strong upward momentum.
EWC Beta Zone (Bearish Detection) – Highlights areas where the market may face downward pressure.
Zone Break Tracking – Visualizes when a zone has been invalidated or broken.
Body-Based Detection – Option to base calculations on candle bodies instead of wicks for precision.
Zone Flips – Displays polarity shifts when zones transition from supportive to resistive behavior (and vice versa).
Custom Styling – Full control of zone and break colors for clear chart visualization.
🎯 How to Use
Select Your Mode
Scalp → Designed for fast intraday moves.
Swing → Medium-term setups, ideal for session trading.
Position → Long-term outlook, suitable for investors.
Watch the Alpha Zones
Highlighted bullish areas can serve as potential support or accumulation zones.
Watch the Beta Zones
Highlighted bearish areas may act as resistance or distribution zones.
Monitor Breaks & Flips
Alpha Breaks → Bullish zones failing.
Beta Breaks → Bearish zones failing.
Zone Flips → Polarity changes, often powerful signals.
🛠 Inputs & Customization
EWC Mode → Choose Scalp, Swing, or Position.
Show Last Alpha Zone → Set how many bullish zones to display.
Show Last Beta Zone → Set how many bearish zones to display.
Body-Based Detection → Toggle candle body vs. wick calculation.
EWC Alpha Zone / Beta Zone Styling → Customize zone colors.
Alpha Break / Beta Break Colors → Adjust break visuals.
Show Zone Flips → Enable/disable historical polarity labels.
Status Bar → Display inputs directly in the chart status line.
📈 Best Practices
Works across all timeframes and markets (forex, crypto, indices, stocks).
Combine with your existing strategy for confirmation.
Use in alignment with higher timeframe structure for maximum accuracy.
⚠ Disclaimer
EWC Precision Blocks is a market visualization tool provided for educational purposes only. It does not provide financial advice, signals, or guaranteed results. Always do your own research and manage risk responsibly.
🔹 About EWC
EWC (EastWave Capital) is dedicated to developing professional-grade trading tools and strategies for traders across forex, crypto, commodities, and indices. With over a decade of combined market experience, our mission is to empower traders with precision, clarity, and confidence in their decision-making.
EWC Precision Blocks is one of our flagship tools, reflecting our commitment to innovation, transparency, and trader-focused solutions.
📌 Published by Usama Manzoor — Founder of EastWave Capital (EWC)
Sharpe Ratio -> PROFABIGHI_CAPITAL🌟 Overview
The Sharpe Ratio → PROFABIGHI_CAPITAL indicator applies comprehensive risk-adjusted performance analysis combining statistical return measurement, volatility assessment, and performance tracking . It integrates daily return calculation, rolling statistical analysis, and exponential smoothing across (Return Analysis, Risk Assessment, Performance Optimization) with advanced threshold-based visualization capabilities . The indicator features dynamic color-coded plotting , comprehensive threshold management , and integrated annualization factors for complete risk-adjusted performance analysis and systematic market performance identification.
⚙️ General Settings
– Source Selection : Custom price source input for return calculation analysis.
– Sharpe Rolling Period : Configurable period length for rolling statistical calculations.
– Smoothing Period (EMA) : Exponential moving average period for signal smoothing.
– Strong Line Threshold : Upper threshold level for strong performance identification.
– Weak Line Threshold : Lower threshold level for weak performance identification.
📊 Core Calculation Components
The indicator features comprehensive risk-adjusted analysis through systematic calculation modules:
- Daily Return Calculation : Percentage-based daily price change measurement
- Rolling Mean Analysis : Moving average of daily returns over specified period
- Volatility Assessment : Rolling standard deviation calculation for risk measurement
- Raw Sharpe Computation : Risk-adjusted return ratio with zero-division protection
- Exponential Smoothing : EMA-based signal refinement for noise reduction
- Annualization Process : Crypto-optimized annualization for standardized metrics
📈 Advanced Performance Analysis Framework
Return Analysis:
- Daily Return Computation : Precise percentage change calculation from source prices
- Rolling Mean Calculation : Statistical average of returns over rolling window
- Trend Direction Assessment : Performance momentum through return analysis
- Signal Consistency Tracking : Sustained performance measurement over time
Risk Assessment:
- Volatility Measurement : Rolling standard deviation of daily returns
- Risk-Adjusted Scaling : Sharpe ratio calculation with volatility normalization
- Zero-Division Protection : Mathematical safeguards for stable calculation
- Statistical Stability : Consistent risk metrics across market conditions
Performance Optimization:
- Signal Smoothing : EMA-based noise reduction for cleaner signals
- Annualization Process : Crypto market optimization for accurate annual metrics
- Threshold Integration : Performance classification through configurable levels
- Dynamic Assessment : Real-time performance evaluation and classification
📏 Threshold Configuration System
– Strong Performance Threshold : Configurable upper level for excellent risk-adjusted returns
– Weak Performance Threshold : Configurable lower level for poor risk-adjusted returns
– Dynamic Color Mapping : Green for strong, red for weak, gray for neutral performance
– Visual Threshold Lines : Dashed horizontal reference lines for threshold identification
– Performance Classification : Automatic categorization based on threshold relationships
📋 Advanced Mathematical Integration
Statistical Foundation :
- Return Calculation : Precise daily percentage change methodology
- Rolling Statistics : Moving window approach for dynamic assessment
- Standard Deviation : Volatility measurement for risk quantification
- Ratio Computation : Risk-adjusted performance through Sharpe methodology
Smoothing Technology :
- Exponential Moving Average : Advanced smoothing for signal clarity
- Noise Reduction : Statistical filtering for cleaner performance signals
- Trend Preservation : Smoothing while maintaining directional accuracy
- Responsive Adjustment : Dynamic adaptation to changing market conditions
🎨 Visual Features
– Dynamic Line Plotting : Color-coded Sharpe ratio line with performance-based coloring
– Threshold Reference Lines : Dashed horizontal lines for strong and weak performance levels
– Performance Color Coding : Green for strong, red for weak, gray for neutral performance
– Line Weight Optimization : Enhanced visibility with optimized line width
– Professional Formatting : Price format with precision for accurate display
🔍 Advanced Features
– Risk-Free Rate Optimization : Zero risk-free rate assumption for crypto market analysis
– Mathematical Protection : Zero-division safeguards for stable calculation
– Rolling Window Analysis : Dynamic statistical assessment over configurable periods
– Performance Optimization : Efficient calculation methods for smooth operation
– Threshold-Based Classification : Automatic performance categorization system
– Annualization Accuracy : Crypto-specific factors for precise annual metrics
– Signal Reliability : EMA smoothing for consistent performance signals
🔔 Signal Generation & Analysis
– Strong Performance Signals : Green line indication when Sharpe ratio exceeds strong threshold
– Weak Performance Alerts : Red line indication when Sharpe ratio falls below weak threshold
– Neutral Zone Identification : Gray line indication for performance between thresholds
– Threshold Cross Confirmations : Performance level transition identification
– Risk-Adjusted Momentum : Smoothed Sharpe ratio trend analysis for sustained performance
– Volatility-Adjusted Returns : Risk-normalized performance measurement for accurate assessment
– Statistical Significance : Rolling period analysis for statistically meaningful signals
– Performance Consistency : EMA smoothing for reliable signal generation
By utilizing comprehensive risk-adjusted performance analysis and threshold-based visualization , the Sharpe Ratio → PROFABIGHI_CAPITAL indicator provides systematic performance measurement with advanced statistical accuracy , offering complete risk-reward optimization through rigorous mathematical analysis , volatility assessment , and annualized performance tracking .
Stockbee ComboBearCustom indicator for identifying stocks that meet the Stockbee's ComboBear criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
ComboBearCustom indicator for identifying stocks that meet the Stockbee's ComboBear criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
Stockbee ComboBullCustom indicator for identifying stocks that meet the ComboBull criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
Weekly VwapsThe Weekly Vwaps indicator lets you plot weekly Volume-Weighted Average Price (VWAP) lines for up to six months of your choosing, with years ranging from 2020 to 2050. It’s a focused tool pulled straight from the weekly VWAP section of the Advanced VWAP Calendar indicator, keeping all the same controls and look but expanded to handle more months. You can use it alongside the original indicator if you need extra weekly VWAPs (up to 30 lines total) or run it on its own for a clean, dedicated setup.
How It Works: Six Month Groups: Pick any six months (e.g., Jan 2020, Sep 2025, or Jul 2040) and enable up to five weekly VWAPs per month (W1–W5), starting from Monday midnight.
Default Setup: Loads with September 2025 VWAPs turned on, with other months (August–April 2025) off but ready to enable. All default to 2025.
Customization: Toggle all weeks in a month or pick specific ones. Adjust label sizes (tiny to huge) and line widths (1–5). Colors are teal, fuchsia, red, green, and yellow/orange for weeks 1–5, with clear labels like “W1 Sep 2025 123.45”.
Label Control: A “Show All Labels” switch lets you hide labels to keep your chart tidy.
Intraday Only: Works on intraday timeframes (e.g., 5-minute, 1-hour) for accurate VWAPs.
Why Use It: Add to Advanced VWAP Calendar: If the original’s two-month limit isn’t enough, this adds six more months of weekly VWAPs for deeper analysis.
Standalone Option: Perfect if you only want weekly VWAPs without other features, with flexibility to pick any months and years.
User-Friendly: Ready to go with September 2025 enabled, easy to tweak for past or future data.
Get Started: Add it to your TradingView chart, and September 2025 VWAPs will show up instantly. Adjust months, years, or toggles in the settings to focus on what you need. Test it on intraday charts and use the label toggle to manage clutter. Great for traders wanting precise, customizable weekly VWAPs!
Perp Imbalance Zones • Pro (clean)USD Premium (perp vs spot) → (Perp − Spot) / Spot.
Imbalance (z-score of that premium) → how extreme the current premium is relative to its own history over lenPrem bars.
Hysteresis state machine → flips to a SHORT bias when perp-long pressure is extreme; flips to LONG bias when perp-short pressure is extreme. It exits only after the imbalance cools (prevents whipsaw).
Price stretch filter (±σ) → optional Bollinger check so signals only fire when price is already stretched.
HTF confirmation (optional) → require higher-timeframe imbalance to agree with the current-TF bias.
Gradient visuals → line + background tint deepen as |z| grows (more extreme pressure).
What you see on the pane
A single line (z):
Above 0 = perp richer than spot (perp longs pressing).
Below 0 = perp cheaper than spot (perp shorts pressing).
Guides: dotted levels at ±enterZ (entry) and ±exitZ (cool-off/exit).
Background tint:
Red when state = SHORT bias (perp longs heavy).
Blue when state = LONG bias (perp shorts heavy).
Tint intensity scales with |z| (via hotZ).
Labels (optional): prints when bias flips.
Alerts (optional): “Enter SHORT/LONG bias” and “Exit bias”.
How to use it (playbook)
Attach & set symbols
Put the script on your chart.
Set Spot symbol and Perp symbol to the venue you trade (e.g., BINANCE:BTCUSDT + BINANCE:BTCUSDTPERP).
Read the bias
SHORT bias (red background): perp longs over-extended. Look for short entries if price is at resistance, σ-stretched, or your PA system agrees.
LONG bias (blue background): perp shorts over-extended. Look for long entries at support/σ-stretched down.
Entries
Use the bias flip as a context/confirm. Combine with your structure trigger (OB/level sweep, rejection wick, micro-break in market structure, etc.).
If useSigma=true, only trade when price is already ≥ upper band (shorts) or ≤ lower band (longs).
Exits
Bias auto-exits when |z| falls below exitZ.
You can also take profits at your levels or when the line fades back toward 0 while price mean-reverts to the middle band.
Tuning (what each knob does)
enterZ / exitZ (signal strictness + hysteresis)
Higher enterZ → fewer, cleaner signals (e.g., 1.8–2.2).
exitZ should be lower than enterZ (e.g., 0.6–1.0) to prevent flicker.
lenPrem (context window for z)
Larger (50–100) = steadier baseline, fewer signals.
Smaller (20–30) = more reactive, more signals.
smoothLen (EMA on z)
2–3 = snappier; 5–7 = smoother/laggier but cleaner.
useSigma, bbLen, bbK (price-stretch filter)
On filters chop. Try bbLen=100, bbK=1.0–1.5.
Off if you want more frequent signals or you already gate with your own σ/Keltner.
useHTF, htfTF, htfZmin (trend/confirmation)
Turn on to require higher-TF imbalance agreement (e.g., trading 1H → confirm with 4H htfTF=240, htfZmin≈0.6–1.0).
hotZ (visual intensity)
Lower (2.0–2.5) heats up faster; higher (4.0) is more subtle.
Ready-made presets
Conservative swing (fewer, higher-conviction):
enterZ=2.0, exitZ=1.0, lenPrem=60–80, smoothLen=5, useSigma=true, bbK=1.5, useHTF=true (240/0.8).
Balanced intraday (default feel):
enterZ=1.6–1.8, exitZ=0.8–1.0, lenPrem=50, smoothLen=3–4, useSigma=true, bbK=1.0–1.25, useHTF=false/true depending on trendiness.
Aggressive scalping (more signals):
enterZ=1.2–1.4, exitZ=0.6–0.8, lenPrem=20–30, smoothLen=2–3, useSigma=false, useHTF=false.
Practical tips
Don’t trade the line in isolation. Use it to time trades into your levels: VWAP bands, Monday high/low, prior POC/VAH/VAL, order blocks, etc.
Perp-led reversals often snap—be ready to scale out quickly back to mid-bands.
Venue matters. Keep spot & perp from the same exchange family to avoid cross-venue quirks.
Alerts: enable after you’ve tuned thresholds for your timeframe so you only get high-quality pings.
FuTech : Preferential Price📌 First Ever Indicator : FuTech : Preferential Price
💡 What if you could instantly know the Preferential Price — as if the company announced a preferential issue in today’s meeting surprisingly?
Normally, you’d be stuck with tedious valuation spreadsheets and SEBI formula checks 🧮📑…
✨ But not anymore — this tool does the hard work for you!
With just one click, it auto-calculates the Preferential Issue Floor Price under SEBI ICDR Regulations, 2018 - Regulation 164 (as amended), directly from your chart symbol.
✅ How it works ?
📅 Relevant Date = 30 days prior to either:
• Today’s date (default mode)
• Or your chosen EGM date (user input)
📊 For the Relevant Date, the indicator automatically computes:
• VWAP (90 trading days preceding Relevant Date)
• VWAP (10 trading days preceding Relevant Date)
🔎 As per SEBI Reg.164, the higher of these two VWAPs is selected as the Minimum Issue Price (Preferential Price).
💰 Price is neatly formatted in Indian style (e.g. ₹1,00,000).
✅ Key Features:
⚡ Auto-calculates from chart symbol — no manual entry.
🎛️ Option to input EGM date for accurate floor price compliance.
🎨 Fully customizable: text color, size, background, position.
🪄 Clean display → shows only the final Preferential Price (Reg.164).
📌 Usage:
This indicator is built for analysts, fund managers, and corporate professionals dealing with Preferential Allotment pricing compliance.
It ensures quick visibility of the floor price under SEBI ICDR rules, directly on your chart.
⚠️ Disclaimer:
📌 The calculated Preferential Price is an approximation based on SEBI ICDR Reg.164 methodology.
📊 Actual price determined by the company / merchant banker may vary slightly (±5) due to rounding, data source differences, or timing adjustments.
📅 Ensure to verify with official exchange data and SEBI filings before relying on these numbers.
📝 This tool is meant for analytical and educational purposes only, not a substitute for regulatory or professional advice.
Volume Profile AnalysisThe Volume Profile Dashboard is a professional-grade analysis tool built for TradingView. It focuses on displaying a comprehensive volume profile breakdown within a dashboard format directly on the chart. The purpose of this tool is to help traders quickly assess buy versus sell volume dynamics, momentum, and sentiment in order to support informed trading decisions.
Instead of plotting simple bars, this indicator uses a detailed table and visual progress bar to summarize live and historical market activity. By condensing key metrics into a structured format, traders can analyse market behaviour without manually calculating or switching between multiple indicators.
________________________________________
How the Script Works
1. Data Gathering
The script uses lower-timeframe price and volume data to calculate buy volume, sell volume, and total traded volume for the current and previous candles.
2. Volume Allocation
Buy and sell volumes are estimated by looking at the candle’s range (high to low) and how the closing price aligns within that range. The closer the close is to the high, the stronger the buying pressure. The closer the close is to the low, the stronger the selling pressure.
3. Delta and Momentum
o Delta measures the difference between buy and sell volume.
o Volume momentum compares the current candle’s activity to the previous one, showing if interest is rising or fading.
4. Point of Control (POC)
An average of high, low, and close is calculated to give an approximate “point of control” level—an area of balance where buyers and sellers previously agreed on price.
5. Dashboard Visualization
All these calculations are displayed inside a clean dashboard table with separate rows for the current candle, previous candle, and a summary row. Icons, colors, and progress bars make it visually intuitive.
6. On-Chart Progress Indicator
A dynamic horizontal progress bar is plotted on the chart above price, showing the balance between buy and sell volume for the latest activity.
7. Alerts
Built-in alerts trigger when strong buying or selling pressure is detected or when there is a significant spike in total traded volume.
________________________________________
How This Tool Can Be Used
• Intraday Trading: Quickly gauge whether buyers or sellers are in control of the market at any moment.
• Swing Trading: Compare momentum shifts between candles to identify early trend reversals.
• Risk Management: Use delta and sentiment signals to confirm whether to hold or reduce exposure.
• Confirmation: Align the volume profile dashboard with other indicators (such as RSI, MACD, or trendlines) for stronger trading conviction.
________________________________________
Using Mixed Indicators for Decisions
This dashboard alone provides volume insights, but better decisions come when it is combined with other tools:
• Pairing it with an RSI can show whether heavy buying is happening in overbought conditions.
• Combining with a SuperTrend or moving averages can confirm if volume momentum aligns with the price trend.
• Overlaying support/resistance levels can identify whether strong buy/sell signals occur at critical levels.
Mixed indicators prevent relying on one signal alone, reducing false trades.
________________________________________
Importance of This Tool
• Clarity: Condenses complex volume data into a simple, visual format.
• Speed: Traders can react faster with pre-calculated buy/sell percentages.
• Precision: Highlights hidden imbalances that are not obvious from candles alone.
• Professional-grade dashboard: Offers an institutional-style view of market behavior directly within TradingView.
________________________________________
Parameters in the Dashboard Table
• Period: Shows whether the row is for the current or previous candle, along with trend arrows.
• Price Range: The high–low range of the candle.
• Total Volume: The sum of buy and sell activity.
• Buy Volume / Sell Volume: Separated distribution of transactions leaning bullish or bearish.
• Delta: The net difference between buy and sell volumes, highlighting pressure imbalance.
• Buy % / Sell %: The percentage contribution of each side to total volume.
• POC: An average reference level where market consensus was strongest.
• Progress: A graphical bar showing buy vs sell dominance.
• Signal: Simplified output like Strong Buy, Buy, Strong Sell, Sell, Neutral.
• Summary Row: Compares changes between the current and previous candles and gives overall market sentiment.
________________________________________
Stock Market Disclaimer
This tool is for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations. The stock market and cryptocurrency markets involve high risk. Traders and investors should do their own research and consult licensed financial advisors before making investment decisions. Past performance is not indicative of future results.
________________________________________
Misuse Disclaimer
This script has been developed as per TradingView’s rules and is intended for responsible trading analysis only. Any misuse, redistribution, or modification outside of TradingView’s policies is discouraged. The author and platform are not responsible for financial losses, misinterpretation of signals, or misuse of the code.
________________________________________
Disclaimer
Training & Educational Only — This material and the indicator are provided for educational purposes only. Nothing here is investment advice or a solicitation to buy or sell financial instruments. Past simulated or historical performance does not predict future results. Always perform full back testing and risk management, and consider seeking advice from a qualified financial professional before trading with real capital.
________________________________________
Multi Rolling VWAP Indicator - RVWAPThe Rolling VWAP (RVWAP) Indicator calculates a volume-weighted average price over a user-defined lookback period, providing a smoother alternative to traditional VWAP without session resets. Ideal for intraday and swing traders, it helps identify dynamic support/resistance levels and market trends across any timeframe.
Features:
Customizable Lookback: Adjust the rolling window (default: 14 bars) to suit your trading style.
Dynamic Coloring: RVWAP line changes color based on price position—green (above), red (below), or yellow (equal).
Standard Deviation Bands: Optional upper/lower bands (toggleable) highlight volatility and potential reversal zones.
Visual Clarity: Semi-transparent band fill for easy trend analysis.
Usage:
Add the indicator to your chart, tweak the lookback period and band settings, and use it to spot trend direction, support/resistance, or mean-reversion opportunities. Perfect for stocks, forex, crypto, and more.
Pivot and Wick Boxes with Break Signals v2█ OVERVIEW
The "Pivot and Wick Boxes with Break Signals v2" is an advanced Pine Script® technical analysis tool that identifies pivot points (highs and lows) on the chart and draws customizable boxes based on the wicks of pivot candles. It is ideal for traders using price action strategies, helping to identify key support and resistance levels and potential breakout trading opportunities. With flexible settings, a volume filter, and label grouping, the indicator ensures clarity and precision on the chart.
█ CONCEPTS
The indicator modifies how zones are drawn, displaying boxes on the latest candle rather than extending from the zones based on pivot candle wicks. This approach prevents visual clutter on the chart, allowing simultaneous use of other indicators without sacrificing clarity.
Why are wicks important?Wicks of pivot candles indicate significant market reactions in key areas. Depending on the context, they may signal rejection, testing, or absorption of support or resistance levels. Long wicks often appear where large players are active, and the marked zones are frequently retested. The indicator enables quick identification and observation of their impact on future price movements.
█ FEATURES
Pivot Detection: Identifies pivot points (highs and lows) based on a user-defined lookback period (Pivot Length), with options to display boxes for high and low pivot candle wicks separately.
Customizable Boxes: Draws boxes based on pivot candle wicks with adjustable border colors, background gradients, border styles (solid, dashed, dotted), and border widths.
Breakout Signals: Generates buy (green upward triangle) and sell (red downward triangle) signals when the price breaks through a pivot and the candle closes on the opposite side, indicating potential trend continuation. If the price approaches a pivot zone but fails to break it, this may suggest a potential trend reversal or the end of a correction.
Volume Filter: Optional volume-based signal filter that requires breakouts to have a volume exceeding a user-defined multiplier of the average volume over a specified period. Note: the volume filter will not work on markets where volume data is unavailable.
Label Grouping: Automatically groups overlapping pivot labels to avoid chart clutter, displaying only key price levels.
█ HOW TO USE
Add to Chart: Apply the indicator to your TradingView chart via the Pine Editor or Indicators menu.
Configure Settings:
Pivot Settings: Adjust Pivot Length to change the sensitivity of pivot detection—the value represents the number of candles, which equals the delay in displaying the pivot. Larger values generate fewer pivots, but they are generally more significant. Set Max High Pivot Boxes and Max Low Pivot Boxes to control the number of displayed boxes.
Signal Settings: Enable Use Volume Filter for Signals to require higher volume for breakouts, and adjust Average Volume Multiplier and Average Volume Period. A volume multiplier of 1 means the filter allows pivots with a volume equal to or greater than the average volume over the specified period.
Box Styling: Configure border colors, background gradients, line thickness, and border styles for high and low pivot boxes.
Interpreting Signals:
Buy Signal: A green triangle below the bar indicates a breakout above a high pivot box, suggesting potential continuation of an uptrend.
Sell Signal: A red triangle above the bar indicates a breakout below a low pivot box, suggesting potential continuation of a downtrend.
Non-Breakout Zones: If the price approaches a pivot zone but fails to break it, it may indicate a potential trend reversal or the end of a correction (e.g., price rejection at a resistance level in a downtrend or a support level in an uptrend).
Overlapping Zones: If pivot zones overlap, it indicates the level has been tested multiple times, suggesting its significance in the market.
Use signals in conjunction with other technical analysis tools for confirmation.
Monitoring Levels: Use labeled pivot levels as potential support and resistance zones for trade planning.
█ APPLICATIONS
Price Action Trading: Use pivot levels as support and resistance zones. For example, in an uptrend, you can look for buying opportunities near low pivot zones (support), where price often bounces after testing the wick of a pivot candle. Combining with other indicators, such as Fibonacci levels, enhances the significance of pivot zones—if they align with Fibonacci levels and are accompanied by high volume, the zone is considered stronger.
Breakout Strategies: Trade based on breakout signals from key pivot zones. A buy signal after a breakout from a high pivot with confirmed volume may indicate continued upward movement. Using the indicator with other tools, such as moving averages or RSI, can help confirm the strength of the breakout.
Practical Approach:
The more frequently a zone is tested in a short period, the higher the risk of a breakout, as supply or demand may be exhausted.
The longer a zone holds without breaking, the more significant it becomes for the market, both psychologically and technically.
As the saying goes: “A zone is strong until it breaks—when it does, a strong move often follows.”
How to observe?
Strong bounces from a zone indicate that demand or supply remains active.
Weaker bounces or price lingering near the level may suggest the market is preparing for a breakout.
█ NOTES
Test the indicator across different timeframes and markets (stocks, forex, crypto) to optimize settings for your trading style.
The volume filter will not work on markets where volume data is unavailable. In such cases, disable the volume filter in the settings.
For best results, use on high-liquidity markets when the volume filter is enabled.
VSA Volume OverlaySimple. When the VSA volume is above the average volume the line will draw orange. When below average volume plot , it will draw white.
Bulls vs Bears % TableBulls vs Bears % Box
What it does
Shows a compact on-chart box with the percentage of volume attributed to Bulls vs Bears over a window you choose. It’s a fast market-internals glance to gauge who’s in control right now.
What’s original/useful
Configurable inference: choose how “bull/bear” is defined (Tick-Rule, Candle Body, Heikin-Ashi Body, or VWAP comparison).
Flexible windowing: Session (RTH) reset or Rolling N bars—match your intraday workflow.
Clean UI: tiny table with custom colors and nine anchor placements; designed to overlay any layout without clutter.
How it works (simple)
For each bar, the script infers direction with one of four rules and assigns that bar’s volume to Bulls or Bears:
Tick-Rule (close vs previous close) – responsive in chop (default).
Body (close vs open) – classic candle color approach.
Heikin-Ashi Body – smoother trend read using HA open/close.
VWAP (close vs VWAP) – bull if the bar closes above VWAP, bear if below.
Optional: doji split 50/50. The box displays the Bull % and Bear % of the accumulated window.
Settings
Window: Session (RTH) with editable hours/days, or Rolling N bars.
Direction Rule: Tick-Rule, Body, Heikin-Ashi Body, or VWAP.
Doji Handling: Split doji volume 50/50 (on/off).
Placement: 9 anchors (Top/Middle/Bottom × Left/Center/Right).
Colors: Header, background, border, and dominant/sub text colors for Bulls/Bears.
How to read it
Bulls % > Bears % → buyer dominance; continuation more likely.
Bears % > Bulls % → seller dominance; watch for rallies to fail.
Extreme imbalance (e.g., >60–70% one side) → strong push but also pullback risk as the move matures.
Limitations & transparency
Uses volume-based inference, not true bid/ask delta (TradingView does not expose tape-level buy/sell splits).
Results vary by rule/window; pick one and stay consistent for your playbook.
No forward-looking data; no lookahead is used. This is not a signal generator or a strategy.
Best practices
Index futures/indices intraday: Session (RTH) + Tick-Rule is a solid default.
Trend days: try Heikin-Ashi Body for smoother dominance.
Mean-reversion: watch for extremes reverting toward balance.
No external code reused.
Bulls vs Bears % BoxBulls vs Bears % Box
What it does
A compact on-chart box that shows the percentage of volume attributed to Bulls vs Bears over a window you choose. It’s a quick market-internals glance: who’s in control right now, by how much, and does the imbalance warrant caution or opportunity.
Why use it
Fast read of intraday momentum and exhaustion.
Confirms trend strength or flags pullback risk when one side dominates.
Works on any symbol/timeframe with volume.
How it works (simple)
The indicator splits each bar’s volume into “bull” or “bear” using one of four rules (you choose):
Tick-Rule (close vs prev close) – responsive in chop (default).
Body (close vs open) – classic candle color approach.
Heikin-Ashi Body – smoother trend read.
VWAP (close vs vwap) – bullish if price is above VWAP on the bar.
Dojis can be split 50/50 (optional). The box then displays the rolling or session-cumulated bull/bear percentages.
Settings
Window:
Session (RTH) – resets each regular session (you can edit hours/days).
Rolling N Bars – moving total over the last N bars.
Direction Rule: Tick-Rule, Body, Heikin-Ashi Body, or VWAP.
Doji Handling: Split doji volume 50/50 (on/off).
Placement: 9 anchors (Top/Middle/Bottom × Left/Center/Right).
Colors: Customize header, background, border, and text (dominant vs sub).
How to read it
Bulls % > Bears % → buyer dominance; trend continuation more likely.
Bears % > Bulls % → seller dominance; watch for lower highs/continuation.
Extreme imbalance (e.g., >60–70% one side) → strong push but also pullback risk soon.
Tip: Pair it with VWAP, your EMA, or structure levels. Use the same window and rule each day for consistency.
Notes & Limitations
Uses volume-based inference, not true bid/ask delta (which TradingView doesn’t provide).
Results vary by rule/window; pick the one that matches your playbook.
Requires symbols/timeframes with volume data.
Best Practices
Intraday futures/indices: Session (RTH) + Tick-Rule is a solid starting point.
Trend trading: try Heikin-Ashi Body for smoother dominance signals.
Mean-reversion: watch for extremes flipping toward balance.
Credits: Built for clarity, speed, and flexibility. Customize colors and placement to fit your layout.
Prophecy Orderflow – US30 ScalperProphecy Orderflow – US30 Scalper is not a general-purpose indicator.
It was engineered specifically for New York session scalping on US30, where volatility demands precision, speed, and discipline.
🔹 Sniper Entries Only – The algorithm combines multi-timeframe bias, dynamic ATR filters, and orderflow-based band triggers to identify high-probability scalps with minimal noise.
🔹 Clean Visual Execution – Automatic plotting of SL and TP1/2/3 levels ensures you can trade with clarity and consistency, without overcomplicating your chart.
🔹 Adaptive to US30 Volatility – Optimized settings account for the unique pace and structure of the Dow Jones index, giving you signals aligned with real scalping conditions.
🔹 Exclusivity by Design – This script is not built for mass retail use. It is tuned for operators and scalpers who treat trading as execution, not experimentation.
⚠️ Disclaimer: This tool is provided for educational purposes only. Past performance does not guarantee future results. Trade responsibly and manage risk.