Rolling Range Bands by tvigRolling Range Bands
Plots two dynamic price envelopes that track the highest and lowest prices over a Short and Long lookback. Use them to see near-term vs. broader market structure, evolving support/resistance, and volatility changes at a glance.
What it shows
• Short Bands: recent trading range (fast, more reactive).
• Long Bands: broader range (slow, structural).
• Optional step-line style and shaded zones for clarity.
• Option to use completed bar values to avoid intrabar jitter (no repaint).
How to read
• Price pressing the short high while the long band rises → short-term momentum in a larger uptrend.
• Price riding the short low inside a falling long band → weakness with trend alignment.
• Band squeeze (narrowing) → compression; watch for breakout.
• Band expansion (widening) → rising volatility; expect larger swings.
• Repeated touches/rejections of long bands → potential areas of support/resistance.
Inputs
• Short Window, Long Window (bars)
• Use Close only (vs. High/Low)
• Use completed bar values (stability)
• Step-line style and Band shading
Tips
• Works on any symbol/timeframe; tune windows to your market.
• For consistent scaling, pin the indicator to the same right price scale as the chart.
Not financial advice; combine with trend/volume/RSI or your system for entries/exits.
Indicadores e estratégias
Stockbee Reversal BullishCustom indicator for identifying stocks that meet the Stockbee's Reversal Bullish criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
Pivot Point TrendOverview
A trend-following trailing line built from confirmed pivot highs/lows and ATR bands. The line turns green in uptrends and red in downtrends. A flip happens only when price closes on the other side of the opposite trail, helping filter noise.
How it works:
Finds confirmed swing points (pivots) and builds a smoothed center from them.
From that center, creates ATR-based bands.
The active trail “locks” in the trend: in uptrends it never moves down; in downtrends it never moves up.
Close above the prior upper trail → bullish; close below the prior lower trail → bearish.
Inputs
Pivot Point Period (prd) – strictness of pivot confirmation (delay = prd bars).
ATR Period (pd) and ATR Factor (factor) – band width; higher values = fewer flips.
Calculation timeframe (calcTF) – leave empty to use chart TF, or set a hard TF like 1D, 4H.
Show Center Line – optional central guide.
Line Width – trail thickness.
Alerts
Bullish Flip – trend turns bullish.
Bearish Flip – trend turns bearish.
Trend Changed – any flip event.
Usage tips
Typical crypto intraday starters: prd 2–5, pd 10–14, factor 2.5–3.5.
For smoother signals, compute on a higher TF (e.g., calcTF = 1D) and time entries on your lower TF.
Prefer actions on bar close of the calculation TF to avoid intrabar whipsaw.
Notes on repainting
The script uses request.security(..., lookahead_off). Pivots confirm after prd bars by design; once confirmed, the center and trails do not use future data. Evaluate flips on bar close for consistency, especially when calcTF > chart TF.
Disclaimer
Educational use only. Not financial advice. Trading involves risk.
20 MA ReversionA mean reversion tactic with the 20 SMA:
the indicator is chcking specific parameters, such as the volume related to the last day's volume, distance from 20 SMA, CCI values and changes, trends, and recent gaps that will act as a magnet.
enjoy!
RSI with Dual Smoothed MAs + Trend BackgroundRSI with two custom MAs (SMA, EMA, WMA, RMA, VWMA).
Slope-based MA coloring.
Background shading for quick trend confirmation.
ICT Sweep + FVG Entry (v6) • Pro Pack 📌 ICT Sweep + FVG Entry Pro Pack
This indicator combines key ICT price action concepts with practical execution tools to help traders spot high-probability setups faster and more objectively. It’s designed for scalpers and intraday traders who want to keep their chart clean but never miss critical market structure events.
🔑 Features
Liquidity Pools (HTF)
• Auto-detects recent swing highs/lows from higher timeframes (5m/15m).
• Draws both lines and optional rectangles/zones for clear liquidity areas.
Liquidity Sweeps (BSL/SSL)
• Identifies when price sweeps above/below liquidity pools and rejects back.
• Optional Grade-A sweep filter (wick size + strong re-entry).
Fair Value Gaps (FVGs)
• Highlights bullish/bearish imbalances.
• Optional midline (50%) entry for precision.
• Auto-invalidation when price fully closes inside the gap.
Killzones (New York)
• Highlights AM (9:30–11:30) and PM (14:00–15:30) killzones.
• Option to block signals outside killzones for higher strike rate.
Bias Badge (DR50)
• Displays if price is trading in a Bull, Bear, or Range context based on displacement range midpoint.
SMT Assist (NQ vs ES)
• Detects simple divergences between indices:
Bearish SMT → NQ makes HH while ES doesn’t.
Bullish SMT → NQ makes LL while ES doesn’t.
SL/TP Helper & R:R Label
• Automatically draws stop loss (at sweep extreme) and target (opposite pool or recent swing).
• Displays expected Risk:Reward ratio and blocks entries if below your chosen minimum.
Filters
• ATR filter ensures signals only appear in sufficient volatility.
• Sweep quality filter avoids weak wicks and fake-outs.
🎯 How to Use
Start on HTF (5m/15m) → Identify liquidity zones and bias.
Drop to LTF (1m) → Wait for a liquidity sweep confirmation.
Check for FVG in the sweep’s direction → Look for retest entry.
Use the SL/TP helper to validate your risk/reward before taking the trade.
Focus entries during NY Killzones for maximum effectiveness.
✅ Why this helps
This tool reduces screen time and hesitation by automating repetitive ICT concepts:
Liquidity pools, sweeps, and FVGs are marked automatically.
Killzone timing and SMT divergence are simplified.
Clear visual signals for entries with built-in RR filter help keep your trading mechanical.
⚠️ Disclaimer: This script is for educational purposes only. It does not provide financial advice or guarantee results. Always use proper risk management.
Hourly Pivot High/Low LinesMarks out hourly high/lows, and draws them horizontally from the start of the pivot. Line will stop once it is tapped into. Used in my own model, not working 100% of the time.
HOPE(EMA) ROPE(IC)Confucius say: Man at end of rope finds hope; man drunk on hope soon finds rope
-HaggisZero
Pin Bar (Body in Half Candle)Pin Bar Identification Rules
1.The candlestick body must not exceed half the total candle range.
2.The candlestick body size must not exceed 35% of the entire candle length.
Pin Bar识别
1. K线的实体不超过K线大小的一半
2. K线实体大小不超过整根K线大小的0.35
SMC Pro (Wellington) v1.4.2This SMC indicator combines BOS/CHoCH, OBs, FVGs, liquidity, and Premium/Discount with confirmation on the 1H (EMA200).
Entries only appear when 3+ confluences align, filtering noise and delivering clear signals.
✅ Ready-to-use alerts (LONG, SHORT, or unified)
✅ Real-time HUD
✅ Strategy tailored for XAUUSD
ADR(20) % ValueDisplays the 20-day Average Daily Range (ADR) as a % of price, following the method popularized by Kristjan Qullamägi (Qullamaggie). The ADR value updates dynamically and is printed directly on the chart for quick reference.
FVG Inversion + Improved Order Block (15/30/60) — by samoedlooking for ifvg + ob 15/30/60m
gives short and long signals
APC – Anti-Analysis-Paralysis Kompass APC – Anti-Analysis-Paralysis Compass (Pine v5).
Research/education indicator that compresses trend from 5 timeframes into one compass with Direction, Score, and Coherence (TF agreement). Non-repainting with a high-contrast breakdown table and in-chart help. No financial advice.
What it is
APC is a research/education tool that condenses trend information from five timeframes into a single compass. It shows Direction (↑/↓/→), a weighted Score, and Coherence (how strongly timeframes agree). The script is non-repainting (security(..., lookahead=off)) and includes a readable breakdown panel and example alerts.
How it works
• For each timeframe APC fits a linear regression to price, measures the slope change over k bars, optionally normalizes by ATR%, then maps it to +1 / 0 / −1 using a Deadzone (small slopes → neutral).
• A (weighted) sum of the five signs forms the Score.
• Coherence = |Score| / maxScore (0–100%), i.e., degree of TF alignment.
Quick start (suggested defaults)
• Timeframes: 15m · 1h · 4h · 1D · 1W • Weights: 1, 1, 1, 1.5, 2
• LinReg length: 100 • Slope Δ window: 10
• ATR normalization: ON • Deadzone: 0.03–0.05
• Coherence lock (for example alerts): 60%
Example research filters (non-advisory)
Many users test: Bullish bias when Score ≥ +3 and Coherence ≥ 60%; bearish bias when Score ≤ −3 and Coherence ≥ 60%. These are illustrative defaults only—configure and test your own thresholds.
Optional: pair with Kagi
Use APC for bias/conviction and Kagi turns for timing. Typical Kagi (swing): base 15m–1h, reversal ATR(14) × 1.5–2.5 or 1–3%.
Notes
Raise Deadzone in choppy markets; lower it for earlier flips. On very illiquid or young symbols, lengthen lenLR.
Disclaimer
APC is a research & educational indicator. It does not provide financial advice or recommendations. Use at your own risk. License: MIT.
Recovery StrategyDescription:
The Recovery Strategy is a long-only trading system designed to capitalize on significant price drops from recent highs. It enters a position when the price falls 10% or more from the highest high over a 6-month lookback period and adds positions on further 2% drops, up to a maximum of 5 positions. Each trade is held for 6 months before exiting, regardless of profit or loss. The strategy uses margin to amplify position sizes, with a default leverage of 5:1 (20% margin requirement). All key parameters are customizable via inputs, allowing flexibility for different assets and timeframes. Visual markers indicate recent highs for reference.
How It Works:
Entry: Buys when the closing price drops 10% or more from the recent high (highest high in the lookback period, default 126 bars ~6 months). If already in a position, additional buys occur on further 2% drops (e.g., 12%, 14%, 16%, 18%), up to 5 positions (pyramiding).
Exit: Each trade exits after its own holding period (default 126 bars ~6 months), regardless of profit or loss. No stop loss or take-profit is used.
Margin: Uses leverage to control larger positions (default 20% margin, 5:1 leverage). The order size is a percentage of equity (default 100%), adjustable via inputs.
Visualization: Displays blue markers (without text) at new recent highs to highlight reference levels.
Inputs:
Lookback Period for High Peak (bars): Number of bars to look back for the recent high (default: 126, ~6 months on daily charts).
Initial Drop Percentage to Buy (%): Percentage drop from recent high to trigger the first buy (default: 10.0%).
Additional Drop Percentage to Buy (%): Further drop percentage to add positions (default: 2.0%).
Holding Period (bars): Number of bars to hold each position before selling (default: 126, ~6 months).
Order Size (% of Equity): Percentage of equity used per trade (default: 100%).
Margin for Long Positions (%): Percentage of position value covered by equity (default: 20%, equivalent to 5:1 leverage).
Usage:
Timeframe: Designed for daily charts (126 bars ~6 months). Adjust Lookback Period and Holding Period for other timeframes (e.g., 1008 hours for hourly charts, assuming 8 trading hours/day).
Assets: Suitable for stocks, ETFs, or other assets with significant price volatility. Test thoroughly on your chosen asset.
Settings: Customize inputs in the strategy settings to match your risk tolerance and market conditions. For example, lower Margin for Long Positions (e.g., to 10% for 10:1 leverage) to increase position sizes, but beware of higher risk.
Backtesting: Use TradingView’s Strategy Tester to evaluate performance. Check the “List of Trades” for skipped trades due to insufficient equity or margin requirements.
Risks and Considerations:
No Stop Loss: The strategy holds trades for the full 6 months without a stop loss, exposing it to significant drawdowns in prolonged downtrends.
Margin Risk: Leverage (default 5:1) amplifies both profits and losses. Ensure sufficient equity to cover margin requirements to avoid skipped trades or simulated margin calls.
Pyramiding: Up to 5 positions can be open simultaneously, increasing exposure. Adjust pyramiding in the code if fewer positions are desired (e.g., change to pyramiding=3).
Market Conditions: Performance depends on price drops and recoveries. Test on historical data to assess effectiveness in your market.
Broker Emulator: TradingView’s paper trading simulates margin but does not execute real margin trading. Results may differ in live trading due to broker-specific margin rules.
How to Use:
Add the strategy to your chart in TradingView.
Adjust input parameters in the settings panel to suit your asset, timeframe, and risk preferences.
Run a backtest in the Strategy Tester to evaluate performance.
Monitor open positions and margin levels in the Trading Panel to manage risk.
For live trading, consult your broker’s margin requirements and leverage policies, as TradingView’s simulation may not match real-world conditions.
Disclaimer:
This strategy is for educational purposes only and does not constitute financial advice. Trading involves significant risk, especially with leverage and no stop loss. Always backtest thoroughly and consult a financial advisor before using any strategy in live trading.
VWAP CloudThe VWAP Cloud is a dynamic intraday/rolling VWAP indicator with customizable standard deviation bands.
It helps traders identify value zones, overbought/oversold areas, and trend bias based on whether price is trading above or below the VWAP.
VWAP (Volume-Weighted Average Price) acts as a fair-value benchmark.
Inner Cloud (±1 stdev by default) highlights short-term deviations from VWAP.
Outer Cloud (±2 stdev by default) shows extreme zones where reversals or continuation moves are more likely.
Cloud colors adjust dynamically:
🟩 Green = VWAP is rising (bullish bias)
🟥 Red = VWAP is falling (bearish bias)
🩶 Gray Outer Cloud = volatility envelope
This makes the VWAP Cloud useful for scalpers, day traders, and swing traders alike.
⚙️ Inputs & Settings
VWAP Source → Price input for VWAP calculation (default: hlc3).
Reset each session → ON = Session VWAP (resets daily), OFF = Rolling VWAP.
Stdev Lookback → Window length for standard deviation calculation.
Inner Band Multiplier → Width of the first (inner) band.
Outer Band Multiplier → Width of the second (outer) band.
Show VWAP Midline → Toggle the VWAP line on/off.
Cloud Colors → Customize bullish, bearish, and neutral shading.
📊 How to Use
Add VWAP Cloud to your chart.
Choose between Session VWAP (intraday resets) or Rolling VWAP (continuous).
Use Inner Cloud as a short-term fair value zone:
Price inside = balanced trading.
Breakouts above/below = possible momentum continuation.
Watch Outer Cloud for extremes:
Price reaching outer bands often signals exhaustion or potential reversals.
Trend bias:
Price above VWAP = bullish bias.
Price below VWAP = bearish bias.
⚠️ Disclaimer: This tool is for educational purposes. Always combine it with proper risk management and other confluence factors.
HA MTF (No Repaint) - Manual HTF HA//@version=5
indicator("HA MTF (No Repaint) - Manual HTF HA", overlay=true,
shorttitle="HA MTF NR",
description="Non-repainting Higher Timeframe Heikin Ashi candles. Plots higher TF HA on lower TF charts using only closed bars.")
// ------ Inputs
tf = input.timeframe("15", "Higher TF") // choose higher timeframe (e.g., 15, 30, 60)
// ------ get HTF OHLC (closed values only)
= request.security(syminfo.tickerid, tf, , lookahead=barmerge.lookahead_off)
// ------ compute HTF Heikin-Ashi close
haClose_htf = (o_htf + h_htf + l_htf + c_htf) / 4
// ------ detect when a new closed HTF bar becomes available
is_new_htf_closed = o_htf != o_htf
// ------ persist HA open/close for the last closed HTF bar
var float haOpen_store = na
var float haClose_store = na
if is_new_htf_closed
// for the first HTF bar use (open+close)/2 as initial HA open
if na(haOpen_store)
haOpen_store := (o_htf + c_htf) / 2
else
// standard Heikin-Ashi open = (prevHAopen + prevHAclose) / 2
haOpen_store := (haOpen_store + haClose_store) / 2
// update stored HA close to the closed HTF HA close
haClose_store := haClose_htf
// If no HTF closed data yet, nothing will plot (that's normal)
haOpen_plot = haOpen_store
haClose_plot = haClose_store
haHigh_plot = (not na(haOpen_plot) and not na(haClose_plot)) ? math.max(h_htf, haOpen_plot, haClose_plot) : na
haLow_plot = (not na(haOpen_plot) and not na(haClose_plot)) ? math.min(l_htf, haOpen_plot, haClose_plot) : na
// ------ Plot HTF Heikin Ashi candles (they will be non-repainting)
plotcandle(haOpen_plot, haHigh_plot, haLow_plot, haClose_plot,
title="HTF-HA",
color = (haClose_plot >= haOpen_plot) ? color.green : color.red,
wickcolor = (haClose_plot >= haOpen_plot) ? color.green : color.red,
bordercolor = (haClose_plot >= haOpen_plot) ? color.green : color.red)
PAZ+EMA+Momentum+RSI — Karar Paneli (AL/SAT/BEKLE)This Pine Script indicator combines price action (BoS/CHoCH proxy), EMA trend filtering (EMA50–EMA200), momentum signals (EWO and/or MACD histogram), and RSI conditions to analyze market direction and strength; when all criteria align it generates an “AL” (BUY) or “SAT” (SELL) signal, otherwise it outputs “BEKLE” (WAIT), with the decision visualized through background color, a confirmation table, and optionally triggers automated alerts for BUY/SELL signals.
Turnover// ========================================
// TURNOVER INDICATOR (成交额指标)
// ========================================
//
// This indicator calculates and displays the turnover (trading value) for each bar,
// which represents the total monetary value of shares traded during that period.
// Turnover = Volume × Price
//
// KEY FEATURES:
// • Multiple price basis options: VWAP (recommended for intraday) or HLC3 average
// • Visual representation with colored columns (red/green for down/up bars)
// • Moving average overlay to smooth turnover trends
// • Rolling sum calculation for cumulative turnover over specified periods
// • Fully customizable parameters for different trading strategies
//
// USE CASES:
// • Identify periods of high/low market activity and liquidity
// • Analyze institutional money flow and market participation
// • Spot potential breakout or reversal points based on turnover spikes
// • Compare relative trading interest across different timeframes
// • Monitor market strength during trend formations
//
// PARAMETERS:
// • Price Basis: Choose between VWAP (intraday focus) or HLC3 (daily+ timeframes)
// • Visual Options: Toggle MA, rolling sum, and color coding
// • Timeframe Flexibility: Adjust MA and sum periods for your analysis needs
//
// ========================================
5 EMA Close/Open Cross StrategyLong Entry - 5 EMA Close crossing above 5 EMA open
exit - 5 EMA Close crossing below 5 EMA open
Short entry - 5 EMA Close crossing below 5 EMA open
exit - 5 EMA Close crossing above 5 EMA open
NQ Open Playbook (with Toggles)marks out asain,london.ny high and lows on 4h,1h,15m simple little stradGY FOER BEGINERS TO GET A FEEL FOR THE MARKET.
ATR %Overview
Shows the Average True Range (ATR) as a percentage of a chosen price basis. Useful for a quick, apples-to-apples view of current volatility across symbols and timeframes. The value is displayed in a clean table at the bottom-right of the chart.
What it shows
Basis can be: Close, EMA(len), SMA(len), or VWAP.
Data timeframe can be the Chart timeframe or a Daily aggregation.
Inputs
ATR length (len) – ATR lookback.
Percent basis – Close / EMA / SMA / VWAP.
Data timeframe – Chart (uses the current chart TF) or Daily (computes ATR and basis from daily data).
Decimals – number of decimal places to display.
Text / Background / Frame colors – customize the table appearance.
Notes
In Daily mode, ATR and basis are taken from daily data and update on daily close.
VWAP is available only in Chart mode (Daily + VWAP will show n/a by design).
The script overlays the chart but does not plot lines—only a compact info box.
Use cases
Compare volatility across coins/stocks quickly using ATR% instead of raw ATR.
Switch basis to match your style (e.g., EMA for trend-aware scaling, VWAP for intraday context).
Set Daily to track higher-timeframe volatility while trading lower TFs.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.