Consolidation Ranges [kingthies] Consolidation Range Analysis
Published by Eric Thies, January 2021
█ Indicator Summary
This tool calculates, analyzes and plots the visualization of a relative range over a given period of time
By adding to charts, users are enabled to see the impulsive nature of market cycles, along with their efforts to consolidate thereafter
The default period is 30, and should be adjusted to users preference
The default input is the current close price, on the chosen timeframe of the chart
█ Script Source
//
//@version=4
//© kingthies || This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
study("Consolidation Ranges ", shorttitle="CR ", overlay=true)
// !<------ User Inputs ----->
src = input(close, title='Range Input (Default set to Close'), lengthEMA=input(30,title='Length'),zoneToggle = input(true, title="Toggle Zone Highlights"), iCol = color.new(#FFFFFF, 100),
// !<---- Declarations & Calculations ---- >
trndUp = float(na),trndDwn = float(na), mid = float(na), e = ema(src, lengthEMA)
trndUp := src < nz(trndUp ) and src > trndDwn ? nz(trndUp ) : high, trndDwn := src < nz(trndUp ) and src > trndDwn ? nz(trndDwn ) : low, mid := avg(trndUp, trndDwn)
// !< ---- Plotting ----->
highRange = plot(trndUp == nz(trndUp ) ? trndUp : na, color=color.white, linewidth=2, style=plot.style_linebr, title="Top of Period Range")
lowRange = plot(trndDwn == nz(trndDwn ) ? trndDwn : na, color=color.white, linewidth=2, style=plot.style_linebr, title="Bottom of Period Range")
xzone = plot(zoneToggle ? src > e ? trndDwn : trndUp : na, color=iCol, style=plot.style_circles, linewidth=0, editable=false)
fill(highRange, xzone, color=color.lime,transp=70), fill(xzone, lowRange, color=color.red,transp=70)
//
Komut dosyalarını "range" için ara
@thecf RSI + 12-EMA + Magic 89-EMA + RangesThis RSI has a couple modifications. It works with bullish and bearish control zones and implements both a 12 EMA as well as the "magic" 89 Moving Average.
First, the ranges. Whenever the RSI moves above 65 the bulls are in control.
Whenever the RSI moves blow 45 the bears are in control. Everything in between in neutral. Traders can use these levels for information on strength of either bulls or bears and also for support and resistance .
Both EMAs are best used for crossovers, as well as support and resistance .
The idea for the "magic" 89 moving average, originally stems from Fibonacci values that some traders like to use for support and resistance on price.
From observation, it holds more information though, when used as a moving average of the RSI and in combination with a 12 EMA .
When the RSI crosses above the 89 moving average, it can be interpreted as a potential shift in trend up. The 12 EMA then shortly afterwards usually confirms it by also crossing above the 89 moving average.
The 89 moving average can also signalize a potential shift in trend coming up when reaching 70.
The magic MA works best on timeframes like the daily and upwards.
For more information about the indicator feel free to leave a comment.
PB Opening Bar RangesPB Opening Bar Ranges identifies the high and low ranges of those market opens and is to be used as an overall strategy with PB Market Opens.
This is different to indicators out there as it is specific to the Market Opens strategy
This indicator identifies opening range for any time frame.
You can use it to trade out of opening ranges after Gold Pit Opens and Stock exchange opens.
For best results, do the following
Gold use the 5 minute time frame
Forex and Currency futures 10 minute time frame.
Indexes use the 15 minute time frame.
This will be available to lease, please private message us to find out more
Kalihari_Brothers_ORBEasy to use ORB(Opening Range Breakout)..
Multiple Time frame (15minute,30minute,60minute ) and special strategy 12 PM 15min ORB...
Opening Range depend upon time frame market makes own high and low..
Whenever price breaks high of Opening Range make long position and simultaneously whenever price breaks low of Opening Range make short position..
Kalihari_Brothers_PRBBasic principle support ,resistance and flipping of support n resistance (support becomes resistance ,resistance becomes support)..
DRB- Previous Day Range High ( PDH ) and Low ( PDL )
WRB- Previous Week Range High (PWH) and Low (PWL)
MRB - Previous Monthly Range High (PMH) and Low (PML)
It gives Trending Market Signal for bullish (price breaks PDH range continuous in up direction and make support)
and similarly for bearish (price breaks PDL range continuous in down direction and make resistance)..
For sideways/Non-trending market stay with in a range not break high and low..(stay away from it)..
DRB act as minor support and resistance ..
WRB and MRB act as major support and resistance ...
Triple Average True Range Channel Definition: By ADAM HAYES from Investopedia -- Updated Jul 8, 2019
The average true range (ATR) is a technical analysis indicator that measures market volatility by decomposing the entire range of an asset price for that period. Specifically, ATR is a measure of volatility introduced by market technician J. Welles Wilder Jr. in his book, "New Concepts in Technical Trading Systems."
The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The average true range is then a moving average, generally using 14 days, of the true ranges.
I've added a channel perspective from a certain % from the Slow Average Length that user will have to configure depending of resolution and the markets instruments they chose...
Also a fill is used to easily point out when a high distance between a fast and a slow volatility analysis is occurring.
Which is also denotated with a shaped label...
Share and comment my work :)
Decision_Pointclassic decision point for intraday
CDH- current day high(not fixed range)
CDL- current day low (not fixed range)
CDO- current day open(fixed range)
PDH- previous day high(fixed range)
PDL- previous day low(fixed range)
PDC- previous day close(fixed range)
above all are decision points where market reaction takes place..
make your own strategy for intraday using DP...
Volume Range EventsChanges in the feelings (positive, negative, neutral) in the market concerning the valuation of an instrument are often preceded with sudden outbursts of buying and selling frenzies. The aim of this indicator is to report such outbursts. We can see them as expansions of volume, sometimes 10 times more than usual. and as extensions of the trading range, also sometimes 10 times more than usual (e.g. usual range is 10 cent suddenly a whole dollar.) The changes are calculated in such a way that these fit between plus and minus 100 percent, the bars are scaled in some sort of logarithmic way. The Emoline is the same as the one in the True Balance of Power indicator, which I already published
ONLY RISES ARE EVENTS
Sometimes analysts are tempted to give meaning to low volume or small ranges. These simply mean that the market has little interest in trading this instrument. I believe that in such cases the trader needs to wait for expansion and extension events to happen, then he can make a better guess of where the market is heading. As events often mark the beginning or ending of a trend, this indicator provides an early and clear signal, because it doesn’t bother us about non-events.
WHAT IS USUAL?
If the algorithm would use an average as a normal to scale volume or range events, then previous peaks will act as spoilers by making the average so high that a following peak is scaled too small. I developed a function, usual() , that kicks out all extremes of a ‘population of values’ and which returns the average of the non-extreme values. It can be called with any serial. This function is called by both algorithms that report volume and range peaks, which guarantees that the results are really comparable. As this function has a fixed look back of 8 periods, we might state that ‘usual’ is a short lived relative value. I think this doesn’t matter for the practical use of the indicator.
COLORING AND INTERPRETATION
I follow the categories in the ‘Better Volume Indicator’, published by LeazyBear, these are:
1. Climactic Volumes, event >40 % (this means peak is 1.5 X usual)
LIME: Climax Buying Volume, direction up, range event also > 30 %
RED: Climax Selling Volume, direction down, range event also > 30 %
AQUA: Climax Churning Volume, both directions, range event < 30%
2. Smaller Volumes, event <40 %
GREEN: Supportive Volume, both directions, if combined with range event
BLUE: Churning Volume, both directions, if not combined with range event (Professional Trading)
3. Just Range Events
BLACK histogram bars (Amateurish Trading)
Time Based Range# Time Based Range
**A fully customizable session-based range indicator for intraday and daily trading analysis**
## Overview
The Time Based Range indicator identifies and visualizes key price levels from any user-defined time session. Whether you're trading the London open, New York session, or any custom timeframe, this indicator helps you identify crucial support and resistance levels formed during specific trading periods.
## Key Features
### 🕒 **Flexible Session Configuration**
- Customize any time range (e.g., 05:00-13:00, 20:00-02:00)
- Select specific days of the week (Sunday=1 through Saturday=7)
- Works on any timeframe from 1-minute to daily charts
### 📊 **Three Display Modes**
**OHLC Mode:**
- Shows Open, High, Low, Close, and Midpoint lines
- Fully customizable line colors, styles, and widths
- Optional labels with custom text
- Toggle individual lines on/off
**Range Mode:**
- Displays High, Low, and Midpoint lines extending into the future
- Session background box for visual clarity
- Configurable extension length in hours
- Clean range-based analysis
**Mitigate Mode:**
- Horizontal pivot lines that extend until price "mitigates" (touches) them
- Session background box
- Lines automatically stop extending when price reaches the level
- Perfect for ICT-style analysis
### 🚨 **Advanced Alert System**
**Breakout Alerts:**
- Notifies when price breaks above session high or below session low
- Real-time notifications for range expansion
**Liquidity Sweep Alerts:**
- Detects when price briefly breaks a level but closes back inside the range
- Configurable lookback period for sweep detection
- Helps identify false breakouts and liquidity grabs
**Equilibrium Rejection Alerts:**
- Monitors price reaction at the session midpoint
- Detects strong rejections with wick formations
- Configurable sensitivity threshold
### 🎨 **Full Customization**
- Individual color settings for all lines and boxes
- Multiple line style options (Solid, Dashed, Dotted)
- Adjustable line widths and transparency
- Custom label text and positioning
- Session limit control (1-10 sessions displayed)
## Use Cases
### Day Trading
- Mark key levels from overnight sessions
- Identify London/New York opening ranges
- Track Asian session highs and lows
### Swing Trading
- Daily range analysis
- Multi-day level identification
- Key support/resistance from specific periods
### ICT/SMC Trading
- Liquidity pool identification
- Fair value gap analysis
- Market structure understanding
## Technical Specifications
- **Maximum Sessions:** 1-10 (user configurable)
- **Time Format:** 24-hour (HHMM-HHMM)
- **Day Selection:** Individual day toggles (1=Sunday through 7=Saturday)
- **Alert Types:** 4 different alert conditions
- **Drawing Objects:** Optimized with automatic cleanup
- **Performance:** Efficient array management prevents chart lag
## Best Practices
1. **Start Simple:** Begin with OHLC mode to understand session dynamics
2. **Use Alerts:** Enable notifications for key level interactions
3. **Combine Modes:** Switch between modes based on market conditions
4. **Optimize Settings:** Adjust colors and styles for your chart theme
5. **Multiple Timeframes:** Use different sessions for various trading strategies
## Compatibility
- Works on all TradingView chart types
- Compatible with all asset classes (Forex, Stocks, Crypto, Futures)
- Optimized for both light and dark themes
- Mobile-friendly display
---
*This indicator helps traders identify high-probability trading zones based on time-specific price action. Always combine with proper risk management and additional analysis methods.*
Opening Range Retest█ OVERVIEW
This indicator shows the opening range as a box. It also draws markers and triggers alerts when the opening range is retested. The opening range time is configurable, as is the period of time that must elapse before each return to the opening range is considered a retest.
█ FEATURES
Opening range time configurable in bars or minutes
Configurable "resting" period between the end of the opening range or since the last retest before a new retest is considered valid
Configurable tolerance so that a retest can trigger sooner
Active time range can be used to filter alerts and markers to a specific time window
Visual box showing the opening range, which can be optionally limited to the above-mentioned active time window
Well-documented, high-quality, open-source code for those interested
█ CONCEPTS
This indicator can be used for an opening range retest trading strategy, where long or short positions are taken on the retest of the opening range.
The opening range can be user-configured, so it is suitable for use with any opening range time period (e.g., 1-min, 5-min, 15-min, etc.).
The markers and alerts are equivalent, in the sense that whenever a marker appears, an alert will also trigger (assuming the user has set an alert up).
The alert active time range is simply used as a filter for markers and alerts, meaning that these will not draw or trigger outside of the specified time range.
█ LIMITATIONS
The indicator is intended for equities that have a highly active regular market open. For other security types, it will draw the opening range box from whenever TradingView specifies the market open time.
Spread/Range Oscillator + Signal + HistogramThe Spread/Range Oscillator is a technical analysis tool designed to assess market momentum by evaluating the relationship between price movement and volatility.
Calculation
Spread: The difference between the closing and opening prices of a candle (close - open).
Range: The difference between the high and low prices of a candle (high - low).
Oscillator: The spread divided by the range (spread / range). This ratio provides a normalized measure of price movement within each candle.
Smoothed Oscillator: An Exponential Moving Average (EMA) applied to the oscillator over a user-defined period (Smoothing Length) to reduce noise.
Signal Line: An EMA of the Smoothed Oscillator over another user-defined period (Signal Line Length) to identify potential trend changes.
Histogram: The difference between the Smoothed Oscillator and the Signal Line (Smoothed Oscillator - Signal Line). Positive values suggest bullish momentum, while negative values indicate bearish momentum.
Inputs
Smoothing Length (EMA): Determines the period for smoothing the oscillator.
Signal Line Length (EMA): Sets the period for the EMA applied to the Smoothed Oscillator to generate the Signal Line.
Visual Representation
Smoothed Oscillator: Plotted as a line representing the smoothed momentum of price movements.
Signal Line: Displayed as a line serving as a reference to identify potential crossovers and trend changes.
Histogram: Rendered as bars, with positive values indicating bullish momentum and negative values indicating bearish momentum.
Zero Line: A horizontal line at zero to distinguish between bullish and bearish territories.
Applications
Momentum Analysis: Identify periods of strong buying or selling pressure based on the oscillator's position relative to the zero line.
Trend Confirmation: Use crossovers between the Smoothed Oscillator and Signal Line to confirm potential trend reversals or continuations.
Divergence Detection: Spot divergences between price action and the oscillator to anticipate possible market turning points.
This indicator is open-source and intended for educational purposes. It is recommended to use it in conjunction with other forms of analysis and risk management practices before making trading decisions.
Static price-range projection by symbolThis indicator shows you a predefined range to the right of the last candle of your chart. This range is custom and can be changed for a handful of symbols that you can choose. This scale will help you determining if the market is providing a reasonable range before you enter a trade or if the market isn't actually moving as much as you might think. This is particularly useful if you are into scalping and have to consider commission or spread in your trades.
Since all symbols have different price ranges in which they move this indicator doesn't make sense to just have "a one size fits all" approach. That's why you can choose up to 6 symbols and set the range that you want to have shown for each when you pull it up on the chart. Using my default values that means for when the NQ (Nasdaq future) is on the chart you will see a range of 20 handles projected. When you change the the ES (S&P500 future) you will instead see 5 handles. While the number is different that is somewhat of an equal move in both symbols.
There also is an option to set a default price range for all other symbols that are not selected if it is needed. However the display of the scale on anything else than the 6 selected symbols can also be turned off.
There are options provided on how exactly you want to indicator to determine if the chart symbol matches one of the selected symbols.
You can enable it to make sure the exchange/broker is the exact same as selected.
It can check for only the symbol root to match the selection. Specifically for futures this means that while ES1! might be selected, anything ES (ES1!, ES2!, ESH2025, ESM2025, ESM2022, ...) will be a match to the selection)
On the painted scale it is possible to not just show this range extended into each direction once. Per default you will have 3 segments of it in each direction. This can be reduced to just 1 or increased.
If you chose a high number of segments or a large range make sure to use the "Scale price chart only" option on your chart scale to not have the symbols price candles squished together by the charts auto scaling.
And last but not least the indicator options provide some possibilities to change the appearance of the printed price range scale in case you disagree with my design.
True Range & ATRDescription : This indicator plots both the True Range (TR) and the Average True Range (ATR) in a separate pane below the main chart.
- TR represents the absolute price movement range within each candle.
- ATR is a smoothed version of TR over a user-defined period (default: 14), providing insight into market volatility.
- TR is displayed as a histogram for a clearer view of individual candle ranges.
- ATR is plotted as a line to show the smoothed trend of volatility.
This indicator helps traders assess market volatility and potential price movements.
Opening Range, Initial Balance, Opening Price, Pre-market Levels### Description of the Indicator: **Opening Range, Initial Balance, Opening Price, Pre-market Levels**
This custom TradingView indicator provides a comprehensive view of key price levels for intraday trading, specifically designed to track important levels from the Opening Range (OR), Initial Balance (IB), Opening Price (OP), and Pre-market session (PM). These levels are essential for traders to gauge potential market movements and identify critical areas of support and resistance.
#### **Features:**
1. **Opening Range (OR):**
- This is the high and low of the first 30 minutes of the regular market session (09:30 - 10:00 EST).
- The OR high and low act as significant levels that may influence price movement for the rest of the day.
- The mid-level of the Opening Range (OR Mid) is also plotted to give a more detailed view of potential price action.
2. **Initial Balance (IB):**
- The Initial Balance is the range created during the first hour of market activity (09:30 - 10:30 EST).
- This range often sets the tone for the market's direction. The IB high and low, along with the IB midline, are plotted for quick reference.
3. **Opening Price (OP):**
- The opening price of the market is marked as a circle and labeled "OP."
- This level provides context for market sentiment when compared to the high and low levels.
4. **Pre-market Levels (PM):**
- The pre-market session (04:00 - 09:30 EST) has its own important levels that are calculated for the high, low, and mid range (PM High, PM Low, and PM Mid).
- These levels are plotted and are useful for traders to understand where the market stood before the regular session opened.
#### **Customization Options:**
- **Exchange Timezone:** You can choose whether to display the times in the exchange's local timezone or in your own preferred timezone.
- **Mid Levels Display:** You can toggle whether the mid levels for each range (OR, IB, PM) should be shown on the chart.
- **Level Color Change:** The colors of the plotted levels (high, low, mid) change based on whether the price is above or below the respective level, making it easy to visualize potential support and resistance.
- **Label Positions:** The position of the labels (OR, IB, OP, PM) on the chart can be customized to avoid overlap with other data points.
#### **Key Use Cases:**
- **Intraday Trend Analysis:** Use the OR and IB to identify key levels for the day, providing insights into the possible trend or range for the day.
- **Pre-market Insights:** The PM levels are crucial for understanding where the market stood during the pre-market hours and can be used as reference points during the regular session.
- **Potential Support and Resistance:** The high and low levels of the OR, IB, and PM sessions can act as potential support or resistance, which are useful for setting stop-loss and take-profit levels.
#### **How to Use:**
- Pay attention to the levels provided for OR, IB, and PM as potential entry and exit points.
- Watch for breakouts or reversals around these levels, especially when combined with other technical indicators or price action patterns.
- The mid levels offer an additional reference to assess price direction or identify possible areas of consolidation.
This indicator is perfect for day traders who rely on key intraday levels and pre-market activity to make informed trading decisions. It helps to streamline the process of identifying potential breakouts, reversals, and ranges in the market.
US10Y Yield Range Percentile | JeffreyTimmermansUS10Y Yield Range Percentile
The "US10Y Yield Range Percentile" Indicator provides insights into the relative positioning of the U.S. 10-Year Treasury Yield (US10Y) within a specified lookback period. It highlights key valuation style conditions, helping traders assess market sentiment based on yield movements.
Why is the US 10-Year Treasury Yield Important?
The U.S. 10-Year Treasury Yield (US10Y) is one of the most critical benchmarks in global finance. It reflects the cost of borrowing for the U.S. government and serves as a risk-free rate that influences interest rates across the economy.
Macroeconomic Indicator:
Rising yields suggest strong economic growth or inflationary pressures, often leading to tighter monetary policy.
Falling yields indicate economic slowdown, deflationary risks, or increased demand for safe-haven assets.
Impact on Financial Markets:
Stock Market: Higher yields reduce the attractiveness of equities, while lower yields support risk assets.
Credit Markets: A rising 10-year yield increases borrowing costs, impacting corporate debt and mortgage rates.
Global Capital Flows: US10Y is a key driver of capital allocation worldwide, affecting currency valuations and capital flows into emerging markets.
Correlation with Risk Assets (Especially Crypto):
Crypto markets, particularly Bitcoin and Ethereum, have shown a strong inverse correlation with US10Y yields.
When yields rise, risk assets tend to sell off due to tighter financial conditions.
When yields decline, liquidity flows into speculative assets, boosting stocks, crypto, and growth sectors.
Key Functions of the Indicator
Range Calculation:
Computes the highest high and lowest low over a user-defined period (default: 63 days).
Measures the current yield’s position within this range.
Range Percentile Calculation:
Determines the percentile rank of the current yield within its range.
A higher percentile indicates higher yields, often associated with Risk OFF conditions.
A lower percentile suggests lower yields, signaling Risk ON sentiment.
Optional Smoothing:
Enable/Disable: Users can enable Simple Moving Average (SMA) smoothing to reduce noise.
Default smoothing length : 10 periods (can be customized).
Threshold Levels & Background Coloring:
The background color represents the current market regime (valuation based), based on the US10Y yield percentile:
Risk ON (Bullish): When the percentile falls below the lower threshold (default: 20).
Neutrally Positive Zone (also Risk ON): Between 20 and 80 percentile.
Risk OFF (Bearish): When the percentile rises above the upper threshold (default: 80).
Important : Background Coloring is NOT a Leading Signal.
The background color provides a visual representation of valuation periods, but it is not a leading indicator for price movements. Instead, traders should focus on the orange US10Y Range Percentile line, which is the key signal within this indicator. The colors behind the line below the chart are leading. The background colors behind the price chart are more of a valuation style indications.
When the orange line enters the Danger Zone (above 80 percentile), it signals that yields are elevated, and risk assets (such as stocks and crypto) are at increased risk of reversing downward.
While the background coloring helps to visualize market conditions, price reversals tend to occur when the percentile line is in extreme zones rather than when the background color changes.
Traders should monitor the percentile line closely, as it provides a clearer signal of potential shifts in market sentiment.
Visual Elements
Range Percentile Plot:
Displays the smoothed or raw percentile value over time.
Helps identify shifts in yield positioning.
Threshold Markers & Fill Zones:
Key percentile thresholds (0, 20, 80, 100) are marked with horizontal lines.
The area between 20-80 percentile is filled to indicate the neutral zone.
Extreme zones are highlighted to emphasize significant shifts in risk sentiment.
Dynamic Labeling:
A real-time percentile label appears next to the latest data point.
Alerts & Notifications
Risk OFF to Risk ON Transition:
Alert triggers when the percentile falls below the lower threshold (yields decreasing).
Risk ON to Risk OFF Transition:
Alert triggers when the percentile rises above the upper threshold (yields increasing).
Conclusion
The crypto market is highly sensitive to macroeconomic conditions, with Bitcoin often behaving like a high-beta tech stock.
A declining US10Y yield signals looser financial conditions, increasing demand for risk assets like crypto.
A rising US10Y yield tightens liquidity, leading to sell-offs in Bitcoin, Ethereum, and altcoins.
Tracking the US10Y percentile position helps traders anticipate market shifts before they occur.
This indicator serves as a leading signal for understanding market risk appetite by tracking Treasury yield movements. A decline in yields typically favors equities and risk assets, while rising yields indicate a shift toward safety and risk aversion.
Credits
This indicator was inspired by and builds upon the work of TomasOnMarkets . While incorporating significant enhancements, it acknowledges the foundational concepts provided by this original source. Thank you for sharing your input on this important indicator. We are honored to use it and to further improve upon it.
-Jeffrey
CandelaCharts - OHLC Range Map 📝 Overview
Explore the intricate art of candlestick analysis with the OHLC Range Map!
Elevate your TradingView experience by integrating this dynamic tool into your trading strategies with actionable insights. This cutting-edge indicator transcends standard OHLC visuals, leveraging Inner Circle Trader (ICT) concepts to dissect accumulation, manipulation, and distribution on a candle-by-candle basis.
ICT traders recognize manipulation through the wick extending opposite the candle’s close. This movement often serves to mislead market participants into taking positions in the "wrong" direction, signaling potential manipulation legs. Analysts can use these insights to anticipate a candle’s distribution phase. During distribution, price extends to higher or lower levels, offering key clues for identifying liquidity draws, potential retracements, or reversals.
These levels offer valuable insights into order flow, highlighting how price interacts with them and the sequence of its delivery.
To enhance price mapping, the tool also charts the average timing for the completion of manipulation and distribution phases. This feature empowers traders to combine historical timing patterns with the price levels associated with manipulation and distribution for a deeper analysis.
Like all tools based on historical data, this indicator does not guarantee that past patterns will replicate in future market conditions. Designed with a data-driven edge, it highlights moments when candles are likely to reverse following manipulation phases or retrace after completing defined distributions, helping analysts spot potential turning points.
📦 Features
This tool offers a range of powerful features to enhance your trading analysis:
Average Range Accuracy : Simplify candlestick analysis with advanced lines and labels to pinpoint manipulation, distribution, and time pivots. Graph average ranges for your chosen timeframe to navigate market volatility and uncover key support and resistance zones.
Custom Timeframe Selection : Align your analysis with your trading strategy by choosing a timeframe that highlights the candle’s manipulation, distribution, and key timing.
Real-time Data Feed : Stay updated with live candlestick stats, with each new candle updating OHLC data and performing ongoing historical calculations, even on sub-minute timeframes.
Historical Mapping : Backtest past market scenarios with ease using the historical mapping feature. Traders can revisit and analyze previous data, refine strategies, and customize label displays for journaling flexibility.
User-Friendly Interface : Designed for advanced traders, the intuitive interface allows easy navigation and customization of display settings, offering a personalized experience for data-driven analysis.
⚙️ Settings
Timeframe: Sets the timeframe to which will be drawn.
Period: Controls period length in days.
Algorithm: Sets the desired calculation algorithm.
History: Display Range Map drawings for previous sessions.
Timezone: Dsiplay the data based on the selected timezone.
Use NY Midnight Open: Controls from where a Range Map will start detection.
Opn: Style for Open line.
Man: Style for Manipulation line.
Dis: Style for Distribution line.
Time: Style for Timeline.
Labels: Controls the size and abbreviations.
Line Position: Manage the Range Map line position
Table Position: Manage the Range Map table position
⚡️ Showcase
Here’s a visual showcase of the tool in action, highlighting its key features and capabilities:
Manipilation & Distribution
Time
📒 Usage
Here’s how you can use the OHLC Range Map to enhance your analysis:
Add OHLC Range Map to your Tradingview chart.
Select a timeframe and customize the styles to fit your preferences.
Watch as calculated manipulation, distribution, and delivery times align with your analysis.
Combine this data with other models and insights to strengthen your trading strategy.
Example 1
Example 2
By following these steps, you'll unlock powerful insights to refine and elevate your trading strategies.
🔹 Notes
On Bullish candles:
Manipulation: Open - Low
Distribution: Open - High
On Bearish candles:
Manipulation: Open - High
Distribution: Open - Low
Available calculation methods:
Mean
Median
Price patterns on OHLC Range Map:
Open - -Man - +Dis
Open - -Man - Open - +Dis
Open - -Man - +Man - +Dis
Open - -Man - +Man - -Dis
Open - +Man - -Dis
Open - +Man - Open - -Dis
Open - +Man - -Man - -Dis
Open - +Man - -Man - +Dis
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
DAILY ATR LEVELSThis script is a custom technical indicator for use in TradingView, designed to display daily Average True Range (ATR) levels on the chart, along with the daily opening price. It provides a customizable way to track price levels relative to the daily ATR, which can be useful for traders looking for volatility-based price targets or ranges.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Customization Options:
- Line Width: Determines the thickness of the plotted lines for the ATR levels and daily open line, ranging from 1 to 10.
- Right Offset (minutes): A time offset (in minutes) that shifts the end of the daily opening price line to the right for visual clarity.
- Line Style: The user can choose between solid, dashed, or dotted lines for all the plotted levels.
- Display Options: Users can toggle the visibility of the daily opening price line (showDayLevel), labels (showLabels), and ATR levels (showATRLevels).
- Colors: Customizable colors for the daily opening price line (dayLevelColor), labels (labelTextColor), and the ATR levels for both positive and negative values (atrLevelPlusColor and atrLevelMinusColor).
ATR Settings:
- ATR Length: Defines the number of periods (bars) to use when calculating the ATR. The default is 180, which corresponds to the ATR calculated on the daily chart using the last 180 bars.
- ATR Multiplier: Allows the user to scale the ATR levels by a multiplier (from 0.1 to 5.0), adjusting the sensitivity of the levels.
- ATR Levels: Users can toggle visibility for several predefined ATR levels, such as +25%, +50%, +75%, +100%, -25%, -50%, -75%, and -100%. These levels represent price points above or below the daily open based on the ATR.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ATR Levels Calculation:
- The ATR is calculated based on the daily chart using the ta.atr() function with the specified ATR length, default is set at 180.
- The script computes multiple ATR levels above and below the daily open price, adjusting each level by 25%, 50%, 75%, and 100% of the ATR value (scaled by the ATR multiplier).
ATR Level Plotting:
- For each ATR level (positive and negative), a line is drawn across the chart at the corresponding price level.
- The color, line style, and width of these lines can be customized.
- Each ATR level also has an optional label showing the percentage level (e.g., "ATR +25%") at the specified price, which is positioned at the end of the line.
- The labels are removed from the previous bars to avoid clutter.
Workflow:
- The script first calculates the daily opening price using the request.security() function to pull the open price from the daily chart.
- It then calculates the ATR based on the selected length and multiplier.
- The start time for the daily open line is determined by the bar's timestamp at the start of the day, and the end time is adjusted using the user-defined right offset.
- After determining the relevant price levels (for the opening price and ATR levels), the script plots these levels on the chart as lines. It handles the drawing and deletion of lines to ensure that the chart remains updated in real time.
- If labels are enabled, text labels are displayed next to the ATR levels and the daily open line, providing clear markers for the user.
Practical Use:
- Volatility Analysis: This indicator is useful for identifying key price levels based on daily volatility (ATR). Traders can use it to set potential targets or support/resistance levels that are adjusted for volatility.
- Day Trading or Swing Trading: The daily opening price line helps traders quickly see where the price opened for the day, and the ATR levels give a dynamic range for the day's potential price movement.
Overall, this script is designed to provide a clear, customizable view of daily price levels in relation to the ATR, helping traders make informed decisions based on volatility and price action.
Visual Range Position Size CalculatorVisual Range Position Size Calculator
The "VR Position Size Calculator" helps traders determine the appropriate position size based on their risk tolerance and the current market conditions. Below is a detailed description of the script, its functionality, and how to use it effectively.
---
Key Features
1. Risk Calculation: The script allows users to input their desired risk in monetary terms (in the currency of the ticker). It then calculates the position sizes for both long and short trades based on this risk.
2. Dynamic High and Low Tracking: The script dynamically tracks the highest and lowest prices within the visible range of the chart, allowing for more accurate position sizing.
3. Formatted Output: The calculated values are displayed in a user-friendly table format with thousands separators for better readability.
4. Visual Indicators: Dashed lines are drawn on the chart at the high and low points of the visible range, providing a clear visual reference for traders.
5. If the risk in security price is 1% or less, the background of the cells displaying position sizes will be green for long positions and red for short positions. If the risk is between 1% and 5%, the background changes to gray, indicating that the risk may be too high for an effective trade. If the risk exceeds 5% of the price, the text also turns gray, rendering it invisible, which signifies that there is no justification for such a trade.
---
Code Explanation
The script identifies the start and end times of the visible range on the chart, ensuring calculations are based only on the data currently in view. It updates and stores the highest (hh) and lowest (ll) prices within this visible range. At the end of the range, dashed lines are drawn at the high and low prices, providing a visual cue for traders.
Users can input their risk amount, which is then used to calculate potential position sizes for both long and short trades based on the current price relative to the tracked high and low. The calculated risk values and position sizes are displayed in a table on the right side of the chart, with color coding to indicate whether the calculated position size meets specific criteria.
---
Usage Instructions
1. Add the Indicator: To use this script, copy and paste it into Pine Script editor, then add it to your chart.
2. Input Your Risk: Adjust the 'Risk in money' input to reflect your desired risk amount for trading.
3. Analyze Position Sizes: Observe the calculated position sizes for both long and short trades displayed in the table. Use this information to guide your trading decisions.
4. Visual Cues: Utilize the dashed lines on the chart to understand recent price extremes within your visible range.
Session High/Low Average & Range [1CG]The Session High/Low Average & Range indicator independently measures the average price movement from the opening price in each direction. It also displays the maximum high and low distance, called Range. Separating the averages and range into highs and lows helps analyze the volatility of the market as well as the direction.
USE EXAMPLES
Session Open
Session Close
Customization
Minimal - 1x and 2x Averages are replaced with custom lines, in order to show distance to3x.
Calculations
Average High: (high price of session - session opening price) / (session period)
Average Low: (session opening price - low price of session) / (session period)
Range High: The highest price of the last (session period)
Range Low: The lowest price of the last (session period)
INPUTS
Session
Here you can choose the hours for your session and time zone. The default is London session in New York time. Next, the session period determines how many sessions to sample from for the average and range lines, the default is 20. Lastly, you can choose the number of sessions to appear on the chart not including the current session if you are in one, 5 by default.
Lines
All of the lines allow you to change the color, width, and style. They also have a label option to choose to display the price. The bottom of the section allows you to change the location and size of the label text.
**Open Line** -Displays the opening price for the length of the session.
**Average Lines** - Displays the 1x, 2x, and 3x the average distance from open in each direction. Additionally, you can toggle a background color to highlight the area.
**Custom Lines** - Displays a customizable multiple of either the average or range. By default the first custom line displays the Range at a 1x multiplier and the second line displays an Average at a 1.5x multiplier
Display Distance
Here you can choose to display the distance from the lines to the open. This data is marked with a “Δ”. For the three Average lines this will display in the area between the line and the open in the position and size of your choice. The custom lines will have the distance information displayed on the line itself. This helps keep the data organized.
Real-Time Custom Candle Range Color Indicator
The script allows the user to input a custom range value (default set to 100 points) through the userDefinedRange variable. This value determines the minimum range required for a candle to change color.
Calculating Candle Range:
The script calculates the range of each candle by subtracting the low from the high price.
Determining Bullish or Bearish Candles:
It checks whether the close price is higher than the open price to determine if a candle is bullish (isBullish variable).
Coloring Candles:
Based on the custom range input, the script changes the color of the candles:
If the candle's range is greater than or equal to the custom range and it is bullish, the candle color is set to blue (bullishColor).
If the range condition is met and the candle is bearish, the color is set to orange (bearishColor).
If the range condition is not met, the color is set to na (not applicable).
Plotting Colored Candles:
The plotcandle function is used to plot candles with colors based on the custom range and bullish/bearish conditions. The candles will have a higher z-order to be displayed in front of default candles.
Displaying High and Low Price Points:
Triangular shapes are plotted at the high and low price levels using the plotshape function, with colors representing bullish (blue) and bearish (orange) conditions.
In trading, this indicator can help traders visually identify candles that meet a specific range criteria, potentially signaling strength or weakness in price movements. By customizing the range parameter, traders can adapt the indicator to different market conditions and trading strategies. It can be used in conjunction with other technical analysis tools to make informed trading decisions based on candlestick patterns and price movements.
5-Minute Opening Range BreakoutThe 5-minute buy and sell indicator is designed to detect potential buy ("Long") and sell ("Short") signals based on the first 5 minutes of trading activity. Here's how it works:
5-Minute Opening Range: It tracks the high and low of the first 5-minute candle after the market opens. This range establishes key support and resistance levels.
Buy Signal ("Long"): When the price breaks above this range and retests the level, a "Long" signal is triggered, indicating a potential upward trend.
Sell Signal ("Short"): Conversely, if the price breaks below the range and retests, a "Short" signal is triggered, suggesting a potential downward trend.
Retests & Confirmations: The indicator waits for pullbacks or retests of the breakout levels to confirm the validity of the buy or sell signal, minimizing false entries.
Take Profit & Stop Loss: The indicator provides reasonable stop-loss and take-profit markers to guide you in managing risk and securing profits within the day.
This strategy is especially useful for traders looking to capture early market momentum, often seen in the first 5 to 15 minutes of trading. This indicator only works on the 1M timeframe.
More Updates soon!
Custom Time Range HighlighterCustom Time Range Highlighter
This versatile indicator allows traders to highlight specific time ranges on their charts, accommodating users worldwide by supporting customizable UTC offsets. Traders can define two distinct time ranges, setting start and end hours in their local time zone.
A toggle option enables the display of highlights for today only , ensuring focus on current trading conditions.
Ideal for day traders and those following specific market sessions, this tool enhances visibility of active trading periods and aids in effective trade management.
Average True Range with Price MAATR with Price Moving Average Indicator
This custom indicator combines the Average True Range (ATR) with a Price Moving Average (MA) to help traders analyze market volatility in percent to the price.
Key Components:
Average True Range (ATR)
Price Moving Average (MA)
ATR/Price in Percent
ATR/Price in Percent
Purpose: This ratio helps traders understand the relative size of the ATR compared to the current price, providing a clearer sense of how significant the volatility is in proportion to the price level.
Calculation: ATR is divided by the current closing price and multiplied by 100 to express it as a percentage. This makes it easier to compare volatility across assets with different price ranges.
Plot: This is plotted as a percentage, making it easier to gauge whether the volatility is proportionally high or low compared to the asset's price.
Usage:
This indicator is designed to help identify the most volatile tokens, making it ideal for configuring a Grid Bot to maximize profit. By focusing on high-volatility assets, traders can capitalize on larger price swings within the grid, increasing the potential for more profitable trades.
Features:
Customizable Smoothing Method: Choose from RMA (Relative Moving Average), SMA (Simple Moving Average), EMA (Exponential Moving Average), or WMA (Weighted Moving Average) for both ATR and the Price Moving Average.
Dual Perspective: The indicator provides both volatility analysis (ATR) and trend analysis (Price MA) in a single view.
Proportional Volatility: The ATR/Price (%) ratio adds a layer of context by showing how volatile the asset is relative to its current price.