ICT Immediate Rebalance [LuxAlgo]The ICT Immediate Rebalance aims at detecting and highlighting immediate rebalances, a concept taught by Inner Circle Trader. The ICT Immediate Rebalance, although frequently overlooked, emerges as one of ICT's most influential concepts, particularly when considered within a specific context.
🔶 USAGE
Immediate rebalances, a concept taught by ICT, hold significant importance in decision-making. To comprehend the concept of immediate rebalance, it's essential to grasp the notion of the fair value gap. A fair value gap arises from market inefficiencies or imbalances, whereas an immediate rebalance leaves no gap, no inefficiencies, or no imbalances that the price would need to return to.
Following an immediate rebalance, the typical expectation is for two extension candles to ensue; failing this, the immediate rebalance is deemed unsuccessful. It's important to note that both failed and successful immediate rebalances hold significance in trading when analyzed within a contextual framework.
Immediate rebalances can manifest across various locations and timeframes. It's recommended to analyze them in conjunction with other ICT tools or technical indicators to gain a more comprehensive understanding of market dynamics.
🔹 Multi Timeframe
The script facilitates multi-timeframe analysis, enabling users to display immediate rebalances from higher timeframes.
Enabling the display of higher timeframe candles helps visualize the detected immediate rebalance patterns.
🔹 Dashboard
The dashboard offers statistical insights into immediate rebalances.
🔶 SETTINGS
🔹 Immediate Rebalances
Timeframe: this option is to identify immediate rebalances from higher timeframes. If a timeframe lower than the chart's timeframe is selected, calculations will be based on the chart's timeframe.
Bullish, and Bearish Immediate Rebalances: color customization options.
Wicks 75%, %50, and %25: color customization options of the wick price levels for the detected immediate rebalances.
Immediate Rebalance Candles: toggles the visualization of higher timeframe candles where immediate rebalance is detected.
Confirmation (Bars): specifies the number of bars required to confirm the validation of the detected immediate rebalance.
Immediate Rebalance Icon: allows customization of the size of the icon used to represent the immediate rebalance.
🔹 Dashboard
Dashboard: toggles the visualization of the dashboard, sets its location, and customizes the size of the dashboard.
🔶 RELATED SCRIPTS
Fair-Value-Gap
Thanks to our community for recommending this script. For more conceptual scripts and related content, we welcome you to explore by visiting >>> LuxAlgo-Scripts .
Chart patterns
FVG Breakaway/3rd Candle (Arjo) [MK]Simple script to identify FVGs (Fair Value Gaps) on the current chart timeframe. The script differs from other FVG indicators on the Tradingview platform by using Arjos 3rd candle rule to identify which gaps are 'Breakway Gaps' and which Gaps are likely to be returned to.
NOTE: As with all 'trading rules' this theory is not 100% accurate.
default settings:
Breakaway Gaps = YELLOW
Gaps that price may return to = GREEN
Mitigated Gaps = 100% TRANSPARENT
What is a FVG:
A FVG is a price area defined by a 3 candle pattern. For a bullish FVG, the low of the 3rd candle must be higher than the high of the 1st candle. This then leaves an area that is drawn as in the example below:
A bearish FVG is defined by the high of the 3rd candle being lower than the low of the 1st candle, as shown in the example below:
FVGs can act like magnets where price will either retrace to or reach for, therefore they can be used as entry points and also for take profit target levels.
If for example, a trader would like to use an FVG for an entry, it would be useful to know which FVGs are more likely for price to re-enter and which FVG will be left un-touched. FVGs that are likely to be left un-touched by price are called 'Breakaway Gaps'.
How do we define a 'Breakaway Gap':
First we identify FVGs using the rules stated above, then we look to see where the 3rd candle closed in relation to the 2nd candle. For a bullish 'Breakaway Gap' we want to see the 3rd candle close above the high of the 2nd candle. An example of a bullish Breakaway Gap is shown in the example below:
A bearish 'Breakaway Gap' is defined by the close of the 3rd candle being lower than the low of the 2nd candle. An example is shown below:
How do we define an FVG that price may return to:
Any gap that does not meet the above rules for a 'Breakway Gap' is therefore considered an FVG that price may return to. So for a bullish FVG that price may return to we would look to see if the close of the 3rd candle is above the high of the 2nd candle. If it is not above the high of the 2nd candle then it more likely that price will retrace into the FVG before continuing higher. An example is shown below:
A bearish gap that price may return to is defined by the close of the 3rd candle not being lower than the low of the 2nd candle. An example is shown below:
The indicator is based on the teachings of 'Arjo'. Note: breakaway gaps will only remain 'breakaway' until a liquidity level is reached. Breakaways therefore do not remain 'breakaway' forever. Users of the indicators must fully comprehend this theory before using the indicator with live markets.
Users of the script should be fully aware of this concept and also have conducted thorough backtesting using a large data set before using this indicator with live accounts.
Holding Zone Input Parameters
The script has three input parameters:
· length: an integer input with a default value of 20, likely used for calculating moving averages or other indicators.
· zoneSize: a decimal input with a default value of 1.5, likely used to define the size of the "holding zone".
· entryZone: an integer input with a default value of 50, likely used to define the entry point for the strategy.
Calculate Holding Zone
The script calculates two values:
· highs: the highest high over the last length bars.
· lows: the lowest low over the last length bars.
Then, it calculates the zoneHigh and zoneLow values by subtracting/adding a fraction of the difference between highs and lows from/to highs and lows, respectively. This creates a "holding zone" between zoneHigh and zoneLow.
Plot Holding Zone
Finally, the script plots two lines:
· zoneHigh with a blue color and a linewidth of 2.
· zoneLow with a blue color and a linewidth of 2.
________________________________________________________________
For the 15 min timeframe I use the parameters 10 for the length, 0.5 for the zone size and 20 for the entry zone. this makes it more sensitive to price
Profitable L 1800 Candle Highlight [Beta]
Certainly! Here's a user guide for the provided Pine Script code:
User Guide: 1800 Candle Highlight Indicator
Overview:
The "1800 Candle Highlight" indicator is designed to visually emphasize the 18:00 (6:00 PM) candle on the chart, providing clarity on its open and close prices, and highlighting its timeframe with a distinctive color.
Key Features:
Candle Highlighting: The indicator identifies the candle that opens at 18:00 and visually distinguishes it from other candles on the chart.
Open and Close Prices: The indicator plots the open and close prices of the 18:00 candle as step lines, making it easy to identify price movements during that timeframe.
Background Color: It colors the background within the 18:00 candle's timeframe with a transparent blue shade, providing further emphasis on that period.
Start Marker: A downward triangle shape marks the start of the 18:00 candle, aiding in identifying the beginning of the highlighted timeframe.
Usage:
Overlay: The indicator is designed to be overlaid on the price chart, allowing users to visualize the highlighted candle alongside price movements.
Interpretation: Traders can observe the open and close prices of the 18:00 candle relative to previous and subsequent candles, aiding in analysis and decision-making.
Timeframe Focus: The highlighted candle's timeframe can serve as a reference point for analyzing price action during specific hours, such as the end of a trading day.
Installation:
Access: Users can access the Pine Script editor within the TradingView platform to create a new indicator.
Copy and Paste: Copy the provided Pine Script code and paste it into the editor.
Save and Apply: Save the indicator and apply it to the desired chart, adjusting settings as needed.
Customization:
Color Scheme: Users can customize the colors used for highlighting, open/close prices, and background to suit their preferences and chart aesthetics.
Styling: Adjustments can be made to line styles, widths, and marker sizes to enhance visibility and clarity.
Compatibility:
The indicator is compatible with TradingView's Pine Script version 5 and can be applied to various financial instruments and timeframes supported by the platform.
Disclaimer:
The "1800 Candle Highlight" indicator is provided for informational purposes only and should not be considered as financial advice. Users are encouraged to conduct thorough analysis and consider multiple factors before making trading decisions.
Head and Shoulders PatternHello Traders!
The Head and Shoulders Pattern indicator utilizes a unique swing-based pattern recognition to pinpoint head and shoulders patterns in real-time with unparalleled precision.
The head and shoulders chart pattern is a technical analysis pattern used to identify potential trend reversals in financial markets. It consists of three swing highs (peaks), with the middle peak being the highest and the two outside swing highs being slightly lower. The middle peak is referred to as the "head" and the two outside peaks are referred to as the "shoulders."
The pattern typically forms after an uptrend and is in most cases a bearish signal. The neckline is a support level that connects the lows of the two shoulders. Once the price breaks below the neckline, the pattern is confirmed, and a new down trend starts. Conversely, an "inverse head and shoulders" pattern forms after a downtrend and is a bullish signal.
Feature List
Real-time pattern detection
Visualization of entry, stop-loss and take-profit levels
Pattern performance statistics
Calculation of risk-rewards ratio
Risk Management
Breakout alerts
Customizable pattern size and accuracy
Customizable look and feel
The value of this indicator is to support traders to easily identify the Head and Shoulders pattern in an automated way. The special swing-based pattern recognition and the numerous built-in premium features make this indicator unique. The trader saves a lot of time scanning the markets for head and shoulders patterns, since everything is done automatically for the trader: Finding the pattern, looking and alerting for a breakout, computing the entry, stop loss and take profit levels as well as handling the risk management and computing the optimal order quantity.
How to Trade with the TRN Head and Shoulders Indicator
Identify the Pattern
Add the Head and Shoulders Pattern Indicator to your chart and look for the pattern on the asset and timeframe of your choice. The pattern is detected in real-time. If the pattern develops further in the next bars, then the indicator updates the pattern accordingly until a breakout is confirmed or the pattern becomes invalid.
You can also use the built-in alerts to easily get notified when a pattern occurs. In the indicator settings in the "Alerts" section you can choose whether you want to get notified when a pattern is
1. in the making (Pattern active),
2. confirms an up breakout (B/O Up Confirmed)
3. confirms a down breakout (B/O Down Confirmed)
4. (Unconfirmed) in case a pattern breakout occurs, even if the pattern is not yet confirmed
This allows you to stay informed about potential breakout opportunities that are still awaiting confirmation.
Check Pattern Statistics
The pattern statistics make it easy for you to see how successful a pattern is on the asset and timeframe you are watching. You should always check the statistics before entering a trade. The chart displays the statistics in the upper right corner. These statistics are categorized into two sections: "long" for inverse head and shoulders patterns and "short" for head and shoulders patterns.
In the initial columns, labeled as "short" and "long", the identified breakouts are further divided based on whether the risk-reward ratio (R) is below a specified value (< x) or equal to/greater than the specified value (>= x). The following columns represent the count of the events:
1. Occ. (Occurrence) categorized according to the values of R from the first column
2. TP1, TP2, TP3 (Take Profit) - targets 1, 2 and 3
3. SL (Stop Loss)
4. T/O (Time Out) - neither stop loss or targets where hit in a certain amount of time
Breakout – Entry, Stop Loss and Targets
The indicator automatically displays the entry price line (EP) in grey at the point where the price breaks through the neckline, indicating a breakout. Once a breakout has been confirmed, place a buy order near the EP level for a long position, or a sell order for a short position. Set your stop-loss at the price level of the red stop-loss line (SL) and set your take-profits at the price level of the green take-profit-lines (TP1, TP2, TP3).
Risk Management
The Head and Shoulders Pattern Indicator comes with a built-in risk management feature. Just go to the settings and scroll down to the section "Risk Management". Here you can enter your Account Size and the percentage you want to Risk when you enter a position after a pattern breakout.
In the "Trade Management" section, you have the option to define the minimum accepted risk-reward ratio for confirmed rectangles. This means that breakouts of patterns failing to meet the minimum risk-reward ratio will not be considered as confirmed signals. If a breakout gets confirmed, the indicator automatically calculates the position size (Quantity). You can read the quantity from the gray entry point line (EP), which is located to the right of the risk-reward ratio (R). Note that your risk-reward ratio (R) is calculated based on TP1.
Customization and Settings
The indicator can scan for smaller and larger patterns at the same time. Adjust the Head and Shoulders Sizes in the indicator settings to align them with your preferences. A larger size results in larger patterns. Depending on the asset class, the market or the market phase, different sizes should be used for the Head and Shoulders pattern detection.
To detect more patterns, increase the tolerance level, even though it may result in lower accuracy. However, be mindful that a higher tolerance level may result in more patterns hitting their stop-loss. Look for a tolerance level that leads to favorable statistics and focus on trading patterns with a proven performance history.
Finally, you have the flexibility to customize various visual elements, such as the color of the pattern and whether to display values like price, target, or risk-reward ratio on your chart. You can also choose where these values appear.
Computation Details
The real-time detection of the Head and Shoulders Pattern Indicator utilizes a unique swing-based pattern recognition. The difference to other swing-based computations is that the pivot points are identified without a look-ahead value. The result is a faster and better real-time detection. Furthermore, the detection of the ratios between the single swings is based on a dynamic volatility measurement similar to the ATR. The tolerance level unites several internal parameters into one and results in a user-friendly setting.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
ICT [CASPER] Silver Bullet 2024.ENGLISH DESCRIPTION:
The "BOT SILVER BULLET 2024" indicator is a technical analysis tool tailored for active traders on the TradingView platform, combining market pattern study with quantitative trading intelligence. This sophisticated indicator overlays directly on the price chart and is designed to pinpoint and visualize critical liquidity zones, providing traders with a strategic edge in their decision-making process.
Its utility lies in identifying "Liquidity Zones," which are key areas where significant price movements are anticipated due to the accumulation or release of market orders. These zones are often levels where large market participants have placed unexecuted orders, which can lead to sharp and swift movements once those levels are reached. Foreseeing these points can be crucial for strategies aiming to capture volatility or find optimal entry and exit points.
The "BOT SILVER BULLET 2024" does not just focus on the present but also delivers historical analysis by identifying "Session Highs/Lows" and "Global Highs/Lows." These are the extreme points that have been reached during specific and broad timeframes, respectively. Knowing these levels can offer a deeper understanding of how the price has reacted in the past under certain market conditions, hinting at possible areas of support and resistance.
Furthermore, the indicator provides an in-depth analysis that delves beneath the surface. The "Analysis" function of this indicator scrutinizes price and volume patterns and correlates them with known market events, providing traders with a more informed perspective on the market's potential direction. This feature is invaluable for those looking to understand the underlying forces moving prices and how they might impact trading strategies.
To enhance usability and visual user experience, the "BOT SILVER BULLET 2024" allows users to "View Range Labels." This feature adds clear labels to price zones of particular interest, such as the aforementioned liquidity zones and historical highs and lows. These labels act as annotations that help traders keep track of significant developments without the need for constant manual analysis.
The indicator also highlights "Liquidity Grabs," moments when the price is anticipated to react significantly upon reaching levels previously identified with a high volume of pending orders. This information is pivotal for traders employing breakout or reversal strategies, as such price movements can provide profitable opportunities.
In summary, the "BOT SILVER BULLET 2024" indicator is a highly advanced tool and posits itself as one of the "most comprehensive market indicators." Its ability to provide an integrated view of the financial markets makes it indispensable for traders seeking to understand and anticipate price movements. Its amalgamation of historical data, alongside real-time visualization of market conditions, makes this tool not just comprehensive but also pertinent in today's dynamic trading environment. With its focus on liquidity and superior technical analysis, this indicator stands out as a true differentiator for serious traders looking to maximize their effectiveness in the financial markets.
DESCRIPCION EN ESPAÑOL:
El indicador "BOT SILVER BULLET 2024" es una herramienta de análisis técnico proyectada para operadores activos en la plataforma TradingView, con un diseño que fusiona el estudio de patrones de mercado y la inteligencia de trading cuantitativo. Este sofisticado indicador se integra directamente sobre el gráfico de precios y está diseñado para detectar y visualizar zonas críticas de liquidez, proporcionando a los operadores una ventaja estratégica en su toma de decisiones.
Su utilidad radica en la identificación de "Zonas de Liquidez", que son áreas clave donde se espera que ocurran movimientos significativos de precios debido a la acumulación o liberación de órdenes de mercado. Estas zonas son a menudo niveles donde los grandes participantes del mercado han colocado órdenes no ejecutadas, lo que puede dar lugar a movimientos rápidos y agudos una vez que se alcanzan esos niveles. La capacidad de prever estos puntos puede ser crucial para estrategias que buscan capturar volatilidad o encontrar puntos de entrada y salida óptimos.
El "BOT SILVER BULLET 2024" no sólo se enfoca en el presente, sino que también proporciona un análisis histórico mediante la identificación de "Altos/Bajos de Sesiones" y "Altos/Bajos Globales". Estos son los puntos extremos que han sido alcanzados durante períodos de tiempo específicos y generalizados, respectivamente. Conocer estos niveles puede ofrecer una comprensión más profunda de cómo el precio ha reaccionado en el pasado bajo ciertas condiciones de mercado, dando pistas sobre posibles áreas de soporte y resistencia.
Además, el indicador ofrece un análisis en profundidad que va más allá de la superficie. La función "Análisis" de este indicador examina patrones de precios y volúmenes, y los correlaciona con eventos de mercado conocidos, lo que proporciona a los traders una perspectiva más informada sobre la dirección potencial del mercado. Esta característica es invaluable para aquellos que buscan entender las fuerzas subyacentes que mueven los precios y cómo podrían afectar sus estrategias de trading.
Para mejorar la usabilidad y la experiencia visual del usuario, "BOT SILVER BULLET 2024" permite "Ver Etiquetas de Rangos". Esta función agrega etiquetas claras a las zonas de precio que son de particular interés, como las mencionadas zonas de liquidez, y los altos y bajos históricos. Estas etiquetas son una forma de anotación que ayuda a los operadores a mantenerse al tanto de los desarrollos significativos sin la necesidad de realizar un análisis manual constante.
El indicador también resalta las "Tomas de Liquidez", que son momentos en los que se espera que el precio reaccione de manera significativa al alcanzar niveles previamente identificados con un alto volumen de órdenes pendientes. Esta información es crucial para los traders que aplican estrategias de breakout o de reversión, ya que tales movimientos de precios pueden proporcionar oportunidades rentables.
Para resumir, el "BOT SILVER BULLET 2024" es un indicador altamente avanzado y se postula como uno de los "indicadores más completos del mercado". Su capacidad para proporcionar una vista integral de los mercados financieros lo hace indispensable para los traders que buscan comprender y anticipar movimientos de precios. Su integración de datos históricos, junto con la visualización en tiempo real de condiciones de mercado, hace que esta herramienta no solo sea completa sino también relevante en el dinámico entorno de trading actual. Con su enfoque en la liquidez y su análisis técnico superior, este indicador es un verdadero diferenciador para los traders serios que buscan maximizar su eficacia en los mercados financieros.
Harmonic Patterns SuiteHello Traders!
This indicator takes the time-consuming search for harmonic patterns completely off your hands. TRN Harmonics utilizes a unique swing-based pattern recognition to pinpoint 14 different harmonic patterns in real-time with unparalleled precision.
Pattern List (each pattern has a bullish and a bearish version)
Gartley
Bat
Butterfly
Crab
Cypher
Shark
5-0
Feature List
Real-time harmonic pattern detection
7 different built-in breakout conditions
Visualization of entry, stop-loss and take-profit levels
Pattern performance statistics
Calculation of risk-rewards ratio
Risk Management
Breakout alerts
Customizable pattern size and accuracy
Customizable look and feel
The value of this indicator is to support traders to easily identify harmonic patterns in an automated way. The special swing-based pattern recognition and the numerous built-in premium features make this indicator unique. The trader saves a lot of time scanning the markets for harmonic patterns, since everything is done automatically for the trader: Finding the pattern, looking and alerting for a breakout, computing the entry, stop loss and take profit levels as well as handling the risk management and computing the optimal order quantity.
How to Trade with the Harmonic Patterns Suite
Identify the Pattern
Add the Harmonic Patterns Suite to your chart and look for patterns on the asset and timeframe of your choice. The patterns are detected in real-time. If a pattern develops further in the next bars, then the indicator updates the pattern accordingly until a breakout is confirmed or the pattern becomes invalid.
You can also use the built-in alerts to easily get notified when a pattern occurs. In the indicator settings in the "Alerts" section you can choose whether you want to get notified when a pattern is
1. in the making (Pattern active),
2. confirms an up breakout (B/O Up Confirmed)
3. confirms a down breakout (B/O Down Confirmed)
4. (Unconfirmed) in case a pattern breakout occurs, even if the pattern is not yet confirmed
This allows you to stay informed about potential breakout opportunities that are still awaiting confirmation.
Check Pattern Statistics
The pattern statistics make it easy for you to see how successful a pattern is on the asset and timeframe you are watching. You should always check the statistics before entering a trade. The chart displays the statistics in the upper right corner. These statistics are categorized into two sections: "long" for patterns with an upward breakout and "short" for patterns with a downward breakout.
In the initial columns, labeled as "short" and "long", the identified breakouts are further divided based on the different harmonic patterns. The following columns represent the count of the events:
1. Occ. (Occurrence) categorized according to the values of R from the first column
2. TP1, TP2 (Take Profit) - targets 1 und 2
3. SL (Stop Loss)
4. T/O (Time Out) - neither stop loss or targets where hit in a certain amount of time
Breakout – Entry, Stop Loss and Targets
The indicator automatically displays the entry price line (EP) in grey at the point where the breakout got detected. Once a breakout has been confirmed, place a buy order near the EP level for a long position, or a sell order for a short position. Set your stop-loss at the price level of the red stop-loss line (SL) and set your take-profits at the price level of the green take-profit-lines (TP1, TP2).
Risk Management
The Harmonic Patterns Suite comes with a built-in risk management feature. Just go to the settings and scroll down to the section "Risk Management". Here you can enter your Account Size and the percentage you want to Risk when you enter a position after a pattern breakout.
In the "Trade Management" section, you have the option to define the minimum accepted risk-reward ratio for confirmed harmonic patterns. This means that breakouts of patterns failing to meet the minimum risk-reward ratio will not be considered as confirmed signals. If a breakout gets confirmed, the indicator automatically calculates the position size (Quantity). You can read the quantity from the gray entry point line (EP), which is located to the right of the risk-reward ratio (R). Note that your risk-reward ratio (R) is calculated based on TP1.
Customization and settings
The indicator can scan for smaller and larger patterns at the same time. Adjust the harmonics size in the indicator settings to align them with your preferences. A larger size results in larger consolidations. Depending on the asset class, the market or the market phase, different sizes can be used for pattern detection.
To detect more patterns, increase the tolerance level, even though it may result in lower accuracy. However, be mindful that a higher tolerance level may result in more patterns hitting their stop-loss. Look for a tolerance level that leads to favorable statistics and focus on trading patterns with a proven performance history.
Finally, you have the flexibility to customize various visual elements, such as the color of the pattern and whether to display values like price, target, or risk-reward ratio on your chart. You can also choose where these values appear.
Breakout Conditions
Identifying breakout conditions is paramount for successfully recognizing and capitalizing on chart patterns. Trading tools equipped with diverse breakout conditions offer traders a comprehensive approach to deciphering market trends and making informed decisions.
This section delves into the set of breakout conditions built within TRN Harmonics, exploring their functionalities, applications, and the benefits they provide in the realm of chart pattern recognition.
TRN Bars Signal + Trend
The Harmonics Pattern Suite includes also the TRN Bars algorithm. It is designed to spot bullish and bearish trends and reversals. The trend analysis is based on a new algorithm that weights several different inputs:
1. classical and advanced bar patterns and their statistical frequency
2. probability distributions of price expansions after certain bar patterns
3. bar information such as wick length in %, overlapping of the previous bar in % and many more
4. historical trend and consolidation analysis
If you use this breakout condition, the breakout is determined by the next signal (reversal, continuation, breakout) or trend change of the TRN bars after one of the harmonic patterns has been completed. These Breakout conditions give you the accurate trend recognition of the TRN Bars to find the perfect entry.
TRN Bars Signal
If a harmonic pattern gets completed and you use this breakout condition, the breakout will be determined by the next confirmed signal (reversal, continuation, breakout) of the TRN Bars. These Breakout Condition delivers signals with reenforced reliability, but they occur not as often as other breakout conditions.
RSI Crossing
With this breakout condition, a breakout for a long position gets determined, when the RSI line crosses above the RSI moving average (MA) after one of the harmonic patterns has been completed. A bearish breakout after a completed harmonic pattern gets determined, when the RSI line crosses below the RSI MA.
You can choose your preferred RSI and MA length in the indicator settings under the “Trade Management” section.
MACD Crossing
If a harmonic pattern gets completed and you use this breakout condition, the breakout gets determined, when the MACD line crosses above the signal line (bullish MACD crossover) for a bullish breakout. Conversely, when the MACD line crosses below the signal line (bearish MACD crossover), a bearish breakout gets determined after a harmonic pattern was completed.
You can choose your preferred MACD length in the indicator settings under the “Trade Management” section.
Swing Flip
Use this breakout condition, if you want a breakout to get determined when the next swing after point D gets detected by the build in swing detection algorithm of TRN Harmonics.
Close Below/Above Last 2 Lows/Highs
With this breakout condition, a breakout for a short position gets determined, if a close below the lows of the last 2 bars gets detected. For a long position, the breakout gets determined if a close above the highs of the last 2 bars gets detected.
Close Below/Above Last 3 Lows/Highs
In this scenario, a short position breakout is confirmed if the price closes below the lows of the previous 3 bars. Conversely, a long position breakout is confirmed if the price closes above the highs of the last 3 bars.
How To Setup Breakout Conditions
Go to indicator settings and choose one of our built-in breakout conditions under the section "Trade Management" of the menu item "Inputs", like for example TRN Bars Signal + Trend. A selection of 7 distinct breakout conditions is at your disposal.
If you use the default settings of the Harmonic Patterns Suite, TRN Bars Signal + Trend will be the breakout condition for the detected harmonic patterns.
Computation Details
The real-time detection of the harmonic patterns utilizes a unique swing-based pattern recognition. The difference to other swing-based computations is that the pivot points are identified without a look-ahead value. The result is a faster and better real-time detection. Furthermore, the detection of the ratios between the single swings is based on a dynamic volatility measurement similar to the ATR. The tolerance level unites several internal parameters into one and results in a user-friendly setting.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Joesax Red to Green with Alert V2 Candle IndicatorThis indicator displays transitions of candles from red to green and from green to red on a chart, with the ability to set an adjustable percentage threshold. When a candle transitions from red to green and the percentage change exceeds the specified threshold, a red to green transition signal is issued. Similarly, when a candle transitions from green to red and the percentage change exceeds the specified threshold, a green to red transition signal is issued.
Parameters:
Percentage threshold %: Allows you to set the percentage threshold to determine when to consider the transition from one candle to another significant.
Description:
This indicator uses the absolute percentage change between the opening price and the closing price of a candle to determine whether the candle is red or green. When a candle transitions from red to green and the percentage change exceeds the set threshold, a red to green transition signal is issued. Similarly, when a candle transitions from green to red and the percentage change exceeds the set threshold, a green to red transition signal is issued. Alerts are triggered when such transitions occur.
This indicator helps traders identify significant directional changes on the chart, enabling them to make informed decisions during financial market analysis.
CUSUM Peaks & Troughs with DriftThis script implements an Improved CUSUM (Cumulative Sum) Peaks & Troughs with Drift indicator. Here's a breakdown of how it works:
Input Parameters:
cusumThreshold: Threshold value for detecting peaks and troughs.
cusumDrift: Drift value used to adjust the CUSUM calculation.
movingAverageLength: Length of the moving average used as a reference for deviation calculation.
Moving Average Calculation:
Calculates the simple moving average (SMA) of the closing prices over a specified length.
Price Deviation Calculation:
Computes the deviation of the closing price from the moving average.
CUSUM Calculation with Drift:
Utilises cumulative sum (CUSUM) calculations with drift adjustment.
Tracks positive and negative deviations from the moving average, considering the specified drift value.
Peak and Trough Detection:
Detects peaks and troughs based on the predefined thresholds (cusumThreshold).
Resets the CUSUM values when peaks or troughs are detected.
Plotting:
Plots shapes (triangles) above the bars for peaks and below the bars for troughs.
Optionally, you can uncomment the lines to visualise the CUSUM values and the zero line for reference.
This indicator helps identify potential turning points or reversals in the price action by detecting peaks (high points) and troughs (low points) in the cumulative sum of price deviations from the moving average, considering drift to adapt to underlying trends in the data.
Consolidation and Range PatternHello Traders!
The TRN Consolidation and Range Pattern indicator utilizes a unique swing-based pattern recognition to pinpoint consolidation zones in real-time with unparalleled precision. The rectangle pattern, also known as a trading range or a consolidation pattern, is characterized by horizontal lines that act as support and resistance levels, creating a rectangular shape.
The value of this indicator is to support traders to easily identify consolidations and ranges. The special swing-based pattern recognition and the numerous built-in premium features make this indicator unique. Below, you'll find a list of these features.
Feature List
Real-time consolidation/range detection
Visualization of entry, stop-loss and take-profit levels
Pattern performance statistics
Calculation of risk rewards ratio
Risk Management
Breakout alerts
Customizable pattern size and accuracy
Customizable look and feel
The trader saves a lot of time scanning the markets for consolidation patterns, since everything is done automatically for the trader: Finding the consolidation, looking and alerting for a breakout, computing the entry, stop loss and take profit levels as well as handling the risk management and computing the optimal order quantity. Now, we describe how a combination of these features enhances the trading performance of confirmed consolidation patterns.
How to Trade with the TRN Consolidation and Range Pattern
Identify the Pattern
Add the TRN Consolidation and Range Pattern to your chart and look for the pattern on the asset and timeframe of your choice. The pattern is detected in real-time. If the pattern develops further in the next bars, then the indicator updates the consolidation zone until a breakout is confirmed.
You can also use the built-in alerts to easily get notified when a pattern occurs. In the indicator settings in the "Alerts" section you can choose whether you want to get notified when a pattern is in the making (Pattern active), confirms a breakout to the upside (B/O Up Confirmed) or confirms a breakout to the downside (B/O Down Confirmed). By selecting the "Unconfirmed" option, you will receive notifications when a pattern breakout occurs, even if it is not yet confirmed. This allows you to stay informed about potential breakout opportunities that are still awaiting confirmation.
Check Pattern Statistics
The pattern statistics make it easy for you to see how successful a pattern is on the asset and timeframe you are watching. You should always check them out before entering a trade. The chart displays the statistics in the upper right corner. These statistics are categorized into two sections: "long" for patterns with an upward breakout and "short" for patterns with a downward breakout.
In the initial columns, labeled as "short" and "long", the identified breakouts are further divided based on whether the risk-reward ratio (R) is below a specified value (< x) or equal to/greater than the specified value (>= x). The following columns represent the count of the events:
1. Occ. (Occurrence) categorized according to the values of R from the first column
2. TP1, TP2, TP3 (Take Profit) - targets 1, 2 and 3
3. SL (Stop Loss)
4. T/O (Time Out) - neither stop loss or targets where hit in a certain amount of time
Breakout – Entry, Stop Loss and Targets
The indicator automatically displays the entry price line (EP) in grey et the point where the price breaks through the resistance or support levels, indicating that the consolidation period is over. Once a breakout has been confirmed, place a buy order near the EP level for a long position, or a sell order for a short position. Set your stop-loss at the price level of the red stop-loss line (SL) and set your take-profits at the price level of the green take-profit-lines (TP1, TP2, TP3). Note that your risk-reward ratio (R) was calculated based on TP1.
Risk Management
The TRN Consolidation and Range Pattern comes with a built-in risk management feature. Just go to the settings and scroll down to the section "Risk Management".
Here you can enter your Account Size and the percentage you want to Risk when you enter a position after a pattern breakout.
In the "Trade Management" section, you have the option to define the minimum accepted risk-reward ratio for confirmed rectangles. This means that breakouts of patterns failing to meet the minimum risk-reward ratio will not be considered as confirmed signals.
If a breakout gets confirmed, the indicator automatically calculates the position size (Quantity). You can read the quantity from the gray entry point line (EP), which is located to the right of the risk-reward ratio (R).
Customization and Settings
The indicator can scan for smaller and larger patterns at the same time. Adjust the consolidation sizes in the indicator settings to align them with your preferences. A larger size results in larger consolidations. Depending on the asset class, the market or the market phase, different sizes can be used for the consolidation detection.
To detect more patterns, increase the tolerance level, even though it may result in lower accuracy. However, be mindful that a higher tolerance level may result in more patterns hitting their stop-loss. Look for a tolerance level that leads to favorable statistics and focus on trading patterns with a proven performance history.
Finally, you have the flexibility to customize various visual elements, such as the color of the pattern and whether to display values like price, target, or risk-reward ratio on your chart. You can also choose where these values appear.
Computation Details
The real-time detection of the consolidations and ranges utilizes a unique swing-based pattern recognition. The difference to other swing-based computations is that the pivot points are identified without a look-ahead value. The result is a faster and better real-time detection. Furthermore, the detection of equal lows or highs which form a support or resistance level is based on a dynamic volatility measurement similar to the ATR. The tolerance level unites several internal parameters into one and results in a user-friendly setting.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Inside Bar + Bullish and Bearish candlestick [Tarun]
Inside Bar Detection:
The function isInsideBar() checks if a bar is an inside bar, meaning its high is lower than the previous bar's high and its low is higher than the previous bar's low.
Inside bars are highlighted with an orange color.
Bearish Candlestick Patterns:
Bearish Engulfing: When the current candlestick's body completely engulfs the previous candlestick's body.
Dark Cloud Cover: When a bullish candle is followed by a bearish candle that opens above the previous bullish candle's close but closes below its midpoint.
Bearish Harami: When a small bullish candlestick is engulfed by a larger bearish candlestick.
Evening Star: A three-candle pattern consisting of a large bullish candle, a small-bodied candle with a gap up or down, and a large bearish candle that closes below the midpoint of the first candle.
Shooting Star: A single candlestick pattern with a small real body near the bottom of the price range and a long upper shadow.
Bearish Marubozu: A candlestick with a long bearish body and little to no upper or lower shadows.
Bearish candlestick patterns are highlighted with a red color and labeled with abbreviated names.
Bullish Candlestick Patterns:
Bullish Engulfing: Opposite of bearish engulfing, where the current candlestick's body completely engulfs the previous candlestick's body.
Piercing Pattern: When a bearish candle is followed by a bullish candle that opens below the previous bearish candle's low but closes above its midpoint.
Bullish Harami: Similar to bearish harami but bullish, where a small bearish candlestick is engulfed by a larger bullish candlestick.
Morning Star: A three-candle pattern opposite to the evening star, signaling a potential reversal from downtrend to uptrend.
Bullish Hammer: A single candlestick pattern with a small real body near the top of the price range and a long lower shadow.
Bullish Marubozu: A candlestick with a long bullish body and little to no upper or lower shadows.
Bullish candlestick patterns are highlighted with a purple color and labeled with abbreviated names.
Mxwll Price Action Suite [Mxwll]Introducing the Mxwll Price Action Suite!
The Mxwll Price Action Suite is an all-in-one analysis indicator incorporating elements of SMC and also ideas extending beyond the trading methodology!
Features
Internal structures
External structures
Customizable Sensitivities
BoS/CHoCH
Order Blocks
HH/LH/LL/LH Areas
Rolling TF highs/lows
Rolling Volume Comparisons
Auto Fibs
And more!
The image above shows the indicator's market structure identification capabilities. Internal BoS and CHoCH structures in addition to overarching market structures are available with customizable sensitivities.
The image above shows the indicator identifying order blocks! Additionally, HH/LH/LL/LH areas are also identified.
The image above shows a rolling area of interest. These areas can be compared to supply/demand zones, where traders might consider a bargain long/short/sell area.
The indicator displays a rolling 4hr high/low and 1D high/low, alongside auto fibonacci levels with a customizable sensitivity.
Finally, the Mxwll Price Action Suite shows relevant session information.
Table information
Current Session
Countdown to session close
Next Session
Countdown to next session open
Rolling 4-Hr volume intensity
Rolling 24-Hr volume intensity
Introducing the Mxwll SMC Suite!
The Mxwll SMC Suite is an all-in-one analysis indicator incorporating elements of SMC and also ideas extending beyond the trading methodology!
Features
Internal structures
External structures
Customizable Sensitivities
BoS/CHoCH
Order Blocks
HH/LH/LL/LH Areas
Rolling TF highs/lows
Rolling Volume Comparisons
Auto Fibs
And more!
The image above shows the indicator's market structure identification capabilities. Internal BoS and CHoCH structures in addition to overarching market structures are available with customizable sensitivities.
The image above shows the indicator identifying order blocks! Additionally, HH/LH/LL/LH areas are also identified.
The image above shows a rolling area of interest. These areas can be compared to supply/demand zones, where traders might consider a bargain long/short/sell area.
The indicator displays a rolling 4hr high/low and 1D high/low, alongside auto fibonacci levels with a customizable sensitivity.
Finally, the Mxwll Price Action Suite shows relevant session information.
Table information
Current Session
Countdown to session close
Next Session
Countdown to next session open
Rolling 4-Hr volume intensity
Rolling 24-Hr volume intensity
Expanded Features of Mxwll Price Action Suite
Internal and External Structures
Internal Structures: These elements refer to the price formations and patterns that occur within a smaller scope or a specific trading session. The suite can detect intricate details like minor support/resistance levels or short-term trend reversals.
External Structures: These involve larger, more significant market patterns and trends spanning multiple sessions or time frames. This capability helps traders understand overarching market directions.
Customizable Sensitivities
Adjusting sensitivity settings allows users to tailor the indicator's responsiveness to market changes. Higher sensitivity can catch smaller fluctuations, while lower sensitivity might focus on more significant, reliable market moves.
Break of Structure (BoS) and Change of Character (CHoCH)
BoS: This feature identifies points where the price breaks a significant structure, potentially indicating a new trend or a trend reversal.
CHoCH: Detects subtle shifts in the market's behavior, which could suggest the early stages of a trend change before they become apparent to the broader market.
Order Blocks and Market Phases
Order Blocks: These are essentially price levels or zones where significant trading activities previously occurred, likely pointing to the positions of smart money.
HH/LH/LL/LH Areas: Identifying Higher Highs (HH), Lower Highs (LH), Lower Lows (LL), and Lower Highs (LH) helps in understanding the trend and market structure, aiding in predictive analysis.
Rolling Timeframe Highs/Lows and Volume Comparisons
Tracks highs and lows over specified rolling periods, providing dynamic support and resistance levels.
Compares volume data across different timeframes to assess the strength or weakness of the current price movements.
Auto Fibonacci Levels
Automatically calculates and plots Fibonacci retracement levels, a popular tool among traders to identify potential reversal points based on past movements.
Session Data and Volume Intensity
Session Information: Displays current and upcoming trading sessions along with countdown timers, which is crucial for day traders and those trading on session overlaps.
Volume Intensity: Measures and compares the volume within the last 4 hours and 24 hours to gauge market activity and potential breakout/breakdown movements.
Visualizations and Practical Use
Dynamic Visuals: The suite provides dynamic visual aids, such as real-time updating of high/low markers and Fibonacci levels, which adjust as new data comes in. This feature is critical in fast-paced markets.
Strategic Entry/Exit Points: By identifying order blocks and using Fibonacci levels, traders can pinpoint strategic entry and exit points, maximizing potential returns.
Risk Management: Enhanced features like session countdowns and volume intensity help in better risk management by providing traders with more data on market sentiment and potential volatility.
Phang Phập TrungTuTi 14EMAs
EMAs are typically used to give a view of bullish / bearish momentum. When the shorter EMA (calculated off more recent price action) crosses, or is above, the slower moving EMA (calculated off a longer period of price action), it suggests that the market is in an uptrend. This can be an indication to either go long on said asset, or that it is more preferable to take long setups over short setups. Invalidation on long setups is usually found via price action (e.g. previous lows) or simply waiting for an EMA cross in the opposite direction (i.e. shorter EMA crosses under longer term EMA).
This is not a perfect system for trade entry or exit, but it does give a good indication of market trends. The settings for the EMAs can be changed based on user inputs, and by default the candles are coloured based on the crosses to make it more visual
RSI
Stochastic RSI is a separate indicator that has been added to this script. RSI measures Relative Strength (RSI = Relative Strength Index). When RSI is <20 it is considered oversold, and when >80 it is overbought. These conditions suggests that momentum is very strong in the direction of the trend
Bilson Gann CountGann counting is a method for identifying swing points,trends, and overall market structure. It simplifies price action by drawing short trend lines that summarize moves.
There's essentially 4 types of bar/candle.
Up bar - Higher high and higher low than previous bar
Down bar - Lower high and lower low than previous bar
Inside bar - Lower high and higher low than previous bar
Outside bar - Higher high and lower low than previous bar
We use these determinations to decide how the trendline moves through the candles.
Up bars we join to the high, down bars we join to the low, inside bars are ignored.
There are other indicators that already exist which do this, the difference here is how we handle outside bars.
Other gann counting methods skip outside bars, this method determines how to handle the outside bar after the outside bar is broken.
examples
UP -> OUTSIDE -> UP = Outside bar treated as swing low
UP -> OUTSIDE -> DOWN = Outside bar treated as swing high
DOWN -> OUTSIDE -> UP = Outside bar treated as swing low
DOWN -> OUTSIDE -> DOWN = Outside bar treated as swing high
Volume NThe Volume Indicator provides a visual representation of trading volume, expressed in U.S. dollars, directly on your chart. It multiplies each candle's closing price by its volume to compute the volume in dollar terms, offering a clearer perspective on market activity relative to price movements.
Features:
Volume Calculation: The indicator calculates the volume in dollar terms by multiplying the closing price by the trading volume of each bar.
Color Coding: Bars are colored to highlight significant trading activity. Standard bars are displayed in blue, whereas bars representing the highest trading volume over the latest 10-bar period are colored red.
Dynamic Labels: Red bars, indicating peak volume within the specified period, feature dynamically positioned labels that display the dollar amount, formatted to three significant figures. Labels are appended with "M" for millions or "B" for billions as appropriate, followed by a dollar sign to denote currency.
Automatic Label Adjustment: To avoid label overlap and maintain chart clarity, labels adjust their vertical positioning automatically based on proximity to other labels.
Usage:
This indicator is particularly useful for traders who wish to assess the strength of price movements in conjunction with volume. By quantifying volume in dollar terms, it provides a more standardized measure of trading intensity, which can be beneficial for making informed trading decisions in both high and low volatility environments.
Symbol CorrelationThe "Symbol Correlation" indicator calculates and displays the correlation between the chosen symbol's price and another selected source over a specified period. It also includes a moving average (SMA) of this correlation to provide a smoothed view of the relationship.
Why SMA and Table Display ?
The inclusion of SMA (Simple Moving Average) with adjustable length (SMA Length) enhances the indicator's utility by smoothing out short-term fluctuations in correlation, allowing for clearer trend identification. The SMA helps to visualize the underlying trend in correlation, making it easier to spot changes and patterns over time.
The table display of the correlation SMA value offers a concise summary of this trend. By showcasing the current correlation SMA alongside its historical values, traders can quickly gauge the relationship's strength relative to previous periods.
Interpreting the Indicator:
1. Correlation Values: The primary plot shows the raw correlation values between the symbol's price and the specified source. A value of 1 indicates a perfect positive correlation, -1 signifies a perfect negative correlation, and 0 suggests no linear relationship.
2. Correlation SMA: The SMA line represents the average correlation over a defined period (SMA Length). Rising SMA values indicate strengthening correlation trends, while declining values suggest weakening correlations.
3. Choosing SMA Length: Traders can adjust the SMA Length parameter to tailor the moving average to their specific analysis horizon. Shorter SMA lengths react quickly to price changes but may be more volatile, while longer SMA lengths smooth out noise but respond slower to recent changes.
In summary, the "Symbol Correlation" indicator is a valuable tool for assessing the evolving relationship between a symbol's price and an external source. Its use of SMA and tabular presentation facilitates a nuanced understanding of correlation trends, aiding traders in making informed decisions based on market dynamics.
Three Thumbs IndicatorChecks following on daily chart:
current close above previous year close
5th close above previous year close
current close above SMA200
RSI and ATR Trend Reversal SL/TPQuick History:
I was frustrated with a standard fixed percent TP/SL as they often were not receptive to quick market rallies/reversals. I developed this TP/SL and eventually made it into a full fledge strategy and found it did well enough to publish. This strategy can be used as a standalone or tacked onto another strategy as a TP/SL. It does function as both with a single line. This strategy has been tested with TSLA , AAPL, NVDA, on the 15 minutes timeframe.
HOW IT WORKS:
Inputs:
Length: Simple enough, it determines the length of the RSI and ATR used.
Multiplier: This multiplies the RSI and ATR calculation, more on this later.
Delay to prevent Idealization: TradingView will use the open of the bar the strategy triggers on when calculating the backtest. This can produce unrealistic results depending on the source. If your source is open, set to 0, if anything else, set to 1.
Minimum Difference: This is essentially a traditional SL/TP, it is borderline unnecessary, but if the other parameters are wacky this can be used to ensure the SL/TP. It multiplies the source by the percent, so if it is set to 10, the SL/TP is initialized at src +- 10%.
Source input: Self Explanatory, be sure to update the Delay if you use open.
CALCULATION:
Parameters Initialization:
The strategy uses Heikinashi values for calculations, this is not toggleable in parameters, but can be easily changed by changing hclose to equal src.
FUNCTION INITIALIZATION:
highest_custom and lowest_custom do the same thing as ta.highest and ta.lowest, however the built in ta library does not allow for var int input, so I had to create my own functions to be used here. I actually developed these years ago and have used them in almost every strategy since. Feel especially free to use these in your own scripts.
The rsilev is where the magic happens.
SL/TP min/max are initially calculated to be used later.
Then we begin by establishing variables.
BullGuy is used to determine the length since the last crossup or crossdown, until one happens, it returns na, breaking the function. BearGuy is used in all the calculations, and is the same as BullGuy, unless BullGuy is na, where BearGuy counts up from 1 on each bar from 0.
We create our rsi and have to modify the second one to suit the function. In the case of the upper band, we mirror the lower one. So if the RSI is 80, we want it to be 20 on the upper band.
the upper band and lower band are calculated the exact same way, but mirrored. For the purpose of writing, I'm going to talk about the lower band. Assume everything is mirrored for the upper one. It finds the highest source since the last crossup or crossdown. It then multiplies from 1 / the RSI, this means that a rapid RSI increase will increase the band dramatically, so it is able to capture quick rally/reversals. We add this to the atr to source ratio, as the general volatility is a massive factor to be included. We then multiply this number by our chosen amount, and subtract it from the highest source, creating the band.
We do this same process but mirrored with both bands and compared it to the source. If the source is above the lower band, it suggests an uptrend, so the lower band is outputted, and vice versa for the upper one.
PLOTTING:
We also determine the line color in the same manner as we do the trend direction.
STRATEGY:
We then use the source again, and if it crosses up or down relative to the selected band, we enter a long or short respectively.
This may not be the most superb independent strategy, but it can be very useful as a TP/SL for your chosen entry conditions, especially in volatile markets or tickers.
Thank you for taking the time to read, and please enjoy.
STRATEGY 7 CERBERO STUDY [ SCRIPTS INVERSIONES ]USE:
ADXCONFIG:
Purpose: Select the range for the strength required in the ADX for our alert condition. This setting allows traders to define the threshold at which the ADX indicates sufficient market momentum for trading decisions.
USETRENDLOGIC:
Function: Utilizes the trend EMA to make long entries when the price is above and short entries when it is below the EMA. This provides a simple, clear rule based on the relative position of the price to the EMA, facilitating trend-following strategies.
SELECT A VALUE FOR EMA:
Description: Choose the range for the EMA, and the alert conditions will be applied depending on whether the price is above or below when USETRENDLOGIC is activated. This allows for flexibility in setting the sensitivity of the EMA to price movements.
ACTIVATE/DEACTIVATE EMA 35 AND EMA 50:
Usage: These EMAs are used to determine the trend in shorter periods of time, providing traders with quick insights into market dynamics and potential trend shifts.
LOGIC 1:
ENABLE/DEACTIVATE STRATEGY 1/1:
Conditions: If the 1/1 strategy is activated, it will use the following setup:
Volume entry + EMA condition + BREAK
ADX > ADXCONF
DMI+/DMI- higher depending on the trend
Explanation: This strategy combines volume analysis with EMA and trend indicators to identify strong, actionable trading signals.
This image shows its use.
LOGIC 2:
ENABLE/DEACTIVATE STRATEGY 1/2:
Conditions: If the 1/2 strategy is activated, it utilizes:
Volume entry + EMA condition + BREAK
Purpose: Focuses on significant breaks in EMA levels with accompanying high volume, suggesting a strong momentum-backed entry point.
This image shows its use.
LOGIC 3:
ENABLE/DEACTIVATE STRATEGY 1/3:
Conditions: If the 1/3 strategy is activated, it involves:
Volume entry + EMA condition
RSI
ADX > ADXCONF and DMI+/DMI- higher depending on the trend
Utility: Combines volume, EMA, and RSI indicators with ADX strength to filter entries during extreme market conditions, enhancing the probability of capturing significant moves.
This image shows its use.
LOGIC 4:
ENABLE/DEACTIVATE STRATEGY 1/4:
Conditions: If the 1/4 strategy is activated, it incorporates:
Volume entry + EMA condition
RSI ABOVE/BELOW your EMA
Application: This strategy uses RSI levels in relation to an EMA to fine-tune entry points, helping to confirm momentum before entering trades.
This image shows its use.
LOGIC 5:
ENABLE/DEACTIVATE STRATEGY 1/5:
Conditions: If the 1/5 strategy is activated, it utilizes:
Volume entry + EMA condition
Function: A straightforward strategy that uses volume and EMA conditions to identify primary entry points, focusing on the basic elements of trend and momentum.
This image shows its use.
POI LOGIC (Point of Interest)
Activate/Deactivate 2/1 POI Strategy
When the 2/1 POI strategy is activated, it employs the following conditions to determine market entries:
Volume Entry + EMA Condition + POI TOUCHED + ADX > ADXCONF and DMI+/DMI- higher depending on the trend:
Volume Entry: Looks for significant volume as confirmation that there is enough interest at the current price level.
EMA Condition: A specific condition regarding the Exponential Moving Average (EMA) must be met, such as the price being above or below the EMA, depending on the anticipated direction of price movement.
POI Touched: The price must have touched a previously identified Point of Interest, indicating a level where the price has reacted before.
ADX > ADXCONF: The Average Directional Movement Index (ADX) must be greater than a set value (ADXCONF), indicating sufficient trend strength.
DMI+/DMI- higher depending on the trend: The Directional Movement Indicator Plus (DMI+) or Minus (DMI-) needs to be higher, depending on whether the trend is bullish or bearish, respectively.
This strategy is designed to capitalize on price levels where the market has shown previous reactions, using a combination of technical analysis and volume to confirm entry signals.
This image shows its use.
DIVERGENCE LOGIC
Activate/Deactivate Divergence Strategy
When the divergence strategy is activated, it employs the following conditions for making trading decisions:
Volume Entry + Divergence: This condition indicates that a market entry should be considered when there is a divergence between the price and a technical indicator (such as RSI, MACD, etc.), accompanied by significant volume.
Divergence occurs when the price of an asset moves in the opposite direction of the technical indicator, which may suggest a potential reversal in market trends. Volume plays a crucial role here, as high volume during a divergence can confirm the strength of the potential trend reversal.
This strategy aims to capitalize on moments when the market shows signs of exhaustion in a trend and is potentially gearing up to reverse, making divergences a key component in anticipating significant movements.
This image shows its use.
FOREX LOGIC
Activate/Deactivate FOREX Strategy
When the Forex strategy is activated, it uses the following conditions to execute trades:
Volume Entry + DI+ > DI- for long entries: This condition means that to consider a long position (buy), the Positive Directional Indicator (DI+) must be greater than the Negative Directional Indicator (DI-). This suggests that the market trend is moving upward, supported by sufficient trading volume backing this direction.
DI- > DI+ for short entries: For short entries (sells), the required condition is that the DI- (Negative Directional Indicator) is greater than the DI+ (Positive Directional Indicator). This indicates that the market trend is downward and that there is adequate volume confirming this bearish trend.
These conditions ensure that market entries are made with a clear confirmation of market direction based on volume and directional movement, which is crucial for increasing the probabilities of successful Forex trades.
This image shows its use.
ICT STUDY
Activate/Deactivate Strategy ICT
USAGE:
We use all these components in our indicator to provide comprehensive and effective control when trading using the ICT (Inner Circle Trader) methodology. Each element aids in visualizing and anticipating market movements more accurately, facilitating informed and strategic decision-making.
POI (Point of Interest): Used to identify critical points where the market has shown significant past activity, offering clues on potential future price reactions.
Imbalances: Crucial for spotting areas where supply or demand has been lacking, suggesting potential entry or exit points based on trend reversal or continuation.
ZigZag: Helps to eliminate market noise, allowing for clear identification of significant highs and lows, vital for trend analysis and reversal.
Supports and Resistances: Fundamental in determining price levels at which the market might stop or reverse, essential for any trading strategy.
Fibonacci: Utilized to find support and resistance levels based on mathematical proportions that naturally occur in markets, informing potential areas of interest.
Inducement: We observe these patterns to identify moments when price manipulations might be occurring, helping to avoid traps and enhance entries.
Sweep: Analyzed to understand how and where major market players are clearing accumulated orders, which can indicate significant price movements.
CHOCH (Change of Character): Used to detect a shift in price behavior, which may signal a reversal or trend change.
BOS (Break of Structure): Key for detecting when the price breaks through significant structures, suggesting changes in market direction.
Forecasting Length: Determines how far the price may reach into the future based on current analysis, crucial for planning long-term trades.
This image shows its use.
IF USE TP AND SL
AllTheUpsTheresAlwaysDowns "AllTheUpsTheresAlwaysDowns" ☆ATUTAD☆ // w%r + ma indicator designed for forex trading.
This indicator combines the Williams %R, moving averages, and session tracking.
Key Inputs:
Williams%Range Period: Adjusts the sensitivity of the Williams %R calculation.
Moving Average Period: Defines the period for the moving average used in the indicator.
Overbought and Oversold Thresholds: Sets the thresholds for identifying overbought and oversold conditions.
Features:
Williams %R Calculation: Calculates the Williams %R, a momentum oscillator that measures overbought and oversold levels.
Moving Averages: Plots two moving averages to capitalize on and visualize trend direction.
Session Tracking: Identifies the start and end of trading sessions (Tokyo, London, New York) for better session-based analysis.
Signal Generation: Generates buy/sell signals based on Williams %R levels and moving average crossovers.
Color Coding: Visualizes color-coded bars and shapes to highlight different market conditions and signal types.
Alerts: For buy/sell signals and overbought/oversold conditions to prompt timely actions.
Usage Tips:
Interpret Signals: Trend direction through buy/sell signals and overbought/oversold trend,- reversal / breakout line conditions for potential trading opportunities.
Session Awareness: Take into account the trading sessions (Tokyo, London, New York) to move along with the market dynamics during different times of the day.
Confirmation: Use additional technical analysis tools to confirm signals before executing trades. For example the Williams Percetange Range indicator.
Risk Management: Trade with proper risk management strategies to avoid potential losses.
HappyTrading
Timeframe Continuity Oscillator [TFO]This indicator is used to visualize timeframe continuity - a core concept of "The Strat" - along with some added logic for potential range limiters.
When discussing timeframe continuity, typically we are evaluating several timeframes to see if price is trading above or below the current open of each respective timeframe. If we are concerned with the 15m, 4h, and 1D for example, and price is trading above the current open of each of those timeframes, we can say that we have full timeframe continuity (FTFC) up. Conversely, if price is trading below the current open of each of those timeframes, we can say that we have FTFC down.
We can visualize this with an oscillator of sorts, where the zero line is anchored to the open price of the highest timeframe that we're concerned with. Using the prior example, this would be the 1D timeframe. As long as price is above the current 1D open, it is impossible to have FTFC down; and as long as price is below the current 1D open, it is impossible to have FTFC up. This is why we base the oscillator's values off of the highest timeframe's open (the values are simply how far price has traded from this open) - any value greater than zero tells us that there is potential to have FTFC up, and any value less than zero tells us that there is potential to have FTFC down.
There are a few ways we chose to visualize this data. First, we can choose the "Binary" option which simply uses one solid bullish color above the zero line, and one solid bearish color below the zero line.
Second, we can choose the "Gradient" option to help describe whether we have FTFC up or down. Values above the zero line will be a mix of the bullish color and mid color, where the mid color indicates no timeframe continuity up and the bullish color indicates FTFC up - sort of like a color spectrum of timeframe continuity to describe how many timeframes are in agreement. Similarly, values below the zero line will be a mix of the bearish color and the mid color, where the mid color again indicates no timeframe continuity down and the bearish color indicates FTFC down.
Lastly, we can choose the "FTFC Only" option which will only color the histogram bars as bullish if there is FTFC up, or bearish if there is FTFC down.
One more feature that we added is these upper and lower bands that aim to help describe the potential upper and lower limits that price may travel, relative to the highest timeframe's open. This is done by taking the standard deviation of some defined lookback period, for example, 2 standard deviations of the previous 10 weeks, assuming 1W is the highest timeframe enabled.
The concept is similar to that of an ADR (average daily range) as it can be used to estimate maximum range extensions for the largest timeframe. The arrows you see are plotted once the value exceeds either band - alerts can be enabled for these events as well through any alert() function call.
Calculus Free Trend Strategy for Crypto & StocksObjective :
The Correlation Channel Trading Strategy is designed to identify potential entry points based on the relationship between price movements and a correlation channel. The strategy aims to capture trends within the channel while managing risk effectively.
Parameters :
Length: Determines the period for calculating moving averages and the true range, influencing the sensitivity of the strategy to price movements.
Multiplier: Adjusts the width of the correlation channel, providing flexibility to adapt to different market conditions.
Inputs :
Asset Symbol: Allows users to specify the financial instrument for analysis.
Timeframe: Defines the timeframe for data aggregation, enabling customization based on trading preferences.
Plot Correlation Channel: Optional input to visualize the correlation channel on the price chart.
Methodology :
Data Acquisition: The strategy fetches OHLC (Open, High, Low, Close) data for the specified asset and timeframe. In this case we use COINBASE:BTCUSD
Calculation of Correlation Channel: It computes the squared values for OHLC data, calculates the average value (x), and then calculates the square root of x to derive the source value. Additionally, it calculates the True Range as the difference between high and low prices.
Moving Averages: The strategy calculates moving averages (MA) for the source value and the True Range, which form the basis for defining the correlation channel.
Upper and Lower Bands: Using the MA and True Range, the strategy computes upper and lower bands of the correlation channel, with the width determined by the multiplier.
Entry Conditions: Long positions are initiated when the price crosses above the upper band, signaling potential overbought conditions. Short positions are initiated when the price crosses below the lower band, indicating potential oversold conditions.
Exit Conditions: Stop-loss mechanisms are incorporated directly into the entry conditions to manage risk. Long positions are exited if the price falls below a predefined stop-loss level, while short positions are exited if the price rises above the stop-loss level.
Strategy Approach: The strategy aims to capitalize on trends within the correlation channel, leveraging systematic entry signals while actively managing risk through stop-loss orders.
Backtest Details : For the purpose of this test I used the entire data available for BTCUSD Coinbase, with 10% of capital allocation and 0.1% comission for entry/exit(0.2% total). Can be also used with other both directly correlated with current settings of BTC or with new ones
Advantages :
Provides a systematic approach to trading based on quantifiable criteria.
Offers flexibility through customizable parameters to adapt to various market conditions.
Integrates risk management through predefined stop-loss mechanisms.
Limitations :
Relies on historical price data and technical indicators, which may not always accurately predict future price movements.
May generate false signals during periods of low volatility or erratic price behavior.
Requires continuous monitoring and adjustment of parameters to maintain effectiveness.
Conclusion :
The Correlation Channel Trading Strategy offers traders a structured framework for identifying potential entry points within a defined price channel. By leveraging moving averages and true range calculations, the strategy aims to capture trends while minimizing risk through stop-loss mechanisms. While no strategy can guarantee success in all market conditions, the Correlation Channel Trading Strategy provides a systematic approach to trading that can enhance decision-making and risk management for traders.
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.