REVEREVE is abbreviation from Range Extension Volume Expansion. This indicator shows these against a background of momentum. The histogram and columns for the range and volume rises ara calculated with the same algorithm as I use in the Volume Range Events indicator, which I published before. Because this algorithm uses the same special function to assess 'normal' levels for volume and range and uses the same calculation for depicting the rises on a scale of zero through 100, it becomes possible to compare volume and range rises in the same chart panel and come to meaningful conclusions. Different from VolumeRangeEvents is that I don't attempt to show direction of the bars and columns by actually pointing up or down. However I did color the bars for range events according to direction if Close jumps more than 20 percent of ATR up or down either blue or red. If the wider range leads to nothing, i.e. a smaller jump than 20 percent, the color is black. You can teak this in the inputs. The volume colums ar colored according to two criteria, resulting in four colors (orange, blue, maroon, green). The first criterium is whether the expansion is climactic (orange, blue) or moderate (maroon, green). I assume that climactic (i.e. more than twice as much) volume marks the beginning or end of a trend. The second criterium looks at the range event that goes together with the volume event. If lots of volume lead to little change in range (blue, green), I assume that this volume originates from institutional traders who are accumulating or distributing. If wild price jumps occur with comparatively little volume (orange, maroon, or even no volume event) I assume that opportunistic are active, some times attributing to more volume.
For the background I use the same colors calculated with the same algorithm as in the Hull Agreement Indicator, which I published before. This way I try to predict trend changes by observation of REVE.
Cari dalam skrip untuk "range"
RePaNoCHa [Alerts]Script for automatic trading with Alerts (Use Backtest to customize your own settings)
All timeframes but good results on 2H.
LG --> Long
ST --> Short
TS --> Trailing Stop
xL --> Close Long Position
xS --> Close Short Position
SL --> Stop Loss
The trailing stop closes the trade if the price changes direction by a specified percentage or offset. There is no ideal distance because markets and price are always changing and we know that is impossible to exit on the top or bottom. This script interpolate the trailing Stop Offset with profit, higher profit -- > higher Trailing Stop Offset. Despite this, it's difficult to catch the price. If someone comes up with a good idea, comment, I'm happy to learn.
No security() function so no repaint but has time() and can appear a warning for it.
Alerts:
'Once per bar' More profit but not confirmed alerts (10-20% fake alerts)... I like risk
'Once per bar close' Confirmed alerts (0% fake alerts)... You will sleep better
Some settings:
XBTUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 5
T3 Volume Factor = 0.9
Sampling Period = 16
Range Multiplier = 1.3
ADX lenght = 10
ADX Threshold = 20
SAR start = 0.07
SAR inc = 0.02
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.35
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 3.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
ETHUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 5
T3 Volume Factor = 0.7
Sampling Period = 13
Range Multiplier = 0.9
ADX lenght = 11
ADX Threshold = 19
SAR start = 0.06
SAR inc = 0.03
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.35
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 4
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
BNBUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.6
Sampling Period = 17
Range Multiplier = 1.3
ADX lenght = 5
ADX Threshold = 18
SAR start = 0.04
SAR inc = 0.03
SAR max = 0.25
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 10000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
LTCUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.6
Sampling Period = 11
Range Multiplier = 1.1
ADX lenght = 6
ADX Threshold = 22
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
TRXUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 0.9
Sampling Period = 8
Range Multiplier = 1.2
ADX lenght = 4
ADX Threshold = 22
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
NAS100 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1
Sampling Period = 12
Range Multiplier = 1.3
ADX lenght = 18
ADX Threshold = 21
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.25
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 1.8
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 3 contracts
Commission value = 0.2 USD per contract
NATGAS(OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1
Sampling Period = 18
Range Multiplier = 1.1
ADX lenght = 10
ADX Threshold = 17
SAR start = 0.1
SAR inc = 0.04
SAR max = 0.35
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 1.6
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 4500 contracts
Commission value = 0.002 USD per contract
SPX500 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 0.6
Sampling Period = 14
Range Multiplier = 1.3
ADX lenght = 12
ADX Threshold = 17
SAR start = 0.23
SAR inc = 0.05
SAR max = 0.2
Pyramiding = 10
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.75
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 8 contracts
Commission value = 0.2 USD per contract
US30 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 4
T3 Volume Factor = 0.9
Sampling Period = 11
Range Multiplier = 1.1
ADX lenght = 16
ADX Threshold = 24
SAR start = 0.08
SAR inc = 0.03
SAR max = 0.05
Pyramiding = 10
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.75
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 1 contracts
Commission value = 1.5 USD per contract
WHEAT (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.1
Sampling Period = 12
Range Multiplier = 1
ADX lenght = 13
ADX Threshold = 21
SAR start = 0.07
SAR inc = 0.05
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 2.5
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 2500 contracts
Commission value = 0.003 USD per contract
anas Daily range limitsby calculating hour candle average values , the daily range targets forecast for the market condition that normally will not exceed
extreme daily range when there is a very strong news .
high day range when there is an active market .
normal and average range for normal trading day.
low day range which is the minimum range (in normal day its very dangerous to open trade in the direction of the range if there is no news or event that will make it continue)
normally the market range between the low and high range depends on instrument
for how likes technical calculation
hour candle high-low averages (100 hours initial setting )*24 hour * ( Fibonacci values )
extreme = 0.62 , high = 0.62*0.62 , normal = 0.5*0.5 , low = 0.38*0.38
based on : with in hour candle retracement and with in the day retracement = the day rang
works only in 1 hour chart , its adjusted to give currency pip value (will not work correctly on commodities or stock )
SMA True Range(%)In this Indicator, we have the "True Range" in percentage and the "SMA True Range" in percentage.
we have a good difference from "SMA True Range" to "True Range".
I believe that the "SMA True Range" better shows the volatility, making your stop and target better placed.
EMA Range OscillatorEMA Range Oscillator (ERO) - User Guide
Overview
The EMA Range Oscillator (ERO) is a technical indicator that measures the distance between two Exponential Moving Averages (EMAs) and the distance between price and EMA. It normalizes these distances into a 0-100 range, helping traders identify trend strength, market momentum, and potential reversal points.
Components
Main Line
Green Line: EMA20 > EMA50 (Uptrend)
Red Line: EMA20 < EMA50 (Downtrend)
Histogram
White Histogram: Price distance from EMA20
Key Levels
Upper Level (80): High divergence zone
Middle Level (50): Neutral zone
Lower Level (20): Low divergence zone
Parameters
ParameterDefaultDescriptionFast EMA20Short-term EMA periodSlow EMA50Long-term EMA periodNormalization Period100Lookback period for scalingUpper80Upper threshold levelLower20Lower threshold level
How to Read the Indicator
High Values (Above 80)
Strong trend in progress
EMAs are widely separated
High momentum
Potential overbought/oversold conditions
Watch for possible trend exhaustion
Low Values (Below 20)
Consolidation phase
EMAs are close together
Low volatility
Potential breakout setup
Range-bound market conditions
Middle Zone (20-80)
Normal market conditions
Moderate trend strength
Balanced momentum
Look for directional clues from color changes
BTC Daily 8AM Range//@version=5
indicator("BTC Daily 8AM Range", overlay=true)
// 设置时区(根据您的所在地调整)
timezone = "UTC+8"
// 判断是否在8点到次日8点之间
is_range_period = (hour(time(timezone)) >= 8) or (hour(time(timezone)) < 8)
// 获取每日8点的开盘价
var float daily_open = na
if hour(time(timezone)) == 8 and minute(time(timezone)) == 0
daily_open := open
// 计算最高价和最低价
var float daily_high = na
var float daily_low = na
if is_range_period
if na(daily_high)
daily_high := high
daily_low := low
else
daily_high := math.max(daily_high, high)
daily_low := math.min(daily_low, low)
else
daily_high := na
daily_low := na
// 绘制价格区间
bgcolor(is_range_period ? color.new(color.blue, 95) : na, title="Range Period")
plot(daily_high, color=color.green, linewidth=2, title="Daily High")
plot(daily_low, color=color.red, linewidth=2, title="Daily Low")
Time Based Range CandleThis indicator creates a visual candle representation from price action during a specified time period.
Key Features:
Configurable Sessions: Set any calculation period (when range is measured) and display period (when visualization appears)
Candle Visualization: Draws a large candle showing open, close, high, low with proper body coloring
Wick/Tail Analysis: Displays wicks and tails with quarter-level subdivisions based on candle type (bullish vs bearish)
End Marker: Vertical line marks exactly when the calculation period ends
Quarter Lines: Optional dotted/dashed lines showing 25%, 50%, 75% levels within body, wicks, and tails
Common Use Cases:
Overnight range analysis (18:00 - 6:00 ET) displayed during regular hours
Session-based range trading (Asian, London, NY sessions)
Custom time period analysis for any market
The indicator follows proper candle terminology where wicks and tails are measured differently for bullish vs bearish candles, making it useful for precise level analysis and range trading strategies.
Session Volatility MonitorOverview
Session Volatility Monitor is a versatile volatility indicator tailored for intraday and session-based trading. It computes the average maximum price deviation (either up or down) from the session's opening price over a user-specified number of prior days, providing insights into expected "room to move" in the current session. This helps traders gauge potential exhaustion points, set realistic targets or stops, and identify when a directional move has reached historical norms (flagged as "REACHED" with the exact price level).
Displayed via a customisable table and optional horizontal target lines, it's ideal for markets like forex, crypto, futures, or stocks where session volatility matters. The indicator supports custom sessions with timezone adjustments, making it adaptable to global trading hours (e.g., London, NY, or Asia kill zones). For assets with small tick sizes (e.g., forex pairs at 0.0001), a multiplier scales values for readability (e.g., showing pips as 67.0 instead of 0.00670).
Key Features
Session-Based Calculations:
Defines sessions via presets (e.g., "NY Kill Zone: 07:00-10:00") or custom HHMM-HHMM inputs. (please note that preset sessions are mainly for futures e.g. "Full Day18:01-17:00", but also can be useful for forex and crypto)
Adjustable UTC offset (e.g., -5 for ET) to align with your asset's timezone—ensures accurate detection regardless of TradingView's UTC internal clock.
Tracks the max one-sided move (high - open or open - low) per session, averaging over 1–N previous days (default: 14).
Table Display:
Avg Max Move: Historical average deviation, labeled with days averaged and session time.
Current Move: Real-time displacement from session open (positive for up, negative for down).
Room to Go Up/Down: Remaining distance to reach the average, updating live; appends "REACHED (price)" if hit during the session.
Customisable: Text color, font size (tiny to huge), position (e.g., bottom_left), and value scaling via multiplier/decimal places.
Target Lines:
Optional horizontal lines at "Up Target" (open + avg move) and "Down Target" (open - avg move).
Lines start at the session open bar and extend only through the session duration (e.g., stops at 12:00 for a 07:00-12:00 session)—no further projection post-session.
Fully customisable: Toggle on/off, color, style (solid/dotted/dashed), width, label text/background.
Display Adjustments for Forex/Crypto:
Multiplier: Scales raw values (e.g., set to 10000 for EURUSD to show pips like 45.0 instead of 0.0045).
Decimals: Controls precision (0–5 places) for table values.
How to Use
Add to Chart: Search for "Session Volatility Monitor" in TradingView's indicators and apply to your symbol (e.g., EURUSD for forex, NQ1! for futures, BTCUSD for crypto).
Configure Settings:
Select a session preset or custom range; adjust UTC offset if needed (e.g., +0 for UTC symbols like crypto).
Set "Number of Previous Days to Average" (e.g., 14 for a two-week look back).
For small-tick assets, set Multiplier (e.g., 100 for crypto points, 10000 for forex pips) and Decimals (e.g., 0 for whole numbers).
Customise table position/size/color and target lines for visibility.
Interpret Outputs:
Monitor the table for "room to go"—if Room Up is low/negative, upside might be limited; "REACHED" signals a potential reversal or exhaustion.
Use target lines as visual S/R levels; they auto-start at session open and halt at close.
Combine with price action, volume, or other indicators for entries (e.g., buy near down target if bullish bias).
Example Scenario:
Forex (GBPUSD, 1-min): Set session to "London Kill Zone: 02:00-05:00" (UTC+0), multiplier=10000. Table shows pips; lines mark expected highs/lows.
Limitations and Tips
Historical Data Limits: Averages are capped by TradingView's bar history (e.g., ~14 days on 1-min for free plans). Upgrade for deeper look backs or use higher timeframes.
Session Accuracy: Ensure UTC offset matches your chart—test with the "In Session" plot (enable in Style tab, zoom y-axis if columns are tiny).
No Alerts/Signals: Purely informational; add custom alerts via TradingView for "REACHED" conditions.
Performance: On very low timeframes with long sessions, lines might consume line limits (max ~50)—toggle off if needed.
Tips: For crypto/forex, experiment with multiplier to match your preferred units (e.g., points vs. decimals). Hide debug plot in Style tab for clean charts. If "REACHED" doesn't trigger, verify on historical data where moves exceed averages.
This tool draws from concepts like Average Daily Range but focuses on directional, session-specific volatility for precise intraday decision-making. Feedback welcome!
Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Always consult a professional before trading.
Previous Day Fibonacci + Opening RangePrev Day Fibonacci & Opening Range Levels
This indicator is designed for professional traders who want to combine yesterday’s market structure with today’s intraday levels.
🔹 Features:
Automatic Fibonacci Retracements: Draws customizable Fibonacci retracement/extension levels based on the previous day’s High & Low.
Full Customization: Users can adjust the Fibonacci ratios and colors directly in settings.
Opening Range Levels: Plots today’s first candle High & Low (user-selectable timeframe for OR).
Clear Visuals: Helps identify key reversal zones, breakout levels, and confluence areas between higher timeframe structure and intraday moves.
🔹 Usage Ideas:
Spot potential reversal zones when price reacts to previous-day Fib levels.
Combine Opening Range breakout strategies with daily Fib levels for high-probability setups.
Use as confluence levels with your existing price action or indicator-based strategy.
⚡ Pro Tip: Look for overlaps between the Opening Range and Fibonacci retracements — these zones often act as strong support/resistance areas.
Chicago 17:00-19:00 Overnight RangeThis indicator will map out range high and range low of previous 17:00 - 19:00 of the chart. It can also display mid range if needed
Opening Range — Chicago 17:00-19:00 (Customizable)Maps opening 2 hour range of Chicago timezone with the range high range low and medium zone. It can be customized to fit your needs
AutoFib + Twin Range Filter (Combined)This indicator combines a dynamic Fibonacci retracement tool with a Twin Range Filter trend detection system to help traders identify high-probability trade setups.
Features:
Automatically calculates Fibonacci levels based on a configurable lookback period.
Displays fixed-color Fibonacci zones on the chart for clear visual reference.
Implements the Twin Range Filter to identify trend direction with smoothing and range filtering.
Generates long signals only when price hits the Fibonacci 0.0 level (support) and the filter indicates an uptrend.
Generates short signals only when price hits the Fibonacci 1.0 level (resistance) and the filter indicates a downtrend.
Plots clean long and short labels directly on the chart for easy trade timing.
Alert conditions built in for both long and short signals, combining Fibonacci and trend filter confirmation.
Use this indicator to better time entries by aligning Fibonacci retracement zones with trend momentum signals.
Dr. Fib - FGBAB - Open Range Breakout for Indexes v2.0 *** EXCLUSIVELY FOR INDEXES ***
This Open Range Breakout Indicator (ORB) helps your discretionary trading when looking for breakouts on the 15 mins range; and you can use it on small time frames to time your entries with more precision.
This indicator helps your discretionary trading by allowing visual settings that helps discretionary trades to make faster decisions.
It will provide you will the following on-screen information:
- ORB HIGH and LOW: The Open Range Breakout set by the input parameters, for example the first 15 mins RTH Open from 9:30 to 6:45.-
- ORB MID: The ORB mid point for reference, generally the price tends to return and bounce from the 50% ORB.
Reward to Risk posible targets for LONG and SHORT trades: This will provide target value references, it is based on the ORB Risk from high to low, you have 1:1, 2:1, 3:1 and 4:1 possible targets in both directions.
Reference table:
The reference table is a visual setting for you to have at first sight important information before considering getting into the trade:
- ORB HIGH and LOW.
- Risk in points.
- Risk in USD.
- Amount of contracts considering the MaxRisk input parameter you select.
- The current LIVE R:R based on the entry, if price is abobe ORB High it will simulate a LONG position is price is below the ORB Low it will simulate a SHORT position,
- The LIVE profit simulation based on the above.
- MaxRunUP, the highest equity the trade simulation has produced.
Direction: The current trade direction simulation based on the ORB HIGH or ORB LOW.
This new version (2.0) will provide historical ORB's and Target in the chart so you can use for future references and past performance analysis.
Keep in mind this indicator is a "gauge" a visual help for discretionary traders that like to trade Open Range Breakout strategy.
It will reset the ORB at RTH Close and build a new ORB at next RTH calendar day based in the ORB time you have selected by the input parameters.
Please feel free to use in your own trading at your own discretion.
Closing RangeFInd the closing range, This script used to find the closing range of a stock in bar chart
Daily ATR Range Lines x SmartBlackGirl📊 Daily ATR Range Lines – Project High/Low Targets with Precision
The Daily ATR Range Lines indicator uses the Average True Range (ATR) to project potential high and low price targets for the trading day. These levels reset daily and give traders a statistically based expectation of how far price is likely to move — perfect for intraday decision-making.
🔍 What It Does
Plots daily upper and lower target lines based on a multiple of the ATR (default: 1x ATR).
Levels are calculated after the first 15 minutes of market open to establish direction and volatility.
Highlights realistic price movement boundaries, helping traders identify take-profit or fade zones.
✅ Why Use It
Sets expectations for the day’s range — no more guessing how far price might go.
Helps avoid chasing trades late in the move by showing when price is already extended.
Great for scalping, options trading, or setting realistic price targets.
Can act as support/resistance zones throughout the day.
⚙️ Best Used With
Momentum strategies
Combine with volume confirmation or directional filters to increase accuracy.
Works best on 5-minute or 15-minute charts for intraday traders.
Opening Range Breakout (9:30 - 9:45 EST)Here's a Pine Script (v5) for TradingView that plots the Opening Range Breakout (ORB) lines from 9:30 AM to 9:45 AM EST on a 15-minute chart.
It draws a green line at the high of the opening range and a red line at the low, both extending through the rest of the day.
Ema With VoLume RangeEMA with Volume Range – Adaptive Trend, Trailing Stops & Volume Profile Zones
This sophisticated indicator integrates three powerful trading tools in a single overlay: a classic EMA200, precision ATR-based buy/sell signals, and a unique double-zone volume profile for deep market structure analysis. Ideal for swing traders, scalpers, and volume-driven investors seeking actionable, multi-dimensional price insights.
Core Features
EMA200 (Exponential Moving Average):
Plots a customizable EMA200 (blue line) for identifying primary trend direction and dynamic support/resistance.
Exponential smoothing is enabled by default for better tracking of recent price action.
ATR-Based Trailing Stop with Buy/Sell Signals:
Uses Average True Range (ATR) to set adaptive trailing stop levels that respond to current market volatility.
Buy and Sell signals (tiny green and red labels) trigger whenever price crosses the trailing stop for precise entries and exits.
All signals are alert-enabled for automated or semi-automated trading workflows.
Adjustable ATR multiplier and lookback for tuning responsiveness.
Dual Volume Range Zones & Profile Histogram:
Automatically highlights recent high/low price zones (upper and lower) using your lookback period and zone width settings.
Each zone is split into horizontal "bins," color-coded for buy/sell dominance and highlighting the Point of Control (POC)—the price with the most traded volume.
The indicator draws live volume histograms inside each zone, supplementing them with labels that show buy vs. sell volumes and POC statistics.
Adjustable bin count, transparency, colors, and histogram granularity to fit your visual preference.
Optional midlines and fair value drift line help visualize price equilibrium and value shifts over time.
How to Use
Trend Confirmation: Align trades with the EMA200—trade long above, short below, or wait for ATR-trailing stop triggers that coincide with the EMA bias.
Signal Generation: Use the ATR trailing stop Buy/Sell signals to spot shifts in volatility-adjusted direction early.
Volume Zone Analysis: Identify where the highest concentration of buy/sell activity occurred within the customizable upper/lower zones:
Use high volume bins and POC as magnets for price, support/resistance, or to confirm breakout/failure zones.
Leverage the fair value drift line and dynamic labels to detect changes in market sentiment and volume pressure.
Breakout Range Signal with Quality Analysis [Dova Lazarus]📌 Breakout Range Signal with Quality Analysis
🎓 Training-focused indicator for breakout logic, SL & TP behavior and signal quality assessment
🔷 PURPOSE
This tool identifies breakout candles from a calculated channel range and visually simulates entries, stop losses, and take profits, providing live and historical performance metrics.
⚙️ MAIN SETTINGS
1️⃣ Channel Setup
channel_length = 10 → how many candles are averaged to form channel boundaries
channel_multiplier = 0.0 → adds expansion above/below the base channel
channel_smoothing_type = SMA → smoothing method for high/low averaging
📊 The channel consists of two moving averages: one from highs, the other from lows. When expanded (via multiplier), it creates a buffer range for breakout validation.
2️⃣ Signal Detection
Body > Channel % = 50 → a breakout candle's body must exceed 150% of the channel width
Signal Mode:
• Weak → every valid breakout candle is highlighted
• Strong → only the first signal in a sequence is shown (helps reduce noise)
🟦 Bullish signals (blue):
• Candle opens inside the channel
• Closes above the channel
• Body is large enough
• Optional: confirms with trend (if enabled)
🟨 Bearish signals (yellow):
• Candle opens inside the channel
• Closes below the channel
• Body is large enough
• Optional: confirms with trend
3️⃣ Trend Filter (optional)
Enabled via checkbox
Uses a higher timeframe MA to filter signals
Bullish signals are allowed only if price is below the trend MA
Bearish signals only if price is above it
⏱️ trend_timeframe = 1D (typically set higher than the chart's timeframe)
🟢 Trend line is plotted if enabled
🎯 ENTRY, STOP LOSS & TAKE PROFIT LOGIC
SL and TP are based on channel width, not fixed pip/tick size:
📍 Entry Price = close of the breakout candle
🛑 Stop Loss:
• Bullish → below the lower channel border (minus offset)
• Bearish → above the upper channel border (plus offset)
🎯 Take Profit:
• Bullish → entry + channel width × profit multiplier
• Bearish → entry − channel width × profit multiplier
You can control:
Profit Target Multiplier (e.g., 1.0 → TP = 1×channel width)
Stop Loss Target Multiplier (e.g., 0.5 → SL = 0.5×channel width)
Signals to Show = how many historical SL/TP setups to display
📈 Lines and labels ("TP", "SL") are drawn on the chart for clarity.
🧪 QUALITY ANALYSIS MODULE
If enabled, the indicator will:
Track each new signal (entry, SL, TP)
Analyze outcomes:
• Win = TP hit before SL
• Loss = SL hit before TP
• Expired = signal unresolved after N bars
Display statistics in a table (top-right corner):
📋 Table fields:
✅ Overall win rate
📈 Bullish win rate
📉 Bearish win rate
🔢 Total signals
🕓 Pending (still active trades)
Maximum bars to wait for outcome is customizable (max_bars_to_analyze).
📐 VISUALIZATION TOOLS
TP / SL lines per signal
Labels “TP” and “SL”
Optional channel lines and trendline for better context
Colored bars for valid signals (blue/yellow)
📌 BEST USE CASES
Understand how breakout signals are formed
Learn SL/TP logic based on dynamic range
Test how volatility affects trade outcomes
Use as a visual simulation of trade behavior over time
ORB Range Indicator with Fibonacci Targets
This script plots the Opening Range (ORB) high and low based on a configurable time window (5–45 minutes from the U.S. session open at 9:30 AM EST).
Once the ORB window closes, the indicator draws horizontal lines marking:
ORB High and Low
The size of the range in price and %
Fibonacci-based price targets above and below the range (0.382, 0.618, 1.000, 1.618, 2.000)
You can control:
Which Fibonacci levels to display
Whether to show long targets, short targets, or both
All drawings are automatically cleared at the start of each trading day.
Ideal for breakout traders using ORB and Fibonacci extensions for target planning.
Opening Range and Initial balanceThis indicator represents Opening Range and Initial Balance levels.
Opening Range represents the high and low established during the first few minutes of the trading session — usually 5, 15 or 30 minutes.
Initial Balance represents the high and low established during the first hour of the trading session.
Average Daily Range in TicksPurpose: The ADR Ticks Indicator calculates and displays the average daily price range of a financial instrument, expressed in ticks, over a user-specified number of days. It provides traders with a measure of average daily volatility, which can be used for position sizing, setting stop-loss/take-profit levels, or assessing market activity.
Calculation: Computes the average daily range by taking the difference between the daily high and low prices, averaging this range over a customizable number of days, and converting the result into ticks (using the instrument's minimum tick size).
Customization: Includes a user input to adjust the number of days for the average calculation and a toggle to show/hide the ADR Ticks value in the table.
Risk Management: Helps traders estimate typical daily price movement to set appropriate stop-loss or take-profit levels.
Market Analysis: Offers insight into average daily volatility, useful for day traders or swing traders assessing whether a market is trending or ranging.
Technical Notes:
The indicator uses barstate.islast to update the table only on the last bar, reducing computational load and preventing overlap.
The script handles different chart timeframes by pulling daily data via request.security, making it robust across various instruments and timeframes.
Multi Pivot Point & Central Pivot Range - Nadeem Al-QahwiThis indicator combines four advanced trading modules into one flexible and easy-to-use script:
Traditional Pivot Points:
Calculates classic support and resistance levels (PP, R1–R5, S1–S5) based on previous session data. Ideal for identifying key turning points and mapping out the daily, weekly, or monthly structure.
Camarilla Levels:
Provides six upper and lower pivot levels (H1–H6, L1–L6) derived from volatility and closing price formulas. Especially effective for intraday reversal, mean reversion, and finding overbought/oversold extremes.
Central Pivot Range (CPR):
Plots the median, top, and bottom of the value area each session. CPR width instantly highlights whether the market is likely to trend (narrow CPR) or remain range-bound (wide CPR).
Developing CPR projects the evolving range for the current period—essential for real-time analysis and pre-market planning.
Dynamic Zone Levels (DZL):
Automatically detects and highlights clusters of pivots to reveal high-probability support/resistance zones, filtering out market “noise.”
DZL alerts notify you whenever price breaks or retests these key areas, making it easier to spot momentum trades and avoid false signals.
Key Features:
Multi-timeframe flexibility: Use with daily, weekly, monthly, yearly, or custom timeframes—even rare ones like biyearly and decennial.
Modular design: Activate or hide any system (Traditional, Camarilla, CPR, DZL) as you need.
Bilingual interface: Every setting and label is shown in both English and Arabic.
Full customization: Control visibility, color, style, and placement for every level and label.
Historical depth: Plot up to 5,000 pivot/zones back for deep analysis and backtesting.
Smart alerts: Get instant notifications on true S/R breakouts or retests (from DZL).
How to Use:
Trend Trading:
Watch for a very narrow CPR to identify potential trending days—trade in the breakout direction above/below the CPR.
Range Trading:
When CPR is wide, expect sideways movement. Fade reversals at R1/S1 or within the CPR boundaries.
Breakouts:
Use DZL alerts to capture momentum as price breaks or retests dynamic support/resistance zones.
Multi-Timeframe Confluence:
Combine CPR and pivot levels from multiple timeframes for higher-probability entries and exits.
All calculations and logic are fully open.