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.
Hỗ trợ và kháng cự
Anticipated Profit Targets (APT)Anticipated Profit Targets (APT)
Purpose:
The Anticipated Profit Targets script is a specialized tool designed to assist traders in visualizing potential exit points for their trades. This is achieved by leveraging the Average True Range (ATR), a renowned measure of market volatility.
How It Works:
ATR Computations: At its core, the script calculates the ATR based on a user-defined number of periods. The ATR captures the range between the high and low prices of an asset over a specific duration, providing a snapshot of its volatility.
Multiplier Application: To fine-tune the profit targets, the ATR is multiplied by a user-defined multiplier. This step adjusts the ATR value, setting the profit targets at a distance from the current price, thus accounting for potential price movements.
Adaptable Timeframes: One of the standout features of this script is its adaptability. Users can select their desired timeframe for the profit target calculations. This flexibility means that a trader can be on a 15-minute chart but visualize profit targets based on the volatility of a 1-hour chart.
Visual Representation: The calculated profit targets are then overlaid onto the current chart. This visual aid provides traders with a clear perspective of potential exit points in relation to ongoing price movements.
Originality and Usefulness:
While the concept of using ATR for setting profit targets isn't new, this script's adaptability across timeframes and its user-centric customization options make it a unique offering. The combination of ATR with dynamic multipliers and timeframe adaptability ensures that traders get a tool tailored to their specific needs, rather than a one-size-fits-all solution.
Usage Guidelines:
After adding the script to the chart, traders can adjust the input parameters to their preferences. The anticipated profit targets will then be displayed, offering potential exit points. It's recommended to use these targets in conjunction with other technical indicators and chart patterns for a holistic trading strategy.
Features:
ATR Periods: The ATR is calculated using a user-defined number of periods. By default, it's set to 14 periods, a standard setting. The ATR gauges the asset's volatility, and adjusting the periods can increase or decrease its sensitivity to recent price fluctuations.
ATR Multiplier: The ATR is multiplied by a user-defined factor to determine the profit targets. With a default multiplier of 1.5, the profit target will be positioned 1.5 times the ATR above (for bullish trades) or below (for bearish trades) the current price.
Target Timeframe: Traders can choose the timeframe for which the profit targets are calculated. This feature enables viewing of profit targets from higher timeframes on the current chart. For instance, while observing a 15-minute chart, one can see the 1-hour profit targets.
Visual Indicators:
1. Two lines are plotted: the bullish target (in green) and the bearish target (in red).
2. At the onset of each new candle in the selected higher timeframe, labels indicating the precise profit target values are displayed.
3. Price scale labels also showcase the profit targets, offering a quick reference for potential exit points.
Customization:
Traders can modify the following parameters:
1. ATR Periods: Adjusting the number of periods can refine the ATR's sensitivity to price changes.
2. Multiplier for ATR: Tweaking this value alters the distance between the profit targets and the current price.
3. Timeframe for Profit Targets: A variety of timeframes are available, granting flexibility in viewing profit targets.
How to Use:
After integrating the script into their chart, traders can modify the input parameters as desired. The anticipated profit targets will then be overlaid on the chart, offering potential exit points. When used alongside other technical indicators and chart patterns, this tool can enhance trading decision-making.
Note: This script is designed for educational purposes and should not be considered as financial advice. Always conduct your own research and consult with a financial advisor before making any trading decisions.
OrderBlock/SupplyDemand PRO🎯 Overview:
Supply and Demand trading has been becoming one of the most popular trading strategies over the past year. Supply and Demand trading is a trading technique based on finding key zones which price can bounce off of.
While most indicators only look at 1 time frame, this indicator looks at many timeframes(you can turn them on/off in the settings). This allows for a much better overview of zones and allow you to make better decisions.
This indicator processes Supply/Demand differently. While most indicators only have 1 type of Supply/Demand, this indicator filters price action, and decides which zones are the best given the momentum and price action, allowing for higher accuracy.
This indicator is specifically designed for Stocks, but the usage in other markets is possible(I haven’t tested in other markets but feel free to try yourself). There are many other paid supply/demand indicators out there, but even so, many of them aren’t as accurate or usable as this one. I am giving this out for free, as I want to help everyone instead of asking you to pay me just for access.
🎯 Optimization:
I set the default settings so that they work the best on SPY. If you decide to trade another specific ticker, you may need to change the settings to fit it. The main settings that should be modified should be the 3 ATR settings.
ATR Multiplier for valid OB: This is the multiplier for the minimum breakout. This indicator looks at 2 different breakouts(strong and weak breakouts). Depending on the type, it will draw S/D at different areas.
ATR Multiplier Inside/Outside: The S/D key levels, and then adds/subtracts the ATR multiplied by this multiplier to get the zone. The inside multiplier is the multiplier for the inside of the zone, so the area where the price will enter. The outside is the side where it will exit. After price has a full candle outside of the zone, the zone will be deleted.
🎯 Usage:
There are many ways you can incorporate this into your trading from confirming your bias to helping you take profits at zones you didn’t see. For example, if you are looking to go long and we are in a huge supply zone, you should definitely pay more attention. If you are looking at price action, and it seems bearish, you can use this indicator to confirm your bearish thesis if we are near a huge supply zone. If your thinking of going long, but it's in supply, maybe pay more attention(unless you're looking for a breakouts)
There are 2 modes in the indicator:
Orderblock Mode: This will show all the valid zones that have not been hit at all. This is very useful if you want to play “set and forget” plays. Once a zone is hit, the zone will be deleted. I don’t use orderblocks too often so the orderblocks generated are the same as Supply/Demand zones. Don’t trade strictly off of this unless you know what you're doing, I did not do extensive testing with this mode.
Supply/Demand Mode: This shows all zones that have not been broken. This is much more useful than the Orderblock mode(imo) but is a bit harder to read. When consolidating without much trending, Supply/Demand will be drawn on top of each other at the highs, causing “strong supply/demand”, which is often misleading. Zones will only be deleted with a full close outside of the zone, below for demand and above for supply. Don’t trade strictly off of this unless you know what you're doing, but I did do much more extensive testing with this setting.
🎯 Example Strategy:
Here’s an example of a very simple strategy you can use, using the Supply/Demand mode of this indicator:
Look for an entry into a zone(preferable a current timeframe zone)
After entering, wait for price to cross a EMA or MA
Enter the trade:
-> If going LONG: SL below previous low, TP at a fixed RR or another strong zone
->If going SHORT: SL above previous high, TP at a fixed RR or another strong zone
Here is an example trade you can take:
1. Look for an entry into a key zone.
2. Look for a crossover/crossunder of the MA(this is the 50MA). Set TP and SL at appropriate levels(1:2 RR and near key levels)
3. Watch play playout
I guarantee you that this strategy has a win rate of less than 100%, so do not ask me why it doesn’t work 100% of the time. If you're going to ask me this, trading isn’t for you or go do some more research. This is just a tool you can use.
🎯 Current Limitations:
Can not filter zones. When you double click the timeline zoom, the boxes are so high/low that it slows way too many zones too far apart. I haven’t been able to figure out a way to “delete” the zones if they are a certain % away from price, and then have it show again if it's close enough.
Memory limitations. When backtesting(or for me at least), I will run into a “Memory Exceeded” Error after replaying 1 bar. The only way to reset this is by changing a setting and reverting it in the settings, or going a few bars in the future and re-replaying it back to the previous candles.
If anyone would like to try to help out, feel free to DM me. Any help is appreciated :)
ESZ2023 M1 SR v231019E-mini S&P 500 Futures ESZ2023 Contract Gann Support & Resistance
Description:
Support and resistance angles based on starting date and time stamp and ending date and time stamp, extended to the right in time to show interaction with price. The method of drawing these Gann angles is different than other previously published “Gann angles” and uses an esoteric WD Gann time & price squaring calculation method that he never explicitly published but hid in plain sight in his book " Tunnel Thru the Air ". In the spirit of preserving the originality of Gann’s work, the underlying logic is not being explicitly disclosed here, only an expression of the logic derived from a ‘key’ he left us in his book.
Gann's methods were originally meant for position trading and swing trading larger timeframes. Here these Gann support and resistance levels have been adapted for intraday on the 1-minute chart.
While Gann’s method of calculating support and resistance levels works on any timeframe and instrument, these specific levels published have been calculated for the E-mini S&P 500 Futures ESZ2023 Contract.
What the script does, how it does it and how to use it:
This script draws angles on a chart that represent likely areas where price will encounter support or resistance according to what Gann called the “law of vibration”, suggesting that every instrument moved within its own vibrational frequency.
Gann’s law of vibration can be expressed on a chart as ripples created in still water are expressed by applying surface tension on the water to create the ripples. Similarly, to ripples in water, Gann’s price impulse waves cause price oscillation or ‘ripples’ that resonate through time. These support and resistance levels were calculated based on a single impulse wave in time. The angles represent where time and price square out relative to the impedance of the originating impulse wave.
To use the script, simply apply it to an ES chart on the 1-minute time frame. For improved readability, you should apply a dark theme to your chart. To troubleshoot instances where the lines won’t show for whatever reason, try refreshing the browser or re-applying the script. Panning backwards on the chart to where the line angles start will also get the angle lines to reappear.
What the Different Lines Mean:
Red – These are called ‘axis’ lines and represent very critical support and resistance levels that can signal major trend changes. The axis lines stem from a single impedance point of origin.
Yellow – These are called ‘node’ lines and represent minor support and resistance levels that can signal where price will target or retrace to as it moves towards a higher timeframe price objective. Nodal lines stem from an upper and lower node relative to the wave’s impedance center.
Preserving the Originality of the Script and Usefulness of the Lines Code:
The script dates and timestamps are being protected to deter the proliferation of tampered versions of these Gann calculations which will detract from their usefulness and make it harder for other TradingView users to find the original publisher source.
Omega Smart AnalystThe Omega Smart analyst is a tool designed to help traders visualize in a clearer way key price levels on the chart based on the price and the volume.
The indicator has some features, including:
- Option to customize the colors for all of the tools available to have common aesthetics
- Option to choose the length and the sensitivity for all of the tools
Volume clusters: display automatic volume clusters that can be used as support or resistance following the order block theory. These levels can be highlighted or extended in the settings.
Support and resistance: show automatic support and resistance levels based on volume.
Candle coloring: color candles based on volume and volatility, great to use as a signal confirmation.
Full levels: show previous high, low, and close levels on the chart, great to use to detect liquidity and breakouts
Bias target: a tool to enhance one of the low or high of the previous full levels according to the daily liquidity bias ICT method. As shown in the picture above you can also choose to display only these levels.
Market structure: show the current trend according to the market structure.
Structure origin: shows the main level of support and resistance with an area that gives also an indication of the current price volatility.
Risk Disclaimer:
All content and scripts provided are purely for informational & educational purposes only and do not constitute financial advice or a solicitation to buy or sell any securities of any type. Past performance does not guarantee future results. Trading can lead to a loss of the invested capital in the financial markets. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information. All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Liquidation Levels [LuxAlgo]The Liquidation Levels indicator aims at detecting and estimating potential price levels where large liquidation events may occur.
By analyzing liquidation Levels, traders can identify potential support & resistance levels, identify stop-loss levels, and gauge market sentiment and potential areas of price volatility.
🔶 USAGE
Liquidation refers to the process of forcibly closing a trader's leveraged positions in the market. It occurs when a trader's margin account can no longer support their open positions due to significant losses or a lack of sufficient margin to meet the maintenance margin requirements.
Liquidation events happen at all times and the script focuses on detecting the most significant ones. Bubbles will appear on the relevant price bar when larger trading activity has been detected. Larger bubbles represent more significant potential liquidation levels. The lines attached to the bubbles represent the liquidation zones at that price.
These liquidation levels are based on clusters of price points where highly leveraged traders open long or short positions. High leverage is identified as 100x, 50x, and 25x leverages used for both long and short positions. The script allows users to either remove or customize leverage levels.
Price generally heads towards zones or clusters of liquidity.
🔶 SETTINGS
🔹Liquidation Levels
Reference Price: defines the base price in calculating liquidation levels.
Volume Threshold: The volume threshold is the primary factor in detecting the significant trading activities that could potentially lead to liquidating leveraged positions.
Volatility Threshold: The volatility threshold option is the secondary factor that aims at detecting significant movement in the underlying asset’s price with relatively lower trading activities that could potentially also lead to liquidating high-leveraged positions.
Leverage Options: The leverage options are where the trader will set the desired leverage value and customize the potential liquidation level colors.
Hide Liquidation Bubbles: Toggles the visibility of the bubbles.
Hide Liquidation Levels: Toggles the visibility of the lines.
🔶 RELATED SCRIPTS
Liquidity-Sentiment-Profile
Buyside-Sellside-Liquidity
Multi Timeframe Supply & Demand ZonesIntroduction
Hello fellow traders and coders, I’d like to introduce the multi time-frame supply and demand indicator that you’ve been looking for, its a dynamic script encompassing a lot of features however it is merely a tool to be used in conjunction with your own market analysis.
Features
A maximum of 2 time-frames that can be customized independently.
The ability to change individual swing lengths that create the supply and demand boxes, all time-frames will come set at 7, you can however set this to whatever you are comfortable with.
Supply and demand functionality for both time-frames.
The ability to either use (highs and lows) or closes for mitigation of supply and demand zones, meaning that if set to close the zones will be mitigated if a close is above the top for supply and bottom from demand, the same will apply when the high and low flag is used.
The ability to customize box colors, border type, border width and text size.
The ability to prevent lower time frame structure from showing on higher time frames which I don’t advice as it will provide you with an inaccurate perception of the lower time frame structure hence I’ve made the feature available but set it to false.
The script also has a section called general settings that will allow you to hide all the supply and demand zones on the chart.
The ability to choose the number of supply or demand zones to display per time-frame.
General Settings Functionality.
Input 1 allows you to hide all the demand zones on the chart.
Input 2 allows you to hide all the supply zones on the chart.
Input 3 if false will show lower time frame structure on a higher time frame. Default is true to prevent inaccurate results on higher time-frames.
S/R and Reversal BarsToday I'm proposing an idea to form S/R with a slightly different basic idea. This is a combination of CCI and candlestick study, and we will use this to mark possible reversal candles and possible S/R lines.
This is nothing complicated, I've used a basic CCI indicator with certain rules/system to mark S/R levels on the chart. (Have loaded traditional CCI indicator on bottom for comparison)
S/R levels are market as followed
Cross -
Lime = Support
Red = Resistance
Zero/Balance line - Yellow circles
The idea is to use this indicator to trade sideways market more successfully, in trending market this can be futile if you are not waiting for the break-out or breakdowns with confirmation.
Since this is based on CCI, it will give static result only when bar is closed, till then it will be susceptible for repaint. This is inherited nature from CCI readings on current bar. I could change this to only making reading on closed bar (historical bar), but that takes away from the uniqueness of this indicator in giving early indications.
This is a great tool for intraday scalping, but it does work on all timeframes, it's not bound by granularity.
This is for education purpose only.
Past success or seemingly positive results on published posts are not indication of future success.
VWAP Balance ZonesVWAP Balance Zones (VBZ) Is based on 3 concepts.
Many Traders use VWAP to help determine Price Trends.
Trends are typically identified by new Highs or new Lows.
Balanced is found when Supply and Demand are mostly Equal.
VBZ tracks the daily, weekly, and monthly highs and lows; Then plots the average (50%) between the VWAP and the respective extremes.
50% VWAP Zones can be considered significant since they attempt to identify the equilibrium between market participants within the current trend, serving as key reference points to consider for decision making. >While in an uptrend, Buyers may see price falling to the Hi 50% as an attractive value entry for the continuation upwards.
>While ALSO in an uptrend, Sellers may see price falling to the Hi 50% as a change in sentiment with more downwards movement on the way.
Because of these conflicting mindsets, these zones are thought to display areas of balance between buyers and sellers, which can serve as potential decision points throughout the day.
VBZ Draws Zones from the Daily (High/Low/Close) VWAPs and the Day's (High/Low/Close) extremes as seen below.
Technically speaking, an average between vwap and extreme is a single point, to make these into zones I am using multiple sources for vwap and tracking different points of the bar throughout the day (ex. Close VWAP & Daily Highest Close)
Weekly and Monthly are only displaying the Average Price between the VWAP and the (Weekly or Monthly) High/Low.
These hold up as important levels for speculation; however, since most action will be discovered at the daily zones, I am not displaying the zones for the Weekly and Monthly to keep noise to a minimum.
Unique Behaviors:
- Weekly values are hidden on the first day of the week since they are similar to the daily values on the first day of the week.
- Monthly values are hidden in the first week of the month for the same reason.
Delta Zones Buy/Sell PressureScript Description:
Delta Zones Buy/Sell Pressure Indicator
Description:
The "Delta Zones Buy/Sell Pressure" indicator, created by the original author "scarf", is a technical tool that unveils key areas of buying and selling pressure in the market. This indicator utilizes the concept of Delta, calculating differences between open, close, high, and low prices. When these differences exceed a threshold determined by the user-defined standard deviation, areas of intense buying (indicated by green boxes) and selling pressure (indicated by red boxes) on the chart are identified.
How It Works:
The indicator calculates Delta using various combinations of candle prices to determine buying and selling pressure. When Delta surpasses a certain level, indicated by the user-defined standard deviation, visual signals in the form of boxes on the chart are generated. These boxes highlight specific areas where buying or selling pressure is particularly strong, aiding traders in identifying potential entry and exit points in the market.
How to Use:
* When a green box is drawn, it indicates strong buying pressure in the market. This can be interpreted as a signal to consider long positions.
* When a red box is drawn, it indicates strong selling pressure in the market. This can be interpreted as a signal to consider short positions.
* Use these signals in combination with your own analysis and risk management strategies to make informed trading decisions.
Originality:
What makes this indicator original is its unique approach to identifying specific areas of buying and selling pressure. By calculating Delta in multiple ways and utilizing standard deviation as a filter, this indicator provides clear and concise visual signals about market activity. The combination of these features distinguishes it as a valuable tool for traders seeking a better understanding of market behavior. This modification differs from the original by displaying the information on the price chart with horizontal bars, below each delta, instead of an oscillator at the bottom similar to the volume indicator.
Final Recommendations:
Consider Market Trends:
Before making any trading decisions using the Delta Zones Buy/Sell Pressure Indicator, it is crucial to analyze the prevailing market trends. Assess the overall direction of the market, whether it's trending upward, downward, or moving sideways. Align your trades with the dominant trend to increase the probability of successful outcomes. The indicator's signals can be more reliable when they align with the broader market trend.
Evaluate Macro-Economic Factors:
Additionally, take into account macro-economic factors that could influence price movements. Factors such as economic indicators, geopolitical events, interest rate decisions, and global market sentiments can significantly impact the financial markets. Stay updated with relevant news and economic reports to anticipate potential market shifts. Understanding the broader economic context can help you interpret the indicator's signals within a more informed framework.
Practice Risk Management:
Regardless of the signals provided by the Delta Zones Buy/Sell Pressure Indicator, always implement effective risk management strategies. This includes setting stop-loss orders, diversifying your portfolio, and only risking a small percentage of your trading capital on each trade. By managing your risk, you can protect your investments and ensure longevity in the market, even during volatile periods.
Continuous Learning and Adaptation:
Financial markets are dynamic and constantly evolving. Continuously educate yourself about new trading strategies, technical analysis tools, and economic developments. Stay open to adapting your trading approach based on changing market conditions. Regularly reviewing your trading strategy and adjusting it according to your experiences and market feedback can significantly enhance your trading performance over the long term.
Seek Professional Advice if Necessary:
If you are uncertain about specific market trends, indicators, or economic factors, don't hesitate to seek guidance from financial advisors or professionals. Their expertise can provide valuable insights and help you make well-informed decisions, especially in complex or uncertain market environments.
By incorporating these recommendations into your trading approach, you can enhance your decision-making process, mitigate risks, and increase your overall chances of successful trading outcomes. Remember, the key to successful trading lies not only in the tools you use but also in your ability to interpret them within the broader market context.
Golden Level Predictions v1.0Golden Level Predictions (GLP) Trading Indicator
This script introduces a custom trading indicator named "GLP" tailored for the TradingView platform. It offers various price levels derived from Fibonacci calculations and other mathematical models, assisting traders in pinpointing potential overpriced and discounted price levels.
Key Features:
User Inputs : Users have the flexibility to select their desired timeframe, with options ranging from Weekly, Daily, Monthly, and more. Additionally, they can opt to showcase Fibonacci lines and the associated prices within these levels.
Price Level Calculations :
- Employs constants such as the Golden Ratio (PHI) and Pi (PI) to extract various multipliers and factors.
- Assesses if the current asset is a cryptocurrency and tweaks calculations accordingly.
- Determines overpriced and discounted price levels, drawing from the current open price and past data.
Fibonacci Levels :
- For each overpriced and discounted level, the script computes intermediary Fibonacci levels, including 23.6%, 38.2%, 50%, 61.8%, and 78.6% (the 3rd level is excluded due to plot limitations).
- These levels are illustrated on the chart, granting traders a more detailed view of price targets.
Visual Elements :
- Projects horizontal lines to the subsequent selected indicator interval for every calculated price level.
- Exhibits potential percentage gains or losses at each tier, indicating the prospective price alteration upon reaching that level.
- Differentiates overpriced (green) and discounted (red) levels using color codes. A neutral price is depicted in yellow.
Anticipated Close Calculation : Offers a projected closing price for the current timeframe, based on a myriad of factors.
This indicator is particularly effective with cryptocurrencies due to their inherent volatility. It's also compatible with stocks and is most efficient with tickers that provide volume data.
Flux Charts MTF Supply and Demand Zones (Premium)Indicator Overview
The Multi-Timeframe Supply & Demand Zones indicator by Flux Charts displays supply and demand zones on multiple timeframes with two different zone detection methods. These zones are commonly known as areas where there are lots of buyers/sellers present in the market.
Adaptive Detection Method
AMEX:SPY 5m timeframe, October 8 2023
Indicator Settings: (Timeframe: Chart & 15m, Method: Adaptive, Zone Multiplier: 1)
Many times supply and demand scripts try and precisely define conditions that qualify for supply and demand zones. People, however, when locating supply and demand zones manually generally do not take a quantitative approach, rather looking for qualities in price action that have generalized qualities and trends. The adaptive algorithm uniqueness comes from adapting the human approach to work computationally. It generalizes the qualities of supply and demand zones and locates areas in the chart with an acceptable similarity. Specifically, it looks for consolidated areas within the chart that are preceded by a rise or fall in price. The rise or fall length has to be a certain ratio to the consolidation length. If the criteria are met it will draw the zone, if a zone already exists at that price level it will ignore it or merge them if they are different timeframes. This results in a much more consistent ability to identify areas of supply and demand.
Basic Detection Method
The basic detection method looks for areas where price made drastic movements within a small period of time, which could indicate a high level of buyers/sellers at the spot. Thus, these zones are formed and can be used as areas of trading where money is going in/out of the markets.
Multi-Timeframe (MTF) S&D
Flux Charts supply and demand script utilizes MTF. This allows for displaying zones from different timeframes on one chart. Utilizing higher timeframes is a common practice in trading, and it can be easy to forget about key levels & zones on higher timeframes which could cause reversals/bounces.
Here is an example of a 15 minute supply zone formed on the NASDAQ, and with this indicator, you can also see this same 15 minute supply zone while being on a 5 minute candlestick chart, since you have the 15 minute zones enabled in the settings. This indicator offers supply & demand zones on multiple timeframes including the 5 minute, 15 minute, 30 minute, 1 hour, and 4 hour.
Settings
Method:
Choose between the Supply & Demand zones detection (Basic / Adaptive)
Zone Retests:
Choose how retests should be considered. You can choose between a high/low candle wick entering a zone, or a candle closing inside of a zone to be considered a valid retest.
Zone Invalidation:
Choose how zones are invalidated. You can choose between a high/low candle wick exiting a zone, or a candle closing outside of a zone to be considered a zone invalidation.
Zone multiplier:
Adjust zone size (1 is recommended)
Timeframe:
Choose the timeframes you would like Supply & Demand zones to be displayed from.
Zone Appearance:
Adjust the colors of Supply/Demand zones
Enable/Disable the center dashed line in zones
Display Labels:
Choose to toggle on/off retest & break labels
Notifications:
Choose what alerts you would like to receive. You can choose to have new zone formations, zone breaks, and zone retests.
PhantomFlow DynamicLevelsThe PhantomFlow Dynamic Levels indicator analyzes the dynamic volume over the period specified in the Period field. Channel boundaries can be used as dynamic support and resistance levels when trading within a range. The POC level also serves as a level at which the price may react during trend movements. The Period Multiplier parameter affects how many dynamic levels will be displayed. The Accuracy parameter influences the precision of volume calculations.
These levels are crucial for intraday traders as they serve as support or resistance. The Value Area zone includes 70% of the traded volume over the selected period. In other words, it represents the price region where the majority of traders believe the fair value for the asset lies.
The indicator's name, Dynamic Levels, aptly captures its essence. It analyzes trading volume at various price levels, tracking the sentiment dynamics of traders. When the asset's price decreases or increases as a result of trading, the Dynamic Levels indicator displays a new level on the chart. This results in a plotted line on the chart, allowing us to observe the movement dynamics of both the value area and the maximum volume level.
Standard indicators do not provide real-time visibility into level shifts, making the use of the Dynamic Levels indicator a competitive advantage in market trading across any time frame.
We borrowed the volume profile calculation code from @LonesomeTheBlue. Thank you for the work done!
VIPER DOPING - A Volume Profile to estimate trend probabilityDESCRIPTION :
VIPER DOPING uses volume analysis to help trader to understand trading keys below:
Support and Resistance
Profit and Loss
Estimate candle direction
Trend
Biggest Buy and Sell on level prices
HOW TO USE:
The volume bar will have buy and sell colors, by default the buy color is blue and the sell is red. The size of bar is important matter, the biggest bar size means that price level has strong volume or transaction and the smallest bar size indicates the lowest transaction or volume. How to read it?
The bar above the candle is the resistance
The bar below the candle is the support
If you want long the market, find the biggest or bigger support, which is below the candle
If you want short the market, find the biggest or bigger resistance which is above the candle
Trading style and the maximum range (total candle), default is 60. This setup to analyze volumes in specific candle range. Please check the following recommendation based on trading style:
Scalping: 30 - 60 candles, recommendation timeframe: 5m - 1h
Day Trading: 50 - 120 candles, recommendation timeframe: 30m - 4h
Swing Trading: 100- 240 candles, recommendation timeframe: 1h- 3D
The white box is to visualize trading area by total candle. Every line has the meaning:
The left line is the start candle
The right line is the end candle
The top line is the highest price of volume profile
The bottom line is the lowest price of volume profile
The fibonacci line will help you to confirm and compare of supports and resistances with the volume profile lines.
The TABLE CELLS
it contains information to help trader to understand the recent situation of market and to take strategy of trading:
Total Candle : the maximum candles are used to analyze the volume from previous active candle
Biggest Sell : the horizontal price area which has the largest of sell volume of the last total candle
Biggest Buy : the horizontal price area which has the largest of buy volume of the last total candle
Buy Rate : the ratio of buy and sell volume of the last total candle
Support: the closest price to be the support from the active candle, auto changed if support to be invalid
Resistance : the closest price to be the resistance from the active candle, auto changed if support to be invalid
PnL : the percentage profit if you trade using the support and resistance prices and it can be used for Risk Management. Wisely the risk is 50% of the profit, example if the profit 1% the your risk should be 0.5% from entry.
Estimate : to analize the next direction of candle or target, it will be changed automatically by volume condition.
CONFIGURATION:
Table Position : You can change the table position to top or bottom, to left, right or center
Calculation : You can include the active candle in volume calculation or you can choose the behind active candle. If you use active candle, there could be possible repainting.
The volume profile configuration is about appearance configuration, to setup the thickness, colors, position.
The fibonacci configuration is about appearance configuration, to setup the thickness, extend lines, label styles.
MTF Breakout/RetestIntroducing the MTF (Multi Timeframe) Breakout and Retest Indicator:
This indicator is designed to enhance your trading strategy by providing a clear view of support and resistance levels across multiple timeframes. What this simply means is that you can input your levels, and be on a lower timeframe such as the 1 minute timeframe, and are able to see when your support or resistance level has a breakout
📈 Short Trade Breakout Condition:
- Definition: A short breakout occurs when a candle closes below your specified support level on any chosen timeframe.
- Confirmation: It confirms as a valid short signal when a second candle closes below the support level without retesting.
- Visual Clarity: The indicator highlights the timeframe in which this breakout has occurred.
(Long conditions are same but reversed, and will be displayed in color green)
📊 Multi-Timeframe Insights:
- Scope: You can analyze support and resistance levels across various timeframes, including 5, 15, 30, and 60 minutes, while trading on a lower timeframe like 1 minute.
🎨 Dynamic Color-Coding:
- Visual Signaling: The indicator employs color-coding to visually signal breakout events. When a short breakout occurs on any timeframe the timeframe color will highlight red, and vice versa for long will highlight green. The physical line will change color based on the current timeframe you are viewing
- Real-Time Tracking: Colors reset when a level is retested, helping you track market sentiment in real-time.
🪙 Need Your Help
- I am still very much new to coding, and this code is clearly not optimized well. This code was mainly the based idea, and over the next coming months I will be working to enhance the code but I need tradingview help. If you are a coder and see a way to optimize this code please please let me know :)
Breaks and Retests with Volatility Stop [HG]The "Breaks and Retests with Volatility Stop " indicator is a powerful tool designed to assist traders in identifying key support and resistance levels, breakouts, retests, and potential trend reversals. This indicator combines two essential components: support and resistance detection, and a Volatility Stop indicator for improved risk management. Below are the key features of this indicator:
**Support and Resistance Detection:**
- **Lookback Range:** Users can customize the lookback range, determining how many bars are considered when identifying support and resistance levels. This allows for flexibility in capturing short-term or longer-term levels.
- **Bars Since Breakout:** The indicator helps traders spot retests by allowing them to specify the number of bars that should occur since a breakout before considering it a potential retest.
- **Retest Detection Limiter:** Traders can set a limit on how many bars should be actively checked during a potential retest event. This feature prevents retest alerts from occurring too late, ensuring more accurate results.
- **Breakouts and Retests:** Users can choose to display or hide breakout and retest events separately, tailoring the indicator to their specific trading strategy.
- **Repainting Options:** The indicator offers three repainting options: "On," "Off: Candle Confirmation," and "Off: High & Low." This provides flexibility in choosing the repainting behavior that suits your trading style.
**Styling Options:**
- **Outline and Extend:** Traders can customize the appearance of support and resistance boxes by selecting outline styles and extension preferences.
- **Label Types and Sizes:** The indicator offers two label types, "Full" and "Simple," allowing traders to choose the level of detail displayed on the chart. Additionally, users can adjust the label size for better visibility.
- **Customizable Colors:** Support and resistance levels can be color-coded to match your preferred charting style, enhancing visibility and clarity.
- **Override Text Color:** If desired, traders can override the text color for labels, providing further customization of the indicator's appearance.
**Alerts and Notifications:**
- The indicator generates various alerts and notifications to keep traders informed about critical market events, including:
- New Support and Resistance Levels
- Support and Resistance Breakouts
- Support and Resistance Retests
- Potential Support and Resistance Retests
**Volatility Stop Indicator:**
- The "Breaks and Retests with Volatility Stop " indicator also includes a Volatility Stop component, which helps traders manage risk by indicating potential stop-loss levels based on market volatility. The Volatility Stop is color-coded to reflect the current trend direction, making it easy to identify potential trend reversals.
In summary, this TradingView indicator is a comprehensive tool designed to enhance your technical analysis and trading decisions. It provides support and resistance levels, breakout and retest alerts, and incorporates a Volatility Stop indicator for risk management, making it a valuable addition to any trader's toolkit.
Support and Resistance: Triangles [YinYangAlgorithms]Overview:
Triangles have always been known to be the strongest shape. Well, why wouldn’t that likewise apply to trading? This Indicator will create Upwards and Downwards Triangles which in turn create Support and Resistance locations. For example, we find 2 highs that meet the criteria (within deviation %, Minimum Distance and Lookback Distance). We calculate the distance between these two and create an Equilateral Triangle Downwards (You can adjust the % if you want more of an Isosceles Triangle). The midpoint (tip) of this triangle is the Support and the bottom (base) of it is the Resistance. The exact opposite applies for an Upwards Triangle.
The reason why Triangles may make for good Support and Resistance locations is the % 's used, much like the fibonacci, use ratios relevant in nature and everywhere in the world around us, so why not for trading too?
Tutorial:
If you look at the locations we’ve circled above, all of them exhibit strong rejections are predictive Support and Resistance locations plotted by the triangles created. There can only ever be 1 Upward and 1 Downward Triangle at a time, so when a new one is created, the Support and Resistance locations are moved.
If you scroll back far enough you’ll notice the Triangles disappear but their Support and Resistance locations are still plotted. This has to do with the fact you are allowed only so many Lines plotted and when a new Triangle is created, an old one will be removed. The Support and Resistance locations however will stay.
If we look at the example above, you can see the Support and Resistance locations the Triangles made here may have helped predict where the price would struggle to surpass.
By default the Look Back Distance is set to 50 and the Min Distance is 10 (settings used in all previous examples). However, you can modify these to make Triangles more ‘Rare’ and therefore the Support and Resistance locations change less. In the example above for Instance we left Look Back Distance to 50 but changed Min Distance from 10 to 25. This results in Support and Resistance locations that may hold better in the long term.
If we scroll back a bit, we can see the settings ‘Look Back Distance’ 50 and ‘Minimum Distance’ 25 had done a decent job at predicting the ATH resistance and many Support and Resistance locations around it. Keep in mind, previous results don’t mean future results, but Triangles may create ratios which apply well to trading.
We will conclude our Tutorial here. Hopefully you can see the benefit to the ratio Triangles make when predicting Support and Resistance locations.
Settings:
Show Triangles: If all you want to know is the Support and Resistance locations, there’s no need to draw the Triangles.
Triangle Zones: What types of triangles should we create our zones for? Options are Upward, Downward, Both, None.
Max Deviation Allowed: Maximum Deviation up or down from the last bars High/Low for potential to create a Triangle.
Lookback Distance: How far back we look to see for potential of a High/Low within Deviation range.
Min Distance: This is so triangles are spaced properly and not from 2 bars beside each other. Min distance allocated between 2 points to create a Triangle.
Bar Percent Increase: How much % multiplier do we apply for each bar spacing of the triangle. 0.005 creates a close to Equilateral Triangle, but other values like 0.004 and 0.006 seem to work well too.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Machine Learning: Support and Resistance [YinYangAlgorithms]Overview:
Support and Resistance is normally based upon Pivot Points and Highest Highs and Lowest Lows. Many times coders even incorporate Volume, RSI and other factors into the equation. However there may be a downside to doing a pure technical approach based on historical levels. We live in a time where Machine Learning is becoming more and more used; thus we have decided to create a Machine Learning Support and Resistance Projection based Indicator. Rather than using traditional Support and Resistance calculations using historical data, we have taken a rather different approach. This Indicator instead attempts to Predict and Project where Support and Resistance locations will be based on a Machine Learning Model using a form of KNN (k-Nearest Neighbors).
Since this indicator creates a Projection of where it deems Support and Resistance will be, it has the ability to move its Support and Resistance before the price even gets to it if it believes it will surpass its projections. This may create a more accurate placement of Support and Resistance as they’re not based on historical levels.
This Indicator does not Repaint.
How it works:
This Indicator makes its projections based on the source you provide (by default close) of the previous bar and submits the source, RSI and EMA to our Projection Function to get its projection of the current bar.
The Projection function essentially calculates potential movement after finding the differences between the source the MA from the current bar, previous bar and average over the span of Machine Learning Length.
Potential movement is defined as:
Average Difference + Average(Machine Learning Average, Average Last Distance)
Average Difference: (Absolute value of Current Source - Current MA) - (Absolute value of Machine Learning Average - Machine Learning MA)
Average Last Distance: Average(Current Source - Current MA, Previous Source - Previous MA)
It then predicts the next bars directional movement (bullish or bearish bar) using several factors:
Previous Source > Previous MA
Current Source - Current MA > Average Source - Average MA
Current RSI > Previous RSI
Current RSI > 30 and Previous RSI <= 30
Current RSI < 70 and Previous RSI >= 70
This helps us to predict the direction the next bar may move.
We then calculate a multiplier that we apply to our Potential Movement value to get our final result which is our Current Bars Close Projection.
Our multiplier is calculated using:
(Current RSI > 30 and Previous RSI <= 30) OR (Current RSI < 70 and Previous RSI >= 70)
Current Source - Current MA > Previous Source - Previous MA
We then create an array and fill it with the previous X projections (Machine Learning Length) and send it to another function. This function, if told to, will sort the data accordingly and then output the KNN average of the length given.
We calculate and plot various KNN lengths to create different Zones:
Strong Support: Length of 2 but sort the data Ascending (low to high)
Strong Resistance: Length of 2 but sort the data Descending (high to low)
Support: Length of Machine Length Length / 10 or Min of 2 sorted by Ascending
Resistance: Length of Machine Length Length / 10 or Min of 2 sorted by Descending
There are also 4 other plots you may be wondering what they are, there is your AVG, VWMA, Long Term Memory and Current Projection.
By default your Current Projection is disabled in settings but you can enable it if you are curious to see how the projections for each close are calculated. It is, however, not a crucial point of interest (white line).
The average is simply the average value of the Machine Learning Data (purple line).
The VWMA is a VWMA calculation applied to our Data over a length specified in settings (by default 1)(blue line). The VWMA is crucial when combined with the Avg as they can cross over and under each other. These crosses represent potential Bullish and Bearish zones.
Lastly, but certainly not least, we have the Long Term Memory (maroon line). The Long Term Memory can be displayed either as an ‘Average’, ‘Hard Line’ or ‘None’. The Long Term Average is only updated every Machine Learning Length Bar Index’s and is populated with the average of the Machine Learning Data. For Instance, if Machine Learning Length is set to 100, the Long Term Memory is only updated every 100 bars, and since its length is the same as the Machine Learning Length, that means its data is composed of 10,000 bars worth of data. The Long Term Memory may be very beneficial for determining where Support and Resistance lie over the Long Term within a Machine Learning Algorithm. When set to ‘Average’ it plots the connection lines diagonally, and although they may be more visually appealing, they’re less useful when it comes to actually seeing support and resistance as generally speaking, support and resistance lie on the horizontal. When set to ‘Hard Line’ the Long Term Memory is connected with hard lines and holds the price value until the next time it is updated. This makes it much more useful for potentially identifying Support and Resistance.
Tutorial:
Here is an overview of what the Indicator looks like, now let's start to dissect it.
In the example above we can see how all of the lines between the Major Support and Resistance zones may act as BOTH Support and Resistance depending on which side the price is currently on. In the circle on the left, we can see how it can fluctuate between the two. If you look at the circle on the right, we can see how the Average line acts as a strong support before it fails to maintain it. Generally speaking, most Support and Resistance locations may potentially fail to hold after 3 tests, as the Average did in this example.
As you can see, the Support and Resistance doesn’t wait to be tested before adjusting, which is why there are 2 lines which create their zones. The inner line is the Support/Resistance and the outer line is the Strong Support/Resistance. The Yellow Circle shows the inner line was able to calculate the moving resistance correctly and then adjusted accordingly as it was projecting the price to keep increasing. However, if you look at the White Circle, you can see that since there was first a crash, and then parabolic movement, that the inner zone could not move and predict the resistance as well as the outer zone could.
We consider the price to be ‘Overvalued’ when it is above the VWMA (blue line) and ‘Undervalued’ when it is below the VWMA. It is considered ‘fair’ price when it is within the VWMA to Average zone (between the blue and purple lines). If you look at the example above, you’ll notice where the two yellow circles are, it is not only considered ‘Overvalued’, but it then proceeds to ride the inner resistance line upwards. This is common when the market is overly bullish and vice versa when it is bearish. Please keep in mind, although it is common, it doesn’t mean a correction can’t happen.
In this example above we look at the last bull run that may have started due to the halving. This bull run was very bullish as you can see in the example above. The price was constantly sitting within the Resistance Zone and the VWMA that was very close to it was constantly acting as a Support. Naturally, due to the Algorithm used in this Indicator, as the momentum starts to slow down, the VWMA (blue line) will start to space out more and more from the Resistance Zone. This doesn’t mean the momentum is gone, it just means it may be slowing down.
Unfortunately we have to study the Bear Market with a different perspective than the Bull Market. However, there are still some similarities within the two. If you refer to the example above and the previous example, you can clearly see that the Bull Market loves to stay with the Resistance Zone and use the VWMA as a Support. However, the Bear Market does not. This is a normal occurrence, however we can see from the example above you may see a correction / horizontal movement when the Outer Support Line is touched. If you look at all 3 yellow circles, the Outer Support Line was touched, then either a small correction or horizontal consolidation occurred.
We will conclude our Tutorial here, hopefully you’ll be able to benefit from a moving Support and Resistance calculated with Machine Learning that projects its locations, rather than using traditional calculations.
Settings:
Source: This source is the base for all our calculations
Machine Learning Length: How much projection data are we storing and using to make calculations.
Smoothing Length: We need to smooth calculations such as RSI, EMA and VWMA. What length are we smoothing it with?
VWMA ML Projection Length: How far into our Machine Learning data should we average for our VWMA. Please note the 'Smoothing Length' is still applied here after getting the Projection Average.
Long Term Memory: Long term memory has the same storage length but is only updated once per Machine Learning Length. For instance, if Machine Learning Length is 100, it will save the Average of our data once every 100 bars. This means its memory is an average of 10,000 bars of Machine Learning. 'Average' connects its values diagonally whereas 'Hard Line' holds its value until it changes.
Use Average Last Distance In Potential Movement: This can help accuracy but generally also displaces the Support and Resistance by projecting it further.
Show Current Projection: Projections occur for each bar, and our Machine Learning utilizes these projections by storing and evaluating them. This toggle will display the Current Projection Line which is used to create all our Projections.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Liquidity Spike PoolThe “Liquidity Pools” indicator is a tool for market analysts that stands out for its ability to clearly project the intricate zones of manipulation present in financial markets. These crucial territories emerge when supply or demand takes over, resulting in long shadows (wicks) on the chart candles. Imagine these regions as "magnets" for prices, as they represent authentic "liquidity pools" where the flow of money into the market is significantly concentrated. But the value of the indicator goes beyond this simple visualization: these zones, when identified and interpreted correctly, can play a crucial role for traders looking for profitable entry points. They can mutate into important bastions of support or resistance, providing traders with key anchor points to make informed decisions within their trading strategies.
A key aspect to consider is the importance of different time frames in analyzing markets. Larger time frames, such as daily or 4h, tend to host larger and more relevant liquidity zones. Therefore, a successful strategy might involve identifying these areas of manipulation over longer time frames through the use of this indicator, and then applying these findings to shorter time frames. This approach allows you to turn manipulation zones into crucial reference points that merit constant surveillance while making trading decisions on shorter time frames.
The indicator uses color to convey information clearly and effectively:
- Dark blue lines highlight candles with significant upper wick, signaling the possible presence of an important manipulation area in the considered area.
- Dark red lines are reserved for sizable candlesticks with significant upper wick, emphasizing situations that are particularly relevant to traders.
- Dark gray lines highlight candles with significant lower wick, providing a valuable indication of manipulation zones where the bid may have prevailed.
- White lines highlight sizable candlesticks with significant lower wick, clearly indicating situations where demand has been predominant and may have helped form a liquidity pool.
This indicator constitutes an important resource for identifying and clearly displaying candles with significant wicks, allowing traders to distinguish between ordinary market conditions and circumstances particularly relevant to their trading strategies. Thanks to the distinctive colors of the lines, the indicator offers intuitive visual guidance, allowing traders to make more informed decisions while carrying out their analyses.
Range Breakout Signals (Intrabar) [LuxAlgo]The Range Breakout Signals (Intrabar) is a novel indicator highlighting trending/ranging intrabar candles and providing signals when the price breaks the extremities of a ranging intrabar candles.
🔶 USAGE
The indicator highlights candles with trending intrabar prices, with uptrending candles being highlighted in green, and down-trending candles being highlighted in red.
This highlighting is affected by the selected intrabar timeframe, with a lower timeframe returning a more precise estimation of a candle trending/ranging state.
When a candle intrabar prices are ranging the body of the candle is hidden from the chart, and one upper & lower extremities are displayed, the upper extremity is equal to the candle high and the lower extremity to the candle low. Price breaking one of these extremities generates a signal.
The indicator comes with two modes, "Trend Following" and "Reversal", these modes determine the extremities that need to be broken in order to return a signal. The "Trend Following" mode as its name suggests will provide trend-following signals, while "Reversal" will aim at providing early signals suggesting a potential reversal.
🔶 DETAILS
To determine if intrabar prices are trending or ranging we calculate the r-squared of the intrabar data, if the r-squared is above 0.5 it would suggest that lower time frame prices are trending, else ranging.
This approach allows almost obtaining a "settings" free indicator, which is uncommon. The intrabar timeframe setting only controls the intrabar precision, with a timeframe significantly lower than the chart timeframe returning more intrabar data as a result, this however might not necessarily affect the displayed information by the indicator.
🔶 SETTINGS
Intrabar Timeframe: Timeframe used to retrieve the intrabar data within a chart candle. Must be lower than the user chart timeframe.
Auto: Select the intrabar timeframe automatically. This setting is more adapted to intraday charts.
Mode: Signal generation mode.
Filter Out Successive Signals: Allows removing successive signals of the same type, returning a more easily readable chart.
OrderBlock_TradingHubAn order block refers to a specific area on chart that represents a significant level of support or resistance where institutional traders have placed large orders. By identifying order blocks, traders can gain insights into the intentions and actions of the smart money participants.
Typically, the order block is represented by the last bullish (bearish) candle before a downtrend (uptrend) initiate. Whereas this indicator is quite different from the existing order block detection tools. It categorizes order blocks into different types (Main order blocks, Unmitigated shadow order blocks and Single candle order blocks), checking the following criteria based on TradingHUB-3 technical method:
1) Take out liquidity
2) Cause imbalance
3) Not to be inside-bar
How it works:
This indicator identifies 3 types of order blocks through the following procedure:
1) Main Order Blocks (Extreme, Decisional, and SMT(smart money trap)):
• Check that the candle is not inside bar.
• Check that the candle has taken out the liquidity beyond the previous candle's high/low.
• Check that the candle has created an imbalance (FVG) after; if not: the order block will be transferred to the first following candle that created imbalance. We check up to three following candles to find any imbalance.
2) Unmitigated Shadow Order Blocks:
• Check that the candle has taken out the liquidity beyond the previous candle's high/low.
• Check that the price has not touched the shadow so far.
3) Single Candle Order Blocks (SCOB):
• Check that the candle is not inside bar.
• Check that the candle has taken out the liquidity beyond the previous candle's high/low.
• Check confirmation:
- If the candle is closed higher/lower than the previous candle high/low, it is confirmed as a SCOB; otherwise:
- Move forward up to a specified number (determined by the user) to find a confirmation candle. A confirmation is a candle that closed higher/lower than the SCOB and its following candles high/low. The SCOB's following candles, and the confirmation candle should not take out the SCOB's liquidity again.
How to use it:
• This indicator can be used in all time frames.
• If the liquidity is taken out in an uptrend (downtrend) market structure, when the price meets the order blocks, we can go to lower timeframes and look for a trigger to enter the long (short) trade.
• It is essential for smart money traders to diagnose the market structure accurately. The "Structure_TradingHub " indicator is recommended for its ability to analyze the market structure effectively.
Indicator options:
• Show/Hide mitigated order Blocks: By this option, the user can choose whether to delete the touched order blocks or trimmed them.
• Show/Hide the unmitigated shadows. They are displayed by dashed lines.
• Show/Hide single candle order blocks: They are displayed by two lines placed above and below the candle.
• Changing the color and style of uptrend and downtrend order blocks.
Monthly Range Support & Resistance [QuantVue]The Monthly Range Support & Resistance Levels is an advanced analytical tool designed to assess monthly price movements and provide potential support and resistance levels.
This tool examines the average monthly price fluctuations over the past 7 months (default), and creates support and resistance levels based on the opening price.
The indicator also considers a standard deviation multiplier.
This enables traders and investors to identify potential price zones.
The support and resistance levels are dynamically updated every month.
Users can also choose to view previous daily levels as well.
Customizable settings for this tool include:
-Averaging Period: Adjust the number of months to calculate the average monthly range.
-Standard Deviation Multiplier: Modify the standard deviation multiplier to fine-tune the sensitivity of the support and resistance levels. A higher multiplier will result in wider levels, accommodating higher price fluctuations.
-Toggle Support & Resistance Prices: Easily switch on or off the display of support and resistance price levels.
-Show Monthly Open Line: Display the monthly opening price as a reference point on the chart.
-Show Previous Levels: Choose whether to display past daily support and resistance levels.
Note: this indicator works on a 1 hour timeframe or higher
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Divergences RefurbishedJust as "a butterfly can flap its wings over a flower in China and cause a hurricane in the Caribbean" (Edward Lorenz), small divergences in markets can signal big trading opportunities.
█Introduction
This is a script forked from LonesomeTheBlue's Divergence for Many Indicators v4.
It is a script that checks for divergence between price and many indicators.
In this version, I added more indicators and also added 40 symbols to check for divergences.
More info on the original script can be found here:
█ Improvements
The following improvements have been implemented over v4:
1. Added parameters to customize indicators.
2. Added new indicators:
- Stoch RSI
- Volume Oscillator
- PVT (Price Volume Trend)
- Ultimate Oscillator
- Fisher Transform
- Z-Score/T-Score
3. Now there is the possibility of using 2 external indicators.
4. New option to show tooltips inside labels.
This allows you to save space on the screen if you choose the option to only show the number of divergences or just the abbreviations.
5. New option to show additional text next to the indicator name.
This allows for grouping of indicators and symbols and better visualization, whether through emojis, for example.
6. Added 40 customizable symbols to check for divergences.
7. Option "show only the first letter" of the indicator replaced by: "show the abbreviation of the indicator".
Reason: the indicator abbreviation is more informative and easier to read.
8. Script converted to PineScript version 5.
█ CONCEPTS
Below I present a brief description of the available indicators.
1. Moving Average Convergence/Divergence (MACD):
Shows the difference between short-term and long-term exponential moving averages.
2. MACD Histogram:
Shows the difference between MACD and its signal line.
3. Relative Strength Index (RSI):
Measures the relative strength of recent price gains to recent price losses of an asset.
4. Stochastic Oscillator (Stoch):
Compares the current price of an asset to its price range over a specified time period.
5. Stoch RSI:
Stochastic of RSI.
6. Commodity Channel Index (CCI):
Measures the relationship between an asset's current price and its moving average.
7. Momentum: Shows the difference between the current price and the price a few periods ago.
Shows the difference between the current price and the price of a certain period in the past.
8. Chaikin Money Flow (CMF):
A variation of A/D that takes into account the daily price variation and weighs trading volume accordingly. Accumulation/Distribution (A/D) identifies buying and selling pressure by tracking the flow of money into and out of an asset based on volume patterns.
9. On-Balance Volume (OBV):
Identify divergences between trading volume and an asset's price.
Sum of trading volume when the price rises and subtracts volume when the price falls.
10. Money Flow Index (MFI):
Measures volume pressure in a range of 0 to 100.
Calculates the ratio of volume when the price goes up and when the price goes down.
11. Volume Oscillator (VO):
Identify divergences between trading volume and an asset's price. Ratio of change of volume, from a fast period in relation to a long period.
12. Price-Volume Trend (PVT):
Identify the strength of an asset's price trend based on its trading volume. Cumulative change in price with volume factor. The PVT calculation is similar to the OBV calculation, but it takes into account the percentage price change multiplied by the current volume, plus the previous PVT value.
13. Ultimate Oscillator (UO):
Combines three different time periods to help identify possible reversal points.
14. Fisher Transform (FT):
Normalize prices into a Gaussian normal distribution.
15. Z-Score/T-Score: Shows the difference between the current price and the price a few periods ago. I is a statistical measurement that indicates how many standard deviations a data point is from the mean of a data set.
When to use t-score instead of z-score? When the sample size is small (length < 30).
Here, the use of z-score or t-score is chosen automatically based on the length parameter.
█ What to look for
The operation is simple. The script checks for divergences between the price and the selected indicators.
Now with the possibility of using multiple symbols, it is possible to check divergences between different assets.
A well-described view on divergences can be found in this cheat sheet:
◈ Examples with SPY ETF versus indicators:
1. Regular bullish divergence with external indicator:
1. Regular bearish divergence with Fisher Transform:
1. Positive hidden divergence with Momentum indicator:
1. Negative hidden divergence with RSI:
◈ Examples with SPY ETF versus other symbols:
1. Regular bearish divergence with European Stoch Market:
2. Regular bearish divergence with DXY inverted:
3. Regular bullish divergence with Taiwan Dollar:
4. Regular bearish divergence with US10Y (10-Year US Treasury Note):
5. Regular bullish divergence with QQQ ETF (Nasdaq 100):
6. Regular bullish divergence with ARKK ETF (ARK Innovation):
7.Positive hidden divergence with RSP ETF (S&P 500 Equal Weight):
8. Negative hidden divergence with EWZ ETF (Brazil):
◈ Examples with BTCUSD versus other symbols:
1. Regular bearish divergence with BTCUSDLONGS from Bitfinex:
2. Regular bearish divergence with BLOK ETF (Amplify Transformational Data Sharing):
3. Negative hidden divergence with NATGAS (Natural Gas):
4. Positive hidden divergence with TOTALDEFI (Total DeFi Market Cap):
█ Conclusion
The symbols available to check divergences were chosen in such a way as to cover the main markets, in the most generic way possible.
You can adjust them according to your needs.
A trader in the American market, for example, could add more ETFs, American stocks, and sectoral indices, such as the XLF (Financial Select Sector SPDR Fund), the XLK (Technology Select Sector SPDR), etc.
On the other hand, a cryptocurrency trader could add more currency pairs and sector indicators, such as BTCUSDSHORTS (Bitfinex), USDT.D (Tether Dominance), etc.
If the chart becomes too cluttered, you can use the option to show only the number of divergences or only the indicator abbreviations.
Or even disable certain indicators and symbols, if they are not of interest to you.
I hope this script is useful.
Don't forget to support LonesomeTheBlue's work too.