Narrow Range + Inside Day, Short Only Strategy (by ChartArt)This short only strategy determines when there is both a NR7 (narrow range 7, a trading day in which the range is narrower than any of the previous six days), plus a inside day (high of the current day is lower than the high of the previous day and the low of the current day is higher than the low of the previous day) both on the same trading day and enters a short trade when the close is lower than the open and the slope of the simple moving average is downwards, too.
The strategy closes the short trade next time the daily close is lower than the open in any of the next trading days. In addition the NR7ID can be colored (the color is red when the close is lower that day than the open, else the color is green) and the SMA can be drawn with a color based on the direction of the SMA slope. To fine-tune the strategy it is highly recommended to change the period length of the SMA, which determines if the measured SMA slope is downwards or not. In this version 1.1 I made a small change to long only version. By default only the bearish NR7ID days are colored.
Inspiration:
How to trade NR7 and Inside Day Pattern
paststat.com
Code credit:
NR7 indicator script from Tradingview user Lazybear:
pastebin.com
P.S. You can find the 'long only' version of this trading strategy here:
Buscar en scripts para "range"
[RS]Volatility Explosive Measure V0EXPERIMENTAL:
Measures the volatility range of current price range, can help detect squeezes as well explosive moves
Average Percentage True RangeAvarage True Range Percentage is a volatility indicator that use percent value of the volability. It looks to react better to vol. change. It could be add to other indicator as volatility range value
[RS]Average Variation Bands V1optional method for cumulative averaging of the range variation.
optional length for averaging range variation.
Average Pip MovementAverage Price Movement inidcator displays the high/low for the period over time. On top of that an 8 period exponential moving avergae is attached
to get average movement over time. It provides, for eg. on a Daily chart, gives a day range and this can be used to book profits or place stop loss.
It is very simple indicator to provide price range over time.
ACD Daily Pivot RangeThis indicator is to display the Daily Pivot Range for Mark Fishers "ACD" method.
If anyone knows how to offset it for different start times (LO, NYO) please let me know so I can update. Ideally the daily daily pivot calculation start should be from the same time as your opening range but i am not sure how to do this.
[RS]Long Term Price Range Analysis (MML)Study on Price range Regression and range (deviation multiplier needs to be accommodate manually to fit price action)
study was made for time frames above weekly
CM Opening Range-Asia and Europe SessionCM Opening Range Asia AndEurope Sessions
Requested by rayhug1 to use Asia Range of 5pm Est to 2am Est...uses 540 minutes (5pm to 2am Est — 9 Hours) to calculate the Range...then breakouts trigger after 2am
-Ability to change Start and End Times to use any entire session.
---Defaults to 540 minutes (9 hours) but Opening Range Calculation can be changed to 1 hour, 2 hour etc. in Inputs tab
***Known Bug…Currently will NOT Plot accurately the U.S. Session from 0800 to 0759. Will Update Indicator when Fixed.
-Ability to Change the Start and End Times to Accommodate any session.
—Default is 1700 to 1659 (Asian Range)
—Europe Session 0200 to 0159
***All times are based on New York Time or Eastern Standard time … GMT-5
***Times will change based on Daylight Savings Time.
Narrowing Range Predictor - EnhancedNarrowing Range Predictor - draws triangles and beaks from the price action. Recommended to play around with settings.
Narrowing Range PredictorNarrowing Range Indicator with several configurables. Recommended to play around with customised settings.
ASR - Average Session Range [KasTrades]This indicator displays the Average Session Range based on the session of your choice.
You can turn the tables off if you don't want to see a table version of the ASR levels. There is also a momentum table showing the current momentum, which you can also turn off.
Opening Range Fibonacci Extensions (ATR Adjusted)this script displays daily, weekly, or monthly range extensions as a function of ATR in a Fibonacci retracement
VWMA True Range | Lyro RSVWMA True Range | Lyro RS
This script is a hybrid technical analysis tool designed to identify trends and spot potential reversals. It employs a consensus-based system that uses multiple smoothed, Volume-Weighted Moving Averages (VWMA) to generate both trend-following and counter-trend signals.
Understanding the Indicator's Components
The indicator plots a main line on a separate pane and provides visual alerts directly on the chart.
The Main Line: This line represents a smoothed average of momentum scores derived from multiple VWMAs. Its direction and value are the foundation of the analysis.
Signal Generation: The tool provides two distinct types of signals:
Trend Signals: These trend-following signals ("⬆️Long" / "⬇️Short") activate when the indicator's consensus reaches a pre-set strength threshold, indicating sustained momentum in one direction.
Reversal Signals: These counter-trend alerts ("📈Oversold" / "📉Overbought") trigger when the main line breaks a previous period's level, hinting at exhaustion and a potential short-term reversal.
Visual Alerts:
Colored Background: The indicator's background highlights during strong trend signals for added visual emphasis.
Chart Shapes: Small circles appear on the main chart to mark where potential reversals are detected.
Colored Candles: You can choose to color the price candles to reflect the current trend signal.
Information Table: A compact table provides an at-a-glance summary of all currently active signals.
Suggested Use and Interpretation
Here are a few ways to incorporate this indicator into your analysis:
Following the Trend: Use the "Long" or "Short" trend signals to align your trades with the prevailing market momentum.
Spotting Reversals: Watch for "Oversold" or "Overbought" reversal signals, often accompanied by chart shapes, to identify potential market turning points.
Combining Signals: Use the primary trend signal for context and look for reversal signals that may indicate a pullback within the larger trend, potentially offering favorable entry points.
Customization Options:
You can tailor the indicator's behavior and appearance through several settings:
Core Settings: Adjust the Calculation Period and Smooth Length to make the main line more or less responsive to price movements.
Signal Thresholds: Fine-tune the Long threshold and Short threshold to control how easily trend signals are triggered.
Visual Settings: Toggle various visual elements like the indicator band, candle coloring, and the information table on or off.
Table Settings: Customize where the information table appears and its size to suit your chart layout.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not guarantee future results. It should be used as part of a comprehensive trading strategy that includes other analysis techniques and strict risk management. The creators are not responsible for any financial decisions made based on its signals.
OBR 15min Session Opening Range Breakout + Volume Trend DeltaMLGOBR 15min Session Opening Range Breakout + Volume Trend DeltaMLG
Regular Trading Hours Opening Range Gap (RTH ORG)### Regular Trading Hours (RTH) Gap Indicator with Quartile Levels
**Overview**
Discover overnight gaps in index futures like ES, YM, and NQ, or stocks like SPY, with this enhanced Pine Script v6 indicator. It visualizes the critical gap between the previous RTH close (4:15 PM ET for futures, 4:00 PM for SPY) and the next RTH open (9:30 AM ET), helping traders spot potential price sensitivity formed during after-hours trading.
**Key Features**
- **Standard Gap Boxes**: Semi-transparent boxes highlight the gap range, with optional text labels showing day-of-week and "RTH" identifier.
- **Midpoint Line**: A customizable dashed line at the 50% level, with price labels for quick reference.
- **New: Quartile Lines (25% & 75%)**: Dotted lines (default width 1) mark the quarter and three-quarter points within the gap, ideal for finer intraday analysis. Toggle on/off, adjust style/color/width, and add labels.
- **High-Low Gap Variant**: Optional boxes and midlines for gaps between the prior close's high/low and the open's high/low—perfect for wick-based overlaps on lower timeframes (5-min or below recommended).
- **RTH Close Lines**: Extend previous close levels with dotted lines and price tags.
- **Customization Galore**: Extend elements right, limit historical displays (default: 3 gaps), no-plot sessions (e.g., avoid weekends), and time offsets for non-US indices.
**How to Use**
Apply to 15-min or lower charts for best results. Toggle "extend right" for ongoing levels. SPY auto-adjusts for its 4 PM close.
Tested on major indices—enhance your gap trading strategy today! Questions? Drop a comment.
Thanks to twingall for supplying the original code.
Thanks to The Inner Circle Trader (ICT) for the logical and systematic application.
Total Points Range by exp3rtsThis indicator measures and displays the true intraday movement of a market by approximating tick-level activity using 1-second data aggregation. Instead of only looking at net candle movement, it sums every price change during a session, giving traders a more accurate picture of market effort and volatility.
Total Points Moved (TPM) – Captures the full distance traveled by price, not just the net gain/loss.
Bullish vs. Bearish Movement – Separates upward and downward moves so you can see who dominated the session.
Custom Sessions – Define your own session start/end times and time zone for precise tracking.
End-of-Session Summary – Automatically plots a label at session completion with totals for TPM, bullish, and bearish movement.
Visual Session Highlighting – Background shading makes it easy to see when the chosen session is active.
This tool is useful for:
Understanding the true effort vs. result of price movement
Comparing volatility across sessions
Identifying whether bulls or bears contributed more to market swings
Supporting order flow and tick-based trading strategies
Opening Range BoxThis indicator, called the "Opening Range Box," is a visual tool that helps you track the start of key trading sessions like London and New York (or whatever session you set).
It does three main things:
Finds the Daily 'First Move': It automatically calculates the High and Low reached during the first 30 minutes (or whatever time you set) of each defined session.
Draws a Box: It immediately draws a colored, transparent box on your chart from the moment the session starts. The top of the box is the OR High, and the bottom is the OR Low. This box acts as a clear reference for the session's initial boundaries.
Extends the Levels: After the initial 30 minutes are over, the box stops growing vertically (it locks in the OR High/Low) but continues to stretch out horizontally for the rest of the trading session. This allows you to easily see how the price reacts to the opening levels throughout the day.
In short: It visually highlights the most important price levels established at the very beginning of the major market sessions.
Opening Range BoxThis indicator, called the "Opening Range Box," is a visual tool that helps you track the start of key trading sessions like London and New York.
It does three main things:
Finds the Daily 'First Move': It automatically calculates the High and Low reached during the first 30 minutes (or whatever time you set) of each defined session.
Draws a Box: It immediately draws a colored, transparent box on your chart from the moment the session starts. This box acts as a clear reference for the session's initial boundaries.
Extends the Levels: After the initial 30 minutes are over, the box stops growing vertically (it locks in the OR High/Low) but continues to stretch out horizontally for the rest of the trading session. This allows you to easily see how the price reacts to the opening levels throughout the day.
In short: It visually highlights the most important price levels established at the very beginning of the major market sessions.
2nd 1H: Midpoints (white=2nd mid, blue=2-candle range mid)2nd 1H: Midpoints (white=2nd mid, blue=2-candle range mid)
XAU/USD Institutional Levels and Range - Final VersionXAU/USD Institutional Levels and Range - Final Version
Customizable Fixed Range Support & ResistanceTraders often overlook the fixed range support and resistance, especially if they are round numbers. If you make some observations, you will see that buyers and sellers engage in numerous transactions at those levels. You can have a look at the screenshots presented here (find the red boxes!) or check it out for yourselves on the instrument's chart that you prefer. This indicator will be a big help for day traders and scalpers to set their entries, profit targets, and stop loss levels.
30s Opening Range with TargetsSimple 30 Second opening range with profit targets and adjustable fill transparency and profit targets
Kalman Adjusted Average True Range [BackQuant]Kalman Adjusted Average True Range
A volatility-aware trend baseline that fuses a Kalman price estimate with ATR “rails” to create a smooth, adaptive guide for entries, exits, and trailing risk.
Built on my original Kalman
This indicator is based on my original Kalman Price Filter:
That core smoother is used here to estimate the “true” price path, then blended with ATR to control step size and react proportionally to market noise.
What it plots
Kalman ATR Line the main baseline that turns up/down with the filtered trend.
Optional Moving Average of the Kalman ATR a secondary line for confluence (SMA/Hull/EMA/WMA/DEMA/RMA/LINREG/ALMA).
Candle Coloring (optional) paint bars by the baseline’s current direction.
Why combine Kalman + ATR?
Kalman reduces measurement noise and produces a stable path without the lag of heavy MAs.
ATR rails scale the baseline’s step to current volatility, so it’s calm in chop and more responsive in expansion.
The result is a single, intelligible line you can trade around: slope-up = constructive; slope-down = caution.
How it works (plain English)
Each bar, the Kalman filter updates an internal state (tunable via Process Noise , Measurement Noise , and Filter Order ) to estimate the underlying price.
An ATR band (Period × Factor) defines the allowed per-bar adjustment. The baseline cannot “jump” beyond those rails in one step.
A direction flip is detected when the baseline’s slope changes sign (upturn/downturn), and alerts are provided for both.
Typical uses
Trend confirmation Trade in the baseline’s direction; avoid fading a firmly rising/falling line.
Pullback timing Look for entries when price mean-reverts toward a rising baseline (or exits on tags of a falling one).
Trailing risk Use the baseline as a dynamic guide; many traders set stops a small buffer beyond it (e.g., a fraction of ATR).
Confluence Enable the MA overlay of the Kalman ATR; alignment (baseline above its MA and rising) supports continuation.
Inputs & what they do
Calculation
Kalman Price Source which price the filter tracks (Close by default).
Process Noise how quickly the filter can adapt. Higher = more responsive (but choppier).
Measurement Noise how much you distrust raw price. Higher = smoother (but slower to turn).
Filter Order (N) depth of the internal state array. Higher = slightly steadier behavior.
Kalman ATR
Period ATR lookback. Shorter = snappier; longer = steadier.
Factor scales the allowed step per bar. Larger factors permit faster drift; smaller factors clamp movement.
Confluence (optional)
MA Type & Period compute an MA on the Kalman ATR line , not on price.
Sigma (ALMA) if ALMA is selected, this input controls the curve’s shape. (Ignored for other MA types.)
Visuals
Plot Kalman ATR toggle the main line.
Paint Candles color bars by up/down slope.
Colors choose long/short hues.
Signals & alerts
Trend Up baseline turns upward (slope crosses above 0).
Alert: “Kalman ATR Trend Up”
Trend Down baseline turns downward (slope crosses below 0).
Alert: “Kalman ATR Trend Down”
These are state flips , not “price crossovers,” so you avoid many one-bar head-fakes.
How to start (fast presets)
Swing (daily/4H) ATR Period 7–14, Factor 0.5–0.8, Process Noise 0.02–0.05, Measurement Noise 2–4, N = 3–5.
Intraday (5–15m) ATR Period 5–7, Factor 0.6–1.0, Process Noise 0.05–0.10, Measurement Noise 2–3, N = 3–5.
Slow assets / FX raise Measurement Noise or ATR Period for calmer lines; drop Factor if the baseline feels too jumpy.
Reading the line
Rising & curving upward momentum building; consider long bias until a clear downturn.
Flat & choppy regime uncertainty; many traders stand aside or tighten risk.
Falling & accelerating distribution lower; short bias until a clean upturn.
Practical playbook
Continuation entries After a Trend Up alert, wait for a minor pullback toward the baseline; enter on evidence the line keeps rising.
Exit/reduce If long and the baseline flattens then turns down, trim or exit; reverse logic for shorts.
Filters Add a higher-timeframe check (e.g., only take longs when the daily Kalman ATR is rising).
Stops Place stops just beyond the baseline (e.g., baseline − x% ATR for longs) to avoid “tag & reverse” noise.
Notes
This is a guide to state and momentum, not a guarantee. Combine with your process (structure, volume, time-of-day) for decisions.
Settings are asset/timeframe dependent; start with the presets and nudge Process/Measurement Noise until the baseline “feels right” for your market.
Summary
Kalman ATR takes the noise-reduction of a Kalman price estimate and couples it with volatility-scaled movement to produce a clean, adaptive baseline. If you liked the original Kalman Price Filter (), this is its trend-trading cousin purpose-built for cleaner state flips, intuitive trailing, and confluence with your existing