GKD-C Jurik-Smoothed Range Oscillator w/ Bands [Loxx]Giga Kaleidoscope GKD-C Jurik-Smoothed Range Oscillator w/ Bands is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System".
█ Giga Kaleidoscope Modularized Trading System
What is Loxx's "Giga Kaleidoscope Modularized Trading System"?
The Giga Kaleidoscope Modularized Trading System is a trading system built on the philosophy of the NNFX (No Nonsense Forex) algorithmic trading.
What is the NNFX algorithmic trading strategy?
The NNFX (No-Nonsense Forex) trading system is a comprehensive approach to Forex trading that is designed to simplify the process and remove the confusion and complexity that often surrounds trading. The system was developed by a Forex trader who goes by the pseudonym "VP" and has gained a significant following in the Forex community.
The NNFX trading system is based on a set of rules and guidelines that help traders make objective and informed decisions. These rules cover all aspects of trading, including market analysis, trade entry, stop loss placement, and trade management.
Here are the main components of the NNFX trading system:
1. Trading Philosophy: The NNFX trading system is based on the idea that successful trading requires a comprehensive understanding of the market, objective analysis, and strict risk management. The system aims to remove subjective elements from trading and focuses on objective rules and guidelines.
2. Technical Analysis: The NNFX trading system relies heavily on technical analysis and uses a range of indicators to identify high-probability trading opportunities. The system uses a combination of trend-following and mean-reverting strategies to identify trades.
3. Market Structure: The NNFX trading system emphasizes the importance of understanding the market structure, including price action, support and resistance levels, and market cycles. The system uses a range of tools to identify the market structure, including trend lines, channels, and moving averages.
4. Trade Entry: The NNFX trading system has strict rules for trade entry. The system uses a combination of technical indicators to identify high-probability trades, and traders must meet specific criteria to enter a trade.
5. Stop Loss Placement: The NNFX trading system places a significant emphasis on risk management and requires traders to place a stop loss order on every trade. The system uses a combination of technical analysis and market structure to determine the appropriate stop loss level.
6. Trade Management: The NNFX trading system has specific rules for managing open trades. The system aims to minimize risk and maximize profit by using a combination of trailing stops, take profit levels, and position sizing.
Overall, the NNFX trading system is designed to be a straightforward and easy-to-follow approach to Forex trading that can be applied by traders of all skill levels.
Core components of an NNFX algorithmic trading strategy
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
What is Volatility in the NNFX trading system?
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
What is a Baseline indicator?
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
What is a Confirmation indicator?
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the Stochastic Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
What is a Continuation indicator?
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
What is a Volatility/Volume indicator?
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
What is an Exit indicator?
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v1.0 system has five types of modules (indicators/strategies). These modules are:
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data between modules. Data is passed between each module as described below:
GKD-B => GKD-V => GKD-C(1) => GKD-C(2) => GKD-C(Continuation) => GKD-E => GKD-BT
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy.
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm.
What does the application of the GKD trading system look like?
Example trading system:
Backtest: Strategy with 1-3 take profits, trailing stop loss, multiple types of PnL volatility, and 2 backtesting styles
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Jurik-Smoothed Range Oscillator w/ Bands as shown on the chart above
Confirmation 2: Williams Percent Range
Continuation: Fisher Transform
Exit: Rex Oscillator
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD protocol chain.
Giga Kaleidoscope Modularized Trading System Signals (based on the NNFX algorithm)
Standard Entry
1. GKD-C Confirmation 1 Signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
6. GKD-C Confirmation 1 signal was less than 7 candles prior
Continuation Entry
1. Standard Entry, Baseline Entry, or Pullback; entry triggered previously
2. GKD-B Baseline hasn't crossed since entry signal trigger
3. GKD-C Confirmation Continuation Indicator signals
4. GKD-C Confirmation 1 agrees
5. GKD-B Baseline agrees
6. GKD-C Confirmation 2 agrees
1-Candle Rule Standard Entry
1. GKD-C Confirmation 1 signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
Next Candle:
1. Price retraced (Long: close < close or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
1-Candle Rule Baseline Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 1 signal was less than 7 candles prior
Next Candle:
1. Price retraced (Long: close < close or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume Agrees
PullBack Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is beyond 1.0x Volatility of Baseline
Next Candle:
1. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume Agrees
█ GKD-C Jurik-Smoothed Range Oscillator w/ Bands
What is Jurik Filter?
The Jurik Filter is a technical analysis tool that is used to filter out market noise and identify trends in financial markets. It was developed by Mark Jurik in the 1990s and is based on a non-linear smoothing algorithm that provides a more accurate representation of price movements.
Traditional moving averages, such as the Simple Moving Average ( SMA ) or Exponential Moving Average ( EMA ), are linear filters that produce a lag between price and the moving average line. This can cause false signals during periods of market volatility , which can result in losses for traders and investors.
The Jurik Filter is designed to address this issue by incorporating a damping factor into the smoothing algorithm. This damping factor adjusts the filter's responsiveness to the changes in price, allowing it to filter out market noise without overshooting price peaks and valleys.
The Jurik Filter is calculated using a mathematical formula that takes into account the current and past prices of an asset, as well as the volatility of the market. This formula incorporates the damping factor and produces a smoother price curve than traditional moving average filters.
One of the advantages of the Jurik Filter is its ability to adjust to changing market conditions. The damping factor can be adjusted to suit different securities and time frames, making it a versatile tool for traders and investors.
Traders and investors often use the Jurik Filter in conjunction with other technical analysis tools, such as the MACD or RSI , to confirm or complement their trading strategies. By filtering out market noise and identifying trends in the financial markets, the Jurik Filter can help improve the accuracy of trading signals and reduce the risks of false signals during periods of market volatility .
Overall, the Jurik Filter is a powerful technical analysis tool that can help traders and investors make more informed decisions about buying and selling securities. By providing a smoother price curve and reducing false signals, it can help improve trading performance and reduce risk in volatile markets.
What is Jurik-Smoothed Range Oscillator w/ Bands
Range Oscillator indicator shows the relative position of median price in the highest high to lowest low range for desired period.
This version includes smoothing to clean up false signals and, since the smoothing method is JMA (which has very small lag), the added lag is as small as it can be making it much easier to use for all timeframes.
Requirements
Inputs
Confirmation 1 and Solo Confirmation: GKD-V Volatility / Volume indicator
Confirmation 2: GKD-C Confirmation indicator
Outputs
Confirmation 2 and Solo Confirmation Complex: GKD-E Exit indicator
Confirmation 1: GKD-C Confirmation indicator
Continuation: GKD-E Exit indicator
Solo Confirmation Simple: GKD-BT Backtest strategy
Additional features will be added in future releases.
Komut dosyalarını "range" için ara
Candle Range Theory Hawkeye CapitalCandle Range Theory (CRT) – Hawkeye Capital
OVERVIEW
CRT looks for “liquidity sweep and rejection” candles. A bullish CRT forms when price dips below the previous candle’s low and closes back inside the range; a bearish CRT forms when price spikes above the previous high and closes back inside. The script draws the Candle-Range-High (CRH), Candle-Range-Low (CRL) and an optional shaded box between them. Only one active CRT is kept on-screen; when price reaches CRH or CRL the pattern is closed and a new one is awaited.
KEY FEATURES
Bullish and bearish CRT detection with arrow signals (▲ / ▼).
Optional range box, CRH line (resistance) and CRL line (support).
ATR multiplier to ignore small candles.
Higher-Time-Frame (HTF) mode: analyse D1, H4, etc., while trading on a lower chart.
Colour controls for bullish, bearish and box fill.
Six optional filters to improve quality: body-position, reference-candle size, wick-to-ATR, volume confirmation, recent-test lockout, session filter.
Non-repainting: signals confirm on bar close.
USER INPUTS
Display – toggle box, CRH, CRL; set ATR filter.
Colours – pick bullish, bearish and box colours.
Higher Timeframe – enable HTF model and choose the higher period.
Advanced Filters – thresholds for body position, reference candle size, volume, recent tests, time window.
TRADING LOGIC
Bullish entry: arrow ▲ appears. Target = CRH, stop = close below CRL.
Bearish entry: arrow ▼ appears. Target = CRL, stop = close above CRH.
Script auto-extends lines and box until either target or stop is hit.
ALERTS
“Bullish CRT Pattern Detected – Target: CRH, Stop: CRL”
“Bearish CRT Pattern Detected – Target: CRL, Stop: CRH”
Set them to “Once Per Bar Close” for clean notifications.
BEST PRACTICES
Use an ATR filter of 1.0–1.5 to cut noise.
Pair a lower chart with an HTF one or two steps higher (e.g., 5 m chart with 1 h CRT).
Risk 1-2 % per trade; always place stops at the invalidation level.
DISCLAIMER
This script is a technical-analysis aid, not financial advice. Test it thoroughly and manage risk before trading live.
Range Breakout + TradePulse HUD + Momentum GlowRange Breakout + TradePulse HUD + Momentum Glow
Overview
The Range Breakout + TradePulse HUD + Momentum Glow is a sophisticated Pine Script® indicator for TradingView, engineered to provide traders with a comprehensive toolkit for identifying breakout opportunities, monitoring real-time market dynamics, and visualizing momentum shifts. By integrating volatility-based channels, a dynamic heads-up display (HUD), and momentum-driven background glow, this indicator empowers traders with actionable insights for scalping, day trading, or swing trading across stocks, forex, and cryptocurrencies.
Key Features
Range Breakout System
ATR-Based Dynamic Channels: Constructs upper, lower, and mid-channel lines using a smoothed Average True Range (ATR) multiplied by a customizable factor (default: 4x), adapting to market volatility for precise breakout detection.
Breakout and Reversal Signals: Generates buy (▲) and sell (▼) signals on mid-channel crossovers, with an optional trend filter to align with the prevailing market direction, enhancing signal reliability.
Fakeout Detection: Optionally displays "X" markers for fakeout signals when price briefly breaches channel boundaries but fails to sustain the move, helping traders avoid false breakouts.
Customizable Visuals: Offers adjustable channel colors, gradient fill options, and transparency settings for a clean, user-friendly chart display.
TradePulse HUD
Real-Time Market Dashboard: A sleek, top-center HUD provides critical metrics on the last confirmed bar, including:
Price: Current price, color-coded (green for up, red for down).
Price Change (%): Percentage change with customizable alert thresholds for significant spikes (default: 3%).
Volume Analysis: Displays volume direction (Bullish, Bearish, Neutral) and highlights "Hype" surges when volume exceeds a user-defined threshold relative to its standard deviation (default: 1.5x).
Trend Direction: Derived from EMA crossovers (fast: 4-period, slow: 6-period) and volume confirmation, shown as Bullish, Bearish, or Neutral.
Momentum Score: A normalized RSI-based score (0–100), color-coded for overbought (>70) or oversold (<30) conditions.
Signal Confidence: A composite score (0–100) combining RSI, volume, and EMA divergence to evaluate signal strength.
Session Trend: Tracks intraday trends during key US market sessions (Open: 9:30–10:00, Mid: 10:00–14:00, Power Hour: 14:00–16:00, US Eastern Time) with emoji indicators ( for bullish, for bearish, for neutral).
RSI: Displays current RSI with customizable overbought (default: 65) and oversold (default: 35) levels.
Customizable HUD: Toggle visibility and adjust colors for a tailored trading experience.
Momentum Glow
Dynamic Background Visualization: Highlights strong market momentum with a background glow (green for bullish when RSI > 80, pink for bearish when RSI < 20), toggleable for minimal chart clutter.
Trend Confirmation: Combines channel breakouts with EMA crossovers and volume thresholds to identify high-probability bullish and bearish zones, ideal for trend-following strategies.
Session-Based Filtering: Excludes low-volatility "barcode" patterns (price range < 60% of average) to focus on actionable trends during active market hours.
Alert System
Robust Alerts: Configurable alerts for:
Buy/sell signals with optional trend filtering.
Price spikes exceeding the user-defined threshold.
"Hype" volume surges with a cooldown period (default: 5 bars) to prevent repetitive alerts.
EMA bullish/bearish crossovers for trend confirmation.
Flexible Thresholds: Customize price change, volume spike, and hype volume multipliers to align with specific trading strategies.
How It Works
Range Breakout: Calculates a central channel line (HL2) with upper and lower boundaries based on ATR. Breakouts are detected when price crosses these boundaries, while buy/sell signals trigger on mid-channel crossovers, validated by stability and optional trend filters.
TradePulse HUD: Integrates EMA, RSI, volume, and price data into a real-time, top-center dashboard, providing a holistic view of market conditions.
Momentum Glow: Enhances trend visualization with background glow for extreme RSI conditions, reinforcing breakout signals and trend direction.
Session Analysis: Monitors price behavior during key trading sessions, filtering out low-range periods to highlight high-probability trading opportunities.
Settings
Range Breakout Settings:
Line Extension Length: Duration of breakout lines (default: 100 bars).
Channel Width Multiplier: ATR multiplier for channel width (default: 4x).
Show Fakeout Signals: Toggle fakeout markers (default: disabled).
Filter Signals by Trend: Align signals with the broader trend (default: disabled).
Colors and Transparency: Customize channel colors and fill opacity.
TradePulse HUD Settings:
Show HUD: Enable/disable HUD display.
Show Momentum Glow: Toggle background glow for momentum visualization.
Price Change Alert Threshold: Percentage for price spike alerts (default: 3%).
Volume Spike Multiplier: Threshold for volume spikes (default: 1.2x average).
Hype Volume Multiplier: Threshold for "Hype" surges (default: 1.5x standard deviation).
Hype Cooldown: Minimum bars between hype alerts (default: 5).
EMA Periods: Fast (default: 4) and Slow (default: 6) for trend detection.
RSI Settings: Period (default: 14), overbought (default: 65), oversold (default: 35).
How to Use
Add the indicator to your TradingView chart.
Customize settings to match your trading style (e.g., adjust channel width, enable trend filters, or tweak HUD colors).
Monitor breakout signals (▲ for buy, ▼ for sell), fakeout markers (X), and HUD metrics for real-time context.
Use session trend indicators (//) to identify high-probability trading zones.
Set up alerts for breakouts, price spikes, volume surges, or EMA crossovers to stay informed.
Notes
License: Mozilla Public License 2.0 (mozilla.org).
Author: © StanTheTradingMan
Version: Pine Script® v6
Best Used With: Liquid markets (stocks, forex, crypto) on intraday or daily timeframes.
Optimization: Adjust ATR multiplier, EMA periods, and RSI thresholds to optimize for specific assets or strategies.
Why Use This Indicator?
The Range Breakout + TradePulse HUD + Momentum Glow delivers a powerful combination of breakout detection, real-time market analytics, and momentum visualization. Its intuitive HUD, dynamic glow feature, and robust alert system make it an essential tool for traders seeking clarity and precision in fast-moving markets. Whether capturing intraday moves or riding longer-term trends, this indicator equips you with the insights to trade confidently.
Get Started
Apply the indicator to your chart, fine-tune settings to suit your strategy, and leverage its advanced features to elevate your trading. For feedback or questions, connect via TradingView.
Relative Range at Time/ Relative volatility / High−Low This script is designed to help you compare the size of the current price candle (the difference between the highest and lowest prices in a given time period) to the average size of the last several candles. It does this by calculating the average range of a certain number of previous candles (you can set how many with the "Length" input) and then dividing the current candle's range by this average. The result is plotted on the chart as a bar: if the current candle's range is larger than the average, the bar is green; if it's smaller, the bar is red. A horizontal line is also drawn at the value of 1, so you can easily see whether the current candle's range is above or below the average. If there’s an issue with the data, the script will show an error message to let you know.
Auto Range [lovealgotrading]
OVERVIEW:
An indicator that automatically draws a range and generates signals according to changing market conditions. ( This indicator does not REPAINT )
ALGORITHM OF THE INDICATOR:
> When we examine the price, it generally moves in trend only 30 percent of the time and in consolidation 70 percent of the time.
> While the price is consolidating, it creates a range and continues to move within the range until this range is broken, BUT the market conditions are constantly changing and our range levels are expected to change with each new bar. I developed an indicator considering this situation.
> When Range Trading, we determine the high and low levels and we can open trades according to the price's reactions at these levels.
> However, after we draw a range, market conditions constantly change, and opening a transaction without taking into account the changing market conditions is an obstacle to our success.
IMPLEMENTATION DETAILS WITH EXAMPLE:
What kind of algorithm do I use to draw a range automatically?
For example, let's set the Number of line value to 4 and set our Period to 14.
1- Let our highest 4 values be = 100, 110, 120, 130, the average of these values is
2- (100+110+120+130)/4 = 115, in this case our Range High Value becomes 115.
3- Within the period we have determined (we have currently set 14, but you can change it), the price sees the highest level of 140.
4- In this case, our 4 largest levels = 110 120 130 140 and our average becomes (110 + 120 + 130 + 140) / 4 = 125 and the range high Our level changes automatically and becomes 125.
5- Let's take the example below, where we determine our 4 highs within the 14 bars we set and average them, if our high changes, our range high goes up.
>> I tried to draw the change with the red arrow
How does this situation appear on the indicator?
>>> Classic Range Trade and Auto Range Trade <<<
Classical Range Trade:
Auto Range Trade:
SETTINGS PANEL:
Which Signals Are More Important (Example Study)
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
[TTI] Closing Range Indicator📜 ––––HISTORY & CREDITS––––
This Pine Script Utility indicator, titled " Closing Range Indicator," is designed and developed by TintinTrading but inspired by the teaching of Investor's Business Daily (IBD) and William O'Neil. It aims to help traders identify the closing range of a given timeframe, either daily or weekly.
🦄 –––UNIQUENESS–––
The unique feature of this indicator lies in its ability to simulate a functionality of Closing Range calculation based on hovering of the mouse over the close. It employs a conditional display that allows the user to set the indicator as 'invisible' without removing it from the chart and hence provides a numerical closing range value when hovering over the indicator.
🛠️ ––––WHAT IT DOES––––
The Closing Range Indicator calculates the closing range of a trading bar in terms of percentages. It computes the difference between the closing price and the low price of the bar, and then divides it by the range of the bar.
A stock that closes on the high would display 100%
A stock that closes on the low would display 0%
Generally, the higher the percentage the more bullish the close but there are exceptions to this rule.
The indicator can operate on two timeframes:
Daily : Computes the closing range based on the daily high, low, and closing prices.
Weekly : Computes the closing range based on the weekly high, low, and closing prices. If you enable the weekly it will show the weekly close on all daily timeframes. Meaning that if the week Closing range is 54.15% on Friday, it will show the value 54.15% for all days prior to Friday from the same week.
The indicator places a label at the close of each bar, with the label's tooltip showing the calculated closing range percentage. I generally hide the label and just reference the tooltip calculation with a a hoover on top of the bar.
💡 ––––HOW TO USE IT––––
Installation: Add the indicator to your TradingView chart by searching for " Closing Range Indicator" in the indicator library.
Reorder: Reorder the indicator so that it sits as the first indicator (even above the price) on the Pane. This will make sure that you always trigger the tooltip functionality.
Go to Settings:
Timeframe: Choose between daily ('D') and weekly ('W') timeframes from the settings.
Visibility: Enable the 'Make Invisible' option if you want the indicator to be hidden.
Interpretation:
A higher percentage indicates that the closing price is closer to the high of the range, signaling bullish sentiment.
A lower percentage indicates bearish sentiment.
Tooltip: Hover over the label to view the closing range in percentage terms.
Average True Range Trailing Mean [Alifer]Upgrade of the Average True Range default indicator by TradingView. It adds and plots a trailing mean to show periods of increased volatility more clearly.
ATR TRAILING MEAN
A trailing mean, also known as a moving average, is a statistical calculation used to smooth out data over time and identify trends or patterns in a time series.
In our indicator, it clearly shows when the ATR value spikes outside of it's average range, making it easier to identify periods of increased volatility.
Here's how the ATR Trailing Mean (atr_mean) is calculated:
atr_mean = ta.cum(atr) / (bar_index + 1) * atr_mult
The ta.cum() function calculates the cumulative sum of the ATR over all bars up to the current bar.
(bar_index + 1) represents the number of bars processed up to the current bar, including the current one.
By dividing the cumulative ATR ta.cum(atr) by (bar_index + 1) and then multiplying it by atr_mult (Multiplier), we obtain the ATR Trailing Mean value.
If atr_mult is set to 1.0, the ATR Trailing Mean will be equal to the simple average of the ATR values, and it will follow the ATR's general trend.
However, if atr_mult is increased, the ATR Trailing Mean will react more strongly to the ATR's recent changes, making it more sensitive to short-term fluctuations.
On the other hand, reducing atr_mult will make the ATR Trailing Mean less responsive to recent changes in ATR, making it smoother and less prone to reacting to short-term volatility.
In summary, adjusting the atr_mult input allows traders to fine-tune the ATR Trailing Mean's responsiveness based on their preferred level of sensitivity to recent changes in market volatility.
IMPLEMENTATION IN A STRATEGY
You can easily implement this indicator in an existing strategy, to only enter positions when the ATR is above the ATR Trailing Mean (with Multiplier-adjusted sensitivity). To do so, add the following lines of codes.
Under Inputs:
length = input.int(title="Length", defval=20, minval=1)
atr_mult = input.float(defval=1.0, step = 0.1, title = "Multiplier", tooltip = "Adjust the sensitivity of the ATR Trailing Mean line.")
smoothing = input.string(title="Smoothing", defval="RMA", options= )
ma_function(source, length) =>
switch smoothing
"RMA" => ta.rma(source, length)
"SMA" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
=> ta.wma(source, length)
This will allow you to define the Length of the ATR (lookback length over which the ATR is calculated), the Multiplier to adjust the Trailing Mean's sensitivity and the type of Smoothing to be used for the ATR.
Under Calculations:
atr= ma_function(ta.tr(true), length)
atr_mean = ta.cum(atr) / (bar_index+1) * atr_mult
This will calculate the ATR based on Length and Smoothing, and the resulting ATR Trailing Mean.
Under Entry Conditions, add the following to your existing conditions:
and atr > atr_mean
This will make it so that entries are only triggered when the ATR is above the ATR Trailing Mean (adjusted by the Multiplier value you defined earlier).
ATR - DEFINITION AND HISTORY
The Average True Range (ATR) is a technical indicator used to measure market volatility, regardless of the direction of the price. It was developed by J. Welles Wilder and introduced in his book "New Concepts in Technical Trading Systems" in 1978. ATR provides valuable insights into the degree of price movement or volatility experienced by a financial asset, such as a stock, currency pair, commodity, or cryptocurrency, over a specific period.
ATR - CALCULATION AND USAGE
The ATR calculation involves three components:
1 — True Range (TR): The True Range is a measure of the asset's price movement for a given period. It takes into account the following factors:
The difference between the high and low prices of the current period.
The absolute value of the difference between the high price of the current period and the closing price of the previous period.
The absolute value of the difference between the low price of the current period and the closing price of the previous period.
Mathematically, the True Range (TR) for the current period is calculated as follows:
TR = max(high - low, abs(high - previous_close), abs(low - previous_close))
2 — ATR Calculation: The ATR is calculated as a Moving Average (MA) of the True Range over a specified period.
The ATR is calculated as follows:
ATR = MA(TR, length)
3 — ATR Interpretation: The ATR value represents the average volatility of the asset over the chosen period. Higher ATR values indicate higher volatility, while lower ATR values suggest lower volatility.
Traders and investors can use ATR in various ways:
Setting Stop Loss and Take Profit Levels: ATR can help determine appropriate stop-loss and take-profit levels in trading strategies. A larger ATR value might require wider stop-loss levels to allow for the asset's natural price fluctuations, while a smaller ATR value might allow for tighter stop-loss levels.
Identifying Market Volatility: A sharp increase in ATR might indicate heightened market uncertainty or the potential for significant price movements. Conversely, a decreasing ATR might suggest a period of low volatility and possible consolidation.
Comparing Volatility Between Assets: Since ATR uses absolute values, it shouldn't be used to compare volatility between different assets, as assets with higher prices will consistently have higher ATR values, while assets with lower prices will consistently have lower ATR values. However, the addition of a trailing mean makes such a comparison possible. An asset whose ATR is consistently close to its ATR Trailing Mean will have a lower volatility than an asset whose ATR continuously moves far above and below its ATR Trailing Mean. This can help traders and investors decide which markets to trade based on their risk tolerance and trading strategies.
Determining Position Size: ATR can be used to adjust position sizes, taking into account the asset's volatility. Smaller position sizes might be appropriate for more volatile assets to manage risk effectively.
Cuban's Range PositioningCuban's Range Positioning is the primary backbone of Cuban's Asset Screener and a fantastic standalone market screening tool.
Range Positioning allows the trader to monitor the positioning of over 200+ Binance and Bybit Futures assets within a single window, with a standard measurement of performance, and also with custom watchlist support.
The range calculation itself uses the unique logic of Cuban's Donchian Suite, retaining highs and lows until the opposite side of the range is tagged.
When viewed historically, the Range Positioning screener allows traders to monitor any assets that are continually pushing range highs and lows, identify outliers, and track trending sectors relative to the rest of the market. This script makes this identification easier for the user by making assets that aren't approaching highs or lows, transparent.
Included within this indicator is the option to redenominate the quote asset of all assets on screen using the current chart ticker.
Within the user inputs, the user gains the ability to customize the following:
Range lookback
Asset redenomination
Location of the asset table
Percentage of assets highlighted or made transparent
Dynamic labelling offset
Over 200+ Binance and Bybit Futures assets
TO DO:
Customize number of assets on screen
Allow values beyond the initial range
Relative Bi-Directional Volatility RangeThe basic math behind this Indicator is very similar to the math behind the Relative Strength Index without using a standard deviation as used for the Relative Volatility Index. The Volatility Range is calculated by utilizing the highs and lows. However not in the same way as in the Relative Volatility Index. This approach leads to different values, but the overall result clearly reveals the intrinsic Volatility of the chart, so the user can be aware, when something fundamentally is going on behind the scenes. If the Volatility rises on positive and negative range (-100 to 100) it implies that something fundamental is changing.
An advantage of using this kind of calculation is the possibility of separating the data into positive (buy pressure) and negative (sell pressure) components. The bi-directional character shows a slightly overhang in one of the directions, which can be used to detect a trend. A Moving Average of the users choice shell smoothen the overhang of the Relative Bi-Directional Volatility and show a trend direction. Similar to the math of the Relative Strength Index as standard a Relative Moving Average is preferred. If the Moving Average is in the positive range (0 to 100) it indicates a bullish trend, else if the Moving Average is in the negative range (0 to -100) it indicates a bearish trend. External Indicators can use a provided Trend Shift Signal which switches from 0 to 1, if the trend becomes bullish or from 0 to -1, if the trend becomes bearish.
The user should know, that in this Indicator the starting point of the Moving Averages always begins at the first bar, because the starting progress is approximated appropriately. Most Moving Averages require a minimum number of bars to be calculated, which is chosen with the Moving Average Length. In this cases the length used will be automatically reduced in the background until the number of bars is sufficient to match the chosen length. So if data history is very short, the Indicator can be used never the less as good as possible.
It is feasible to switch the Indicator on a higher timeframe, while staying in a lower timeframe on the chart. This can be useful for making the indication cleaner, if the Moving Average is to choppy and shows too many false signals. On the other hand the benefit of a higher timeframe (or a higher Moving Average Length) is paid with higher latency of the signaling. So the user has to decide what the best setting in his case is.
This Indicator can be used with all kinds of charts. Even charts with percentage or negative values should work fine.
Percentage Range IndicatorThe Percentage Range Indicator is useful for assessing the volatility of pairs for percentage-based grid bots. The higher the percentage range for a given time period, the more trades a grid bot is likely to generate in that period. Conversely, a grid bot can be optimised by using grids that are less than the Percentage Range Indicator value.
I have been using the Percentage Range Indicator based on the one hour time period and 168 periods of smoothing (seven days based on one-hour periods).
Enjoy.
Open Range Breakout With Take Profit Zones
Open Range Breakout With Take Profit Zones prints the open range and profitable zones based on the high and low during the opening hours.
This indicator can be used to prepare breakout trades following the OPR strategy. The time window for the open range as well as for the market hours can be configured. Also custom alerting templates allow to create alerts when a breakout out of the opening range occurs or when 50% take profit level is reached.
The background of pre and post market hours is coloured according to the configured time windows.
This indicator was written to support scalping and day trading. It does not calculate or display results on hourly, daily or weekly charts.
The open range and trading hours must be adjusted to the market time zone of your instrument. Also please take care that these settings are saved on the layout and not per instrument. Eventually create multiple layouts for instruments with different market time zones.
Higher order Orderblocks + Breakerblocks + Range + AlertsThis script identifies Orderblocks, Breakerblocks and Range using higher order pivots and priceaction logic.
I tried to reduce the number of blocks to make the chart cleaner, for this purpose I use only second order pivots for both MSB lines and supply/demand boxes, I also tried to filter out shifts in MS and false breakouts.
Any box has GRAY color until it gets tested.
After successful test box gets colors:
RED for Supply
GREEN for Demand
BLUE for any Breakerblocks
For cleaner chart and script speed all broken boxes deletes from chart.
It gives comparatively clean chart on any TF, even on extra small (5m, 3m, 1m).
For Range there is option to plot 0.25, 0.5, 0.75 lines.
I usually use log scale on charts and there is an option to use it for proper range mean.
In previous my scripts i have requests to make alerts and this time i made it.
It has customizable alert catching all needed alerts into one output:
- Alert MSB - when market structure changes alert will inform you about its direction, MSB line and new Demand/Supply.
- Alert Orderblock or Breakerblock test - alerts when block was tested and it holds (in other words when it get RED/GREEN/BLUE colors)
- Alert New Range - when new range detected
- Alert Range test - alerts when range top or botoom was tested and it holds.
some examples :
Opening Range FibonaccisThis indicator uses the concept of the "Opening Range" to create a Fibonacci zone from the high and low set during a specific time period after open (Defaults to 9:30 - 10:05 AM, EST)
The Opening Range is a popular tool for intraday technical analysis. Price frequently uses these levels as support/resistance, and a breakout from within the range can be a sign of further movement.
The Fibonacci levels are set such that the opening range high/low fall on the +/-0.5 fib. This creates an "extended range" outside of the opening range that may be useful during breakouts.
Classic Candlestick on Range ChartHello traders!
This is my first script to share with everyone! As of right now the range candles on Tradingview are lacking the option to see range charts using the classic candlesticks. This script allows you to overlay a regular candlestick or heikin-ashi candlestick on a range chart!! Unfortunately, the only bar that cannot be a candlestick is the current bar. Once that bar has completed its range then it will update to a regular candlestick.
Install / Use instructions!
-For the best visual appearance it is important to set the transparency of up bars and down bars to 0. This setting is found in the main chart settings under SYMBOL. However, if you want to see the current unfinished range bar you need to set the "projection up bars" and "projection down bars" to the color you prefer.
-To change the colors of the candlesticks is found under the indicator settings like any other script!
Up-Down RangeHere is an attempt to segregate ATR into ATR of up days and down days.
While setting trailing stops based on ATR, you probably need to consider more on how an instrument can drop during red days. Hence, ATR of only red days makes more compelling case than overall ATR. Another use case for this kind of indicator may be in options if you are selling puts and calls with the intent of pocketing premiums on expiry.
Parameters are as explained below:
Range Type : Different range types are tr (True Range) , close (difference between close prices), highlow (difference between high and low of candle)
Period : ATR Period
Moving Average Type : Moving Average Type for calculating ATR. Two additional types - min and max are added which calculates lowest and highest range in last n bars
HideFullAtr : Hides combined ATR if checked.
PVA Range High & LowFINALLY LEFT. the RANGE DAILY at the top RDH and the RANGE DAILY at the bottom RDL, is a PVSRA indicator used to calculate the daily ATR (Average True Range), with the help of my friend @ferhro, I was the one that managed to get closer to the original indicator for the metatrader 4.
Let's the features.
This indicator works as a support and natural resistance of the price, as it has a similarity with the pz supertrend, only on the daily chart.
Range daily High is the gray color and Range daily Low is the red color.
To extract the greatest potential from this indicator, I recommend using forex.
The indicator will be open source for suggestions for improvements.
Average Daily Range % | Bigger relative range - better profits.(ENGLISH VERSION BELOW)
Die richtige Auswahl von Instrumenten ist essenziell. Wir können nur dann Profite machen, wenn das Instrument sich bewegt. Bekannte Indikatoren wie der ATR (Average True Range) inkludieren hier ebenfalls Kurslücken. Das ist gut, dennoch wollen wir Volatiltät von einem anderen Standpunkt betrachten. Welche Bewegungen sind also vom Hoch zum Tief möglich gewesen? Verständlicherweise können wir diesen Wert einer kleinen Aktie nicht mit TSLA vergleichen. Aus diesem Grund schauen wir uns die Relation zum Preis an. Somit können wir wirklich Äpfel mit Äpfel vergleichen. Je höher der Wert, desto mehr Range (basierend auf der 20 Tage-Historie und dem jeweiligen Preis). Natürlich funktioniert dieser Indikator auch in anderen Asset-Klassen wie Krypto, Forex etc.
Wichtig: Wende diesen Indikator im Tageschart an!
English version:
Stock selection is pretty important. We can only make decent profits if the underlying stock moves. Well-known indicators like the ATR (Average True Range) also include price gaps here. This is good, nevertheless, we want to look at volatility from another point of view. So, which movements were possible from high to low? Understandably, we cannot compare this value with TSLA for a small share. That's why we look at the relation to price.
The higher the value, the bigger the range (based on the 20-day history and the respective price).
Important: Use this indicator on a daily timeframe!
Cheers,
WirmachenTrader®
Range MovementRange Movement is an indicator I created to help me determine a few things:
1. the mood of the market makers and market participants
2. the price trend
What I found after creating the indicator is that it is extremely helpful in finding "EXTREME SENTIMENT" when this line has moved up dramatically and price has too, but then RgMov diverges and signals a weakening support for the stock. When Range Movement surges it reveals extreme optimism and powerful upward movement in price, which can draw in momentum investors and create a blow-off peak in price. So in this instance, RgMov is an overbought, oversold indicator.
What I also found is that when a stock is stuck in a range for a long time that RgMov will breakout FIRST to give an early indicator of the future price move to follow. This can be true for rallies or declines.
In the example I show $TSLA Tesla shares which broke out in RgMov well ahead of the stock price in October 2019. See example on chart.
What is RgMov or Range Movement?
Range Movement, aka "RgMov" is derived from open-high-low-close price data. If the market has moved up more than it has moved down during a given bar, the line will move up. Tracking the cumulative movement of the line over time creates the pattern.
You can use RgMov in many ways. Here's how I created it to be used for the daily trend in any stock or index:
Uptrend = New high over 44 days
Downtrend = New low over 44 days
As long as the trend is up on the 44-day time frame, I use shorter term (11-days, for example) oversold conditions as entry points to buy and go with the uptrend.
If the trend turns down, then I use shorter term (11-days, for example again) overbought readings to go short to trade with the downtrend.
Daily RangeHey traders,
at first thanks to the one and only Master Educator Stefan Kassing for sharing his legendary system with us!
And also credit to Mortdiggiddy , RootDuk and PineCoders for helping me with the script =)
This script is calculating the daily range (in pips) of the current market you are in, in relation to the last 70 days (10 weeks) .
It is used for a possible Take Profit in Stefan Kassing's System .
How to add the script to your chart:
1. Click " Add to Favorite Scripts "
-> i.imgur.com
2. Go in the Chart & click the little arrow in the upper bar and then click " Daily Range ", then the Daily Range appears in the top left corner
-> i.imgur.com
To avoid errors make sure to right-click the Y-Axis on the right side of the chart and then left-click "Scale Price Chart Only" .
-> i.imgur.com
Also be aware that the daily range is only showing up , if you are in the daily time interval or below and you are not hovering with the cursor over the past candles respectively above or below them .
If you are using this script in exotic currencypairs or uncommon other markets , the daily range can be incorrect or not showing up .
So don't hesitate contacting me , then I will try to add the markets that you want to.
To change the color or the decimal places of the number, you can click the gear in the upper left corner.
-> i.imgur.com
Happy Pips
BITCOINDICATOR Range FinderShows the current trading range and market direction, with clear Support and Resistance zones.
Eliminates the need to manually draw trend lines and add price labels.
How to use:
Adjust the "Draw support/resistance from how many bars back" inputs to find an accurate trading range according to your timeframe and trading strategy.
Example (chart above): Bars back values are both set to 140. The left resistance label "8659" targets the "high" of the upper half of the bars back input (71-140). The right resistance label "8519" targets the "high" of the lower half of the input (0-70). The supports work the same way but target the "lows".
The dotted lines are drawn from the two "highest closes" (resistance) and the two "lowest closes" (support) over the same input range and can be used to create support & resistance zones.
Side note: the colored bars come from the BITCOINDICATOR indicator with the labels and symbols removed.
This indicator works for ANY chart and all markets.
*The Bitcoindicator Range Finder is part of the Bitcoindicator package.
For detailed information on Bitcoindicator and how to add it to your charts, please visit:
www.bitcoindicator.com
Up/Down Range MomentumThe Up/Down Range breaks the price range into an upward and a downward moving component, so we can easily turn it into a momentum oscillator. This script does just that.
You can find the Up/Down Range (UDR) indicator here:
Session RangeThis Indicator Shows you the high, low and the midpoint for a chosen session and displays them on the chart.
You can make the following inputs:
Timezone: Choose your time zone (in UTC) to display the session correctly
Session Time: Choose the start time and end time of the session you want to have displayed.
Show Session Midpoint: Choose between displaying or not displaying the midpoint of the sessions high and low.
Extend Session Values until next Session: Choose this option if you want to display the sessions range until the next session starts. The midpoint will only be displayed if you chose "yes" at "Show Session Midpoint?"
Maximum number of bars between sessions: This is needed to ensure the correct display of the extended lines. Also this will affect the running speed of the script.
Limitations:
A higher number between bars slows down the script. What does that mean practically? If you choose to not have the sessions values displayed until the next session you can set this to 1 and the script will run as fast as it can. If you choose to display all the values until the next session you have to make sure that the number you put in is higher than the number of bars between the sessions. Otherwise the lines will be displayed backwards. As this affects the calculation speed you want to keep the number as low as possible. The default setting is 300 which is fine for 5 minute charts. On a 1 minute chart you will have to use something around 5000 depending on how long your session is.
Also the script will only run correctly if the start time of your session can be divided by the timeframe you are using. Example: you can use a 1min, 3min, 5min, or 15min chart on all sessions as they can only start every 15 minutes and 15 can be divided by all these numbers. A 2 minute timeframe will only work on sessions that start at minute 00 or 30, as 15 and 45 can not be divided by 2.
Customization and Alerts:
You can change the color of the sessions high, low, midpoint and background filling. The line style can also be changed but this might lead to a faulty display of the session.
The style of the extension lines can not be altered.
Alerts can be added for crossing the sessions high or low (after the session is finished). You do not have to display the extension lines in order to set an alert.
credit: The inspiration (especially for the look of this indicator) comes from the Asian Range by Nico948 indicator.
Daily Price RangeThe indicator is designed to analyze an instrument’s volatility based on daily extremes (High-Low) and to compare the current day’s range with the typical (median) range over a selected period. This helps traders assess how much of the "usual" daily movement has already occurred and how much may still be possible during the trading day.