ATR Timeframe RangeThis indicator shows the ATR range on the daily or any other timeframe on your current chart. All settings are fully customize-able.
Komut dosyalarını "range" için ara
[C] Dynamic Range Channel based on ATR on Multi Time FramePlots the dynamic range from the calculated Average True Range of the security. The calculated price that it could return to from high to low and vice versa. Has been tested on multiple time frames on NSE equity stocks.
Range OscillatorRange Oscillator is a centered oscillator that can be classified as both trend and momentum indicator and also as either bound limited or non-limited one.
The main part is a measure of difference between specified source (Price, if source is set to close) and average of highest and lowest price in a given period(Range), plotted as histogrsam.
Thus when level of price is above this average, oscillator shows bullish trend and if the price trades below it, oscillator will show bearish trend.
Height of histogram shows momentum, as price diverges from base bars of histogram will grow longer and this also indicates a rising momentum. And a narrowing histogram shows that trend and momentum are fading.
Indicator can be modified in various ways as there are plenty of options available...
The first option you will see is the mode option. Oscillator can be set to basic, percent and index modes.
Basic mode is simply the distance of source from base. Percent mode calculates the percent of this distance. And Index mode limits the oscillator to percent of range, where 50 is the center.
Look-back period is the number of bars that will be checked to canculate range. (20-60 is suggested)
Then there is smoothing option which is enabled as default and you have 4 types of moving averages (SMA, EMA, WMA, RMA) to choose as smoothing method of signal or turn it off.
Another double moving average is provided if you would like to add more filtering layers to signals. Histogram will be changing colors based on moving average crosses if they are enabled. Second MA can be used as source of first MA to simulate K and D.
Next option is to whether have wicks included in range calculation or not.
And levels and source can be modified at the end.
Overbought/Oversold...
Oversold and overbought levels can be seen in all modes. In non-index modes the levels are not fixed, but canculated in percent and plotted around center level dynamically.
Remeber that these areas are not there to signal reversal but trend strength.
Default threshold is set to 70 for overbought and 30 for oversold, and can be changed according to security or self preferences.
Readings above overbought level would indicate that the underlying security was trading near the top of high-low range for the specified period of bars back. Readings below oversold occur when a security is trading at the low end of its high-low range.
Signals...
Center Cross
As explained, Center Cross (The most basid signal generated by indicator) could be a result of possible change in trend.
Bull/Bear Divergences
Divergences form when a new high or low in price is not confirmed by the oscillator. A bullish divergence forms when price records a lower low, but the Range Oscillator forms a higher low. This shows less downside momentum that could forecast a bullish reversal. A bearish divergence forms when price records a higher high, but the Range Oscillator forms a lower high. This shows less upside momentum, and indicates a possible bearish reversal. Once a divergence happens, other confirmation such as Center Line cross or a trend break-out on the chart, should be considered to signal an actual reversal.
Twin Peaks
Since the similarity of Range Oscillator and Awsome Oscillator, Twin Peaks can also be considered as signals in non-Index modes.
Twin Peaks is a method which considers the differences between two peaks on the same side of the Center Line.
A Bullish Twin Peaks setup occurs when there are two peaks below the Center Line. The second peak is higher than the first peak and followed by a light bar. The trough between the two peaks, is recommended to remain below the Center Line the entire time.
A Bearish Twin Peaks setup occurs when there are two peaks above the Center Line. The second peak is lower than the first peak and followed by a dark bar.
Momentum Failure
The situation happens when signal bars can't cross into overbought/oversold areas, which can lead to a strong trend reversal.
Saucer
A Saucer Setup looks for fast momentum changes in three consecutive bars on non-Index modes specially. Bars must be on the same side of the Center Line.
A Bullish Saucer setup occurs when the Oscillator is above the Center Line. It entails two consecutive dark bars (with the second bar being lower than the first bar) being followed by a light Bar.
A Bearish Saucer setup occurs when the Oscillator is below the Center Line. It entails two consecutive light bars (with the second bar being higher than the first bar) being followed by a dark bar.
Break-outs
Break-outs of lines generated from connecting peaks on non-Index modes can be considered as signal. Break-outs often provide faster signals that Center Line cross.
Example chart with Basic mode:
GBPUSD, 1D
Attention: Like most of other indicators, the point that it is based on historical data of price will often result in false signals.
It is very important to use the Range Oscillator with causion, And in conjunction with other technical analysis.
Average Daily Range Label by Theoris (ADR)This indy show Label of
* Last price
* Range of Low - High ( from Average daily range calculation )
* ADR (14 ) default period 14
* value of current range ( pip ) / Average daily range.
Example
now price is
1499.4
( 1486.959 - 1510.841 ) --- > This is range calculate from ADR for normal range.
ADR(14)
58/148.41
meaning use ADR period 14
today run 58 pips
from average 14 period is 148.41 pips
can change period to other normally I use 10 or 14
Timeframe to use default is Daily
5 Sessions RangeThis script averages the range of the previous 5 sessions and displays it on the chart
The sessions are adjustable
True Rolling Pivot Range IndicatorHere is the actual 3 day rolling pivot range indicator as detailed in Mark Fisher's book The Logical Trader.
ATR True Range - Multi Timeframe - BonavestTo add this indicator to your charts:
Click the 'Add to Favorite Scripts' button down below this description.
This simple indicator is merely for displaying mulitple ATR ranges at a glance on one chart.
SETTINGS
Each ATR is completely configurable:
Length - to base the ATR on
Timeframe - 'Chart' uses the current chart resolution; other timeframes are available on pull downs
Multiplier - Each ATR can use a multiplier to be able to show multiples or fractions of the full ATR. (i.e. 85=85%, 150=150%)
Dark Theme - Default colors for black or dark backgrounds
I use this indicator for:
Determining price ranges
Setting stop losses and take profit levels
CD_Average Daily Range Zones- highs and lows of the dayUses daily average ranges of 5 and 10 (most used) as buy (support) and highs (resistance) areas - half ranges used in calculations for a more accurate "forecast" of the H and L . Uses open but not close, so it does not repaint - experimental
ATR - Average True Range + Dynamic Trend w/ Signals | by Octopu$↕ ATR - Average True Range + Dynamic Trend w/ Signals | by Octopu$
What is ATR?
ATR stands for Average True Range
A Technical Analysis Indicator that measures market volatility by decomposing the range of a Security Price in a specific period.
The ATR can be used as a High Low Spectrum,
As well as a variation of a Moving Average, considering the ranges on a timeframe, generally this being 14 days.
Shorter periods can be used (will generate more signals) or longer periods for steadier trends (for fewer signals)
A ticker on a high volatility has a high ATR.
A ticker on a low volatility has a low ATR.
It is an useful resource for a trading system:
Can be used to enter or exit trades and/or also measure the daily spectrum of a stock.
Does not necessarily points price direction, but takes into account gaps and strong legs.
Can also be used as trading positions confirmation,
Rather be it for stop losses or take profits,
As well as setting trailing stops or limit orders.
This tool offers a great Risk to Reward Ratio, considering the fact you will be aware of the possible moves that an asset can perform.
This indicator should not be used as a standalone tool.
(The combination of factors relies on your own knowledge about Confluence Factors along with your Due Diligence)
This indicator is not an advice to buy or sell securities.
www.tradingview.com
SPY
ANY Ticker. ANY Timeframe.
(Used SPY 5m as Example only)
Features:
• ATR ( Average True Range )
• Range UP and DOWN
• Movement from Price Line
• Dynamic ATR
• Cross/Test Signals
• Live and Last Close
Options:
• Specific Factors Setup
• Length Customization
• Toggle On/Off
• Color PIcker
• Styling Options
Notes:
v1.0
Indicator release.
Changes and updates can come in the future for additional functionalities or per requests. Follow and Stay Tuned!
Did you like it? Please Support and Shoot me a message! I'd appreciate if you dropped by to say thanks! Thank you.
- Octopu$
🐙
Pre Market \ Opening Range High LowGreen vertical lines are showing pre market open and then the opening range as the first hour of market NYSE market open
Pre market high and low are blue lines | intraday opening range high low are in white
Trades are taken in the current direction above | below range breaks with the direction of price action using the moving averages
Price breaking through moving averages and a range is the optimal trade to enter - exit at next range for target - stop loss below the lower | higher moving average depending on short or long
A break above or below the intraday high or low and pre market high or low can give massive profits trailing your stop loss as price runs
Using MA 5 and 12 to filter out entries and exits above or below the ranges short or long is also another strategy to implement
BEST TIME FRAME TO USE IS 5 MINUTE
VIX RangeThis indicator shows the daily expected trading range of the instrument.
An upper and lower line denotes the range. It is calulated based on the volatility index selected (NSE:India VIX is used by default). Also it shows developing upper and lower line for the next trading day.
Non-directional option strategies (like straddle, strangle) can be performed based on the expected trading range.
Session's First Bar RangeFirst Bar is crucial when there is gap up or gap down opening. It is recommended to use 15m Timeframe for better use.
Crossing this range signifies the absorption of existing buyers/sellers in the opening session and sometimes decide the trend onwards.
High Low Open Mid Ranges & Levels (Multi-Timeframe)This indicator automatically plots the chosen timeframe's high, low, mid point and open. These levels on higher timeframes act as support and resistance levels on lower timeframes, helping find entries, stoploss and profit targets.
Most common timeframes to choose are Daily, 1W, 1M, and 3M. Other timeframes that are good include, 2D, 2W and 2M.
For example, you can see in the snapshot below, we are on the 4hr TF showing those levels from the 2W. This historical 2W zone (open and mid) was (and currently still is) resistance. You can see it also provided a good entry to go short.
This is also useful for intraday scalping. Below, we are on the 15min TF with levels set on the 2D timeframe. You can see how the Open and Mid levels acted as resistance, providing good entries on range trades, with take profit set at the previous 2D low.
There is also a table which tells you all the main TFs high, low, open, and mid levels. They are the most important ones to look out for.
This indicator should not be used in isolation; it is best to pair it up with other TA such as orderblocks, S/D zones, S&R or overlay indicators.
Trading Range FinderWhat is it?
This indicator is a visual representation of the ADX indicator that shows where the areas of weak trends are. Anything shaded in a gray background implicates that the chosen market is experiencing a weak trend.
These areas of weak trends are seen typically when ADX drops below 20-25 but this script is customizable to change where you want that threshold.
Why did I make it?
I made this indicator to be used in combination with other trading indicators to eventually be used to identify when a market is range-bound/sideways.
Since momentum-based indicators can be "thrown off" in sideways market conditions, I will be using this visual indicator to identify when it is best to filter out a trade signal in a momentum-based strategy.
BERLIN Range Index | Panel versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the panel version of the indicator. It plots the index and min/max values, as well as background colors to tell you when it thinks the market is ranging or trending.
Yellow = Trending
Transparent gray = Ranging
BERLIN Range Index | Bar color versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the bar color version of the indicator. It changes the color of the bars when it it thinks the market is ranging and when it thinks it is trending.
Yellow = Trending
Transparent gray = Ranging
MG - Range trader - 1.0This one is a bit of an experiment..
The theory is, if you have an asset that you firmly believe will rise in the future for fundamental reasons and are happy to hold until that happens i.e. a be a position trader, you can take advantage of market volatility at the same time in a relatively safe way, so theoretically, you profit when the price goes up or down
E.g. You have $1000, an asset in which you want to become a position trader and you are happy to either make more money or more of the asset as you believe that will make you more money in the future, you could wait until a decent retracement, maybe around a good support level, then buy $500 of the asset and simply sell if it goes up by X, buy if it goes down by X. If you keep doing this, you will end up with either with more of the asset or more money. You have a sure gain either way (if you are happy to have either money or asset)
There are some considerations:
The higher the trade size, the faster profit compounds and the faster you exhaust your available buys and sells
- E.g. If asset is $100, you have $500 and you plan to buy / sell every $10 change, if the asset drops straight to $40, your last buy will be at $50, at which point, the asset is still dropping. But it you only plan to buy / sell $5 every $10 price, you will be able to buy right down to 0.
In times of strong trend, it may be better to avoid this approach altogether as there may not be so much oscillation or at least to use a small if not minimum order size.
Application:
The buy and sell triggers can be connected using autoview to convert this indicator into a range trading bot
15Min Opening Range & Midline (UTC+2) This TradingView script draws the 15-minute Opening Range of the day based on a user-defined start time and plots the high, low, and midline of this range. It works by capturing the high and low of the first 15 minutes of the session, and then extending them for the rest of the trading day. The midline is calculated as the average of the high and low values.
Key Features:
User-configurable start time: Define the hour and minute for when the opening range should start based on your local time zone.
Line customization: Choose the color and line style (solid, dashed, dotted) for the high, low, and midline.
Easy-to-read visual representation: The high and low lines extend across the chart from the range start, with the midline placed in the center.
Dynamic updates: The indicator resets at the start of each new trading day and updates the opening range lines accordingly.
Perfect for:
Traders looking to monitor the initial market range during the first 15 minutes of trading.
Identifying key support and resistance levels based on early price action.
Providing a midline to assess market bias and potential breakouts.
Notes:
The indicator calculates everything based on the local time zone you define and automatically adjusts to your desired start time.
It will not redraw lines; once drawn, they remain on the chart until the next session.
HTF Candle Range Box (Fixed to HTF Bars)### **Higher Timeframe Candle Range Box (HTF Box Indicator)**
This indicator visually highlights the price range of the most recently closed higher-timeframe (HTF) candle, directly on a lower-timeframe chart. It dynamically adjusts based on the user-selected HTF setting (e.g., 15-minute, 1-hour) and ensures that the box is displayed only on the bars that correspond to that specific HTF candle’s duration.
For instance, if a trader is on a **1-minute chart** with the **HTF set to 15 minutes**, the indicator will draw a box spanning exactly 15 one-minute candles, corresponding to the previous 15-minute HTF candle. The box updates only when a new HTF candle completes, ensuring that it does not change mid-formation.
---
### **How It Works:**
1. **Retrieves Higher Timeframe Data**
The script uses TradingView’s `request.security` function to pull **high, low, open, and close** values from the **previously completed HTF candle** (using ` ` to avoid repainting). It also fetches the **high and low of the candle before that** (using ` `) for comparison.
2. **Determines Breakout Behavior**
It compares the **last closed HTF candle** to the **one before it** to determine whether:
- It **broke above** the previous high.
- It **broke below** the previous low.
- It **broke both** the high and low.
- It **stayed within the previous candle’s range** (no breakout).
3. **Classifies the Candle & Assigns Color**
- **Green (Bullish)**
- Closes above the previous candle’s high.
- Breaks below the previous candle’s low but closes back inside the previous range **if it opened above** the previous high.
- **Red (Bearish)**
- Closes below the previous candle’s low.
- Breaks above the previous candle’s high but closes back inside the previous range **if it opened below** the previous low.
- **Orange (Neutral/Indecisive)**
- Stays within the previous candle’s range.
- Breaks both the high and low but closes inside the previous range without a clear bias.
4. **Box Placement on the Lower Timeframe**
- The script tracks the **bar index** where each HTF candle starts on the lower timeframe (e.g., every 15 bars on a 1-minute chart if HTF = 15 minutes).
- It **only displays the box on those bars**, ensuring that the range is accurately reflected for that time period.
- The box **resets and updates** only when a new HTF candle completes.
---
### **Key Features & Advantages:**
✅ **Clear Higher Timeframe Context:**
- The indicator provides a structured way to analyze HTF price action while trading in a lower timeframe.
- It helps traders identify **HTF support and resistance zones**, potential **breakouts**, and **failed breakouts**.
✅ **Fixed Box Display (No Mid-Candle Repainting):**
- The box is drawn **only after the HTF candle closes**, avoiding misleading fluctuations.
- Unlike other indicators that update live, this one ensures the trader is looking at **confirmed data** only.
✅ **Flexible Timeframe Selection:**
- The user can set **any HTF resolution** (e.g., 5min, 15min, 1hr, 4hr), making it adaptable for different strategies.
✅ **Dynamic Color Coding for Quick Analysis:**
- The **color of the box reflects the market sentiment**, making it easier to spot trends, reversals, and fake-outs.
✅ **No Clutter – Only Applies to the Relevant Bars:**
- Instead of spanning across the whole chart, the range box is **only visible on the bars belonging to the last HTF period**, keeping the chart clean and focused.
---
### **Example Use Case:**
💡 Imagine a trader is scalping on the **1-minute chart** but wants to factor in **HTF 15-minute structure** to avoid getting caught in bad trades. With this indicator:
- They can see whether the last **15-minute candle** was bullish, bearish, or indecisive.
- If it was **bullish (green)**, they may look for **buying opportunities** at lower timeframes.
- If it was **bearish (red)**, they might anticipate **a potential pullback or continuation down**.
- If the **HTF candle failed to break out**, they know the market is **ranging**, avoiding unnecessary trades.
---
### **Final Thoughts:**
This indicator is a **powerful addition for traders who combine multiple timeframes** in their analysis. It provides a **clean and structured way to track HTF price movements** without cluttering the chart or requiring constant manual switching between timeframes. Whether used for **intraday trading, swing trading, or scalping**, it adds an extra layer of confirmation for trade entries and exits.
🔹 **Best for traders who:**
- Want **HTF structure awareness while trading lower timeframes**.
- Need **confirmation of breakouts, failed breakouts, or indecision zones**.
- Prefer a **non-repainting tool that only updates after confirmed HTF closes**.
Let me know if you want any adjustments or additional features! 🚀
Futures Weekly Open RangeThe weekly opening range ( high to low ) is calculated from the open of the market on Sunday (1800 EST) till the opening of the Bond Market on Monday morning (0800 EST). This is the first and most crucial range for the trading week. As ICT has taught, price is moving through an algorithm and as such is fractal; because price is fractal, the opening range can be calculated and projected to help determine if price is trending or consolidating. As well; this indicator can be used to incorporate his PO3 concept to enter above the weekly opening range for shorts if bearish, or entering below the opening range for longs if bullish.
This indicator takes the high and low of weekly opening range, plots those two levels, plots the opening price for the new week, and calculates the Standard Deviations of the range and plots them both above and below of the weekly opening range. These are all plotted through the week until the start of the new week.
The range is calculated by subtracting the high from the low during the specified time.
The mid-point is half of that range added to the low.
The Standard deviation is multiples of the range (up to 10) added to the high and subtracted
from the low.
At this time the indicator will only plot the Standard deviation lines on the minutes time frame below 1 hour.
Only the range and range lines will be plotted on the hourly chart.
Previous Day and Week RangesI've designed the "Previous Day and Week Ranges" indicator to enhance your trading strategy by clearly displaying daily and weekly price levels. This tool shows Open-Close and High-Low ranges for both daily and weekly timeframes directly on your trading chart.
Key Features :
Potential Support and Resistance: The indicator highlights previous day and week ranges that may serve as key support or resistance levels in subsequent trading sessions.
Customizable Display Options: Offers the flexibility to show or hide daily and weekly ranges based on your trading needs.
Color Customization: Adjust the color settings to differentiate between upward and downward movements, enhancing visual clarity and chart readability.
This indicator is ideal for traders aiming to understand market dynamics better, offering insights into potential pivot points and zones of price stability or volatility.
Shadow Range IndexShadow Range Index (SRI) introduces a new concept to calculate momentum, shadow range.
What is range?
Traditionally, True Range (TR) is the current high minus the current low of each bar in the timeframe. This is often used successfully on its own in indicators, or as a moving average in ATR (Average True Range).
To calculate range, SRI uses an innovative calculation of current bar range that also considers the previous bar. It calculates the difference between its maximum upward and maximum downward values over the number of bars the user chooses (by adjusting ‘Range lookback’).
What is shadow range?
True Range (TR) uses elements in its calculation (the highs and lows of the bar) that are also visible on the chart bars. Shadow range does not, though.
SRI calculates shadow range in a similar formula to range, except that this time it works out the difference between the minimum upward and minimum downward movement. This movement is by its nature less than the maximums, hence a shadow of it. Although more subtle, shadow range is significant, because it is quantifiable, and goes in one direction or another.
Finally, SRI smoothes shadow range and plots it as a histogram, and also smoothes and plots range as a signal line. Useful up and down triangles show trend changes, which optionally colour the chart bars.
Here’s an example of a long trade setup:
In summary, Shadow Range Index identifies and traces maximum and minimum bar range movement both up and down, and plots them as centred oscillators. The dynamics between the two can provide insights into the chart's performance and future direction.
Credit to these authors, whose MA or filters form part of this script:
@balipour - Super Smoother MA
@cheatcountry - Hann window smoothing
@AlgoAlpha - Gaussian filter