Salman Indicator: Multi-Purpose Price ActionSalman Indicator: Multi-Purpose Price Action Tool for Pin Bars, Breakouts, and VWAP Anchoring
This indicator provides a comprehensive suite of price action insights, designed for active traders looking to identify key market structures and potential reversals. The script incorporates a Quarterly VWAP for trend bias, marks pin bars for possible reversal points, highlights outside bars for volatility signals, and indicates simple breakouts and pivot-level breaks. Customizable settings allow for flexibility in various trading styles, with default settings optimized for daily charts.
Outside Bars : Represented by an ⤬ symbol on the chart, these indicate bars where the current high is greater than the previous bar’s high, and the low is lower than the previous bar’s low, signaling high volatility and potential market reversals.
Pin Bars : Denoted by a small dot at the top or bottom of a candle’s wick, these are crucial signals of potential reversal areas. Pin bars are identified based on the percentage length of their shadows, with adjustable strictness in settings.
Quarterly VWAP : The light blue line on the chart represents the VWAP (Volume-Weighted Average Price), which is anchored to the Quarterly period by default. The VWAP acts as a directional bias filter, helping you to determine underlying market trends. This period, source, and offset are fully adjustable in the script’s settings.
Simple Breaks : Hollow candles on the chart indicate "simple breaks," defined when the current bar closes above the previous high or below the previous low. This is an effective way to highlight directional momentum in the market.
Bonus Pivot Breaks : The tilde symbol ~ appears when the price closes above or below prior pivot high/low levels, helping traders spot significant breakout or breakdown points relative to recent pivots.
Alerts
Simple Breaks : Alerts you when a breakout occurs beyond the previous bar’s high or low. Pin Bars : Notifies you of potential reversal points as indicated by bullish or bearish pin bars. Outside Bars : Triggers an alert whenever an outside bar is detected, indicating possible volatility changes.
How to Use
VWAP for Trend Bias : Use the Quarterly VWAP line to gauge overall market trend, with settings that allow adjustment to daily, weekly, monthly, or even larger time frames.
Pin Bars for Reversal Potential : Look for the dot markers on candle wicks, where the strictness of the pin bar detection can be adjusted via settings to match your trading preference.
Simple and Pivot Breaks for Momentum : Watch for hollow candles and the tilde symbol ~ as indicators of potential breakout momentum and pivot break levels, respectively.
This script can serve traders on multiple timeframes, from daily to weekly and beyond. The flexible configuration allows for adjustments in VWAP anchoring and pin bar criteria, providing a tailored fit for individual trading strategies.
Breakouttrading
Session Range Breakouts With Targets [AlgoAlpha]⛓️💥Session Range Breakouts With Targets 🚀
Introducing the "Session Range Breakouts With Targets" indicator by AlgoAlpha, a powerful tool for traders to capitalize on session-based range breakouts and identify precise target zones using ATR-based calculations! Whether you trade the Asian, American, European, or Oceanic sessions, this script highlights key breakout levels and targets that adapt to market volatility, ensuring you're always prepared for those crucial price movements. 🕒📊
Session-based Trading : The indicator highlights session-specific ranges, offering clear breakouts for Asian, American, European, Oceanic, and even custom sessions 🌍.
Adaptive Volatility Zones : Uses ATR to determine dynamic zone widths, filtering out fakeouts and adjusting to market conditions ⚡.
Precise Take-Profit Targets : Set multiple levels of take-profits based on ATR multipliers, ensuring you can manage both aggressive and conservative trades 🎯.
Customizable Appearance : Tailor the look with customizable colors for session highlights and breakout zones to fit your chart style 🎨.
Alerts on Key Events : Built-in alert conditions for breakouts and take-profit hits, so you never miss a trading opportunity 🔔.
🚀 Quick Guide to Using the Indicator
🛠 Add the Indicator : Add the indicator to favorites by pressing the star icon. Choose your session (Asia, America, Europe, Oceana, or Custom) and adjust the ATR length, zone width multiplier, and target multipliers to suit your strategy.
📊 Analyze Breakouts : Watch for the indicator to plot upper and lower range boxes based on session highs and lows. Price breaking through these boxes will signal a potential entry.
📈 Monitor Targets : Track bullish and bearish targets as price moves, with up to three take-profit levels based on ATR multipliers.
🔔 Set Alerts : Enable alerts for session breakouts or when price hits your designated take-profit targets.
🔍 How It Works
This script operates by identifying session-specific ranges based on highs and lows from the beginning of the selected session (Asia, America, Europe, or others). After a user-defined wait period (default: 120 bars), it calculates the highest and lowest points and creates upper and lower zones using the Average True Range (ATR) to adapt to market volatility. If the price breaks above or below these zones, it is identified as a breakout, and the script dynamically calculates up to three take-profit targets for both bullish and bearish scenarios using an ATR multiplier. The indicator also includes alerts for breakouts and take-profit hits, providing real-time trading signals.
Volatility Breaker Blocks [BigBeluga]The Volatility Breaker Blocks indicator identifies key market levels based on significant volatility at pivot highs and lows. It plots blocks that act as potential support and resistance zones, marked in green (support) and blue (resistance). Even after a breakout, these blocks leave behind shadow boxes that continue to impact price action. The sensitivity of block detection can be adjusted in the settings, allowing traders to customize the identification of volatility breakouts. The blocks print triangle labels (up or down) after breakouts, indicating potential areas of interest.
🔵 IDEA
The Volatility Breaker Blocks indicator is designed to highlight key areas in the market where volatility has created significant price action. These blocks, created at pivot highs and lows with increased volatility, act as potential support and resistance levels.
The idea is that even after price breaks through these blocks, the remaining shadow boxes continue to influence price movements. By focusing on volatility-driven pivot points, traders can better anticipate how price may react when it revisits these areas. The indicator also captures the natural tendency for price to retest broken resistance or support levels.
🔵 KEY FEATURES & USAGE
◉ High Volatility Breaker Blocks:
The indicator identifies areas of high volatility at pivot highs and lows, plotting blocks that represent these zones. Green blocks represent support zones (identified at pivot lows), while blue blocks represent resistance zones (identified at pivot highs).
Support:
Resistance:
◉ Shadow Blocks after Breakouts:
When price breaks through a block, the block doesn't disappear. Instead, it leaves behind a shadow box, which can still influence future price action. These shadow blocks act as secondary support or resistance levels.
If the price crosses these shadow blocks, the block stops extending, and the right edge of the box is fixed at the point where the price crosses it. This feature helps traders monitor important price levels even after the initial breakout has occurred.
◉ Triangle Labels for Breakouts:
After the price breaks through a volatility block, the indicator prints triangle labels (up or down) at the breakout points.
◉ Support and Resistance Retests:
One of the key concepts in this indicator is the retesting of broken blocks. After breaking a resistance block, price often returns to the shadow box, which then acts as support. Similarly, after breaking a support block, price tends to return to the shadow box, which becomes a resistance level. This concept of price retesting and bouncing off these levels is essential for understanding how the indicator can be used to identify potential entries and exits.
The natural tendency of price to retest broken resistance or support levels.
Additionaly indicator can display retest signals of broken support or resistance
◉ Customizable Sensitivity:
The sensitivity of volatility detection can be adjusted in the settings. A higher sensitivity captures fewer but more significant breakouts, while a lower sensitivity captures more frequent volatility breakouts. This flexibility allows traders to adapt the indicator to different trading styles and market conditions.
🔵 CUSTOMIZATION
Calculation Window: Defines the window of bars over which the breaker blocks are calculated. A larger window will capture longer-term levels, while a smaller window focuses on more recent volatility areas.
Volatility Sensitivity: Adjusts the threshold for volatility detection. Lower sensitivity captures smaller breakouts, while higher sensitivity focuses on larger, more significant moves.
Retest Signals: Display or hide retest signals of shadow boxes
Swing Points [CrossTrade]The "Swing Points" indicator is designed to help identify key swing points, trends, and potential support and resistance areas on a trading chart. This indicator overlays on the price chart and offers several features for enhanced market analysis.
Swing Point Identification: The indicator identifies swing highs and lows (pivot points) over a user-defined period. These points are crucial in understanding market reversals and momentum.
Swing Points Display: Users have the option to visually display these pivot points on the chart. Swing highs are marked with a red "H" above the bar, and swing lows with a green "L" below the bar, aiding in quick visual identification.
Center Line Calculation and Display: A dynamic center line is calculated using the pivot points, providing a baseline that adapts to market movements. The center line's appearance changes based on its position relative to the current price, making it a useful trend indicator.
Support and Resistance Levels: The indicator plots horizontal support and resistance lines based on the swing lows and highs, respectively. This feature helps traders identify potential areas of price consolidation or breakout.
Customization Options: Users can customize the period for swing point calculation and choose whether to display the pivot points, center line, and support/resistance levels.
Alert Features
Swing High Break Alert: An alert is triggered when a new swing high is detected, signaling a potential upward momentum shift.
Swing Low Break Alert: This alert activates when a new swing low is formed, possibly indicating a downward momentum shift.
Center Line Trend Color Change Alert: Alerts users when the center line changes its trend color, which could signify a change in overall market trend direction.
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.
Historical Swing High-Low Gann IndicatorThe Historical Swing High-Low Gann Indicator is a powerful tool designed to track and visualize key market swing points over time. This indicator identifies significant swing highs and lows within a specified time frame and draws connecting lines between these points, allowing traders to observe the natural ebb and flow of the market.
What sets this indicator apart is its ability to maintain all previously drawn swing lines, creating a comprehensive historical view of market movements. Additionally, the indicator projects Gann-style lines from the most recent swing highs and lows, providing traders with potential future support and resistance levels based on the geometric progression of price action.
Features:
Swing Detection: Automatically detects significant swing highs and lows over a user-defined period (default is 3 hours).
Persistent Historical Lines: Keeps all previously drawn lines, offering a complete visual history of the market's swing points.
Gann-Style Projections: Draws forward-looking lines from the latest swing points to help predict possible future market levels.
Customizable Parameters: Allows users to adjust the swing detection period to suit different trading styles and time frames.
This indicator is ideal for traders who rely on price action, support and resistance levels, and Gann theory for their analysis. Whether used in isolation or as part of a broader strategy, the Historical Swing High-Low Gann Indicator provides valuable insights into the market's behavior over time.
Pivot Channel Breaks [BigBeluga]Pivot Channel Break
The Pivot Channel Break indicator identifies key pivot points and creates a dynamic channel based on these pivots. It detects breakouts from this channel, providing potential entry and exit signals for traders.
🔵 How to Use
Channel Identification:
- Upper and lower channel lines drawn based on pivot highs and lows
- Channel width dynamically adjusted using ATR-like calculation
Breakout Signals:
- Upward breakout: Price closes above upper channel line
- Downward breakout: Price closes below lower channel line
- Signals shown as X marks on the chart
Pivot Points:
- High pivots marked with "H" triangles
- Low pivots marked with "L" triangles
Support & Resistance:
- Optional signals when price touches but doesn't break channel lines
Trend Visualization:
- Optional bar coloring based on the most recent breakout direction
🔵 Customization
• Pivot Right: Lookback period for pivot detection (default: 10)
• Pivot Left: Forward period for pivot confirmation (default: 40)
• Channel Width: Multiplier for channel width calculation (default: 1.0)
• Support & Resistance Signals: Toggle additional touch signals
• Bar Color: Enable/disable trend-based bar coloring
Calculation:
Detect pivot highs and lows using specified lookback periods
Calculate channel basis using 10-period SMA of close prices
Determine channel width using ATR-like calculation: RMA(high - low, 10) * width multiplier
Set channel lines based on pivot points and calculated deviations
Identify breakouts when price crosses beyond channel lines
The Pivot Channel Break indicator offers a dynamic approach to identifying potential trend changes and breakout opportunities. It combines pivot point analysis with a flexible channel calculation, providing traders with a visual tool for market structure analysis. Use this indicator in conjunction with other technical analysis methods to confirm signals and manage risk effectively.
Candle Range Detector [UAlgo]The "Candle Range Detector " is a Pine Script™ indicator designed to identify trading opportunities based on the concept of price consolidation and breakout. It analyzes the price range of a specified number of previous candles and detects when subsequent candles stay within that range (consolidation). The indicator then highlights potential breakouts above or below the range and provides calculated Take Profit (TP) and Stop Loss (SL) levels based on your chosen method (percentage or Average True Range - ATR).
🔶 Key Features
Configurable Range: Define the minimum number of candles required to establish a valid price range.
Breakout Detection: Identify potential breakouts above or below the established range based on your selection (close price or wick).
Take Profit & Stop Loss Levels: The indicator calculates TP and SL levels based on your chosen method (percentage or ATR) and user-defined multipliers. The calculated TP and SL levels are visualized as horizontal lines with corresponding labels ("Take Profit" and "Stop Loss").
Optional Count Display: You can choose to display the number of candles currently within the range.
🔶 Disclaimer:
Not Financial Advice: This indicator is intended for educational and informational purposes only. It does not constitute financial advice or recommendations to buy, sell, or hold any financial instruments.
Use at Own Risk: Trading involves substantial risk of loss and is not suitable for all investors. Users of this indicator should exercise caution and conduct their own research and analysis before making any trading decisions.
Performance Not Guaranteed: Past performance is not indicative of future results. While the indicator aims to assist traders in analyzing market trends, there is no guarantee of accuracy or success in trading operations.
🔷 Related Scripts
Range Finder
KillZones + ACD Fisher [TradingFinder] Sessions + Reversal Level🔵 Introduction
🟣 ACD Method
"The Logical Trader" opens with a thorough exploration of the ACD Methodology, which focuses on pinpointing particular price levels associated with the opening range.
This approach enables traders to establish reference points for their trades, using "A" and "C" points as entry markers. Additionally, the book covers the concept of the "Pivot Range" and how integrating it with the ACD method can help maximize position size while minimizing risk.
🟣 Session
The forex market is operational 24 hours a day, five days a week, closing only on Saturdays and Sundays. Typically, traders prefer to concentrate on one specific forex trading session rather than attempting to trade around the clock.
Trading sessions are defined time periods when a particular financial market is active, allowing for the execution of trades.
The most crucial trading sessions within the 24-hour cycle are the Asia, London, and New York sessions, as these are when substantial money flows and liquidity enter the market.
🟣 Kill Zone
Traders in financial markets earn profits by capitalizing on the difference between their buy/sell prices and the prevailing market prices.
Traders vary in their trading timelines.Some traders engage in daily or even hourly trading, necessitating activity during periods with optimal trading volumes and notable price movements.
Kill zones refer to parts of a session characterized by higher trading volumes and increased price volatility compared to the rest of the session.
🔵 How to Use
🟣 Session Times
The "Asia Session" comprises two parts: "Sydney" and "Tokyo." This session begins at 23:00 and ends at 06:00 UTC. The "Asia KillZone" starts at 23:00 and ends at 03:55 UTC.
The "London Session" includes "Frankfurt" and "London," starting at 07:00 and ending at 14:25 UTC. The "London KillZone" runs from 07:00 to 09:55 UTC.
The "New York" session starts at 14:30 and ends at 19:25 UTC, with the "New York am KillZone" beginning at 14:30 and ending at 22:55 UTC.
🟣 ACD Methodology
The ACD strategy is versatile, applicable to various markets such as stocks, commodities, and forex, providing clear buy and sell signals to set price targets and stop losses.
This strategy operates on the premise that the opening range of trades holds statistical significance daily, suggesting that initial market movements impact the market's behavior throughout the day.
Known as a breakout strategy, the ACD method thrives in volatile or strongly trending markets like crude oil and stocks.
Some key rules for employing the ACD strategy include :
Utilize points A and C as critical reference points, continually monitoring these during trades as they act as entry and exit markers.
Analyze daily and multi-day pivot ranges to understand market trends. Prices above the pivots indicate an upward trend, while prices below signal a downward trend.
In forex trading, the ACD strategy can be implemented using the ACD indicator, a technical tool that gauges the market's supply and demand balance. By evaluating trading volume and price, this indicator assists traders in identifying trend strength and optimal entry and exit points.
To effectively use the ACD indicator, consider the following :
Identifying robust trends: The ACD indicator can help pinpoint strong, consistent market trends.
Determining entry and exit points: ACD generates buy and sell signals to optimize trade timing.
Bullish Setup :
When the "A up" line is breached, it’s wise to wait briefly to confirm it’s not a "Fake Breakout" and that the price stabilizes above this line.
Upon entering the trade, the most effective stop loss is positioned below the "A down" line. It's advisable to backtest this to ensure the best outcomes. The recommended reward-to-risk ratio for this strategy is 1, which should also be verified through backtesting.
Bearish Setup :
When the "A down" line is breached, it’s prudent to wait briefly to ensure it’s not a "Fake Breakout" and that the price stabilizes below this line.
Upon entering the trade, the most effective stop loss is positioned above the "A up" line. Backtesting is recommended to confirm the best results. The recommended reward-to-risk ratio for this strategy is 1, which should also be validated through backtesting.
Advantages of Combining Kill Zone and ACD Method in Market Analysis :
Precise Trade Timing : Integrating the Kill Zone strategy with the ACD Method enhances precision in trade entries and exits. The ACD Method identifies key points for trading, while the Kill Zone focuses on high-activity periods, together ensuring optimal timing for trades.
Better Trend Identification : The ACD Method’s pivot ranges help spot market trends, and when combined with the Kill Zone’s emphasis on periods of significant price movement, traders can more effectively identify and follow strong market trends.
Maximized Profits and Minimized Risks : The ACD Method's structured approach to setting price targets and stop losses, coupled with the Kill Zone's high-volume trading periods, helps maximize profit potential while reducing risk.
Robust Risk Management : Combining these methods provides a comprehensive risk management strategy, strategically placing stop losses and protecting capital during volatile periods.
Versatility Across Markets : Both methods are applicable to various markets, including stocks, commodities, and forex, offering flexibility and adaptability in different trading environments.
Enhanced Confidence : Using the combined insights of the Kill Zone and ACD Method, traders gain confidence in their decision-making process, reducing emotional trading and improving consistency.
By merging the Kill Zone’s focus on trading volumes and the ACD Method’s structured breakout strategy, traders benefit from a synergistic approach that enhances precision, trend identification, and risk management across multiple markets.
ACD Indicator [TradingFinder] M Fisher Pivots Methodology Signal🔵 Introduction
The book "The Logical Trader" begins with a comprehensive review of the ACD Methodology principles, which include identifying specific price points related to the opening range.
This method allows you to set reference points for trading and use points "A" and "C" for trade entry. You will also learn about the "Pivot Range" and how to combine them with the ACD method to maximize position size and minimize risk.
In this indicator, the strategy is implemented to make it easier to use.
🔵 How to Use
The "ACD" strategy can be applied to various markets such as stocks, commodities, or forex, providing buy and sell signals that allow you to set your price targets and stop losses.
This strategy is based on the assumption that the opening range of trades is statistically significant each day, meaning the initial market fluctuations influence the market until the end of the day.
The ACD trading strategy is known as a breakout strategy and performs best in volatile or strongly trending markets, such as crude oil and stocks.
Some of the rules for using the ACD strategy include the following :
Consider points A and C as reference points and continuously pay attention to these points during trades. These points serve as entry and exit points for trades.
Examine daily and multi-day pivot ranges to analyze market trends. If the price is above the pivots, the trend is upward, and if below the pivots, the trend is downward.
Trading with the ACD strategy in forex is possible using the ACD indicator. This indicator is a technical tool used to measure the balance between supply and demand in the market. By analyzing trading volume and price, this indicator helps traders identify trend strength and suitable entry and exit points.
To use the ACD indicator, consider the following :
Identifying strong trends: The ACD indicator can help you identify strong and stable trends in the market.
Determining entry and exit points: ACD provides buy and sell signals to enter or exit trades at the best possible time.
Bullish Setup :
When the "A up" line is broken, it is advisable to wait for some time to ensure that this is not a "Fake Breakout" and that the price stabilizes above this line.
After entering the trade, the best stop loss you can choose is below the "A down" line. However, it is recommended to test this in backtests to achieve the best results. The suitable reward-to-risk ratio for this strategy is 1, which should also be backtested.
Bearish Setup :
When the "A down" line is broken, it is advisable to wait for some time to ensure that this is not a "Fake Breakout" and that the price stabilizes below this line.
After entering the trade, the best stop loss you can choose is above the "A up" line. However, it is recommended to test this in backtests to achieve the best results. The suitable reward-to-risk ratio for this strategy is 1, which should also be backtested.
🔵 Setting
NDay Pivot Range Period : Using this entry you can specify the number of days to calculate NDay Pivot Range.
Show Daily Pivot Range : Set the Daily Pivot color and displayed or not.
Show NDay Pivot Range : Set the NDay Pivot color and displayed or not.
ATR Period Levels : Determining the period of the ATR indicator, which is used to determine the A and C levels.
Show Tokyo ACD Setup : Set the Tokyo ACD Setup color and displayed or not.
Tokyo Opening Range Time : The amount of time taken to determine the opening range. You can set this number between 5 and 60 minutes.
Tokyo Session : Market start and end time.
A Level Multiplier : The coefficient that is multiplied by ATR to determine the distance of line A up and A down.
C Level Multiplier : The coefficient that is multiplied by ATR to determine the distance of line C up and C down.
The same settings exist for the London and New York sessions.
Bull Bear Trend IndicatorIntroduction: Origin of the Swing Point Indicator
In the quest for a reliable indicator that accurately predicts trend directions and identifies valid highs and lows, the genesis of the Swing Point Indicator emerged. Faced with the challenge of finding a tool that provided comprehensive market analysis and actionable insights, the need for a novel solution became evident. Combining insights gleaned from market analysis and innovative algorithmic approaches, the Swing Point Indicator was born.
Enhanced Feature: Highs and Lows Labeling in Trend Direction
In addition to its core functionalities, the Swing Point Indicator incorporates an advanced feature that enhances the visualization of trend direction. This feature provides further clarity by selectively labeling highs and lows based on the prevailing trend, reinforcing the identification of higher highs and lower lows in uptrends and downtrends, respectively. Overlapping labels on highs and lows signify a potential trend change, providing traders with valuable insight into market reversals.
Detailed Description:
1. Uptrend Labeling:
- Higher Highs (Green Label with Price): In an uptrend, where higher highs are observed, the indicator labels these points with vibrant green color and includes the corresponding price value. This visually highlights the significance of higher highs as pivotal points in the upward trajectory of prices.
- Higher Lows (Red Marker without Text or Diamond): To complement the identification of higher highs, higher lows are marked with a distinct red marker or diamond, devoid of any accompanying text. While these points are crucial in delineating the ascending trend, their emphasis lies in their role as support levels, providing a foundation for upward price movements.
2. Downtrend Labeling:
- Lower Lows (Red Label with Price): Conversely, in a downtrend characterized by lower lows, the indicator labels these points with conspicuous red color, accompanied by the corresponding price value. Lower lows signify critical levels of downward price momentum, acting as indicators of potential bearish continuation.
- Lower Highs (Green Marker without Text or Diamond): Lower highs, indicative of downward retracements in a downtrend, are marked by distinctive green markers or diamonds without accompanying text. While these points denote temporary pauses or pullbacks in the bearish trend, their emphasis lies in their role as resistance levels, impeding upward price movements.
Functionality and Utility:
- Customizable Lookback Candle Count: Traders have the option to adjust the lookback candle count, which is set by default at 108 candles in the settings. This flexibility allows traders to tailor the indicator to their specific trading preferences and timeframes.
- Equal Highs or Lows Option: When enabled, the Swing Point Indicator can identify equal highs or equal lows, providing traders with additional insight into market dynamics.
- Formation Confirmation: A new higher high along with its higher low or a new lower low along with its lower high is confirmed after two candles have closed following the swing point candle. This ensures the reliability of the identified trend direction.
Conclusion:
The incorporation of selective labeling for highs and lows based on trend direction, alongside the introduction of customizable settings and formation confirmation criteria, enhances the effectiveness of the Swing Point Indicator. This feature-rich tool empowers traders with a nuanced understanding of market dynamics, highlighting critical price levels and trend reversals. By offering enhanced visualization, customizable options, and confirmation criteria, the Swing Point Indicator equips traders with the confidence and precision needed to navigate the markets successfully, contributing to more informed and profitable trading strategies.
ORB Heikin Ashi SPY 5min Correlation StrategyOverview:
The ORB (Opening Range Breakout) strategy combined with Heikin Ashi candles and Relative Volume (RVOL) indicator aims to capitalize on significant price movements that occur shortly after the market opens. This strategy identifies breakouts above or below the opening range, using Heikin Ashi candles for smoother price visualization and RVOL to gauge the strength of the breakout.
Components:
Opening Range Breakout (ORB): The strategy starts by defining the opening range, typically the first few minutes of the trading session. It then identifies breakouts above the high or below the low of this range as potential entry points.
Heikin Ashi Candles: Heikin Ashi candles are used to provide a smoother representation of price movements compared to traditional candlesticks. By averaging open, close, high, and low prices of the previous candle, Heikin Ashi candles reduce noise and highlight trends more effectively.
Relative Volume (RVOL): RVOL compares the current volume of a stock to its average volume over a specified period. It helps traders identify abnormal trading activity, which can signal potential price movements.
Candle for correlation : In this case we are using SPY candles. It can also use different asset
Strategy Execution:
Initialization: The strategy initializes by setting up variables and parameters, including the ORB period, session timings, and Heikin Ashi candle settings.
ORB Calculation: It calculates the opening range by identifying the high and low prices during the specified session time. These values serve as the initial reference points for potential breakouts. For this we are looking for the first 30 min of the US opening session.
After that we are going to use the next 2 hours to check for breakout opportunities.
Heikin Ashi Transformation: Optionally, the strategy transforms traditional candlestick data into Heikin Ashi format for smoother visualization and trend identification.
Breakout Identification: It continuously monitors price movements within the session and checks if the current high breaches the ORB high or if the current low breaches the ORB low. These events trigger potential long or short entry signals, respectively.
RVOL Analysis: Simultaneously, the strategy evaluates the relative volume of the asset to gauge the strength of the breakout. A surge in volume accompanying the breakout confirms the validity of the signal. In this case we are looking for at least a 1 value of the division between currentVolume and pastVolume
Entry and Exit Conditions: When a breakout occurs and is confirmed by RVOL and is within our session time, the strategy enters a long or short position accordingly. It does not have a stop loss or a takie profit level, instead it will always exit at the end of the trading session, 5 minutes before
Position Sizing and Commissions: For the purpose of this backtest, the strategy allocated 10% of the capital for each trade and assumes a trading commission of 0.01$ per share ( twice the IBKR broker values)
Session End: At the end of the trading session, the strategy closes all open positions to avoid overnight exposure.
Conclusion:
The combination of ORB breakout strategy, Heikin Ashi candles, and RVOL provides traders with a robust framework for identifying and capitalizing on early trends in the market. By leveraging these technical indicators together, traders can make more informed decisions and improve the overall performance of their trading strategies. However, like any trading strategy, it's essential to backtest thoroughly and adapt the strategy to different market conditions to ensure its effectiveness over time.
Relative Volume / Volume Breakout Multiplier By Afnan TajuddinIntroducing the Relative Volume / Volume Breakout Multiplier (RVI) , RVI is specifically designed for traders who incorporate volume breakout analysis into their trading strategies, particularly breakout traders.
This indicator provides a unique perspective on volume dynamics by quantifying the extent of volume breakouts in relation to the Simple Moving Average (SMA). It offers an upgraded version of the default volume indicator on TradingView, with the added feature of Relative Volume.
For example, if the volume SMA is 100M and the current volume is 200M, the indicator will return a breakout number of 2.0, indicating that the current volume is twice that of the volume SMA. Conversely, if the volume SMA is 100M and the current volume is 50M, the indicator will return a value of 0.50, indicating that the current volume is half of the volume SMA.
This tool can be a very helpful for breakout traders, helping them identify potential trading opportunities and assess volume strength more effectively. this indicator is a must-have in the toolkit of any trader who focuses on volume breakout analysis.
Remember, every tool we use, every analysis we perform, is a step towards becoming better traders. So, let’s embrace this journey of continuous learning and improvement together. As the saying goes, “The only limit to our realization of tomorrow will be our doubts of today." Let’s step into the future with confidence, armed with the right tools and the right mindset.
Lastly, a big thank you for your support, your likes, and your comments. They mean a lot! If you have any questions, feel free to ask. Together, let’s make trading a rewarding experience!
Liquidation Levels with Liquidity Sweeps/Breakouts [AlgoAlpha]🌊📈 Dive into the depths of market liquidity with "Liquidation Levels with Liquidity Sweeps/Breakouts" - your ultimate tool for navigating the turbulent waters of trading! 🧹💹 Crafted by the wizards at AlgoAlpha, this Pine Script™ masterpiece illuminates the unseen liquidity levels and sweeps, guiding you through the financial seas with insight. 🚀🔍
Key Features:
🕒 Timeframe Flexibility: Customize your analysis with a TimeFrame Multiplier, allowing the indicator to operate on higher timeframes for broader market insight.
💥 Dynamic Volume Threshold: Set your sensitivity to breakouts with the High Volume Threshold, ensuring you catch significant market movements while avoiding fakeouts.
👀 Visibility Controls: Toggle the display of swept liquidity and highlight liquidity breakouts with customizable background colors for clear, actionable insights.
🎨 Custom Appearance: Personalize your chart with bullish, bearish, and breakout colors to match your trading style.
How to Use the Liquidity Levels with Liquidation Sweeps Indicator:
Maximize your trading efficiency with the Liquidity Levels with Liquidation Sweeps Indicator by following these simple steps! 🚀🌟
⚙️ Customize Settings: Access the indicator settings to personalize the TimeFrame Multiplier, High Volume Threshold, and Relative Volume Period. Tailor these settings to match your trading strategy and chart preferences.
👁️ Analyze Liquidity Levels: Monitor the chart for liquidity levels and sweeps. Bullish sweeps are marked with green labels, bearish sweeps with red, and breakouts highlighted by the chart background.
🔔 Set Alerts: Enable alert conditions for liquidity breakouts and sweeps within the indicator's settings. This feature allows you to receive real-time notifications, helping you to act promptly on trading opportunities.
How It Works:
The heart of this indicator lies in its ability to track and highlight liquidity levels derived from swing pivots, and sweeps across multiple timeframes. By calculating relative volume against a user-defined threshold, it identifies strong volume movements indicative of liquidity breakouts, this helps filter out fake-outs. When a liquidity level is breached but not completely mitigated, it's either marked as a bullish or bearish sweep, which come with the option to show an estimate of the number of liquidations during the sweep.
if peakform and peakprinted != 1
aR.push(line.new(bar_index-mult, h.get(1), bar_index+1, h.get(1), color = red))
aRv.push(h.get(1))
peakprinted := 1
if valleyform and valleyprinted != 1
aS.push(line.new(bar_index-mult, l.get(1), bar_index+1, l.get(1), color = green))
aSv.push(l.get(1))
valleyprinted := 1
Machine Learning Breakouts (from Pivots)I developed the 'Machine Learning Breakouts (from Pivots)' indicator to revolutionize the way we detect breakout opportunities and follow trend, harnessing the power of pivot points and machine learning. This tool integrates the k-Nearest Neighbors (k-NN) method with the Euclidean distance algorithm, meticulously analyzing pivot points to accurately forecast multiple breakout paths/zones. "ML Pivots Breakouts" is designed to identify and visually alert traders on bullish breakouts above high lines and bearish breakouts below low lines, offering essential insights for breakout and trend follower traders.
For traders, the instruction is clear: a bullish breakout signal is given when the price crosses above the forecasted high line, indicating potential entry points for long positions. Conversely, a bearish breakout signal is provided when the price breaks below the forecasted low line, suggesting opportunities to enter short positions. This makes the indicator a vital asset for navigating through market volatilities and capitalizing on emerging trends, designed for both long and short strategies and adeptly adapting to market shifts.
In this indicator I operate in a two-dimensional space defined by price and time. The choice of Euclidean distance as the preferred method for this analysis hinges on its simplicity and effectiveness in measuring and predicting straight-line distances between points in this space.
The Machine Learning Breakouts (from Pivots) Indicator calculations have been transitioned to the MLPivotsBreakouts library, simplifying the process of integration. Users can now seamlessly incorporate the "breakouts" function into their scripts to conduct detailed momentum analysis with ease.
3 Pivots Interpolation BreakoutsI designed the '3 Pivots Interpolation Breakouts' indicator to intuitively identify breakout opportunities using pivot points. This tool stems from my need to anticipate market direction and capitalize on breakouts. It uses a line interpolated from three pivot highs or lows to forecast upcoming breakouts. This offers a straightforward way to visualize potential bullish and bearish breakouts with color-coded extrapolations. The aim is to simplify breakout detection, enhancing your trading strategy with precise, actionable insights.
Reversal and Breakout Signals [AlgoAlpha]🚀🌟 Introducing the Reversal and Breakout Signals by AlgoAlpha 🌟🚀
This innovative tool is crafted to enhance your chart analysis by identifying potential reversal and breakout opportunities directly on your charts. It's designed with both novice and experienced traders in mind, providing intuitive visual cues for better decision-making. Let's dive into the key features and how it operates:
### Key Features:
🔶 Dynamic Period Settings: Customize the sensitivity of the indicator with user-defined periods for both the indicator and volume strength.
📊 Volume Threshold: Set a threshold to define what constitutes strong volume, enabling the identification of significant market movements.
💡 Trend Coloring: Option to color candles during trends, making it easier to visualize bullish and bearish market conditions.
🌈 Customizable Visuals: Choose your preferred colors for bullish, bearish, and breakout signals, personalizing the chart to your liking.
🚨 Advanced Alert System: Configure alerts for reversal and breakout signals, ensuring you never miss a potential trading opportunity.
### How to Use:
To maximize the effectiveness of the Reversal and Breakout Signals tool, follow these steps:
1. 🔧 Set Up Your Preferences:
- Adjust the Indicator Period and Volume Strength Period to match the timeframe of your trading strategy. This fine-tuning allows the indicator to better align with your specific market analysis needs.
- Define the Strong Volume Threshold to distinguish between ordinary and significant volume movements. This helps in identifying breakout or reversal signals with higher confidence.
2. 🎨 Customize Visuals:
- Choose colors for Bullish , Bearish , and Breakout Signals to visually differentiate between different types of market activities. This customization facilitates quicker decision-making while scanning charts.
3. 🔍 Reversal Signals:
- Bullish Reversal : Look for a triangle below the bar indicating a potential upward movement. It's identified when the price dips below the lower level but closes above it, suggesting a rejection of lower prices.
- Bearish Reversal : A triangle above the bar signals a potential downward movement. This occurs when the price spikes above the upper level but closes below, indicating a rejection of higher prices.
4. 📈 Trend and Breakout Signals:
- Diamonds represent breakout signals. A bullish breakout is marked below the bar when the price closes above the upper level, suggesting strong buying pressure. Conversely, a bearish breakout above the bar indicates strong selling pressure as the price closes below the lower level.
- The tool also features a Trend Tracker that highlights the current market trend using the Hull Moving Average (HMA). This can help you stay aligned with the overall market direction for your trades.
By integrating these steps into your trading strategy, the Reversal and Breakout Signals tool can provide actionable insights to help identify potential entry and exit points, enhancing your trading decisions with visual cues and alerts for market reversals and breakouts.
### How It Works:
The core logic revolves around calculating weighted moving averages of high and low prices over a user-defined period, identifying the highest and lowest points within this period to establish potential breakout or breakdown levels while reducing the amount of noise, hence the use of moving averages.
1. Weighted Moving Averages Calculation:
sh = ta.wma(high, len)
sl = ta.wma(low, len)
h = ta.highest(sh, len)
l = ta.lowest(sl, len)
2. Breakout and Reversal Detection:
The script then employs logic to detect bullish and bearish breakouts and reversals based on the closing price's position relative to these levels, combined with volume analysis to confirm the strength of the move.
if not (h < h or h > h )
hstore := h
if not (l < l or l > l )
lstore := l
bullishbreakout := (breakout or ((breakout or breakout or breakout or breakout ) and candledir == 1)) and strongvol and not (bullishbreakout or bullishbreakout or bullishbreakout )
bearishbreakout := (breakdown or ((breakdown or breakdown or breakdown or breakdown ) and candledir == -1)) and strongvol and not (bearishbreakout or bearishbreakout or bearishbreakout )
3. Visual Indicators and Alerts:
Visual cues such as triangle shapes for reversals and diamonds for breakouts, along with colored bars, make it easy to spot these opportunities. Additionally, alerts can be set up for these events, ensuring traders can react promptly to potential trading setups.
plotshape(bullishrej and not (state ==- 1) ? low * 0.9995 : na, " Bullish Reversal ", shape.triangleup, location.belowbar, color.new(green, 0), size = size.tiny, text = "𝓡", textcolor = color.gray)
plotshape(bearishrej and not (state == 1) ? high * 1.0005 : na, " Bearish Reversal ", shape.triangledown, location.abovebar, color.new(red, 0), size = size.tiny, text = "𝓡", textcolor = color.gray)
plotshape(bullishbreakout ? low * 0.999 : na, " Bullish Breakout ", shape.diamond, location.belowbar, color.new(yellow, 0), size = size.tiny, text = "𝓑", textcolor = color.gray)
plotshape(bearishbreakout ? high * 1.001 : na, " Bearish Breakout ", shape.diamond, location.abovebar, color.new(yellow, 0), size = size.tiny, text = "𝓑", textcolor = color.gray)
This script is a versatile tool designed to aid in the identification of key reversal and breakout points, helping traders to make informed decisions based on technical analysis. Its customization options allow for a tailored analysis experience, fitting the unique needs and strategies of each trader.
TrendLine ScythesTrendline Scythes is a script designed to automatically detect and draw special curved trendlines, resembling scythes or blades, based on pivotal points in price action. These trendlines adapt to the volatility of the market, providing a unique perspective on trend dynamics.
🔲 Methodology
Traditional trendlines connect consecutive pivot points on a price chart, providing a linear representation of trend direction. However, this script employs a distinctive methodology by automatically detecting price pivots and then calculating special curved trendlines based on the Average True Range (ATR) of the price. This introduces a curvature to the trendlines, resembling scythes, offering a unique way to interpret market trends.
🔲 Auto Breakout and Target Detection
Trendline Scythes includes features for automatic breakout detection, signaling potential trend changes. Additionally, the script assists in target detection, helping traders set realistic and data-driven profit-taking levels based on market volatility and user adjustment.
🔲 Utility
Trend Confirmation - Use Trendline Scythes to confirm existing trends by observing how price interacts with the curved trendlines.
Breakout Signals - Auto-detection of breakouts adds a proactive element to your trading strategy, helping you stay ahead of potential trend reversals.
Target Setting - Utilize the script to set profit-taking targets based on volatility, aligning with the current market conditions.
🔲 Settings
Pivot Length - Swing detection length
Scythe Length - Adjusts the length of the scythes blade
Sensitivity - Controls how restrained the target calculation is, higher values will result in tighter targets.
🔲 Alerts
Breakout
Breakdown
Target Reached
Target Invalidated
As well as the option to trigger 'any alert' call.
Trendline Scythes is a versatile tool combining the benefits of traditional trendlines with the dynamic adaptability of curved lines for a unique approach to trend analysis.
Megabar Breakout (Range & Volume & RSI)Hey there,
This strategy is based on the idea that certain events lead to what are called Megabars. Megabars are bars that have a very large range and volume. I wanted to verify whether these bars indicate the start of a trend and whether one should follow the trend.
Summary of the Code:
The code is based on three indicators: the range of the bar, the volume of the bar, and the RSI. When certain values of these indicators are met, a Megabar is identified. The direction of the Megabar indicates the direction in which we should trade.
Why do I combine these indicators?
I want to identify special bars that have the potential to mark the beginning of a breakout. Therefore, a bar needs to exhibit high volume, have a large range (huge price movement), and we also use the Relative Strength Index (RSI) to assess potential momentum. Only if all three criteria are met within one candle, do we use this as an identifier for a megabar.
Explanation of Drawings on the Chart:
As you can see, there is a green background on my chart. The green background symbolizes the time when I'm entering a trade. Only if a Megabar happens during that time, I'm ready to enter a trade. The time is between 6 AM and 4 PM CET. It's just because I prefer that time. Also, the strategy draws an error every time a Megabar happens based on VOL and Range only (not on the RSI). That makes it pretty easy to go through your chart and check the biggest bars manually. You can activate or deactivate these settings via the input data of the strategy.
When Do We Enter a Trade?
We wait for a Megabar to happen during our trading session. If the Megabar is bullish, we open a LONG trade at the opening price of the next candle. If the Megabar is bearish, we open a SHORT trade at the opening price of the next candle.
Where Do We Put Our Take Profit & Stop Loss?
The default setting is TP = 40 Pips and SL = 30 Pips. In that case, we are always trading with a risk-reward ratio of 1.33 by default. You can easily change these settings via the input data of the strategy.
Strategy Results
The criteria for Megabars were chosen by me in a way that makes Megabars something special. They are not intended to occur too frequently, as the fundamental idea of this strategy would otherwise not hold. This results in only 37 closed trades within the last 12 months. If you change the criterias for a megabar to a milder one, you will create more Megabars and therefore more trades. It's up to you. I have adapted this strategy to the 30-minute chart of the EURUSD. In the evaluation, we consider a period of 12 months, which I believe is sufficient.
My default settings for the indicators look like this:
Avg Length Vol 20
Avg Multiplier Vol 3
Avg Length Range 20
Avg Multiplier Range 4
Value SMA RSI for Long Trades 50
Value SMA RSI for Short Trades 70
IMPORTANT: The current performance overview does not display the results of these settings. Please change the settings to my default ones so that you can see how I use this strategy.
I do not recommend trading this strategy without further testing. The script is meant to reflect a basic idea and be used as a tool to identify Megabars. I have made this strategy completely public so that it can be further developed. One can take this framework and test it on different timeframes and different markets.
Session Breakout Scalper Trading BotHi Traders !
Introduction:
I have recently been exploring the world of automated algorithmic trading (as I prefer more objective trading strategies over subjective technical analysis (TA)) and would like to share one of my automation compatible (PineConnecter compatible) scripts “Session Breakout Scalper”.
The strategy is really simple and is based on time conditional breakouts although has more ”relatively” advanced optional features such as the regime indicators (Regime Filters) that attempt to filter out noise by adding more confluence states and the ATR multiple SL that takes into account volatility to mitigate the down side risk of the trade.
What is Algorthmic Trading:
Firstly what is algorithmic trading? Algorithmic trading also known as algo-trading, is a method of using computer programs (in this case pine script) to execute trades based on predetermined rules and instructions (this trading strategy). It's like having a robot trader who follows a strict set of commands to buy and sell assets automatically, without any human intervention.
Important Note:
For Algorithmic trading the strategy will require you having an essential TV subscription at the minimum (so that you can set alerts) plus a PineConnecter subscription (scroll down to the .”How does the strategy send signals” headings to read more)
The Strategy Explained:
Is the Time input true ? (this can be changed by toggling times under the “TRADE MEDIAN TIMES” group for user inputs).
Given the above is true the strategy waits x bars after the session and then calculates the highest high (HH) to lowest low (LL) range. For this box to form, the user defined amount of bars must print after the session. The box is symmetrical meaning the HH and LL are calculated over a lookback that is equal to the sum of user defined bars before and after the session (+ 1).
The Strategy then simultaneously defines the HH as the buy level (green line) and the LL as the sell level (red line). note the strategy will set stop orders at these levels respectively.
Enter a buy if price action crosses above the HH, and then cancel the sell order type (The opposite is true for a stop order).
If the momentum based regime filters are true the strategy will check for the regime / regimes to be true, if the regime if false the strategy will exit the current trade, as the regime filter has predicted a slowing / reversal of momentum.
The image below shows the strategy executing these trading rules ( Regime filters, "Trades on chart", "Signal & Label" and "Quantity" have been omitted. "Strategy label plots" has been switched to true)
Other Strategy Rules:
If a new session (time session which is user defined) is true (blue vertical line) and the strategy is currently still in a trade it will exit that trade immediately.
It is possible to also set a range of percentage gain per day that the strategy will try to acquire, if at any point the strategy’s profit is within the percentage range then the position / trade will be exited immediately (This can be changed in the “PERCENT DAY GAIN” group for user inputs)
Stops and Targets:
The strategy has either static (fixed) or variable SL options. TP however is only static. The “STRAT TP & TP” group of user inputs is responsible for the SL and TP values (quoted in pips). Note once the ATR stop is set to true the SL values in the above group no longer have any affect on the SL as expected.
What are the Regime Filters:
The Larry Williams Large Trade Index (LWLTI): The Larry Williams Large Trade Index (LWTI) is a momentum-based technical indicator developed by iconic trader Larry Williams. It identifies potential entries and exits for trades by gauging market sentiment, particularly the buying and selling pressure from large market players. Here's a breakdown of the LWTI:
LWLTI components and their interpretation:
Oscillator: It oscillates between 0 and 100, with 50 acting as the neutral line.
Sentiment Meter: Values above 75 suggest a bearish market dominated by large selling, while readings below 25 indicate a bullish market with strong buying from large players.
Trend Confirmation: Crossing above 75 during an uptrend and below 25 during a downtrend confirms the trend's continuation.
The Andean Oscillator (AO) : The Andean Oscillator is a trend and momentum based indicator designed to measure the degree of variations within individual uptrends and downtrends in the prices.
Regime Filter States:
In trading, a regime filter is a tool used to identify the current state or "regime" of the market.
These Regime filters are integrated within the trading strategy to attempt to lower risk (equity volatility and/or draw down). The regime filters have different states for each market order type (buy and sell). When the regime filters are set to true, if these regime states fail to be true the trade is exited immediately.
For Buy Trades:
LWLTI positive momentum state: Quotient of the lagged trailing difference and the ATR > 50
AO positive momentum state: Bull line > Bear line (signal line is omitted)
For Sell Trades:
LWLTI negative momentum stat: Quotient of the lagged trailing difference and the ATR < 50
AO negative momentum state: Bull line < Bear line (signal line is omitted)
How does the Strategy Send Signals:
The strategy triggers a TV alert (you will neet to set a alert first), TV then sends a HTTP request to the automation software (PineConnecter) which receives the request and then communicates to an MT4/5 EA to automate the trading strategy.
For the strategy to send signals you must have the following
At least a TV essential subscription
This Script added to your chart
A PineConnecter account, which is paid and not free. This will provide you with the expert advisor that executes trades based on these strategies signals.
For more detailed information on the automation process I would recommend you read the PineConnecter documentation and FAQ page.
Dashboard:
This Dashboard (top right by defualt) lists some simple trading statistics and also shows when a trade is live.
Important Notice:
- USE THIS STRATEGY AT YOUR OWN RISK AND ALWAYS DO YOUR OWN RESEARCH & MANUAL BACKTESTING !
- THE STRATEGY WILL NOT EXHIBIT THE BACKTEST PERFORMANCE SEEN BELOW IN ALL MARKETS !
Custom % Breakout HighlightThe "Custom % Breakout Highlight" indicator in Pine Script is designed to visually identify candles that experience a significant percentage price change relative to a user-defined threshold. The primary goal of this indicator is to highlight candles that surpass a specified percentage breakout level, signaling potential price movements or shifts in market dynamics.
Parameters:
Percentage Breakout: Users can input a desired percentage value to define the threshold for identifying breakout candles. This parameter allows customization based on the trader's preference or the specific characteristics of the instrument being analyzed.
How it works:
The script calculates the percentage change in the closing price of each candle compared to the closing price of the previous candle.
It then checks whether the absolute value of this percentage change exceeds the user-defined percentage breakout threshold.
If the condition is met, the script highlights the corresponding candles by displaying a blue background in a new pane at the low of the breakout candle.
Interpretation:
Highlighted Candles: Candles with a background color indicate instances where the price change exceeds the defined percentage breakout level. Traders may interpret these highlighted candles as potential breakout or significant price movement signals.
Usage:
Traders and analysts can use this indicator to identify candles with notable price changes, helping them focus on potential breakout events or shifts in market sentiment.
By adjusting the "Percentage Breakout" parameter, users can customize the sensitivity of the indicator to match the volatility characteristics of different assets or trading preferences.
Note:
The indicator is designed for use on various timeframes and can be applied to different financial instruments.
It is important to consider other technical and fundamental analysis tools in conjunction with this indicator for comprehensive decision-making.
This indicator serves as a visual aid for traders seeking to highlight candles with significant percentage price movements, offering a customizable tool for breakout identification in financial markets.
Targets For Overlay Indicators [LuxAlgo]The Targets For Overlay Indicators is a useful utility tool able to display targets during crossings made between the price and external indicators on the user chart. Users can display a series of two targets, one for crossover events and another one for crossunder event.
Alerts are included for the occurrence of a new target as well as for reached targets.
🔶 USAGE
In order for targets to be displayed users need to select an appropriate input source from the "Source" drop-down input setting. In the example above we apply the indicator to a volatility stop.
This can also easily be done by adding the "Targets For Overlay Indicators" script on the VStop indicator directly.
Targets can help users determine the price limit where the price might start deviating from an indication given by one or multiple indicators. In the context of trading, targets can help secure profits/reduce losses of a trade, as such this tool can be useful to evaluate/determine user take profits/stop losses.
Due to these essentially being horizontal levels, they can also serve as potential support/resistances, with breakouts potentially confirming new trends.
Users might be interested in obtaining new targets once one is reached, this can be done by enabling "New Target When Reached" in the target logic setting section, resulting in more frequent targets.
Lastly, users can restrict new target creation until current ones are reached. This can result in fewer and longer-term targets, with a higher reach rate.
🔹 Examples
The indicator can be applied to many overlay indicators that naturally produce crosses with the price, such as moving average, trailing stops, bands...etc.
Users can use trailing stops such as the SuperTrend or VStop to more easily create clean targets. Do note that certain SuperTrend scripts separate the upper and lower extremities of the SuperTrend into two different plot, which cannot be used with this tool, you may use the provided SuperTrend script below to have a compatible version with our tool:
//@version=5
indicator("SuperTrend", overlay = true)
factor = input.float(3, 'Factor', minval = 0)
atrLen = input.int(10, 'ATR Length', minval = 1)
= ta.supertrend(factor, atrLen)
plot(spt, 'SuperTrend', dir != dir ? na : dir < 0 ? #089981 : #f23645, 2)
plot(spt, 'Circles', dir > dir ? #f23645 : dir < dir ? #089981 : na, 3, plot.style_circles)
Using moving averages can produce more targets than other overlay indicators.
Users can apply the tool twice when using bands or any overlay indicator returning two outputs, using crossover targets for obtaining targets using the upper band as source and crossunder targets for targets using the lower band. We can also use the Trendlines with breaks indicator as example:
🔹 Dashboard
A dashboard is displayed on the top right of the chart, displaying the amount, reach rate of targets 1/2, and total amount.
This dashboard can be useful to evaluate the selected target distances relative to the selected conditions, with a higher reach rate suggesting the distance of the targets from the price allows them to be reached.
🔶 SETTINGS
Source: Indicator source used to create targets. Targets are created when the closing price crosses the specified source.
Show Target Labels: Display target labels on the chart.
Candle Coloring: Apply candle coloring based on the most recent active target.
🔹 Target
Crossover and Crossunder targets use the same settings below:
Show Target: Determines if the target is displayed or not.
Above Price Target: If selected, will create targets above the closing price.
Wait Until Reached: When enabled will not create a new target until an existing one is reached.
New Target When Reached: Will create a new target when an existing one is reached.
Evaluate Wicks: Will use high/low prices to determine if a target is reached. Unselecting this setting will use the closing price.
Target Distance From Price: Controls the distance of a target from the price. Can be determined in currencies/points, percentages, ATR multiples, or ticks.
London BreakOut ClassicHey there, this is my first time publishing a strategy. The strategy is based on the London Breakout Idea, an incredibly popular concept with abundant information available online.
Let me summarize the London Breakout Strategy in a nutshell: It involves identifying key price levels based on the Tokyo Session before the London Session starts. Typically, these key levels are the high and low of the previous Tokyo session. If a breakout occurs during the London session, you simply follow the trend.
The purpose of this code
After conducting my research, I came across numerous posts, videos, and articles discussing the London Breakout Strategy. I aimed to automatically test it myself to verify whether the claims made by these so-called trading gurus are accurate or not. Consequently, I wrote this script to gain an understanding of how this strategy would perform if I were to follow its basic settings blindly.
Explanation of drawings on the chart:
Red or Green Box: A box is drawn on our chart displaying the exact range of the Tokyo trading session. This box is colored red if the trend during the session was downward and green if it was upward. The box is always drawn between the high and the low between 0:00 AM and 7:00 AM UTC. You can change the settings via the Inputs "Session time Tokyo" & "Session time zone".
Green Background: The green background represents the London trading session. My code allows us to make entries only during this time. If we haven't entered a trade, any pending orders are canceled. I've also programmed a timeout at 11 pm to ensure every trade is closed before the new Tokyo session begins.
Red Line: The red line is automatically placed in the middle of our previous Tokyo range. This line acts as our stop loss. If we cross this line after entering a trade but before reaching our take profit, we'll be stopped out.
When do we enter a trade?
We wait for a candle body to close outside of the previous Tokyo range to enter a trade with the opening of the next candle. We only enter one trade per day.
Where do we put our Take Profit?
The code calculates the exact distance between our entry point and the stop loss. We are trading a risk-reward ratio of 1:1 by default, meaning our take profit is always the same number of pips away from our entry as the stop loss. The Stop Loss is always defined by the red line on the chart. You can change the risk-reward ratio via the inputs setting "CRV", to see how the result changes.
What is the purpose of this script?
I wanted to backtest the London breakout strategy to see how it actually works. Therefore, I wrote this code so that everybody can test it for themselves. You can change the settings and see how the result changes. Typically, you should test this strategy on forex markets and on either 1Min, 5 Min, or 15 Min timeframe.
What are the results?
Over the last 3-6 months (over 100 trades), trading the strategy with my default settings hasn't proven to be very successful. Consequently, I do not recommend trading this strategy blindly. The purpose of this code is to provide you with a foundation for the London Breakout Strategy, allowing you to modify and enhance it according to your preferences. If you're contemplating whether to give it a try, you can assess the results from the past months by using this code as a starting point.