Breakout Detector (Previous MTF High Low Levels) [LuxAlgo]The Breakout Detector (Previous MTF High Low Levels) indicator highlights breakouts of previous high/low levels from a higher timeframe.
The indicator is able to: display take-profit/stop-loss levels based on a user selected Win/Loss ratio, detect false breakouts, and display a dashboard with various useful statistics.
Do note that previous high/low levels are subject to backpainting, that is they are drawn retrospectively in their corresponding location. Other elements in the script are not subject to backpainting.
🔶 USAGE
Breakouts occur when the price closes above a previous Higher Timeframe (HTF) High or below a previous HTF Low.
On the advent of a breakout, the closing price acts as an entry level at which a Take Profit (TP) and Stop Loss (SL) are placed. When a TP or SL level is reached, the SL/TP box border is highlighted.
When there is a breakout in the opposite direction of an active breakout, previous breakout levels stop being updated. Not reaching an SL/TP level will result in a partial loss/win,
which will result in the box being highlighted with a dotted border (default). This can also be set as a dashed or solid border.
Detection of False Breakouts (default on) can be helpful to avoid false positives, these can also be indicative of potential trend reversals.
This indicator contains visualization when a new HTF interval begins (thick vertical grey line) and a dashboard for reviewing the breakout results (both defaults enabled; and can be disabled).
As seen in the example above, the active, open breakout is colored green/red.
You can enable the setting ' Cancel TP/SL at the end of HTF ', which will stop updating previous TP/SL levels on the occurrence of a new HTF interval.
🔶 DETAILS
🔹 Principles
Every time a new timeframe period starts, the previous high and low are detected of the higher timeframe. On that bar only there won't be a breakout detection.
A breakout is confirmed when the close price breaks the previous HTF high/low
A breakout in the same direction as the active breakout is ignored.
A breakout in the opposite direction stops previous breakout levels from being updated.
Take Profit/Stop Loss, partially or not, will be highlighted in an easily interpretable manner.
🔹 Set Higher Timeframe
There are 2 options for choosing a higher timeframe:
• Choose a specific higher timeframe (in this example, Weekly higher TF on a 4h chart)
• Choose a multiple of the current timeframe (in this example, 75 minutes TF on a 15 min chart - 15 x 5)
Do mind, that when using this option, non-standard TFs can give less desired timeframe changes.
🔹 Setting Win/Loss Levels
The Stop Loss (SL) / Take Profit (TP) setting has 2 options:
W%:L% : A fixed percentage is chosen, for TP and SL.
W:L : In this case L (Loss-part) is set through Loss Settings , W (Win-part) is calculated by multiplying L , for example W : L = 2 : 1, W will be twice as large as the L .
🔹 Loss Settings
The last drawing at the right is still active (colored green/red)
The Loss part can be:
A multiple of the Average True Range (ATR) of the last 200 bars.
A multiple of the Range Cumulative Mean (RCM).
The Latest Swing (with Length setting)
Range Cumulative Mean is the sum of the Candle Range (high - low) divided by its bar index.
🔹 False Breakouts
A False Breakout is confirmed when the price of the bar immediately after the breakout bar returns above/below the breakout level.
🔹 Dashboard
🔶 ALERTS
This publication provides several alerts
Bullish/Bearish Breakout: A new Breakout.
Bullish/Bearish False Breakout: False Breakout detected, 1 bar after the Breakout.
Bullish/Bearish TP: When the TP/profit level has been reached.
Bullish/Bearish Fail: When the SL/stop-loss level has been reached.
Note that when a new Breakout causes the previous Breakout to stop being updated, only an alert is provided of the new Breakout.
🔶 SETTINGS
🔹 Set Higher Timeframe
Option : HTF/Mult
HTF : When HTF is chosen as Option , set the Higher Timeframe (higher than current TF)
Mult : When Mult is chosen as Option , set the multiple of current TF (for example 3, curr. TF 15min -> 45min)
🔹 Set Win/Loss Level
SL/TP : W:L or W%:L%: Set the Win/Loss Ratio (Take Profit/Stop Loss)
• W : L : Set the Ratio of Win (TP) against Loss (SL) . The L level is set at Loss Settings
• W% : L% : Set a fixed percentage of breakout price as SL/TP
🔹 Loss Settings
When W : L is chosen as SL/TP Option, this sets the Loss part (L)
Base :
• RCM : Range Cumulative Mean
• ATR : Average True Range of last 200 bars
• Last Swing : Last Swing Low when bullish breakout, last Swing High when bearish breakout
Multiple : x times RCM/ATR
Swing Length : Sets the 'left' period ('right' period is always 1)
Colours : colour of TP/SL box and border
Borders : Style border when breakout levels stop being updated, but TP/SL is not reached. (Default dotted dot , other option is dashed dsh or solid sol )
🔹 Extra
Show Timeframe Change : Show a grey vertical line when a new Higher Timeframe interval begins
Detect False Outbreak
Cancel TP/SL at end of HTF
🔹 Show Dashboard
Location: Location of the dashboard (Top Right or Bottom Right/Left)
Size: Text size (Tiny, Small, Normal)
See USAGE/DETAILS for more information
Pesquisar nos scripts por "high low"
52 Week High/Low FibonacciThe primary purpose of this indicator is to calculate and plot the 52-week high and low prices along with the Fibonacci retracement levels on the price chart. Fibonacci levels are commonly used in trading to identify potential support, resistance, and price reversal points.
First, the script initializes the Fibonacci levels and their corresponding colors, which will be used to plot the levels on the chart. Next, it calculates the 52-week high and low prices by finding the highest and lowest prices over the last 252 trading days, approximately equivalent to one year. Then, it identifies the overall trend direction by comparing the number of bars since the highest high and the lowest low. If the highest high is more recent, the trend is considered downwards; if the lowest low is more recent, the trend is upwards.
The script then plots the Fibonacci retracement levels on the chart, using horizontal lines at the respective price levels. It also creates labels for each level, displaying the percentage and the price value. Additionally, it draws a line connecting the 52-week high and low prices, providing a visual representation of the price range during the 52-week period.
Pros of this indicator include:
-Automatic calculation and plotting of Fibonacci levels, saving time for traders
-Clear trend identification based on 52-week high and low prices
-Visually appealing and easy-to-read chart representation with color-coded levels
-Provides insight into potential price reversal areas based on widely used Fibonacci levels
Cons of this indicator include:
-Only works on daily timeframes, limiting its usefulness for intraday and weekly traders
-Assumes that the trend will continue in the same direction, which may not always be accurate in real-world markets
-Does not provide explicit buy or sell signals, leaving the trading decision-making process up to the trader
-Solely relies on Fibonacci levels, which may not always be accurate; it is recommended to use other technical indicators or strategies alongside this indicator for a comprehensive trading approach
In conclusion, the '52 Week High Low Fibonacci' indicator is a valuable tool for traders interested in using Fibonacci levels for identifying potential price reversal points. By automatically calculating and plotting these levels based on 52-week high and low prices, the indicator provides a clear, color-coded visual aid, which can be especially helpful for traders who base their strategies on these levels.
However, it's worth noting that this indicator is limited to daily timeframes and doesn't provide explicit buy or sell signals, requiring traders to incorporate their own analysis and judgement in their decision-making process. The indicator also operates on the assumption of trend continuation, which may not always hold true.
While it's a beneficial tool, relying solely on this indicator for trading decisions may not be advisable. It's best used in conjunction with other indicators and trading strategies, providing a more balanced and comprehensive approach to trading in the financial markets. As always, risk management should be a key part of any trading strategy.
**YOUR INSIGHTFUL FEEDBACK OR SUGGESTIONS FOR REVISIONS TO THIS CODE ARE HIGHLY APPRECIATED. PLEASE FEEL FREE TO SHARE YOUR THOUGHTS TO FOSTER ITS CONTINUAL IMPROVEMENT**
[RD] high / low lines pv4 v1==================================================================
July 7 2019 - high / low lines pv4 v1 - by RootDuk
==================================================================
Easy script to draw some lines on the input variable barsback.
You can extend the lines on the sides: left, right, both or none.
With the show variables (bools) you can show or hide the lines
Lines: high to high, low to low, high to low or low to high
Easy way to find support / resistance based on the past with
extended lines. Cheers and enjoy
===================================================================
Notes
===================================================================
Hope TV (pinescript) will get color inputs for line or a type color so we can
easily create inputs for colors for lines. Now its static. If someone knows
another way, pls let me know, i'll integrate it
===================================================================
Updates
===================================================================
Non so far v1
Filter-Out Weak Pivot highs/lows, Swing highs/lows: MethodJust a simple indicator for refining the standard method of finding Pivot highs & Lows; Allowing user to filter-out weak/flat/rounded Pivot highs/lows
-Aim of this is to get pivot highs & pivot lows coded to print more in line with what the eye would naturally be drawn to as an obvious pivot high/low.
-This uses local moving average around the pivot high/low together with user-input ATR multiple, to create a condition for filtering out lacklustre pivot highs/lows.
-Thought i'd publish this separately as a tool that other coders might find useful.
//inputs//
~adjust looback/lookforward for Pivot highs/lows
~adjust 'spikiness' index to filter out less impressive pivot highs/lows (higher number = more selective)
Koalafied EdgesIndicator based on user selected periods 'edges' (highs/lows). Includes One-Time-Framing and sweeps of levels.
User selection of previous Session/Day/Week highs and lows. These will plot over the relevant period once it has completed. Intra-day there are three periods that can be plotted.
For now these are most relevant to crypto. It can be useful to think of previous levels being locations that are likely to contain liquidity that the market might sweep in the future,
as much like pivot points, traders stop orders can be found there. Session breaks are included to allow for clear delineation between user selected periods. Additionally the option
to colour the background of a specific period is given to the user, this can be useful as an aid for visual analysis of session behaviour over time.
Untapped Levels
Previous Levels (Highs/Lows) that price has not re-tested will remain on the chart. These are typically the levels that are swept for liquidity in future periods.
Sweeps
Sweeps are formed when a candle opens above/below a previous periods level, crosses it and closes back on the side of the open. Often can mark important
pivots in the market and potential reversals. Useful if you think of stop liquidity resting outside previous periods highs/lows. Market 'sweeps' the level,
taking liquidity and reverses. Alerts for these are included.
One-Time-Framing
Indicator shows One-Time-Framing (OTF) for user selection of Candle, Session, Day, and Weekly timeframes. The background between the periods highs and lows (or candle colour)
will display the OTF state. This is a Market Profile concept that isn't typically found in Tradingview Scripts.
OTF is a sequence of days or time period where you don’t get a break of the previous candles low (OTF Up) or high (OTF Down). Typically shows a market
that is trending in one direction. If it's an outside day then no OTF status, if it's an inside day then the previous period high or low hasn't been
breached so OTF status stays same.
Candle colouring. I've included the option to switch between OTF coloured candles or my Volume Extension candles. I find the Volume Extension Candles invaluable
in showing areas of high market participation and can be quite informative at significant levels often showing exhaustion at support/resistance or market strength on breakouts.
Candles not supported by rising volume are coloured black while those that are retain their colouring.
Important to note that this indicator plots prior levels only when the selected period has ended. So at the start of a new period, the high/low of the previous
period will be plotted, with untapped lines extended into the future. The indicator is designed to show you what 'has' happened and to provide areas
of interest where you may wish to initiate trades. The sweep signals are the only real-time plots.
[ADOL_]High/Low Finder Neweng.
High/Low Finder New version.
compare left / right. left is new, right is old.
Characteristic)
1. Added filtering check button. no filtering-high/low-3 stages of probability up high/low
2. Reinforcement of logic
3. Change the notation of arrows
Time frame)
You can use it all the time,
Recommended among them: 3 or 15 minutes (3minutes : scalping), 1hour
Mark)
no filtering/filtering high/low point: arrow
Probability up filtering: high point (orange), low point (blue) lettering
Standard 1)
Signal generating rod = reference rod
The breakthrough of the high and low points of the reference rod and the candle around the reference rod
Check the flow and catch the loss cut through the pressed neck.
Standard 2)
Draw a trend line from the signal generation peak to the next signal section
We use a breakthrough strategy.
Applications)
trend line with filtering
kor.
High / Low Finder 새 버전.
왼쪽 / 오른쪽을 비교합니다. 왼쪽은 새롭고 오른쪽은 오래되었습니다.
특성)
1. 필터링 체크 버튼이 추가되었습니다. 필터링 없음-높음 / 낮음 3 단계 확률 높음 / 낮음
2. 논리 강화
3. 화살표 표기법 변경
기간)
올타임가능
추천 : 3 ~ 15 분 (3 분 : 스캘핑), 1 시간
표시)
필터링 및 필터링 없는 고점,저점 : 화살표
확률업 필터링 : 고점 (주황색), 저점 (파란색) 글자로 표기
표준 1)
신호 발생 봉 = 기준 봉
기준 봉의 고점, 저점과 흐름을 확인
흐름을 확인하고 눌림목 체크
표준 2)
신호 생성 피크에서 다음 신호 섹션까지 추세선을 그립니다.
표준2응용)
필터링이있는 추세선
[ADOL_]High/Low Finders
High/Low Finders
Logic)
It is a finder that finds the signal generation of the high and low points through the candle pattern.
Candle pattern logic is composed of 6 conditions.
Chart principle)
-Chart Formula 1
Chart = Horizontal + Vertical = Price + Time
-Chart Formula 2
Chart = P+L+S+M
Point: Reference point such as inflection point and RBI
Line: Trend line, resistance line, support line, etc.
Side: Mid-range area, such as side of triangular convergence and side of box circle
Market: The range of the large trend of bullish market, decline market, and sideways market
Point in the chart formula: This is a pattern that considers the inflection point.
Chart Principle) Matryoshka
Matryoshka's principle also applies to the time frame,
Of course, it can be used in any timeframe.
Time frame)
You can use it all the time,
Recommended among them: 5 or 15 minutes (fast signal)
function)
Finds the high/low point. Alerts are available.
Mark)
-Price acceleration momentum: Arrow signal above candle.
It shows the status of the trend sensitively (quickly).
-Korean notation of high/low = basic pattern
-(Secondary) High/Low Emoticon Mark = Complementary Pattern
The place where korean and emoticons overlap is strong,
Approach to short-term entry when a single signal occurs rather than overlapping
standard1)
Signal generating rod = reference rod
The breakthrough of the high and low points of the reference rod and the candle around the reference rod
Check the flow and catch the loss cut through the pressed neck.
Standard 2)
Draw a trend line from the signal generation peak to the next signal section
We use a breakthrough strategy.
Response)
Risk can be lowered when approaching by splitting.
Application) More strategies for users.
High/Low Finders(고점, 저점 탐색기)
로직)
캔들패턴을 통해 고점과 저점의 신호발생을 찾아주는 FINDER 입니다.
캔들패턴 로직에는 6가지의 조건이 복합구성되어 있습니다.
차트의 원리)
- 차트공식1
차트 = 가로 + 세로 = 가격 + 시간
- 차트공식2
차트 = 점선면장
점 : 변곡점, 타점 등의 기준점
선 : 추세선, 저항선, 지지선 등 단~중범위 흐름
면 : 삼각수렴의 면, 박스권의 면 등 중범위 영역
장 : 상승장,하락장,횡보장의 大추세 범위
차트의 공식중에서 점 : 변곡점을 고려한 패턴입니다.
차트원리) 마트료시카
마트료시카의 원리는 타임프레임에도 적용되므로
당연히 모든 타임프레임에서 사용 가능합니다.
타임프레임)
모든시간 사용가능하지만,
그중에서 굳이 추천 : 5, 15분봉(빠른 신호)
기능)
고점/저점을 찾아줍니다. 얼러트 사용 가능합니다.
표기)
- 가격가속모멘텀 : 캔들 위 화살표 신호.
트렌드의 상태를 민감하게(빠르게) 보여줍니다.
- 고점/저점의 한글표기 = 기본패턴
- (보조)고점/저점 이모티콘 표기 = 보완패턴
한글과 이모티콘의 중첩되는 자리가 강하며,
중첩이 아닌 단일 신호 발생시 단기적인 진입으로 접근
기준1)
신호발생봉 = 기준봉
기준봉의 고점, 저점의 돌파와 기준봉 주변 캔들의
흐름을 확인하고 눌림목을 통해 로스컷을 잡습니다.
기준2)
신호발생봉 이후 다음신호구간까지 추세선을 긋고
돌파전략을 구사합니다.
대응)
분할로 접근시 리스크를 낮출 수 있습니다.
예시)
응용) 더 많은 전략은 유저를 위해.
Multi Ticker Session Opening High Low RangeThe Multi Ticker Session Opening High Low Range Indicator by the Caretaker.
The original idea for this indicator came out of a request from Krown's Crypto Cave community member ZFelds.
This indicator is designed to display the High / Low Ranges of the "on chart" asset, at a chosen resolution from the opening time of, and for the duration of, the chosen Ticker Sessions (up to 3) .
Its function is to allow the user to easily keep track of the session times of the major world indices, and the reaction of the on chart assets price from the opening of the ticker sessions over the duration of the ticker sessions.
Typically used for a guide when scalp trading on low time-frames by plotting the opening 1 or 5 minute High/Low trading range of an asset during the start of a major market opening up an d making trading decisions based on the reaction of Price Action around those levels.
It does this by plotting High / Low Range bands (plus mid-lines) which displays the High and Low range of the on chart assets opening candle at the chosen time resolution for the chosen ticker (Defaults : SPX, NI225, UKX).
The Range bands fill colour changes depending on whether the chart asset closes candles within, above, or below the range (Default : Silver, Green, Red).
It plots optional Background "Session Bars" and "Session Banners" which function to clearly show the session.
The background "Session bars" can be set to plot just the first bar as a signal or on all session bars.
The "Session Banners" are horizontal lines of chosen width which "float" above the chart data.
Optional info text-boxes also "float" above the chart data and function to display the session opening range information.
(Ticker symbol, Opening range time resolution, Session open high & low).
The text-boxes can be set to full label or short label.
The text-boxes can be set to the left or center of the session.
The height offset by which the text-boxes and banners float above the highest high of the range is alterable in the settings.
The text-boxes and banners also have a "clash avoidance" function which will offset their heights to help avoid them clashing on screen (This offset is alterable in the settings).
CryptoSignalScanner - Double High/Low & Engulfing IndicatorDESCRIPTION:
This script has been designed to show the double high/low candle patterns and the Engulfing candles patterns.
• This scripts is based on RSI length.
• It displays a label when a Double High or Double Low candle pattern is detected.
• It displays a label when a Bullish Engulfing or Bearish Engulfing candle pattern is detected.
• It is also possibility to set a Double High/Low, Double High, Double Low, Bullish/Bearish Engulfing, Bullish Engulfing, or Bearish Engulfing alert.
HOW TO USE:
• When a Double High signal appears it means that we have probably or temporarily stopped the uptrend and could see a reversal. Most likely we will see a downtrend from here.
• When a Double Low signal appears it means that we have probably or temporarily stopped the downtrend and probably could see a reversal. Most likely we will see an uptrend from here.
• When a Bullish Engulfing candle appears it means that we probably made a reversal to the upside. Bullish Engulfing patterns are more likely to signal reversals when they are preceded by three or more red candlesticks.
• When a Bearish Engulfing candle appears it means that we probably made a reversal to the downside. Bearish Engulfing patterns are more likely to signal reversals when they are preceded by three or more green candlesticks.
• Wait for a clear reversal to buy or to sell. Use the Fibonacci tool together with the Eliot Waves to help you with this.
FEATURES:
• You can show/hide the labels based on RSI length and high/low input values.
• You can show/hide the labels based on the % candle match.
• You can show/hide the Double High/Low labels.
• You can show/hide the Bullish/Bearish Engulfing labels.
HOW TO GET ACCESS TO THE SCRIPT:
• Use the link below to subscribe to our indicators.
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
The CryptoSignalScanner Team
FXTDPR Dual Timeframe High-Low BoxesThe "Dual Timeframe High-Low Boxes" indicator is designed to visualize price ranges and key levels across two user-defined timeframes (default: 15-minute and 4-hour) on the same chart. It draws rectangular boxes representing the high and low price levels within each timeframe, along with a horizontal line indicating the opening price of the timeframe. Labels are added to mark the opening price with bilingual text (English/Turkish). The indicator is highly customizable, allowing users to adjust timeframes, colors, transparency, line styles, and display options.
// Key Features:
// 1. **Dual Timeframe Support**: Simultaneously displays boxes for two timeframes (e.g., 15M and 4H), enabling analysis of both short-term and long-term price movements.
// 2. **High-Low Boxes**: Each box represents the highest and lowest prices within the selected timeframe, dynamically updating as new highs or lows occur.
// 3. **Opening Price Line**: A horizontal line is drawn at the opening price of each timeframe, fixed from the start to the end of the timeframe period.
// 4. **Bilingual Labels**: Labels display the timeframe and opening price in both English and Turkish (e.g., "15M Open Price / Açılış Fiyatı") for enhanced accessibility.
// 5. **Customizable Display**: Users can choose to display boxes for both timeframes, only Timeframe 1, or only Timeframe 2 via the "Display Timeframes" setting.
// 6. **Color and Style Customization**: Separate settings for bullish/bearish box colors, opening price line color, line style (solid, dashed, dotted), and label text color for each timeframe.
// 7. **Transparency Control**: Adjustable transparency for boxes to prevent chart clutter.
// 8. **Performance Optimization**: Limits the number of displayed boxes to 500 (via max_boxes_count) to ensure smooth performance.
// 9. **Accurate Timing**: Boxes start precisely at the beginning of each timeframe’s candle (e.g., 16:45 for 15M, 00:00 for 4H), ensuring alignment with the selected timeframe.
// 10. **No Input Confirmation**: The indicator starts with default settings (15M and 4H, both displayed) without requiring user confirmation, streamlining the setup process.
// How It Works:
// - The indicator uses request.security() to fetch time data for the user-defined timeframes and detects new timeframe periods using ta.change().
// - For each timeframe, it initializes a box at the start of the period, setting the initial high, low, and open prices.
// - As new candles form within the timeframe, the box’s high and low boundaries are updated to reflect the highest and lowest prices.
// - The box color changes based on whether the closing price is above (bullish) or below (bearish) the opening price.
// - A fixed horizontal line is drawn at the opening price, spanning the timeframe’s duration, with a label at the end of the box indicating the timeframe and opening price.
// - Users can toggle between displaying both timeframes or a single timeframe, with all settings (colors, styles, transparency) applied independently for each timeframe.
// Usage:
// - Add the indicator to your chart, and it will automatically display 15M and 4H boxes with default settings.
// - Use the settings menu to customize timeframes, colors, line styles, transparency, or to select which timeframes to display.
// - Ideal for identifying support/resistance levels, breakout opportunities, or trend analysis across multiple timeframes.
// Notes:
// - For optimal performance, use a chart timeframe equal to or lower than the smaller selected timeframe (e.g., 15M chart for 15M and 4H boxes).
// - The indicator is designed for flexibility, supporting timeframes from 1 minute to monthly periods.
// - To avoid chart clutter, adjust transparency settings or reduce max_boxes_count for long historical data.
HTF Highs Lows [JV]█ OVERVIEW
This script presents a label with an overview of higher timeframe highs and lows. This can be useful information as we all know that price likes to revisit previous highs and lows area, specially on the higher timeframe.
█ CONCEPTS
This information can be relevant and valuable for various reasons:
Finding horizontal Support and Resistance
Get a better view on Market Structure
Provide some information about Order Flow
TrendLines
...
█ FEATURES
Plots
This script provides the option to show information about 3 timeframes
Each timeframe can be separately shown or hidden
The Y position of the info label can be user defined, based on high or low of the chosen timeframe
The X offset of the info label can be adjusted to the user's liking and the chart resolution
The label color and text color can be user defined
The info label's size can be user defined
█ NOTES
Caveat
The timeframes must be chosen in order of size. Meaning that the highest timeframe should be on top. This is title as such on the info label, but I want to mention it again as it's something to pay attention to.
Repainting
The question that pops up all the time is: Does it repaint ?
I will quote PineCoders on this:
We're pretty sure Wilder was not asked very often if RSI repainted. Why? Because it wasn't in fashion—and largely unnecessary—to ask that sort of question in the 80's. Many traders back then used daily charts only, and indicator values were calculated at the day's close, so everybody knew what they were getting. Additionally, indicator values were calculated by generally reputable outfits or traders themselves, so data was pretty reliable. Today, almost anybody can write a simple indicator, and the programming languages used to write them are complex enough for some coders lacking the caution, know-how or ethics of the best professional coders, to get in over their heads and produce code that does not work the way they think it does.
Briefly: yes, it repaints and no it does not matter.
Simple because we are working with highs and lows on a higher timeframe. So if we get a new high or low within a certain time frame, we want this new high or low to be displayed and, for me, it's not relevant if this information appears when it happens or when the candle closes.
Questions & Suggestions
Questions, suggestions or even a word of thanks are always welcomed in the comments section. I usually answer within the same day.
█ THANKS
A word of thanks to, and I hope I am allowed to use hyperlinks here, LonesomeTheBlue for being an inspiration on coding style and his work on arrays in Pine Script and to lmatl for his support, words of advice and letting me borrow his brain now and then.
Volume with High/Low ColoringThe "Volume with High/Low Coloring" indicator is designed to help traders visually differentiate between high, low, and normal volume bars relative to recent historical averages. By applying dynamic color coding and customizable thresholds, this indicator enhances volume analysis and improves your ability to spot key moments of accumulation, distribution, or market inactivity.
High Volume: A bar is marked as high volume when it exceeds the average by a customizable multiplier (default is 1.5×) .
Low Volume: A bar is considered low volume when it falls below the average by another multiplier (default is 0.5×) .
Normal Volume: All bars that fall between the high and low thresholds.
Each category is displayed in a different user-selectable color, providing instant visual feedback for volume dynamics.
Customizable Colors:
High Volume: Light Green (default: semi-transparent green)
Low Volume: Light Blue (default: semi-transparent blue)
Normal Volume: Yellow (default: semi-transparent yellow)
Average Volume Line: Gray (optional reference line)
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
Trading Session Highs and LowsTrading Session Highs and Lows
This script provides an intuitive way to visualize key market levels from major trading sessions: Asia, London, New York, and New York Close. By automatically plotting the high and low of each session, it helps traders quickly identify important price levels that could impact market behavior.
Features include:
Session Marking: The script marks the high and low for each major session (Asia, London, New York, and New York Close).
Customizable Lines and Labels: You can adjust the line style, width, and color for each session’s high/low markers. The session name (e.g., "London", "New York") and the PDH/PDL (Prior Day High and Low) are also shown to give clear context.
Real-Time Updates: The levels are updated in real-time to reflect the current price action, helping you gauge price movement throughout the trading day.
Customizable Indicators: Easily adjust the visibility of the different sessions and the labels to focus on the session that matters most to your trading strategy.
This tool is designed to help day traders spot important levels for potential breakouts or reversals, making it easier to base your trading decisions on well-established price points. Ideal for scalpers, swing traders, and anyone who trades across multiple sessions.
London ORB + Session High/Low + FVGLondon ORB + Session High/Low + FVG
📘 Script Description: London ORB + Session High/Low + Fair Value Gap
This script is designed to assist intraday traders during the London session open by combining:
🕒 1. Opening Range Breakout (ORB)
Captures the high and low of the first 15-minute candle after the London open (08:00–08:15 GMT).
Draws lines and labels for the ORB High and Low levels.
Detects breakouts above or below the ORB and plots a triangle signal at the breakout bar.
🌐 2. Asian & US Session Levels
Automatically marks the highs and lows of the Asian (00:00–06:00 GMT) and US (13:30–20:00 GMT) sessions.
Useful for identifying prior session liquidity zones, key support/resistance levels, and potential reaction areas.
📉 3. Fair Value Gaps (FVG)
Highlights imbalances in price action between non-overlapping candles (also known as FVGs or inefficiencies).
Draws a shaded box between candles where gaps exist:
Green for bullish FVGs
Red for bearish FVGs
🔔 4. Alert Support
Optional alerts are built in for:
Long breakout (price breaks above ORB)
Short breakout (price breaks below ORB)
🎯 Use Case
Perfect for:
Day traders looking to capitalize on early volatility at the London open
Traders using liquidity-based strategies, retests, or gap-fills
Visualizing and aligning with prior session highs/lows for structure and context
Previous Week & Day High/LowPrevious Week & Day High/Low Indicator
The Previous Week & Day High/Low Indicator is designed to provide traders with key support and resistance levels based on historical price data. It automatically plots the previous day's and previous week's highs and lows as horizontal lines, offering a clear visual reference for potential breakout or reversal zones.
Features:
Clear Visual Levels: Displays previous day's highs and lows in green and red for easy identification.
Weekly Context: Plots previous week's highs and lows using distinct color-coded lines.
Real-Time Updates: Adjusts to new weekly and daily highs and lows as they are confirmed.
Labeled Lines: Each level is labeled directly on the chart, ensuring clarity without clutter.
Previous HTF Highs, Lows & Equilibriums [dani]Previous HTF Highs, Lows & Equilibriums
Indicator Description
This powerful and user-friendly indicator is designed to help traders visualize key levels from multiple higher timeframes directly on their chart. It plots the previous session's high, low, and equilibrium (EQ) levels for up to 4 customizable timeframes, allowing you to analyze price action across different time horizons simultaneously.
Key Features
Multi-Timeframe Support:
Choose up to 4 higher timeframes (e.g., 1H, 4H, 1D, 1W) to plot levels on your chart.
Each timeframe's levels are displayed with clear, customizable lines.
Previous Session Levels:
Plots the previous session's high, low, and EQ (EQ = (high + low) / 2) for each selected timeframe.
Levels are dynamically updated at the start of each new session.
Customizable Line Styles:
Choose between solid, dashed, or dotted lines for each level.
Customize colors for high, low, and EQ levels to suit your preferences.
Dynamic Labels:
Each level is labeled with the corresponding timeframe (e.g., "1D - H" for daily high, "4H - L" for 4-hour low).
Labels are positioned dynamically to avoid clutter and ensure readability.
Toggle On/Off:
Easily toggle the visibility of all levels with a single button, making it simple to declutter your chart when needed.
Compatible with All Markets:
Works seamlessly across all instruments (stocks, forex, crypto, futures, etc.) and timeframes.
How to Use?
Add the indicator to your chart.
Select up to 4 higher timeframes to plot levels.
Customize line styles and colors to match your trading style.
Use the levels as reference points for support/resistance, breakout zones, or confluence areas.
Toggle levels on/off as needed to keep your chart clean and focused.
Disclaimer & Chat
This indicator is not a trading signal generator. It does not predict market direction or provide buy/sell signals. Instead, it is a tool to help you visualize key levels from higher timeframes, enabling you to make more informed trading decisions. Always combine this tool with your own analysis, risk management, and trading strategy.
Thank you for choosing this indicator! I hope it becomes a valuable part of your trading toolkit. Remember, trading is a journey, and having the right tools can make all the difference. Whether you're a seasoned trader or just starting out, this indicator is designed to help you stay organized and focused on what matters most—price action. Happy trading, and may your charts be ever in your favor! 😊
From, Dani.
52-Week & 5-Year High/Low with DatesThis indicator is designed to help traders quickly identify key price levels and their historical context by displaying the 52-week high/low and 5-year high/low prices along with their respective dates. It provides a clear visual representation of these levels directly on the chart and in a dashboard table for easy reference.
Key Features
52-Week High/Low:
Displays the highest and lowest prices over the last 252 trading days (approximately 52 weeks).
Includes the exact date when these levels were reached.
5-Year High/Low:
Displays the highest and lowest prices over the last 1260 trading days (approximately 5 years).
Includes the exact date when these levels were reached.
Visual Labels:
High and low levels are marked on the chart with labels that include the price and date.
Dashboard Table:
A table in the top-right corner of the chart summarizes the 52-week and 5-year high/low prices and their dates for quick reference.
Customizable Date Format:
Dates are displayed in the YYYY-MM-DD format for clarity and consistency.
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.
Break of High/Low with Volume, MACD, and MAsHow It Works:
Sessions:
The London session is defined between 8:00 and 16:00 UTC.
The New York session is defined between 13:00 and 21:00 UTC.
Previous High/Low:
The script identifies the highest high and lowest low from the previous bar using ta.highest(high, 1) and ta.lowest(low, 1) .
Candle Body Size:
The script calculates the size of the current candle's body and checks if it is at least double the size of the previous candle's body.
Volume Check:
A high volume threshold is set as 1.5 times the 50-period SMA of the volume.
MACD Crossover:
The script calculates the MACD and its signal line and checks for bullish (buy) or bearish (sell) crossovers.
Signals:
A long signal (buy) is generated if the price breaks the previous high with a large body candle, high volume, and a bullish MACD crossover during the specified sessions.
A short signal (sell) is generated if the price breaks the previous low with a large body candle, high volume, and a bearish MACD crossover during the specified sessions.
Plotting:
The 50-period and 200-period moving averages, previous high, and previous low are plotted on the chart.
If a long condition is met, a "BUY" label is displayed below the bar. If a short condition is met, a "SELL" label is displayed above the bar.
Alerts:
Alerts are triggered whenever the conditions for a long or short trade are met.
Customization:
Feel free to adjust the session times, volume threshold, MACD settings, or moving averages based on your trading strategy or the specific asset you are trading.
Session High Low
This indicator shows Session High Low line and prices.
1: Session range is adjustable based on your timeframe. Nomore confusing timezone settings.
You can choose your timezone then set your Session start and end time.
Script will show you the following session high and low lines which is extendable until next session.
2: All historical lines and price levels are can be partially or fully hidden.
And line colors are adjustable so you can use suitable color on your chart.
Based on session you choose this script can be used as a session break strategy AKA (Asian session break, London session break strategy).
You can create your own trading Session and high lows.
Personally I monitor how price reacts on London session high lows during the NewYork trading session.
In this chart Session starts at 8am (London open) and closes at 12:30 (NewYork open). Script is showing high lows only in this session range.
Always double confirm with your trading style. It's not a Financial advice.
Inputs:
1: Hide history - Hides all historical lines and prices that means you can see only todays session.
2: Show price - Shows price level of session high lows. You can hide price level if you want to see only lines.
3: Session time - You can set your time range of session.
4: Start time - Session start time. You can see vertical line on your chart or you can hide line.
5: End time - Session end time. You can see vertical line on your chart or you can hide line.
6: Line extend time - End of the high low lines. You can draw line until the end of the session or you can draw short line.
7: All line and price colors are optional.
Thank you.
Donchian Channel - Pivot High-LowCombining Pivot High Low and Donchian Channel - both of which are useful indicators for trend following.
Donchian Channel shows highest and lowest prices for X number of bars.
Pivot High-Low identifies when price made new Highs and Lows
Applying Donchian Channel on Pivot High-Low channel, we are plotting highest and lowest pivots formed in X bars.
In this indicator, we have 3 options for Channel Base :
Price : This is regular Donchian channel based on High-Low Price
Pivots : This is Donchian channel based on pivot points.
Combined : Combines both. Takes highest of Price and Pivots for plotting high, lowest of Price and Pivots for plotting low
Previous Day High Low [NLB]Hello Everyone Its Previous Day High Low Indicator but advance and many of features.
How to work its indicator?
➤ Its Previous day high low indicator if Previous day high break when Long signal if Previous day Low break when Short signal & you can also add buffer with Previous day high or Low
Indicator Feature
➤ Long Signal with Alert
➤ Short Long Signal with Alert
➤ Take Profit with Alerts calculate by Previous day high or low by default 1 percent you can also change values
➤ Trailing Stop Loss with Alerts
➤ Previous Day High or Low Buffer
➤ Take Profit, Buffer, Trailing Stop Loss Value You can also choose Percentage or Point by default percent
Important: This Indicator we are using for Automation Trading if You Want This Indicator Access Please Contact me PM on Tradingview
Session High and Session LowI have heard many people ask for a script that will identify the high and low of a specific session. So, I made one.
Important Note: This indicator has to be set up properly or you will get an error. Important things to note are the length of the range and the session definition. The idea is that you would set it up for what's relevant to your trading. Going too far back in the chart history will cause errors. Setting the session for a time that is not on the chart can cause errors. If you set it to look farther back than there are bars to display, you may get an error. What I've found is that if you get an error, you just need to change the settings to reflect available data and it will be able to compile the script. At the time of its publishing, the default range start is set to 10/01/2020. If you're looking at this years later, you'll probably have to set the range to something more recent.
Features:
Plot or Lines:
Using Plot (displayed), the indicator will track the high/low from the end of the session into the next session. Then at the start of the next session, it will start tracking the high/low of that session until its end, then track that high/low until the start of the next session then reset.
Using lines, it will extend horizontal lines to the right indefinitely. The number of sessions back that the lines apply to is a user-defined number of sessions. There are limits to the number of lines that can be cast on a chart (roughly 40-50). So, the maximum number of sessions you can apply the lines to is the last 21 sessions (42 lines total). That gets really noisy though so I can't imagine that is a limiting factor.
Colors:
You can change the background color and its transparency, as well as turn the background color on or off.
You can change the highs and lows colors
You can adjust the line width to your preference
Session Length:
You can use a continuous session covering any user-defined period (provided its not tooooo many candles back)
You can define the session length for intraday
You can exclude weekends
Display Options:
You can adjust the colors, transparency, and linewidth
You can display the plotline or horizontal lines
You can show/hide the background color.
You can change how many sessions back the horizontal lines will track
Let me know if there's anything this script is missing or if you run into any issues that I might be able to help resolve.
Here's what it looks like with Lines for the last 5 sessions and different background color.