88-Key Piano Range - Musical Price Levels88-Key Piano Range - Musical Price Levels
Description:
Explore price analysis through musical harmony! This educational indicator maps price movements to the standard 88-key piano keyboard (A0 to C8), offering a creative way to visualize market ranges and explore harmonic price relationships with authentic keyboard-style background fills.
🎹 KEY FEATURES:
• Complete 88-Key Mapping - Full piano range from A0 to C8 mapped to your price range
• Piano-Style Visual Design - Clean background fills distinguishing white keys, black keys, and octaves
• Dual Anchor System - Set two time/price points to define your analytical range
• Flexible Display Options - Show all 88 keys, octaves only (C notes), or custom selections
• Harmonic Exploration - Explore consonant/dissonant key relationships based on music theory
• Real-time Price Note - See what musical note your current price represents
• Customizable Interface - Adjust colors, line widths, fills, and visual elements
🎵 EDUCATIONAL CONCEPTS:
• Octave Levels - C notes as harmonic reference points (similar to round numbers)
• Key Classifications - Natural notes (white keys) vs chromatic notes (black keys)
• Harmonic Intervals - Musical relationships applied to price analysis
• Creative Visualization - Alternative way to view price ranges and movements
⚙️ HOW TO USE:
1. Select Your Price Leg - Choose an upleg, downleg, or significant price movement to explore
2. Set Anchor A - Place at the start of your selected leg (swing low for upleg, swing high for downleg)
3. Set Anchor B - Place at the end of your selected leg (swing high for upleg, swing low for downleg)
4. Configure Display - Select all keys, octaves only, or enable background fills
5. Explore Harmonics - Enable harmony coloring to see musical relationships
6. Study Patterns - Observe how price movements align with musical intervals
🎼 CREATIVE APPLICATIONS:
• Experimental Analysis - Try a musical approach to leg analysis
• Educational Tool - Learn about mathematical relationships in both music and markets
• Alternative Perspective - View support/resistance through a musical lens
• Pattern Recognition - Explore if harmonic levels show interesting price behavior
• Fun Learning - Combine musical knowledge with trading concepts
📊 EXPERIMENTAL USE:
• Creative alternative to traditional Fibonacci levels
• Educational exploration of mathematical harmony in markets
• Interesting way to visualize price ranges and retracements
• Novel approach for musicians interested in trading concepts
Important Note: This is an educational and experimental tool that applies musical theory concepts to price analysis. It should be used for learning and exploration purposes alongside proven technical analysis methods. The musical relationships are mathematically based but not validated as reliable trading signals.
"range" için komut dosyalarını ara
Hourly Ranges [QuantVue]The "Hourly Ranges" indicator is designed to track and visualize the price ranges for each hour of the trading day. It calculates the difference between the high and low prices, as well as the differences between the high and open, and the open and low prices for each hourly candle. This data is stored and used to draw range lines on the chart.
This indicator is particularly useful for traders who want to monitor how price behaves during specific hours, identify potential support and resistance levels, and make trading decisions based on historical hourly price data.
Traders can use the hourly ranges to gauge market volatility and set expectations for price movement within each hour. The drawn levels on the chart represent the average high (resistance) and low (support) price ranges for each hour. These levels can serve as potential entry or exit points for trades, offering clear markers for setting stop-loss or take-profit orders.
By observing how price interacts with these hourly levels, traders can confirm trends or spot reversals. For example, if the price repeatedly touches and bounces off a specific hourly support level, it could indicate strong buying interest at that level.
The average range calculation gives traders a sense of the typical price movement during specific hours. This helps in assessing whether the market is more volatile during certain periods, which can be crucial for adjusting trading strategies and position sizing.
This indicator is particularly useful for traders who want to monitor how price behaves during specific hours, identify potential support and resistance levels, and make trading decisions based on historical hourly price data.
B A N K $ - Advanced Session RangesThis is a simple indicator that has been designed to aid intraday trading and has a few components;
Key Features
Session Ranges + Optimal Exit Time
Asia Pip Range
New York Midnight Open Line
Session Ranges + Optimal Exit Time
Information ℹ️
This is a visual depiction of the 3 main sessions in the markets. Asia, London & New York. The default timings are set to perfectly align with each session however the Start & End times for each session can be changed in the settings. (I've added a website on the tooltip to easily convert timezones)
I have also added a 4th session range called "Optimal Exit Time". This is statistically the most probable time window for the opposite High / Low of Day to form is within this window. It helps the trader understand when they should look to take profit.
How It Works 🔑
The indicator automatically maps on two lines for the High & Low of the range between the selected Start & End time, it also colours the background.
The individual lines & background can be toggled & customised to the traders preference.
Asia Pip Range
Information ℹ️
This displays the Asia Range in pips beneath the Asia Session Low.
How It Works 🔑
This calculates the distance between the Asia High - Asia Low in pips. It will automatically recalibrate to the timings the trader sets in the settings if they change the Start / End.
New York Midnight Open Line
Information ℹ️
This helps look for Buys beneath the line for a Bullish Expansion day 📈 & Sells above the line for a Bearish Expansion day 📉
How It Works 🔑
This adds a horizontal line to the chart that is anchored to New York Midnight Open (00:00) by default. It can be changed in the settings in required. You can also toggle on the time being shown above the line.
KillZones Hunt + Sessions [TradingFinder] Alert & Volume Ranges🟣 Introduction
🔵 Session
Financial markets are divided into various time segments, each with its own characteristics and activity levels. These segments are called sessions, and they are active at different times of the day.
The most important active sessions in financial markets are :
1. Asian Session
2. European Session
3. New York Session
The timing of these major sessions based on the UTC time zone is as follows :
1. Asian Session: 23:00 to 06:00
2. European Session: 07:00 to 16:30
3. New York Session: 13:00 to 22:00
Note
To avoid overlap between sessions and interference in kill zones, we have adjusted the session timings as follows :
• Asian Session: 23:00 to 06:00
• European Session: 07:00 to 14:25
• New York Session: 14:30 to 22:55
🔵 Kill Zones
Kill zones are parts of a session where trader activity is higher than usual. During these periods, trading volume increases and price fluctuations are more intense.
The timing of the major kill zones based on the UTC time zone is as follows :
• Asian Kill Zone: 23:00 to 03:55
• European Kill Zone: 07:00 to 09:55
• New York Morning Kill Zone: 14:30 to 16:55
• New York Evening Kill Zone: 19:30 to 20:55
This indicator focuses on tracking the kill zone and its range. For example, once a kill zone ends, the high and low formed during it remain unchanged.
If the price reaches the high or low of the kill zone while the session is still active, the corresponding line is not drawn any further. Based on this information, various strategies can be developed, and the most important ones are discussed below.
🟣 How to Use
There are three main ways to trade based on the kill zone :
• Kill Zone Hunt
• Breakout and Pullback to Kill Zone
• Trading in the Trend of the Kill Zone
🔵 Kill Zone Hunt
According to this strategy, once the kill zone ends and its high and low lines no longer change, if the price reaches one of these lines within the same session and is strongly rejected, a trade can be entered.
🔵 Breakout and Pullback to Kill Zone
According to this strategy, once the kill zone ends and its high and low lines no longer change, if the price breaks one of these lines strongly within the same session, a trade can be entered on the pullback to that level.
Trading in the Trend of the Kill Zone
We know that kill zones are areas where high-volume trading occurs and powerful trends form. Therefore, trades can be made in the direction of the trend. For example, when an upward trend dominates this area, you can enter a buy trade when the price reaches a demand order block.
🟣 Features
🔵 Alerts
You can set alerts to be notified when the price hits the high or low lines of the kill zone.
🔵 More Information
By enabling this feature, you can view information such as the time and trading volume within the kill zone. This allows you to compare the trading volume with the same period on the previous day or other kill zones.
🟣 Settings
Through the settings, you have access to the following options :
• Show or hide additional information
• Enable or disable alerts
• Show or hide sessions
• Show or hide kill zones
• Set preferred colors for displaying sessions
• Customize the time range of sessions
• Customize the time range of kill zones
[ALERTS] Range Filter"This is an experimental study designed to filter out minor price action for a clearer view of trends.
Inspired by the QQE's volatility filter, this filter applies the process directly to price rather than to a smoothed RSI .
First, a smooth average price range is calculated for the basis of the filter and multiplied by a specified amount.
Next, the filter is calculated by gating price movements that do not exceed the specified range.
Lastly the target ranges are plotted to display the prices that will trigger filter movement.
Custom bar colors are included. The color scheme is based on the filtered price trend."
Thanks to Donovan Wall...
Enjoy!
Roman's Ranges(GOLD FUTURES)This indicator provides the user with Gold Future's previous day’s range and how long it took for the price to reach its first extreme for the day. This information is used to predict the most probable daily direction trend and estimate how long you should expect to hold your winning trade. The distance and time are based on the market open candle (6:30 am). It measures from the retracement wick of the candle to the last 5m close of the day’s first extreme low or high point. It also includes that distance in pts.
Previous market data does not guarantee future results, however, you can leverage the knowledge of the previous day’s ranges to set reasonable take profit levels and when your target is not met automatically, you know how long it took on the previous day to reach the day’s first low/high. If you are nearing that amount of time and your trade is not as profitable as expected, it is easier to get out with less profits using this estimated time rather than hoping the market closes in your favor.
Markets go through cycles and it can be difficult to trade them all if you have a fault expectation how how far the price is expected to move. Price tends to deviate slowly from the average ranges slightly day after day, but you can expect an average range to prevail throughout the week +/- 3 points. It can be very easy to be stuck on 5-point take-profit levels that you don’t pay attention to the average range being twice or three times that distance. The same can be said for the opposite scenario with having higher profit expectations than reasonably possible.
This indicator and my statements are not financial advice. This is meant for educational purposes only.
Opening RangeThe opening range or first 30 minutes of trading during the day sets the tone and becomes an important reference through the rest of the day. Price will react as it reaches the high and low of the opening range.
Backtesting has shown that the strategies based on the opening range have merit and provide an edge in trading. By not being aware of these points of reference you put yourself at risk.
In addition to the opening range, the distance from the high or low of the opening range plus the width of the opening range forms another important reference point.
Opening Range Rules.
Price must break out of the opening range in order to have a trending day. As long as price is inside the opening range, expect the trade to be choppy.
Once price leaves the opening range the market can begin to trend. However, before it trends most times it will retest the boundary of the opening range. This is a critical point, and a better than average entry for a position to join the trend. However, if price closes back inside the opening range watch out. Re-entry to the opening range has a high probability of going to the middle of the opening range, and a better than average probability of crossing the entire opening range.
In the above chart we can see price broke below the opening range then returned to retest the opening range before beginning a downward trend that delivered 175 pts on NQ.
Upon re-entering the opening range price tried to break down again but ultimately traveled up until it hit the 50% mark of the opening range.
Once a trend has begun the first target is the green line which is 1 width of the opening range outside of the opening range.
Once price broke out of the opening range to the upside, it came back to retest the opening range high, before beginning an uptrend that delivered 120 pts on NQ.
Fibonacci Ranges (Real-Time) [LuxAlgo]The "Fibonacci Ranges" indicator combines Fibonacci ratio-derived ranges (channels), together with a Fibonacci pattern of the latest swing high/low.
🔶 USAGE
The indicator draws real-time ranges based on Fibonacci ratios as well as retracements. Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.
Each range extremity/area can also be used as support/resistance.
🔶 CONCEPTS
Fibonacci Channels
Latest Fibonacci
Both, Latest Fibonacci and Fibonacci Channels , display different Fibonacci levels (labels not included in the code):
However, the 2 react in a totally different way.
🔹 Fibonacci Channels
2 conditions must be fulfilled until a Fibonacci Channel is displayed:
New swing high/low
close has to be between chosen limits/levels ( Break level )
As visual guidance, chosen Break levels are accentuated by 2 small gray blocks:
Once the channel is displayed, it will remain visible until x consecutive bars break out of the chosen Break level at closing time.
• x consecutive bars is set by Break count .
The amount of breaks is counted in the code. When the price, without breaking the user-set limit, closes back between the 2 levels, the count is reset to 0.
By enabling Channels and Shadows you can see previous channels (" Shadows ", which is always delayed with 1 bar)
Previous channels can be helpful in finding potential support/resistance areas, especially from large channel blocks
The more narrow Break levels are set the less chance the price closes between these 2 levels, and the quicker close breaks out.
In other words, narrow levels give fewer & smaller channels, broader levels give more & larger channels.
Note:
• swing settings: L & R
• Break count (x consecutive bars that close outside chosen levels to invalidate the Fibonacci Channel )
will also be of influence in displaying the channels.
• Show breaks enable you to visualize signals when there is a break:
• Alerts can also be set ( Break Down / Break Up )
🔹 Latest Fibonacci
This displays the Fibonacci levels between the latest swing high and swing low, independently from the Fibonacci Channel .
The Lastest Fibonacci can be helpful in detecting the current trend against the larger Fibonacci Channel .
🔶 SETTINGS
🔹 Swing Settings
L: set left of pivothigh / pivotlow
R: set right of pivothigh / pivotlow
🔹 Fibonacci Channels
Channel : Channel / Channels + Shadows / None
Break level
-0.382 - 1.382
0.000 - 1.000
0.236 - 0.764
0.382 - 0.618
Break count
🔹 Fibonacci
Toggle
Colours: [ -0.382 - 0 ], [ 0.236 - 0.382 ], [ 0.5 ], [ 0.618 - 0.764 ], [ 1 - 1.382 ]
SKYROCKET | CBDR RangeIt will visualize ranges considering the distance of the high and low of the range.
TPRC - Time-based Price Range Channel [Free]You define a time range (hours and minutes) and based on this, the indicator draws the price range (high / low) as a channel in your chart - projected into the future and, if desired, also for past days. You are completely free to choose the time range and NOT limited to trading sessions.
In addition, further lines are drawn below / above the price range channel at a distance that you can define (based on the price range).
These lines can serve as target levels, support and resistance lines.
What functions does this free version of the indicator offer?
Selection of the time range for which a price range is to be determined and based on this a price range channel is to be created
Display of 3 additional lines above / below the price range channel
Distance between the lines: height of the price range
Display of the price range channels for the past 3 days as well as for the current day.
Lines are shown in gray
For the past days, only those lines are displayed that are required due to the distance to the price. This will make your chart cleaner.
(Details about the premium version can be found on TradingView: )
How can this indicator be used?
The time-based price range channel and the additional lines can serve as support and resistance lines.
Whether you are enthusiastic about scalping, swing trading or another type of trading,… “TPRC - Time-based Price Range Channel” could therefore support you. Try it out. I want to invite you to experiment and thereby adapt “TPRC” to your own way of trading.
Due to the free choice with regard to the time span, for example “opening range (break-out)” strategies and the like are conceivable. Much has been written or published as a video on the subjects of "Price Range Trading", "Range Trading", "Opening Range Breakout Trading" and the like. Research on this is recommended to every interested trader. I would be happy to provide a list of interesting articles on this topic - just send me a short message.
Due to the implementation and the functions, the focus is definitely on intraday trading strategies.
For which timeframe is this indicator intended?
This indicator was developed for Chart Time Intervals between 1 and 120 minutes, whereby the following Chart Time Intervals have proven themselves and successfully withstand tests: 1, 2, 5, 10, 15, 30, 60, 90
What do I need to consider?
It may be advisable to add further indicators and an analysis of the market structure in order to confirm the signals issued by the indicator. Please note that when you make adjustments to any strategy, you always carry out particularly detailed tests.
Will this indicator be further developed and will I receive free updates?
All my indicators are of course constantly updated and, if possible and with the aim of the indicator justifiable, supplemented by user requests.
An example of the use of this indicator (here with the premium version)
#revision: dv699
TradeChartist Range Bands ™TradeChartist Range Bands is an exceptionally well designed Entry/Exit indicator that plots fluid Range Bands and dynamic Support/Resistance levels on chart, along with trade entries by using both trend following and mean reversion principles.
===================================================================================================================
How does ™TradeChartist Range Bands work?
The Indicator plots Range Bands with Upper, Lower and Mean, calculated using trading models that use both Trend Following and Mean Reversion principles . It is the Range Bands that decide the trade Entries as the breakouts above upper band generates long entries and the breakouts below the lower band generates the short entries.
The Range Bands Type (Automatic, Aggressive or Normal) can be chosen from the settings. Default is Automatic and it uses Aggressive for non 24 hr markets and Normal for 24 hr markets like Cryptocurrencies.
The width of the Range Bands can be changed using the Range Multiplier from the settings. Default is 1.618 , minimum value is 0.618 and maximum value is 2.0.
The frequency of the Trade Signals depends on both Range Bands type and Range Multiplier. So it is worth spending some time to test the indicator based on these 2 factors on the asset traded, to maximise the profit potential by optimising the type and multiplier value.
In addition to the Range Bands, the indicator also plots Dynamic Support and Resistance bands that are more sensitive to price action and helps the user determine growing support/resistance which is indicated by coloured dots. These dots normally appear when the Support or Resistance stays at the same level for a few bars.
The expansion and contraction of the Support and Resistance bands also help in visualising the price volatility, and an extremely narrow squeeze of these levels within the Range Bands normally signals a lucrative market move. This is usually followed by a breakout from the bands and will be signalled by the Trade Entry plots (BUY and SELL).
The Dynamic Support and Resistance levels can be enabled or disabled from the settings. The fill between these dynamic levels helps the user to visualise the Bull and Bear strength/power. This fill can also be disabled from the settings if not required.
The indicator has a nice Fibonacci levels generator companion that helps spot near support and resistance levels using Fibonacci Retracement tool.
There are 3 types of Fib plots that can be chosen from the settings - Auto-Fibs, Fibs based on Lookback, Fibs based on Price Input .
The Auto-Fibs feature is used as default and it automatically plots fib retracement based on nearby significant high/low (highest from previous up and down trends). This is normally based on nearby trade entries too. Occasionally, during choppy markets/sideways movement, the range of these levels can be quite small and if close price exceeds the 4.618 fib level, one of the other Fib plot options can be used. Alternatively, Plot fibs from current high/low can also be used.
Fibs based on lookback can be used by choosing the number of candles or days lookback to help the indicator automatically find the high and low of the period to generate fib levels. Similarly, Fibs based on price input requires, user to manually enter the high and low price points for the indicator to generate fib levels based on user input.
The indicator has two colour schemes for the Dynamic Support/Resistance fill and bar colours. The coloured bars and the fill will help visualise the price trend. This can be changed or disabled from the settings.
The Fib levels can be disabled by unchecking lines and labels from the styles tab of indicator settings.
Long and Short entry Alerts can be created by using Once Per Bar Close .
The indicator does not repaint. Alerts may display potential repaint warning, but this is because the code uses bar index for fib labels. For confidence in the indicator, it can be tested using bar replay to make sure the real-time and bar replay trade entries and plots stay on the same bar/timestamp.
The different elements of the indicator are shown below in the chart.
===================================================================================================================
™TradeChartist Range Bands can also be connected to ™TradeChartist Plug and Trade to generate Targets, Stop Loss Plot etc. and other alerts can also be created. Use Range Bands Trend Identifier to connect as an Oscillatory Signal to Plug and Trade. Example chart shown below.
===================================================================================================================
Example charts:
1. ADA-USDT 4hr chart using Aggressive type and 1.618 Range Multiplier
2. ADA-USDT 4hr chart using Normal type and 1.618 Range Multiplier
3. XAU-USD 15m chart using Normal type and 1.618 Range Multiplier - Fibs based on 3 days lookback
4. DJI 4hr chart using Normal type and 2.0 Range Multiplier
5. GBP-USD 15m chart using Normal type and 1.618 Range Multiplier
6. LINK-USDT 1hr chart using Normal type and 1.236 Range Multiplier
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
This is not a free to use indicator. Get in touch with me (PM me directly if you would like trial access to test the indicator)
Premium Scripts - Trial access and Information
Trial access offered on all Premium scripts.
PM me directly to request trial access to the scripts or for more information.
===================================================================================================================
Monday's Range TTThis script plots following:
- Mondays Trading range: Open, High, Low, Colored Range
- Weekly's Trading range: Open, High, Low, Colored Range
- Monthly's Open
All colors can be changed, default colors are for a dark theme
Hit the like button!
TRI - The Range Indicator by Jack Weinberg TRI - The Range Indicator by Jack Weinberg
Developed by Jack Weinberg, Range indicator compares intraday range with inter-day range
Intraday range is bar’s (high – low) and inter-day range is (Close – Close-1)
Author had a strong belief that crossing of intraday range outside the inter-day range is an indication of end of current trend
It oscillates between 0 to 100 levels
Interpretation
RI crossing above level 80 is a signal to exit
RI below 20 is indication that a new trend is about to take charge
RI is useful to filter signal given by other studies
Daily Range Exhaustion SignalThis tool plots the average true range distance from each bar's open, up and down, so you can tell when a bar moves by more than the average distance a day's range usually travels. It's an interesting concept, but not something I use a lot of the time. Looking at the range relative to the last bar's range, is what I normally do to find bouts of strength or weakness, and to determine if these moves have follow through or not.
You may experiment with this indicator to see if it helps in your price action analysis. Usually, bigger than 1 ATR moves don't keep going for much more, unless there's some outrageous news related to the move.
This idea came from a conversation with Yacine Kanoun here, and I coded it into an indicator.
Credit where credit is due (right Yacine?)...
Cheers,
Ivan Labrie.
Atlantean Sideways / Range Regime DetectorPurpose
When using trend based indicators, you can skip the false signals when there is a sideways action, protecting you from the false signals.
Flags likely sideways/range phases using three checks:
Weak trend (ADX from DMI)
Price compression (Bollinger Band Width, normalized)
Low volatility (NATR = ATR/Price%)
Logic
isSideways = (ADX < adxThresh) AND (bbNorm < 0.25) AND (NATR < natrMax)
When true: bars + background turn teal and a provisional Range High/Low (rolling rangeWin) is drawn.
Key Inputs
DMI: diLen(22)
Optimized for 15 mins Bitcoin, could change it to 14 for more general approach
ADX: adxSmooth(14), adxThresh(18)
Volatility: lenATR(14), natrMax(1.8)
Visuals: rangeWin(20), bar/range toggles
Quick Tuning
More signals: raise adxThresh to 20–25, raise natrMax to 2.5–4.0, increase BB cutoff by editing bbNorm < 0.25 --> 0.35–0.50.
Smoother range lines: increase rangeWin to 30–40.
Use Cases
Mean reversion inside teal ranges.
Breakout prep when price closes outside the drawn range after teal ends. Could be used as a signal although not suggested.
Filter trend systems: skip trades when sidewaysCond is true. This is the main purpose, for it to be combined with trend based indicators, like Supertrend.
Alert
“Sideways Detected” triggers when isSideways is true.
Script could be expanded upon your requests.
FVG + Zones + ATR + Vol + RangesThis indicator combines Fair Value Gaps (FVGs) with daily, weekly, and monthly ranges, Killzones, ATR & volume filters, and powerful alert conditions.
🔹 Key Features:
• Daily, Weekly & Monthly Ranges
• Automatic plotting of previous highs/lows
• Fully customizable (color, width, line style)
• Optional labels (T-High/T-Low, W-High/W-Low, M-High/M-Low)
• Fair Value Gaps (FVGs)
• Detection of up- and down-FVGs at the start of the 4th candle
• Two modes:
• Raw FVGs → Alerts only (no chart marking)
• Filtered FVGs → Alerts + visual highlights (barcolor)
• Filter conditions: ATR, Volume, and optionally Killzones
• Killzones (active only on < 1H timeframes)
• London (08:00 – 11:00)
• New York AM (14:30 – 17:00)
• New York PM (optional)
• Fully adjustable start/end times + UTC offset (summer/winter time)
• Filters
• ATR filter → qualify FVGs only if volatility is high enough
• Volume filter → qualify FVGs only if volume exceeds SMA
• Alerts
• Filtered FVG alerts (ATR/Vol/Killzones)
• Raw FVG alerts (pure FVG condition, no filtering)
• All alerts trigger exactly at the beginning of the 4th candle
🔹 Use Cases:
• Visualize key market ranges (daily, weekly, monthly)
• Identify and confirm high-probability FVGs within Killzones
• Focus only on quality setups using ATR & Volume filters
• Automate trading workflows with precise FVG alerts
⸻
👉 This tool gives you a complete market overview, combining market structure (ranges) with liquidity concepts (Killzones & FVGs) while enabling efficient trade execution through alerts.
Small Range Stocks (ATR 7)This indicator identifies stocks with a small daily range relative to their ATR(7). It plots a small green tick below candles where the daily range is ≤ 0.9 × ATR(7), helping traders spot consolidation zones for potential breakouts.
Trend Or Range ?Are you uncertain whether the market is trending or stuck in a range? The "Trend or Range?" indicator is here to eliminate the guesswork by providing a structured, data-driven analysis of market conditions.
How It Works:
This indicator doesn't rely on a single metric; instead, it analyzes five core components of market behavior to provide two actionable scores: Trend Score and Range Score. Here's how each component is calculated and integrated:
1. NATR (Normalized ATR)
Purpose: Measures volatility relative to the current price. Higher values indicate active, trending markets, while lower values suggest quieter, range-bound conditions.
NATR = ATR / Close
ATR is the Average True Range over 14 periods (default setting).
2. ADX (Average Directional Index)
Purpose: Measures the strength of the trend. A higher ADX value indicates a stronger trend.
Explanation: ADX is calculated based on directional movement (+DI and -DI). It highlights the strength of the trend, regardless of direction.
3. Slope
Purpose: Tracks the rate of change in price over a fixed period (14 by default) to identify momentum strength. A steeper slope indicates stronger trends.
Slope = abs((Close - Close ) / 14)
This measures the absolute price change over 14 bars, normalized by time.
4. RSI Stability
Purpose: Measures the consistency of the RSI (Relative Strength Index) over time, highlighting mean-reverting behavior.
RSI Stability = stdev(RSI, 14)
This calculates the standard deviation of RSI values over 14 periods.
5. Deviation Index
Purpose: Quantifies the price's deviation from its 14-period simple moving average (SMA). This highlights overextension, which is common in range-bound markets.
Deviation Index = (Close - SMA(14)) / SMA(14)
Positive values indicate price above the SMA, while negative values show it below.
Scoring System
Trend Score Calculation
The Trend Score is a weighted sum of metrics that favor trending markets:
30% NATR: High volatility is a hallmark of trends.
30% ADX: A proven measure of trend strength.
40% Slope: Directly measures momentum.
Trend Score = (0.3 * NATR) + (0.3 * ADX) + (0.4 * Slope)
Range Score Calculation
The Range Score emphasizes mean-reverting behavior:
40% RSI Stability: Captures consistent RSI values common in ranges.
40% Inverse NATR: Low volatility favors range-bound markets.
20% Deviation Index: Measures overextension from the mean.
Range Score = (0.4 * RSI Stability) + (0.4 * (1 / NATR)) + (0.2 * Deviation Index)
What You See on the Chart
Table Display: A user-friendly table appears on the chart, showing:
Real-time values of all five metrics.
Calculated Trend and Range Scores.
Color-coded signals:
Green for dominant Trend Score.
Red for dominant Range Score.
Data Plots: Each metric is plotted in the data window for further analysis.
Cuban's Range Reclaim [CE]Cuban's Range Reclaim is an indicator that minimizes the time that traders need to spend manually adjusting the range extremes and identifying range deviations.
By tracking the previous levels of the range, the indicator then signals to the trader when price trades back below that level, and assigns a 'Range High' or 'Range Low' print to the deviation. When there is a potential break in the trend, the indicator also prints a 'Pivot' label.
Among other features, the indicator tracks the midline of the range excluding the deviations, giving a far more accurate trend line with less signal noise than regular donchian channels.
There is also the option to view dynamic supply and demand within the channel, plus midlines for the supply and demand, and for a regular channel.
Within the user inputs, the indicator also allows the user to adjust the following:
Source input for range level confirmations
Period for range lookback
Supply and demand sensitivity
TO DO:
Allow for color changes within the Style menu
Average Daily Pip Ranges by monthShows historical average daily pip ranges for specific months for FOREX pairs
useful for guaging typical seasonal volatility; or rough expected daily pip ranges for different months
works on both DXY and foreign currencies
option to plot 10yrs worth of data; with 10yr average of the average daily range for specific months
cast back to any previous 10yrs of your choosing
@twingall
Michigandolf's 30min Opening RangeThis script plots the 30min Opening Range as well as the previous day's high & low.
Description:
Blue Line = Top of the 30min Opening Range for the session
Pink Line = Bottom of the 30min Opening Range for the session
White Line = Mid-Point of the 30min Opening Range for the session
White Transparent Area = The full range of the 30min Opening Range
Green Line = Yesterday's High for the session
Red Line = Yesterday's Low for the session
Use:
The Opening Range will continue to expand until the first 30minutes of trading has passed, at which point the range will lock in place for the remainder of the trading session. Many traders use these important levels to gauge trade entries and exits (e.g. Mark Fisher's ACD strategy).
This script does not work currently work for futures (e.g. ES, NQ, RTY) due to the session start time. Will configure for futures trading in a future update.
Viper Futures Range Bar CandlesThe Range Bars used in more Professional trading platforms to keep smoothness on the charts and help make custom range price candles based on the range size chosen for the market being traded. Example an 8 Range bar on the ES or MES Futures is 8 ticks = 2 points. Another Example on NQ a 22 Range bar popularly traded by trading professionals is a total of 22 ticks = 5 1/2 points on the Nasdaq or Micro NQ futures. Simple add to charge, set the range bar setting with a particular range setting in mind and then for clarity uncheck the original price chart on top left corner, same way you would disable an indicator temporarily. Works very clear and nice. A good accommodation for trading View as trading view does not offer historical tick data to use Renko bars very well at the moment.
Basically plots a candle rather then a OHLC bar for Range Bars on TV!
Default color was set to my Viper Futures Chart, you can change back to green/red, etc.
Enjoy!
User-Inputed Time Range & FibsGreetings Traders! I have decided to release a few scripts as open-source as I'm sure others can benefit from them and perhaps make them better.(Be sure to check my Profile for the other scripts as well: www.tradingview.com).
This one is called User-Inputed Time Range & Fibs.
The idea behind this script is to record the Range Highs and Lows of a User Defined Period, and plot potential Targets based on either Fibonacci Extensions or a Multiple of the Range Size. I created this originally for use with the US Session Initial Balance(From 9:30-10:30AM EST), however it can be set to any time period.
What is Initial Balance? In simple words, Initial Balance (IB) is the price data, which are formed during the first hour of a trading session. Activity of traders forms the so-called Initial Balance at this time. This concept was introduced for the first time by Peter Steidlmayer when he presented the market profile to traders(atas.net).
The IB is monitored as a break-out area for Range Extension traders. The IB High is also seen as an area of resistance and the IB Low as an area of support until it is broken(www.mypivots.com).
As a note, depending on the Time Zone you are in, you may need to manually add or subtract from the Timed Range to match the desired Time. For example in NY Eastern Time, I have to use 8:30-9:30AM to Capture the 9:30-10-30AM IB for ES and NQ. Similarly, I must use 14:30-15:30PM to Capture the 9:30-10-30AM IB for BTC. You will need to make adjustments based on the Time Zone you are located in.
I wanted to give a Special Thanks to @PineCoders for the Custom Rounding Function from Backtesting/Trading Engine--> (), Pinecoders.com for help with Tracking the Highs/Lows--> (www.pinecoders.com), and @TradeChartist for allowing me to use some of the code for the Fibonacci Extensions from his script here--> ().
If you like User-Inputed Time Range & Fibs, be sure to Like, Follow, and if you have any questions, don't be afraid to drop a comment below.