Smart Bullish Pennant PatternDescription:
This script is designed to identify and visualize the Bullish Pennant pattern, a popular continuation pattern used by traders. The script follows a structured approach to identify the underlying bullish trend, the consolidation phase, and finally, the breakout from the pennant, which could signify a potential continuation of the bullish trend.
Here's how the script operates:
Bullish Trend Identification:
The script first identifies a bullish trend based on a user-defined length and a specified Exponential Moving Average (EMA).
A bullish trend is considered to be in place if the closing price is above the trend EMA, and the EMA is rising over the specified length of bars.
Consolidation Phase Detection:
During the bullish trend, the script looks for a consolidation phase, which is identified by comparing the range of the recent bars against the range of the bullish trend.
The consolidation phase is characterized by a narrowing price range, forming the pennant.
Breakout Confirmation:
A breakout from the consolidation is considered confirmed if the closing price breaks above the consolidation high, accompanied by an increase in volume.
The script allows for a one-bar delay in confirmation to avoid false breakout signals.
Price Target Calculation:
Upon a confirmed breakout, the script calculates the price target based on the height of the preceding bullish trend, added to the breakout point.
Visual Aids:
The script plots the consolidation range during the consolidation phase.
A breakout is visually indicated with a triangle above the breakout bar.
The price target is displayed on the chart with a step line.
Alerts:
An alert is triggered upon a confirmed breakout, notifying the trader of the potential bullish continuation.
Labels:
Labels are plotted to indicate the start of the bullish trend and the breakout point.
By employing this script, traders can automate the process of identifying the Bullish Pennant pattern, aiding in timely decision making for potential trade entries and exits.
This script is protected, ensuring its proprietary nature while sharing its utility with the TradingView community.
รูปแบบชาร์ต
Consecutive Higher/Lower ClosingsThe Consecutive Higher/Lower Closings indicator is a powerful tool designed to assist traders in identifying potential buy and sell signals based on consecutive higher or lower closing prices. This indicator provides users with the flexibility to specify the number of consecutive higher or lower closings required to trigger a signal, allowing for a customizable trading strategy.
Key Features:
Customizable Parameters: Users can define the number of consecutive higher and lower closings needed to generate buy and sell signals, providing a tailored approach to trading.
Clear Buy and Sell Signals: The indicator plots clear buy and sell signals directly on the chart, making it easy for traders to identify potential entry and exit points.
Usage:
Consecutive Higher Closings (Buy Signal): When the current closing price is higher than the previous closing price for the specified number of consecutive periods (as defined by the user), a buy signal will be generated.
Consecutive Lower Closings (Sell Signal): When the current closing price is lower than the previous closing price for the specified number of consecutive periods (as defined by the user), a sell signal will be generated.
How to Use:
Apply the Consecutive Higher/Lower Closings indicator to your chart.
Adjust the input parameters, consecutiveHigherClosings and consecutiveLowerClosings, to match your preferred trading strategy. These parameters determine the number of consecutive higher and lower closings needed to trigger signals.
Interpret the buy and sell signals generated by the indicator. When a buy signal is displayed (green triangle up), it suggests a potential entry point. Conversely, a sell signal (red triangle down) indicates a potential exit point.
Important Note:
This indicator is designed to assist traders in making informed decisions, but it should be used in conjunction with other technical analysis tools and risk management strategies for a comprehensive trading approach.
Kindly be aware that this strategy is most effective with Monster stocks with smooth price action, particularly when analyzing in weekly and/or daily timeframe.
Disclaimer:
Trading involves risk, and past performance does not guarantee future results. Always conduct thorough research and consider your risk tolerance before making trading decisions.
Kiss Of DeathThis Pine Script code is designed to create a technical indicator on a TradingView chart known as the "Kiss of Death" signal. Here's a description of the script:
The script begins by specifying that it is intended for use with Pine Script version 5 (//@version=5) and sets the indicator's title to "Kiss of Death Signal" with indicator(title="Kiss of Death Signal", overlay=true).
The code calculates a 21-period Exponential Moving Average (EMA) of the closing prices (ema21 = ta.ema(close, 21)). The EMA is a commonly used trend-following indicator.
It also determines the lowest low of the previous two periods (prev_low = ta.lowest(low, 2)). This variable will be used in the signal condition.
The script then defines the signal condition for the "Kiss of Death" pattern. This pattern occurs when:
The current closing price is below the 21-period EMA (close < ema21).
The previous closing price is above or equal to the 21-period EMA (close >= ema21).
The current low is below the lowest low of the previous two periods (low < prev_low).
Next, it uses plot to display the 21-period EMA on the chart (plot(ema21, color=color.blue, title="21 EMA")), using a blue color.
Finally, the script utilizes plotshape to mark the points on the chart where the "Kiss of Death" signal condition is met. It places a red, downward-pointing triangle above the corresponding bars
In summary, this script provides a visual representation of the "Kiss of Death" signal on a TradingView chart, helping traders identify potential bearish reversal points based on the defined conditions. The 21-period EMA is also displayed to provide additional context.
What makes this script unique is that it specifically identifies and visualizes a specific technical pattern known as the "Kiss of Death". The "Kiss of Death" is a bearish reversal pattern that occurs when the current price falls below a specific moving average (in this case, a 21-period Exponential Moving Average or EMA) after previously being above it, and when the current low is below the lowest low of the previous two periods.
This script stands out because it provides a clear and visual representation of this particular pattern on a TradingView chart. By using a red, downward-pointing triangle above the bars, it helps traders quickly identify potential bearish reversal points based on the defined conditions.
The combination of a specific pattern, in this case the "Kiss of Death", along with a visual indicator, sets this script apart and makes it a useful tool for traders looking to identify potential bearish reversal points in their technical analysis.
Automated Algorithmic Trading System with RP DetectionFirst, we use a calculation of "higher highs" and "lower lows" price channels, which we see represented on the chart in purple. These channels provide us with a broad view that helps us identify on the chart where the price has reached significantly higher levels than before during a specific period and lower points than previous levels. As we observe, a channel forms, and when the price approaches or touches this channel initially, it reacts violently. But this is where the magic begins, as we will use these as areas of significant reversal, although they won't be the only filter, as we will need confluence with other patterns once we are in areas of significant reversal to make a buying or selling decision.
Secondly, the algorithm uses a fundamental and precise calculation as it shows us the most important support and resistance levels of the asset, which we observe in two ways on the chart. First, supports are represented in a blue block, and resistances in a red block. These are also grouped in a table by default in the last 5 days, although we can modify these calculations according to our needs in the indicator's configuration.
In addition, our algorithm performs a special calculation of a rational quadratic kernel, estimating the price regression function. This provides us with a clear idea of where the price of the asset is heading and its trend. This channel is always calculated and working optimally within the "higher highs" and "lower lows" channel we reviewed a moment ago, and it provides us with a macro view of the price.
Now, the algorithm uses this last quadratic microchannel to give us some reversal signals within this same microchannel that can be utilized by us for precise scalping entries. Considering the following, as we visualize on the chart:
First, we will explain the Reversal signals. At the top of our quadratic microchannel, the first automated signal is generated, which we will observe as a Reversal and is represented by a parachutist. This occurs when the price breaks the upper microchannel, and we expect a price pullback. A piece of advice: if we are in a resistance area, the price will have more strength to return to the microchannel zone, allowing us to take a short position.
On the other hand, as observed on the chart, the same reversal signal represented by an airplane is generated when there is a downward price break of the microchannel, which makes us expect a pullback back to the channel. In case we are in a support zone, the price's return will gain more strength, enabling us to enter a long position.
As we see in the chart, we have two other types of signals with very complex calculations that the algorithm detects, alerting us about price reversals. The first reversal patterns are shown visually as purple and green flags and are executed when there is a change in the price structure and the price reversal within the microchannel is confirmed. This allows us to have buy and sell operations. The second signals are shown visually as Bear Pattern and Bull Pattern, confirming a pattern when the price does not fall (for bulls) or rise (for bears) below or above a specific level after detecting the "hook." This is explained subtly, as the calculation is very complex, but the effectiveness of these reversals is impressive for working with pullbacks within the microchannel.
Now, let's explain how the grand signal is generated through confluences from all the algorithmic calculations of the indicator:
First, the buy signal is generated when we observe that the Quadratic Channel crosses down our "higher highs" and "lower lows" channel, meaning there is now a cross between channels, and at the same time, we are in a Support Zone. At this moment, when these three confluences are met, it will send us the buy alert that we visually observe as a pile of bills.
Similarly, for the sell signal, it is generated when we observe that the Quadratic Channel crosses up our "higher highs" and "lower lows" channel, meaning there is now a cross between channels, and at the same time, we are in a Resistance Zone. At this moment, when these three confluences are met, it will send us the sell alert that we visually observe as an explosion.
These grand confluence signals are usually of the day trading type since they will be executed in a significant move.
All our indicators come with two types of alerts to automate our trading. The first type of alert will notify us on our devices when a signal of interest occurs on the chart, previously configured by us.
The second type is configured to make our indicators work for us without the need to be present on the chart. This is done with a special programming within the indicator's code, and it will execute automatic buys and sells on our preferred exchange through an alert configured for the 3Commas bot. It will only be necessary to enter our Bot number or Bot ID provided by the 3Commas provider and insert it into the alert. All premium indicators have an explanation in their configuration that will detail where to enter your Bot ID.
ESPAÑOL:
Primero, usamos un cálculo de Canales de Precios "altos mas altos" y "bajos mas bajos", que vemos representados en el gráfico en color morado. Estos canales nos otorgan una amplia visión que nos ayuda a identificar en el gráfico dónde el precio ha alcanzado niveles significativamente más altos que los anteriores durante un período específico y puntos más bajos que los anteriores. Como observamos, se forma un canal en el que, en primer instancia, cuando el precio se acerca o toca este canal, reacciona violentamente. Pero es aquí donde comienza la magia, ya que los usaremos como zonas de gran reversión, aunque no serán el único filtro, ya que necesitaremos que exista confluencia con otros patrones una vez estemos en zonas de gran reversión para tomar una decisión de compra o venta.
En segunda instancia, el algoritmo utiliza un cálculo fundamental y preciso ya que Nos muestra los soportes y resistencias más importantes del activo, que observamos de dos maneras en el gráfico. Primero, están representados en un bloque azul los soportes y en un bloque rojo las resistencias. Estos también se agrupan en una tabla por orden de importancia por defecto en los últimos 5 días, aunque estos cálculos los podremos modificar de acuerdo a nuestras necesidades en la configuración del indicador.
adicional nuestro algoritmo realiza un cálculo especial de un kernel cuadrático racional, que estima la función de regresión del precio. Esto nos proporciona una idea clara de hacia dónde va el precio del activo y su tendencia. Este canal siempre está calculado y trabajando de manera óptima dentro del otro canal de "altos mas altos " y "bajos mas bajos" que revisamos hace unos momentos, y que nos brinda una visión macro del precio.
Ahora bien, el algoritmo utiliza este último micro canal cuadrático para darnos algunas señales de reversión dentro de este mismo micro canal que pueden ser aprovechadas por nosotros para hacer entradas precisas y del tipo scalping. Considerando lo siguiente, como visualizamos en el gráfico:
Primero, explicaremos las señales de Reversión en la parte alta de nuestro micro canal cuadrático, se genera la primera señal automatizada que observaremos como Reversión y está representada con un paracaidista. Esto ocurre cuando el precio rompe el micro canal alto, y esperamos que se genere un pullback del precio. Un consejo: si estamos en un área de resistencia, el precio tendrá más fuerza para regresar a la zona del micro canal, lo que nos permitirá tomar una posición corta.
Por otro lado, como observamos en el gráfico, la misma señal de reversión representada por una avioneta se genera cuando hay una ruptura del precio hacia abajo del micro canal, lo que nos hace esperar un pullback de retorno al canal. En caso de que estemos en una zona dentro del soporte, el retorno del precio tomará más fuerza, permitiéndonos obtener una entrada larga.
Como vemos en el gráfico, tenemos otros dos tipos de señales con cálculos muy complejos que el algoritmo detecta, avisándonos sobre las reversiones del precio. Los primeros patrones de reversión se muestran visualmente como banderas moradas y verdes y se ejecutan cuando hay un cambio en la estructura del precio y se confirma la reversión del precio dentro del micro canal. Esto nos permite tener operaciones de compra y venta. Las segundas señales se muestran visualmente como Bear Pattern y Bull Pattern, confirmando un patrón cuando el precio no vuelve a caer (para alcistas) o subir (para bajistas) por debajo o por encima de un nivel específico después de detectar el "gancho". Esto está explicado de manera sutil, ya que el cálculo es muy complejo, pero la efectividad de estas reversiones es impresionante para trabajar con pullbacks dentro del micro canal.
ahora bien vamos a explicar como se genera la gran señal por confluencias por todos los calculos algoritmicos del indicador:
primero la señal de compra se generá Cuando observamos que el Canal Cuadrático cruza hacia abajo nuestro Canal de bajos mas bajos, es decir ahora hay un cruce entre canales y al mismo tiempo nos encontramos en una Zona de Soporte, en este momento al cumplirse estas tres confluencias nos enviará la alerta de compra que observamos visualmente como un cumulo de billetes.
asi mismo para la venta se generá Cuando observamos que el Canal Cuadrático cruza hacia arriba nuestro Canal de altos mas altos, es decir ahora hay un cruce entre canales y al mismo tiempo nos encontramos en una Zona de Resistencia, en este momento al cumplirse estas tres confluencias nos enviará la alerta de venta que observamos visualmente como una explosión.
estas grandes señales por confluencia suelen ser del tipo day trading ya que se ejecutarán en un gran movimiento.
Todos nuestros indicadores cuentan con dos tipos de alertas para automatizar nuestro trading. El primer tipo de alerta nos avisará en nuestros dispositivos cuando ocurra alguna señal en el grafico y que sea de nuestro interes previamente configurada por nosotros.
La segunda está configurada para que nuestros indicadores trabajen para nosotros sin necesidad de estar presentes en el gráfico, esto con una programacion especial dentro del codigo del indicador y que hará por nosotros compras y ventas automáticas en nuestro Exchange de preferencia mediante una alerta configurada para el bot 3Commas, solo bastará con que pongamos nuestro numero de Bot o Bot ID que da el provedoor de 3Commas y lo insertemos en la alerta, todos los indicadores premium tienen en su configuracion una explicacion que te indicará detalladamente donde poner tus Bot ID.
Indian NIFTY Correlation Daytrade/Swing StrategyINTRODUCTION :
This is a daytrading/swing strategy designed mainly for indian market where internally has been adapted to NIFTY market and as well using for internal calculations the values of the candles from NIFTY asset.
With it we search to use with the most correlated asset from the indian market.
For this example I choosed BANKNIFTY
STRATEGY:
The strategy initially uses as candle values the data from the NIFTY asset.
With them I am dividing the work into two calculation parts such as :
-For first part logic, I am doing calculations regarding the volatility of NIFTY, where I initially take into consideration INDIAVIX to have an idea of the expected implied volatility of NIFTY asset and then I compare it with different tools such as ATR, BB and Percentile location of the volatility.
Based on all these factors I take into account the location of the volatility which is atm and if there is a possibility of a strong movement(trend) or sidemarket situation.
-Once I am done with the values of the volatility, the next process in the script logic is to start looking into the trend.
For it I am using different tools such as volume checker, support and resistence key points, pivot points, price actions patterns and different moving averages.
-Risk management part : once we are done with calculation for the entry, the next part is to have an idea where to exit. In this case I am making use of a dynamic risk management which is compressed from multiple ideas such as : we can exit if there were a big gap on the next day in our initial direction, we can also exit based of an internal daily ATR calculation value(we use initially 15min timeframe chart) and lastly if we are around some key points like support/resistence or other different chart patterns like double top, double bot and so on.
CASE EXAMPLE:
As I said before we are initially using for calculation the NIFTY chart with 15min timeframe. With it we can apply to any indian etf,stocks,future. All the assets are going to have the same time of entry and the same time of exit(we get this from NIFTY) and we plot it on the chart we are using, so its key point to look for assets which have a min 75-80% correlation with NIFTY. For this example I used BANKNIFTY chart.
So a type of entry would be this way
Lets assume NIFTY50 is on 19.000 level
INDIAVIX level is currently at 11 which can be translated : 11 / sqrt(250)
So 11 means that on a yearly base we expect the asset to move 11% upwards or downwards
and in a year we have aprox 250 days. So we divide the 11 by sqrt of 250 to get an idea of a daily expected move from the implied volatility of india VIX
11/15.87 = +-0.69%
So INDIAVIX tells us that the values for today nifty is 19000+0,69% and 19000-0.69%
After that I am looking into the daily ATR, and I see that the expected is around 0.8% and is ascending over the last 2 weeks.
Lastly I am looking at the percentile which is currently the volatility on both ATR and INDIAVIX, and I get a value of 90th percentile.
With this my biased is that we are going to expect a short trend, but i cant confirm on the volatility alone so next step is start looking into technical analysis.
I look at volume and is increasing, I look at different price actions paterns and pivots and I see a lower low and a lower high (a descending pattern).
I also see the price is below the key MA like SMA50/100/200, VWAP and so on.
With all of this I get more confirmation that the asset is in a short trend.
Internally once a certain specific % of confirmation from all the logics is achieved, it will trigger a long/short entry, so in this case lets assume we have 80% of our indicators pointing to the short, is going to enter a short.
Now for a long scenario the scene would be , indiavix is around 9,5, ATR is descending. We are around 40th percentile of the volatility.
Our asset is above multiple moving averages, vwap , etc
We have an increasing volume towards bullish side.
And so on( overall 75% of our indicators are pointing towards the long side)
Now for the exit, since we are dealing with a daytrade/swing mentality, short on average we keep the trade open for a less period of time than long ( 19 bars of 15min candles, compared to 57 bars of 15min for long) , so most of the times for short we are going to exit next day and if the trend is still in our favour we re enter the trade.
For long we can stay much more time, sometimes even weeks and we exit mainly when the % of confirmation of indicators point out a reversal/short confirmation fo a big pice action pattern.
STRATEGY RESULTS
For strategy analysis I have used BANKNIFTY NSE with deep history to get access to data from 2011 until present( giving more than 2500 trades) .
For inputs I am using 0.02% comission total ( the comission applied from ZERODHA indian exchange is close to 0.0175% total) so I used it a bit higher in order to take into account some slippages.
For capital THE REASON I USED 100% of the capital allocation is to make a proper comparison with the buy an hold from the same period
Lets assume we had an account of 1M ruppes initially in 2011, we start using 100% of it and then the new values automatically compounded with the new profits and losses so directly compare with 1M of rupees in shares on BANKNIFTY ETFs bought in 2011(buy n hold) until present day.
STRATEGY ACCESS
Strategy is free to be tested for everyone, just let me know in private that you wish to get access to it.
Time Matrix [Pro+] (DRxICT)Description:
The Time Matrix Pro is an automated Time-based trading tool adaptable to futures, forex, and bond markets. This indicator is inspired by concepts taught by the Inner Circle Trader (ICT) and ICT_Concepts.
ICT’s repertoire encompasses the concepts of liquidity and couples them with Time. The Time Matrix helps the analyst to locate key Time-based price levels to determine bias and recurring price patterns within the market. Analysts can use levels like Previous Day’s Highs and Lows, Weekly Highs and Lows, Session Openings, and Macros to base and qualify Premium and Discount arrays in intraday analysis.
Session Boxes are Time opportunities of the day that identify the market mechanics of consolidation, expansion, retracement, and reversals.
ICT_Concepts's Session Boxes are described as the Premarket, AM Session, PM session:
Premarket is defined as 9:30pm to 1:30am
AM session is defined as 4:00am to 11:00am
PM Session is defined as 11:30am to 2:15pm
Understanding how Time is crucial for identifying intraday profiling, the analyst is able to toggle price levels in conjunction with Time-based macros. These help analyze key market turning points that can correspond to unique market mechanics.
Beyond the Time-based liquidity levels, and the Time macros, there are also predefined Time clusters.
These clusters highlight a significant lower Timeframe candle which was found to hold significant value by ICT_Concepts. Very much alike Time-based liquidity levels, analysts will notice how price reacts to support or negate existing orderflow, trend and direction.
Key Features:
Customizable Extension: the analyst is given the choice to toggle the ending Time Offset to either Noon NY Time or at the end of the trading day.
Time-Based Toggles: choose individual Time-based prices to highlight on your chart.
Time Table: depending on the Timeframe, the Time Table will display the number of bars and the Time elapsed since the Time-based liquidity levels were established.
Other Features
Customize Session Boxes Color
Customize Time-Based Liquidity Line Style
Customize Time-Based Liquidity Level Color
Customize Time-Based Liquidity Line Width
Customize Table Size and Location
Usage Guidance:
Add Time Matrix to your Tradingview chart.
Customize your desired settings of Time-Based Liquidity Levels to align with your personal preference.
Observe where the Time-Based Liquidity Levels as well as Previous Day, Week, and Macros play a role in intraday narrative.
Analysts can choose to utilize Time-Based Liquidity Levels as automated framework to organize models and layouts.
These tools are available ONLY on the TradingView platform.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products.
Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
MACD Strategy_baskerMACD Strategy_basker, which will see the macd cross over and update buy sell. then do trailing sl
Brutal scalps [Sublime Traders]The "Brutal Scalps" indicator is designed for both novice and expert traders looking to take advantage of short-term price movements. This powerful tool provides a multi-timeframe trend analysis along with dynamic Take Profit (TP) and Stop Loss (SL) levels, enhancing your trading decisions and risk management.
Features:
Multi-Timeframe Trend Analysis - You get a bird's eye view of the main oscillators on the selected timeframe
Last trade panel - Overview of the last trade values: TPs, SL and entry along with a quick stat on the performance over the last 10 trades
Baseline - MA based on either volatility or volume . Changes color depending on the angle and the consolidation area threshold that can be modified.
ATR(Average True Range) dynamic take profits and stop losses
Trend color - Can be enabled to highlight local trend start and end
Leverage setting
This setting is used to send a leverage amount with your alerts, this can be useful if you send your alerts though webhooks.
Signalling type - Classic
The original Brutal scalps signal detection mechanism based on order block/ engulfing candle detection only. Conditions in the MTF trend analysis panel must be met.
Signalling type - Breakout
Prioritizes candle formation that break a given number of candle formation(Eg. Highest high in the last x candles) , combined with the baseline entry condition
Signalling type - Trend following
Angled more towards longer direction moves. Uses adx combined with the price relationship to the 200MA
Key levels zone- Plots the liquidity pockets on the chart
Swing detections- uses moving averages that are plotted in regards to the selected number of candles.
Candle colors - The yellow candles are bullish engulfing candles, while the purple candles are bearish engulfing candles. These candles are also highlighted because their volume exceeds that of the previous 10 candles.
Peak profit - shows a label that displays the highest profit level reached after the signal was triggered , multiplied by the leverage in the input.
How to use:
Brutal Scalps is like your battle plan, you prepare for facing the markets with tools and insights.
1. Use the Multi TF Trend settings to set up the Trend Table in the top right (default position) panel. This will give you an overview of the oscillators in the selected timeframe. You should always watch a higher timeframe than the one you are using on the chart.
Ex.: If you are charting 15m , use the 1hr setting on the trend panel.
2. The baseline is one of the key factors in signal identification, use this wisely. The baseline consolidation threshold is the sensitivity of the line to stagnating candles. If the market is static and no trades come out , it might be because the threshold is set too high. The default of 3 should be a good fit for most setups. Just bare in mind that the higher the threshold the more candles will be considered as a consolidation area. Higher threshold also means better confirmation but also less trades coming in.
3. Signalling types can and should be used in regards to the current market formation.
Examples:
- If a market is moving in a stairs pattern, a good way to tackle it would be through the breakout signalling type.
- When the market is clearly trending, the use of the trend following type is most suited.
- If you want an all-rounder setup that is a jack of all trades but master of nothing, then the Classic type would be the most suited.
Additionally, if the market is extremely undecided and the above types don't perform that well on their own, the use of Allow Opposite Signal Only can reduce losses by only posting trades that are in the opposite direction, no more consecutive buys or sells.
Set the key levels zones to have extra manual confirmation. These zones are based on order blocks and highlight important liquidity areas. While these don't have any direct impact on the signal recognition, they can help to visually validate them.
Harmonic PatternsHarmonic Patterns
Harmonic Pattern utilizes the recognition of specific structures that possess distinct and consecutive Fibonacci ratio alignments that quantify and validate harmonic patterns. These patterns calculate the Fibonacci aspects of these price structures to identify highly probable reversal points in the financial markets. This methodology assumes that harmonic patterns, like many patterns and cycles in life, continually repeat.
Input Parameters:
Zigzag Setup:
These group of parameters are used to identify the swing points. The script also draws the Zigzag line and swing labels based on these parameters.
Harmonic Pattern Setup:
Ignore XD leg calculations – Optionally one can choose to ignore the XD leg calculation.
Fixed value leg offset % - Fixed value leg parameters are such parameters where single value Fibonacci value is used. This makes pattern identification very rare. To overcome this one can input % value which would be used to derive the range of Fibonacci numbers for pattern identification. E.g. XD leg in Bat pattern has fixed leg of 88.6%, If we input 5% as fixed value leg offset % then instead of fixed value of 88.6%, script calculates range as 88.6% + 5% (Value 1) and 88.6% - 5% (Value 2) and uses the same for pattern identification.
The script plots a diamond shape label on the last candle of the chart. The label has been enabled with a tooltip which shows number of patterns of each type along with the time where latest pattern is located.
This script covers harmonic patterns listed in the table below. Each harmonic pattern has bullish and bearish variants. All these patterns have 4 legs known as XABCD.
The Patterns have been configured as specified in the table below. Refer to Figure 1 and Figure 2 to understand how to read and interpret the table.
Figure 1
Figure 2
Dip & Rip Patterns - The Quant Science🇺🇸
GENERAL OVERVIEW
This indicator detects Dip and Rip patterns by quickly highlighting them on the chart.
These patterns have become popular during the pandemic period mainly in the stock, ETF and cryptocurrency markets on which traders use two interesting strategies:
Buy The Dip
Sell The Rip
Before going into the merits of this technical indicator, let's understand what these two patterns mean and what they identify precisely.
Rip (Rise In Price) : wants to identify a market condition in which the price rises rapidly, for example from $100 to $110 in a few minutes or hours.
Dip (Drop In Price) : wants to identify a market condition in which the price drops rapidly, for example from $100 to $90 in a few minutes or hours.
HOW TO USE
For a better user experience, we recommend choosing a neutral colour for the candles while analysing with this indicator. You can quickly change the colour in Chart Settings > Symbol > Candles .
Depending on the configuration set by the user, the indicator will show Dip (Dip In Price) patterns in red and Rip (Rise In Price) patterns in green.
When the pattern forms, a circle will be displayed and a vertical line will be coloured on the chart along with the body of the candle. The user will then be able to quickly and easily track the configured market conditions.
In this example, we decided to use a 4H timeframe on the BTC/USDT pair (Binance).
Set in the user interface:
Period: 20
Dip (%): -25
Rip (%): 20
Price falls by 25% or more in 80 hours (Dip Pattern).
Price rise by 25% or more in 80 hours (Rip Pattern).
The user can easily configure the parameters via the user interface in the Inputs section (A) and change the indicator design in the Properties section (B).
🇮🇹
PANORAMICA GENERALE
Questo indicatore rileva i Dip e Rip patterns evidenziandoli velocemente sul grafico.
Questi patterns sono diventati famosi durante il periodo pandemico principalmente nel mercato delle azioni, ETF e Criptovalute su cui i trader utilizzano due interessanti strategie:
Buy The Dip
Sell The Rip
Prima di entrare nel merito di questo indicatore tecnico, comprendiamo il significato di questi due pattern e cosa identificano precisamente.
Rip (Rise In Price) : vuole identificare una condizione di mercato in cui il prezzo sale rapidamente, per esempio passando da 100$ a 110$ in pochi minuti o poche ore.
Dip (Drop In Price) : vuole identificare una condizione di mercato in cui il prezzo cala rapidamente, per esempio passando da 100$ a 90$ in pochi minuti o poche ore.
UTILIZZO
Per una migliore esperienza utente consigliamo di scegliere un colore neutro per le candele mentre si analizza con questo indicatore. Puoi cambiare velocemente il colore in Chart Settings > Symbol > Candles .
In base alla configurazione impostata dall'utente l'indicatore mostrerà in rosso i pattern Dip (Dip In Price) e in verde i pattern Rip (Rise In Price).
Quando il pattern si forma verrà visualizzato un cerchio e una linea verticale sul grafico che sarà colorata insieme al corpo della candela. L'utente quindi potrà tracciare facilmente e velocemente le condizioni di mercato configurate.
In questo esempio abbiamo deciso di utilizzare un timeframe 4H con l'obbiettivo di ricercare i patterns sul pair BTC/USDT (Binance).
Impostiamo nell'interfaccia utente:
Period: 20
Dip (%): -25
Rip (%): 20
Il prezzo diminuisce del 25% o più in 80 ore (Dip Pattern).
Il prezzo aumenta del 25% o più in 80 ore (Rip Pattern).
L' utente può configurare facilmente i parametri attraverso l'interfaccia utente nella sezione Inputs (A) e modificare il design dell'indicatore nella sezione Properties (B).
Bull Vs Bear Visible Range VP [Kioseff Trading]Hello!
This Script “Bull vs Bear Visible Range VP” Calculates Bull & Bear Volume Profiles for the Visible Range Alongside a Delta Ladder for the Visible Period!
Features
Volume Profile Anchored to Visible Range
Delta Ladder Anchored to Visible Range
Bull vs Bear Profiles!
Standard Poc and Value Area Lines, in Addition to Separated POCs and Value Area Lines for Bull Profiles and Bear Profiles
Configurable Value Area Target
Curved Profiles
Up to 9999 Profile Rows per Visible Range
Stylistic Options for Profiles
This Script Generates Bull vs. Bear Volume Profiles for the Visible Range!
Up to 9999 Volume Profile Levels (Price Levels) Can Be Calculated for Each Profile, Thanks to the New Polyline Feature, Allowing For Less Aggregation / More Precision of Volume at Price and Volume Delta.
Bull vs Bear Profiles
The Image Above Shows Primary Functionality!
Green Profiles = Buying Volume
Red Profiles = Selling Volume
Bullish & Bearish Pocs for the Visible Range Are Displayable!
Profiles Can Be Anchored on the Left Side for a More Traditional Look.
The indicator is robust enough to calculate on "small price periods", or for a price period spanning your entire chart fully zoomed out!
That’s About It :D
This Indicator Is Part of a Series Titled “Bull vs. Bear” - A Suite of Profile-Like Indicators I Will Be Releasing Over Coming Days. Thanks for Checking This Out!
If You Have Any Suggestions Please Feel Free to Share!
Spongebob [TFO]This Spongebob indicator is an experiment with the newly released polyline drawing features in Pine Script. As someone that enjoys a challenge, I thought of a complex subject to draw with polylines, and Spongebob was one of the first things that came to mind due to his wavy body shape. Although, other features like the shoulders, shoes, and hands proved to be much more difficult than the body shape itself.
With this indicator enabled, Spongebob will be automatically be drawn on the last confirmed bar of the current chart, and should mostly auto-fit to any symbol's price axis through use of the Average True Range (ATR) function. ATR allows us to get the average range of the most recent bars (in this case I used 50 bars). I used this as a base value from which to scale and determine various heights of each body shape, like the radius of the eyes, the length of the pants, etc. - that way, it would scale to any price axis, from forex to index futures.
Attached is a picture of the indicator (left) compared to my subject reference (right). I'm honestly surprised at how well it came out, and how intuitive it was to form the majority of my shapes using polylines. I'm really happy with how this project turned out, and may have to attempt more drawings in the future!
3 TIMEFRAMES BOXES3 boxes, with their recent high/low and their respective open/close, and the 50% line of the high/low. All adjustable for preferred timeframes, colour and thickness.
My personal preference is previous week 00:00 to 00:00, yesterday 00:00 to 00:00, and the day before 00:00 to 00:00 (NY timezone). Another could be the London, NY, and Asian sessions (which you have to manually place the timeframes for). As said, you can adjust it completely to your own liking. Enjoy!
ICT NWOG/NDOG [Source Code] (fadi)New Week Opening Gap (NWOG) and New Day Opening Gap (NDOG) are areas on the chart where price tend to react to and has the potential of moving from one gap to the next. These gaps can act as support and resistance zones where price can bounce of, or go through and retest. Areas of interest are the high, low, the Consequent Encroachment (C.E.), which is the middle between high and low of each gap.
Event Horizon is the 50% distance between two NWOGs and price tend to react to, and could act as Premium/ Discount between two NWOGs.
New Week Opening Gap (NWOG)
The difference between Friday close, and Sunday open. Consequent Encroachment (C.E.) is the area between two NWOGs.
Settings NWOG
- The Colors in the form of Current/Previous and line style for NWOG
- Background color to use for Current/Previous
- Number of NWOGs to use by the indicator (ICT recommends using minimum of 5)
- Extend Configuration:
-- Always Extend all NWOGs
-- Above and below only Shows the immediate two NWOGs that are above and below current price. These two NWOGs are recalculated as price moves
-- Any that is near current price Any NWOG that is near the current price, this can result in multiple NWOGs being displayed, with some overlapping
- Event Horizon only applicable when using the "Above and below only settings"
-- Show Date label and type of gap
New Day Opening Gap (NDOG)
The difference between Yesterday's close and Today's open.
Settings NDOG
- The Colors in the form of Current/Previous and line style for NDOG
- Background color to use for Current/Previous
- Number of NDOGs to use by the indicator, default is 1 but price tend to react to previous ones as well
- Extend Configuration:
-- Always Extend all NDOGs
-- Above and below only Shows the immediate two NDOGs that are above and below current price. These two NDOGs are recalculated as price moves
-- Any that is near current price Any NDOG that is near the current price, this can result in multiple NDOGs being displayed, with some overlapping
-- Show Date label and type of gap
Other Settings
Number of candles to use in calculation is used to calculate the size of the candles in order to derive the distance from current price. If current candle sizes is more important than over longer period of time then use 14 or near that number
Factor multiplier for distance test is the number above times X value. Lower timeframes require a higher number than a larger timeframe. If day trading, a value between 10 and 20 is probably best. If swing trading, a value between 5 and 10 is probably best.
Buffer How many candles beyond current price to extend the gaps by. this is helpful to provide cleaner view of the price action
Harmonic Pattern Table Inputs█ OVERVIEW
This indicator was intended as educational purpose only based on Harmonic Pattern Table (Source Code) .
Some user have different ratios in mind, thus I add input to allow user to change those ratios.
█ CREDITS
Scott M Carney, Trading Volume 3: Reaction vs. Reversal
█ CREDITS
1. List Harmonic Patterns.
2. Font size small for mobile app and font size normal for desktop.
3. Font color does automatically change follow dark / light chart theme.
4. Inputs to change ratio values.
█ USAGE / EXAMPLES
Session Breakout/Sweep with alertsThis indicator is based on popular London breakout strategy. but as I noticed that it don't work good with breakouts so I made it to be used as reversal entries as well. By default the timing is set for asian session but you can change it according to your need.
Use as breakout
Use as liquidity sweep
Note:
On some pairs the timing changes automatically (I don't know why), if you face this issue , go to settings and set the timing accordingly and save it as templet so that you don't have to change it every time you load the chart with timing issue.
I hope you guys find it useful. Do share your though and feedback in comments.
Top and Bottom Identifier [digit23]This indicator is designed to identify potential market tops and bottoms based on customizable conditions. It employs price action analysis, considering candlestick patterns, body size, and recent price history. Traders can adjust parameters like the threshold multiplier and body size multiplier to fine-tune sensitivity.
Features:
Identifies potential tops and bottoms.
Customizable threshold and body size multipliers.
Utilizes price action analysis exclusively.
User-friendly and visually represented on the chart.
Usage:
Red Triangles: Indicate potential market tops.
Green Triangles: Indicate potential market bottoms.
Parameters:
Threshold Multiplier: Adjusts sensitivity.
Body Size Multiplier: Controls the significance of candlestick body size.
Note:
This indicator is for traders preferring price action analysis to identify potential reversals. It's recommended to use alongside other technical analysis tools for comprehensive trading decisions.
Disclaimer:
Trading involves risk; thorough analysis is crucial before making decisions. This indicator is a tool for technical analysis and should be part of a broader trading strategy.
PhantomFlow RangeDetectorPhantomFlow RangeDetector analyzes the current price action of the market and draws ranges depending on the minimum number of bars in the zone of one candle you specify. Each range is colored depending on the closing direction of the candle outside this range. Accordingly, in trend trading, it is advisable to look for long trades from the green zones, and short trades from the red zones (with standard color settings).
If you have a basic understanding of the market context, you can consider such zones in a mirror retest to find trades with higher RR.
Engulfing with TrendThe script above is a trading strategy with rules based on the Engulfing candlestick pattern within the context of the trend. Some key elements of this script include:
1. ATR (Average True Range) settings to measure market volatility.
2. Supertrend settings to identify the market trend.
3. Conditions for determining uptrend and downtrend.
4. Determination of Bullish (Engulfing pattern during uptrend) and Bearish (Engulfing pattern during downtrend).
5. Calculation of Stop Loss (SL) and Take Profit (TP) levels based on the Engulfing pattern.
6. Entry conditions based on the Engulfing pattern and the corresponding trend.
7. Exit conditions based on price crossovers with SL and TP levels.
8. Plotting of the Engulfing patterns on the chart.
This strategy is used to identify trading opportunities based on Engulfing candlestick patterns that align with the direction of the market trend. Additionally, stop loss and take profit levels are calculated based on the Engulfing pattern, and trading signals are displayed on the chart.
It's important to note that this script can be customized according to your trading preferences and strategy.
Z Score CANDLE and Exciting candle signal [DJ D]This script paints candles when their zscore reaches above 2 standard deviations in price from the mean. The blue candle represents up candle above 2. Magenta candle below -2. The candles can signal the beginning of a move and also importantly exhaustion.
The script also signals when a candle has volatility above 6. The higher the sensitivity the less frequent it will paint. These are real time paints and signals. You can adjust for higher time frames by adjusting the length of the z score and adjust the sensitivity of the volatility candles.
The yellow candle is a mean candle and can signify consolidation and/or indecision. Drawing a Darvis type box around around mean candles can give you a zone to watch.
These settings are for 1 minute scalping. The volatility sensitivity range between 1- 2 is good for 15, 30, (ie 1.0 or 1.2) and your discretion....
AMD-PO3-Goldbach levels [promuckaj]This script is developed on time & price, algorithmic market theory that is well explained in the book "Demystifying ICT" by Hopiplaka.
Indicators main features:
*PO3 - Goldbach(IPDA) levels which is based on the size of a price range (dealing range) as a factor of power of three (3^n).
There is PO3 numbers starting from 3 to 177147 as predefined, but also there is field for custom one so that users can experiment.
By selecting the PO3 number script calculate range low and range high using PO3 formula based on the current price and represent it on the chart into multiple levels of Goldbach numbers. At each this levels it is expected to see price that form block, fair value gap etc..., as defined in concept by ICT.
Levels:
Ext => External range
Low => Range low
High => Range high
FVG => Fair value gap
RB => Rejection block
OB => Order block
LV => Liquidity void
BR => Breaker
MB => Mitigation block
*AMD (Accumulation, Manipulation, Distribution) cycles, that can be modified by changing timings and colors.
Using PO3-Goldbach levels to identify where at the current time profile price is, there can be done trades in line with AMD cycles.
Default timings are set for Forex pairs.
*FVG, HIPPO, Displacement is well known parts of a market structure, so those three are also implemented here with some possible changes for them (colors, extension, labels...).
FVG => Fair value gap, imbalances in the market, or when buying and selling are not equal, in most cases can become a magnet for the price.
HIPPO => Hidden interbank price point objective, invention by Hopiplaka to demonstrate meaning of this "hidden" order block. It basically take the wicks of 2 consecutive bars that create a fair value gap.
DISPLACEMENT => It is practically similar to FVG but with option to measure length and strength, where in combination it will calculate and mark candle by looking back to the bars to determine the candle range standard deviation.
FEATURES:
-Multiple PO3 numbers, including special option to set your custom one
-Color and style customization
-Main levels mode, only Low, High and Equilibrium levels
-PO3 table with all PO3 calcs from multiple numbers, and mark the same levels from multiple
-Option to shift DR up or down
-Option to show you always upper/lower main DR levels (Low/High/Eq.)
NOTE:
-First of all special thanks to fxdmn that gives me idea from his indicator, how to present this through my own script.
-GB levels requires the correct symbols price calculation to work properly, everything is done by auto calc, tested well on EURUSD,SP500,DXY,Gold and BTC.
NormInvTargetSeekerNormInvTargetSeeker
The NormInvTargetSeeker is a trading tool designed to aid traders in identifying and capitalizing on Distribution and Accumulation zones, highlighting specific price levels that could serve as targets for future price movements. Although the indicator itself is not multi-timeframe, an effective trading strategy might involve signal validation across multiple timeframes.
🔶 USAGE
The indicator identifies Distribution and Accumulation zones, providing potential targets for future price moves.
Traders are encouraged to use these zones as profit targets or potential reversal points.
Confluence Zones
These zones are identified as regions where various factors or levels converge, signaling an increased probability of price reaction.
They can be used to reinforce signals or identify levels where price might encounter significant resistance or support.
🔹 Trading Strategy
First, identify a signal on your primary trading timeframe.
Manually check higher timeframes to ensure the signal aligns with them.
Use the identified zones, whether Distribution or Accumulation, as target zones for your trades.
🔶 Order Blocks
The NormInvTargetSeeker identifies "Order Blocks" by examining a specified number of consecutive candles with a specific condition: the current candle must completely engulf the previous candle. This means that both the high and low of the current candle are higher and lower, respectively, than the high and low of the previous candle, signifying a dominant move in the direction of the current candle.
🔹 Trading Strategy
Target Confirmation: Order Blocks can serve to confirm target points, providing additional validation for identified levels.
Market Insight: They offer crucial insights into whether "big hands" or institutional players are positioned as buyers or sellers in the market.
Traders can use Order Blocks as a means to validate targets or key price levels, observing if the price reacts significantly upon reaching these blocks.
They can also provide insights into the general market direction or underlying market strength by identifying where the major market players are placing their orders.
🔶 SETTINGS
The indicator allows users to adjust various parameters to customize the display and logic of the tool to fit their needs.
🔹 Display Settings
Users can customize the colors and displays of various zones and labels to match their preferences.
🔶 LICENSE AND CREDITS
This work is licensed under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). More information here: creativecommons.org
This indicator utilizes a TypeScript implementation of the Normal Inverse function as a reference, which can be found here : github.com
Special thanks to the authors of the referenced code for providing a foundation upon which this indicator was built.
🔶 UPDATES
Current Version: 1.0.0
For future updates, please check the comment section.
🔶 CONTACT
For any questions or suggestions, please feel free to contact @RickSimpson on TradingView.
Market Structure [TFO]The purpose of this indicator is to provide a simple approach to Market Structure. When price is closing over swing highs, we may categorize that as bullish structure; and when price is closing below swing lows, we may categorize that as bearish structure.
We can easily find swing highs and lows via the following built-in Pine Script functions:
ta.pivothigh()
ta.pivotlow()
We can pass in our Pivot Strength parameter to determine the size/significance of these pivots. The lowest value of 1 will validate a swing high when a given high is larger than that of 1 bar to the left and right of it. A pivot strength of 3, for example, would validate a swing high only when a high is larger than that of the 3 bars to the left and right of it, making it much more selective.
In any case, we can simply track the most recent swing highs and lows and check for when price through them. Enabling the Show Pivots option will mark all the swing highs and lows that are being considered for future structure breaks.
If the trend is bearish and we begin closing over swing highs, that would mark a Market Structure Shift (MSS). If the trend is already bullish and we are closing over swing highs, that would mark a Break of Structure (BOS), and vice versa for bearish conditions. MSS essentially signifies reversals in Market Structure while BOS signifies continuations.
Users may also create alerts for Any/Bull/Bear BOS or MSS. Simply create a new alert, select this indicator, and select the desired BOS or MSS criteria.