10 EMA Break with Volume ConfirmationTracks when price breaks above or below 10 EMA with above average volume useful for meaningful breaks above or below as well as false breaks with easy to read icons
enjoy :)
Falsebreakout
Swing Failure Pattern SFP [TradingFinder] SFP ICT Strategy🔵 Introduction
The Swing Failure Pattern (SFP), also referred to as a "Fake Breakout" or "False Breakout," is a vital concept in technical analysis. This pattern is derived from classic technical analysis, price action strategies, ICT concepts, and Smart Money Concepts.
It’s frequently utilized by traders to identify potential trend reversals in financial markets, especially in volatile markets like cryptocurrencies and forex. SFP helps traders recognize failed attempts to breach key support or resistance levels, providing strategic opportunities for trades.
The Swing Failure Pattern (SFP) is a popular strategy among traders used to identify false breakouts and potential trend reversals in the market. This strategy involves spotting moments where the price attempts to break above or below a previous high or low (breakout) but fails to sustain the move, leading to a sharp reversal.
Traders use this strategy to identify liquidity zones where stop orders (stop hunt) are typically placed and targeted by larger market participants or whales.
When the price penetrates these areas but fails to hold the levels, a liquidity sweep occurs, signaling exhaustion in the trend and a potential reversal. This strategy allows traders to enter the market at the right time and capitalize on opportunities created by false breakouts.
🟣 Types of SFP
When analyzing SFPs, two main variations are essential :
Real SFP : This occurs when the price breaks a critical level but fails to close above it, then quickly reverses. Due to its clarity and strong signal, this SFP type is highly reliable for traders.
Considerable SFP : In this scenario, the price closes slightly above a key level but quickly declines. Although significant, it is not as definitive or trustworthy as a Real SFP.
🟣 Understanding SFP
The Swing Failure Pattern, or False Breakout, is identified when the price momentarily breaks a crucial support or resistance level but cannot maintain the movement, leading to a rapid reversal.
The pattern can be categorized as follows :
Bullish SFP : This type occurs when the price dips below a support level but rebounds above it, signaling that sellers failed to push the price lower, indicating a potential upward trend.
Bearish SFP : This pattern forms when the price surpasses a resistance level but fails to hold, suggesting that buyers couldn’t maintain the higher price, leading to a potential decline.
🔵 How to Use
To effectively identify an SFP or Fake Breakout on a price chart, traders should follow these steps :
Identify Key Levels: Locate significant support or resistance levels on the chart.
Observe the Fake Breakout: The price should break the identified level but fail to close beyond it.
Monitor Price Reversal: After the breakout, the price should quickly reverse direction.
Execute the Trade: Traders typically enter the market after confirming the SFP.
🟣 Examples
Bullish Example : Bitcoin breaks below a $30,000 support level, drops to $29,000, but closes above $30,000 by the end of the day, signaling a Real Bullish SFP.
Bearish Example : Ethereum surpasses a $2,000 resistance level, rises to $2,100, but then falls back below $2,000, forming a Bearish SFP.
🟣 Pros and Cons of SFP
Pros :
Effective in identifying strong reversal points.
Offers a favorable risk-to-reward ratio.
Applicable across different timeframes.
Cons :
Requires experience and deep market understanding.
Risk of encountering false breakouts.
Should be combined with other technical tools for optimal effectiveness.
🔵 Settings
🟣 Logical settings
Swing period : You can set the swing detection period.
SFP Type : Choose between "All", "Real" and "Considerable" modes to identify the swing failure pattern.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
🟣 Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings
Alert SFP : Enables alerts for Swing Failure Pattern.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Swing Failure Pattern (SFP), or False Breakout, is an essential analytical tool that assists traders in identifying key market reversal points for successful trading.
By understanding the nuances between Real SFP and Considerable SFP, and integrating this pattern with other technical analysis tools, traders can make more informed decisions and better manage their trading risks.
False Breakouts [TradingFinder] Fake Breakouts Failure🔵 Introduction
Technical indicators are essential tools for analysts and traders in financial markets, helping them predict price movements and make better trading decisions. One of the key concepts in technical analysis that should be carefully considered is the "False Breakout."
This phenomenon occurs when a price temporarily breaks through a significant support or resistance level but fails to hold and quickly returns to its previous range. Understanding this concept and applying it in trading can reduce risks and increase profitability.
🟣 What is a False Breakout?
A Fake Breakout, as the name suggests, refers to a breakout that appears to occur but fails to sustain, leading the price to quickly revert back to its previous range. This situation often happens when inexperienced or non-professional traders, under psychological pressure and eager to enter the market quickly, initiate trades.
This creates opportunities for professional traders to take advantage of these short-term fluctuations and execute successful trades.
🟣 The Importance of Recognizing False Breakouts
Recognizing False Breakouts is crucial for any trader aiming for success in financial markets. False Breakouts typically occur when the market approaches a critical support or resistance level.
In these situations, many traders are waiting to see if the price will break through this level. However, when the price quickly returns to its previous range, it indicates weakness in the movement and the inability to sustain the breakout.
🟣 How to identify False Breakouts?
To identify Fake Breakouts, it is important to carefully analyze price charts and look for signs of a quick price reversal after breaking a key level.
Here are some chart patterns that may help you identify a False Breakout :
1. Pin Bar Pattern : The Pin Bar is a candlestick pattern that indicates a price reversal. This pattern usually appears near support and resistance levels, showing that the price attempted to break through a key level but failed and reversed.
2. Fakey Pattern : This pattern, which consists of several candlesticks, indicates a False Breakout and a quick price return to the previous range. It usually appears near key levels and can signal a trend reversal.
3. Using Multiple Timeframes : One way to identify False Breakouts is by using charts of different timeframes. Sometimes, a breakout on a one-hour chart may be a False Breakout on a daily chart. Analyzing charts across multiple timeframes can help you accurately identify this phenomenon.
🔵 How to Use
Once you identify a False Breakout, you can use it as a trading signal. For this, it is best to look for trading opportunities in the opposite direction of the False Breakout. In other words, if a False Breakout occurs at a resistance level, you might consider selling opportunities, and if it happens at a support level, you might look for buying opportunities.
Here are some key points for trading based on False Breakouts :
1. Patience and Discipline : Patience and discipline are crucial when trading with False Breakouts. Wait for the False Breakout to clearly form before entering a trade.
2. Use Stop Loss : Setting an appropriate stop loss is vital when trading based on False Breakouts. Typically, the stop loss can be placed near the level where the False Breakout occurred.
3. Seek Confirmations : Before entering a trade, look for additional confirmations. These can include other analyses or technical indicators that show the price is likely to return to its previous level.
🔵 Settings
🟣 Logical settings
Swing period : You can set the swing detection period.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Bac k: You can set the number of swings that will go back for checking.
🟣 Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings
Alert False Breakout : Enables alerts for Breakout.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵Conclusion
False Breakouts, as a key concept in technical analysis, are powerful tools for identifying sudden price changes and using them in trading. Understanding this phenomenon and applying it can help traders perform better in financial markets and avoid potential losses.
To benefit from False Breakouts, traders need to carefully analyze charts and use the appropriate analytical tools. By leveraging this strategy, traders can achieve lower-risk and higher-reward trades.
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
TouchedLibrary "Touched"
Breakout(zone, lookback)
Tells if the zone has been broken on the current bar.
Parameters:
zone (Zone) : The definitiin of the zone.
lookback (int) : How many bars to look back.
Returns: a Touch object that tells if the zone has been broken up or down.
FalseBreakout(zone, lookback)
Tells if the zone has a false breakout on the current bar.
Parameters:
zone (Zone) : The definitiin of the zone.
lookback (int) : How many bars to look back.
Returns: a Touch object that tells if the zone has had a false breakout up or down.
Retest(zone, lookback)
Tells if the zone has been retested on the current bar.
Parameters:
zone (Zone) : The definitiin of the zone.
lookback (int) : How many bars to look back.
Returns: a Touch object that tells if the zone has been retested up or down.
Zone
Fields:
High (series__float)
Low (series__float)
BaseTime (series__integer)
Touch
Fields:
Up (series__bool)
Down (series__bool)
Turtle Soup IndicatorTurtle Soup Indicator plots a shape when we have a 20-period high or 20-period low.
Turtle Soup Setup
The Turtle Soup setup was published in the book Street Smarts by Laurence A Connors and Linda Raschke. You can learn about it there. It is a great setup for false breakouts or breakdowns in the group failure tests.
Going long
1) We have a new 20-period low
2) that must have occured at least four trading sessions earlier <- this is very important
Then we place a buy stop above 5-10 ticks or 5 to 10 cents above the previous 20-period low.
If filled immediately place a good til cancelled sell stop one tick or one cent below todays low.
Turtle Soup Plus One
Similar to above but occurs one day later. It should close at/below previous 20-period low.
Buy stop at earlier 20 day low. Cancel fi not filled on day 2.
Take partials within 2-6 bars on this one and trail stop rest of position.
Going short
Reverse
Time frames
Works on all timeframes. Only adjust stoplosses accordingly to chosen timeframe.
Settings
You can change the color, shape and placement of the indicator shape. I actually prefer a grey color for both highs and lows as the color actually doesn't add much information. The placement says it all but it is up to you to change this as you like.
2B Reversal Pattern (Expo)█ Overview
The 2B reversal pattern , also called the "spring pattern", is a popular chart pattern professional traders use to identify potential trend reversals. It occurs when the price appears to be breaking down or up and then suddenly bounces back up/down, forming a "spring" or "false breakout" pattern. This pattern indicates that the trend is losing momentum and that a reversal is coming.
In a bearish market , the "spring pattern" occurs when the price of an asset breaks below a support level, causing many traders to sell their positions and causing the price to drop even further. However, the selling pressure eases at some point, and the price begins to rebound, "springing" back above the support level. This rebound creates a long opportunity for traders who can enter the market at a lower price.
In a bullish market , the "spring pattern" occurs when the price of an asset breaks above a resistance level, causing many traders to buy into the asset and drive the price up even further. However, the buying pressure eases at some point, and the price begins to decline, "springing" below the resistance level. This decline creates a selling opportunity for traders who can short the market at a higher price.
█ What are the benefits of using the 2B Reversal Pattern?
The benefits of using the 2B Reversal pattern as a trader include identifying potential buying or selling opportunities with reduced risk. By waiting for the price to "spring back" to the initial breakout level, traders can avoid entering the market too soon and minimize the risk of potential losses.
█ How to use
Traders can use the 2B reversal pattern to identify reversals. If the pattern occurs after an uptrend, traders may sell their long positions or enter a short position, anticipating a reversal to a downtrend. If the pattern occurs after a downtrend, traders may sell their short positions or enter a long position, anticipating a reversal to an uptrend.
█ Consolidation Strategy
First, traders should identify a period of price consolidation or a trading range where the price has been trading sideways for some time. The key feature of the "spring pattern" is a sudden, sharp move downward/upwards through the lower/upper boundary of this trading range, often accompanied by high volume.
However, instead of continuing to move lower/higher, the price then quickly recovers and moves back into the trading range, often on low volume. This quick recovery is the "spring" part of the pattern and suggests that the market has rejected the lower/higher price and that buying/selling pressure is building.
Traders may use the "spring pattern" as a signal to buy/sell the asset, suggesting strong demand/supply for the stock at the lower/higher price level. However, as with all trading strategies, it is important to use other indicators and to manage risk to minimize potential losses carefully.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
False Breakout (Expo)█ Overview
False Breakout (Expo) is an indicator that detects false breakouts in real-time. A false breakout occurs when the price moves through a certain level but doesn't continue to accelerate in that direction. This is because the price does not have enough momentum and the buying interest at this level is not high enough to keep pushing the price in that direction. Instead, the market reverses! All breakout traders are now forced to close their positions at a loss. However, contrarian traders that have identified this false breakout do get a perfect entry for a great reversal trade!
False Breakout is one of the most important price action trading patterns to learn because it can help traders understand whether a breakout is valid or false.
█ How to use
Identify False Breakouts
Identify Reversal trades
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Volume Status by BobRivera990This indicator is a tool that shows a relative view of the trading volume and classifies the volume into 5 different levels and makes it easy to compare it in different periods.
It is also specifically designed for detecting failed (fake) breakouts.
How it works?
This tool uses something similar to Bollinger Bands , but with more bands.
I used two standard deviations (positive and negative) on either side of a simple moving average ( SMA ) of the trading volume .
I also used twice the standard deviation (negative and positive) on either side of the SMA to create more bands.
The classification is made as follows:
Usage:
This indicator is a tool to compare the volume , relatively and in different periods. It is also a good tool for detecting failed (fake) breakouts.
Fake Breakouts Occurs when a support or resistance is broken but the market does not accept and support these price changes. This lack of support will cause trading volume to decrease during or after the breakout.
So, if the indicator shows Low-Volume or Minor-Volume status at the time of the breakout or right after that, it may be a fake breakout.
The truth is you cannot avoid false breakouts completely as long as you trade breakouts but you can minimize the risk and the loss.
Thank you all for forming this unique community.
Parameters:
" Volume SMA Length " => The length of the simple moving average of the Volume
stop out or margin call price levelsAbstract
This script finds the potential stop out or margin call price levels without considering timeframe.
This script computes stop out or margin call price levels that over leveraged positions buy cheap enough.
You can use this indicator to follow stop hunters.
Introduction
Stop hunting exists because of benefit conflict.
When most of retails traders are in the correct direction, big banks do not want to buy more expensive then retail traders.
Therefore, Big banks create sell pressure to make retail traders misunderstand their trade decisions are wrong.
When retail traders decide to cut loss, it is time big banks buy cheaper.
Many courses recommend average true range as a stop loss reference.
However, in different timeframe, average true ranges are different.
Therefore, we need to have a method to measure potential stop hunting levels which is not relative to timeframe.
There is a method because there are observable levels where over leveraged positions must cut loss.
For example, for a 100 leverage position, its margin call level is 0.005, so 0.005 drawdown is a potential stop hunting level.
Computing
For buy
potential stop out or margin call price level = low * ( 1 - ratio )
For sell
potential stop out or margin call price level = high * ( 1 + ratio )
Parameters
There are 4 levels available for adjusting.
The default values are :
(1) 0.001 : 500 leverage , 50% margin call
(2) 0.0025 : 200 leverage , 50% margin call
(3) 0.005 : 100 leverage , 50% margin call
(4) 0.010 : 50 leverage , 50% margin call
Usage
(1) Find an oversold price level. If you don't want to use an another indicator, you can use previous low.
(2) Memorize their stop out or margin call price levels of that level.
(2) Consider buy near those levels.
(3) If there are quick price rejection near those levels, better entry opportunities.
(4) Take profit and stop loss : you decide.
Conclusion
This script can find potential stop out or margin call price levels that over leveraged positions buy cheap enough.
If you are bored, you can consider find 100 signals you are interested in and share your observation.
Reference
Brokers, leverage and margin call threshold
False BreakoutA false breakout is when the price temporarily moves above or below a key support or resistance level, but then later retreats back to the same side as it started.
The “False Breakout” indicator reveals false breakouts in comparison to the previous candle.
In case we're looking to trade the stock for long this would mean that the price of the stock broke the previous low (support) and then got back above that low.
In case we're looking to trade the stock for short then a false breakout would mean the stock broke the previous high (resistance) and then got back below that high.
How to use the indicator?
First choose the direction you're looking to trade, meaning either long or short.
Then choose how strict you want to be about the Falls brakes.
There are three options:
The first option named “All“ means that it's enough that the stock broke the previous level and then get back to the original side.
The second option is “Supporting Change” meaning not only that the stock broke the previous key level (support or resistance), but also the change at the end of the candle is supporting the main direction - meaning the change is positive for long or negative for short.
The third option is “Engulfing”. This is a well-known candle, but to make it clear, in our case “Engulfing” means that not only the stock broke the previous level but it also ended the day on the other side of the candle - higher than the previous high, in case of long, and lower than the previous low, in case of short.
When you choose the level of strictness you determine how many indications you're going to get on the chart.
If you choose the highest level of strictness, meaning “Engulfing”, you would only see the red flags indicating engulfing candles.
If you choose the lowest level of strictness, meaning “All”, you will get more indications on your chart, including every false breakout.
When the direction you're looking for is long, all indications would appear below the candles.
When the direction you're looking for is short, then all indications would appear above the candles.
The Engulfing candles are represented by Red flags, and the Simple breakouts candles are represented by yellow. All colors may be adjusted to your preference.
Explaining the example above:
In the chart above we can see two consolidations. At the end of each consolidation, we can see a candle with an indication from the indicator that points out that this could be the end of the consolidation and the stock might continue its move.
In “consolidation 1” we can see that there is an orange flag below the candle right before the stock began to move up again.
In “consolidation 2” we can see that there is a red flag below the candle, right before the stock began another move.
Wishing you all the best :)
Reversal finderThis script is used to visually highlight candles which may signal a reversal following a false break of a support or resistance level.
Inputs are:
Lookback period: look for the highest high and the lowest low of the prior x bars.
SMA length: used for a simple moving average of the range (high minus low) of the prior x bars.
Range multiple: used to filter out signals for any bars with a range smaller than the average range of the preceding bars (determined by SMA length above) e.g. a range multiple of 2 will only show signals for bars with a range twice of that of the average range of the preceding bars.
Range threshold: used to filter signals for bars both the open and close of the bar are at the extreme end of the bar e.g. a threshold setting of 33% will only show buy signals for bars which open and close within the upper 1/3rd of the bar’s high/low range (vice versa for sell signals). This helps highlight, for example, bars with a high which exceeds resistance in a current range but which close back inside the range.
Highlight signal bars?: This will highlight bars with a buy signal in green, sell signal bars in red, and all other bars in grey. The script was designed for use with a dark background, so you will need to play around with the bar colours in the style settings to suit your preferences.
Settings used in the example chart are not the default – they are lookback: 5, SMA length: 20, range multiple: 1.2, range threshold: 33%.
Enjoy!