ICT Anchored IPDA RangesThis script is an anchored variation of my "ICT IPDA Look Back" script. Similarly, it calculates ICT's daily IPDA look back time intervals and their respective discount / equilibrium / premium; however, it also applies the Forward Cast IPDA daily ranges.
The Forward Cast can be used to estimate the time at which IPDA might initiate a change in institutional order flow. This depends on several factors such as time of the year, and time of daily structure break.
> IPDA Basics:
IPDA stands for Interbank Price Delivery Algorithm. Said algorithm appears to be referencing the past 20, 40 , and 60 days intervals as points of reference to define ranges and related PD arrays.
Intraday traders can find most value in the 20 Day Look Back box, by observing imbalances and points of interest.
Longer term traders can reference the 40 and 60 Day Look Back boxes for a clear indication of current market conditions.
Thanks to @atradesdaily for the suggestion.
Cari dalam skrip untuk "imbalance"
Breadth - Advance Decline ThrustBreadth indicator. Takes NYSE/NQ/US up volume and divides it by the total volume to get an advance decline thrust ratio which can be used as a measure of market breadth.
Also has the option to look at the cumulative breadth over the trailing x days.
Also has the option to display as cumulative net up volume which will show lower values than advance decline thrust on days where there were large buy/sell imbalances, but the total day's volume was low.
Bodies X Wix Version of Smart Money Tools by makuchaku & eFeThis is the same Script as Super Fair Value Gaps / FVG /BoS / by makuchaku & eFe. Mine Should Default to Large Text instead of small. The Super Order Blocks I believe was meant to for you to find one of the many Smart Money tools such as turn on the Fair Value gap but leave the others off, or Turn on where the Break of Structure and leave the others off. The reason I believe this is because the default values for each of the structures were default colored (green for positive and red for negative) for all.
Mine has a different Color for every possible structure. As long as you can read with the larger text that I added, then you can create your own boxes positive for break of structure, rejection block, order blocks and fair value gaps for any time frame. The reason I did that is because There's only certain things I believe I will need to mark for myself in each time frame, and then from there You can stretch iyour own box out further in time because if price touches a fair value gap for example, the fair value gap should conyinue in time until at least 2 candles have filed the Fair valu gap going both directions. That's truly when the fair value gap should is mitigated and will from off the chart. However, If I knew How to add the code for that, I would.
Additionally, I have the Max Boxes per chart, so you should have the ability to see every OB, FVG,RJB, & BoS on the chart
I tried my hardest to create a colored border that was different from the box. But the way the original was coded was almost impossible to do. Because they defined each of the structures (FVG, OB, BoS, RJB) outer levels, when the outer levels connect via math in the code, then it joins all the outside lines for a rectangle. When creating a box, the coloe will always be the same as the border unfortunately. (Unless I replan this from the beginning)
I also Changed the default labels for reach structure from a hard to read gray to a white that pops out.
Also, chart indicators are a little large as well. Such as the cross, sideways cross, The green Triangle, and the white Diamond. You'll get used to it or you can change it as well.
Creating videos for students, you need something they can see.
So, I just wanted to ensure everything was a little more unique and easily usable when showing this to my students when I send them private videos for our weekly lessons. I'm trying to learn how to use the IPFS for THAT, (which i see has invaded PineScript) Hope this indicator helps.
If you're to borrow this, Just make sure you keep the authors in the name makuchaku & efe
ICT IPDA Look BackThis script automatically calculates and updates ICT's daily IPDA look back time intervals and their respective discount / equilibrium / premium, so you don't have to :)
IPDA stands for Interbank Price Delivery Algorithm. Said algorithm appears to be referencing the past 20, 40, and 60 days intervals as points of reference to define ranges and related PD arrays.
Intraday traders can find most value in the 20 Day Look Back box, by observing imbalances and points of interest.
Longer term traders can reference the 40 and 60 Day Look Back boxes for a clear indication of current market conditions.
RSI Integral by Hawkeye Charting**** German Description below ****
This is the RSI Integral indicator.
Basically, it's a normal RSI but improves the visualization of the strength in the market.
The upper shown RSI display the integral of the RSI (f(x)) and the neutral RSI level (50) (g(x)).
The blue background coloring visualizes the area as the integration of both the mentioned functions --> H(x) = F(x) - G(x) and indicates, how strong and directed the market currently is.
Markets regulate and bring them back to the mean by themselve; by that fact, the consideration is that remaining a longer time in e.g. the upper zone requires to "unleash" the collected energy from the upper levels to the downside and vice versa.
So the major advantage of this indicator is to monitor and compare the given areas above and below the neutral level and making imbalances visible.
Furthermore, the lower shown RSI shows the complete displaying of the indicators functions, as it displays possible long and short entry and exit areas.
Read the chart to understand the system. Please note that the program waits on interval after the actual cross event before it changes the background color. This is to avoid false signals that last only 1 candle.
The last components are the overbought and oversold zones. They are equal to the standard RSI overbought and oversold levels.
You have the following setting options:
--> Timeframe selection
--> Generally Displaying the RSI yes/ no
--> Changing source, length and color of the RSI itself
--> turning on/ off the neutral RSI level (50), changing the neutral level value and changing the background color. (Note: Undisplaying the neutral level will remove the background coloring as well).
--> turning on/ off the upper RSI zone, changing the zone-border-values and -colors and changing the background color. (Note: same as neutral RSI level)
--> turning on/ off the lower RSI zone, changing the zone-border-values and -colors and changing the background color. (Note: same as neutral RSI level)
--> turning on/ off the RSI average, changing the Moving Average type, length and color.
--> turning on/ off the Moving Average Long/ Short Background and changing the colors for long and short direction.
--> smoothing of the rsi itself. Note: it will affect the alert events as well, if the rsi smoothing function is selected.
Last but not least, you can set alerts:
--> Alert for overbought/ oversold area (cross in/ cross out, message: Check for divergences)
--> Alerts for open and close long
--> Alerts for open and close short
A complete "Alert-Set" requires 6 Alerts.
I'd like to know what you think! Please leave a comment, I will answer ASAP .
Please leave a like and a follow if you like this work and don't forget to check out my major work, the Market Maker Volatility Diameter, see the link below.
Enjoy and always happy trades.
Yours
Markus aka Hawkeye Waver from Hawkeye Charting
-------------------------------------------------------------------------------------
**** Deutsche Beschreibung ****
Das ist der RSI Integral Indikator.
Im Grunde handelt es sich hierbei um einen normalen RSI , allerdings verbessert er die Visualisierung der Stärke im Markt.
Der obere RSI im Beispielbild zeigt das Integral des RSI , bezogen auf den RSI f(x) selber sowie seines neutralen Levels beim Wert 50 = g(x).
Der blaue Hintergrund visualisiert die Flächenfunktion des Integrals der beiden genannten Funktionen --> H(x) = F(x) - G(x) und indiziert, wie stark und nach wohin der Markt gerade gerichtet ist.
Märkte regulieren sich selber und bringen sich auch immer wieder selber zum Durchschnitt und zur Balance zurück. Dieser Fakt führt zu der Überlegung, dass ein langes Aufhalten in z.B. der oberen Zone unweigerlich eine "Freisetzung" der gesammelten Energie der oberen Levels nach unten nach sich ziehen wird und umgekehrt.
Die Hauptvorteil dieses Indikators ist also, dass die entstandenen Flächen über und unter dem Neutralen RSI Level einfach beobachtet und verglichen werden können, um so Ungleichgewichte im Chart zu erkennen.
Desweiteren zeigt der unten im Chart abgebildete RSI die vollständige Anzeige der Indikatorfunktionen. Es ist nämlich auch möglich, Long und Short Signale für Einstieg und Ausstieg anzuzeigen.
Bitte lest den Chart, um das System zu verstehen. Beachtet: das Programm wartet 1 Intervall zur Bestätigung, bevor es einen Traderichtungswechsel auch anzeigt. Diese Maßnahme wurde getroffen, um falsche Signale zu reduzieren.
Die letzten Komponenten sind die Überkauft- und Überverkauftzonen. Sie sind gleich wie die Standard RSI überkauft und überverkauft Levels zu interpretieren.
Der Indikator bietet die folgenden Einstellmöglichkeiten:
--> Timeframe Auswahl
--> RSI generell anzeigen ja/ nein
--> Quelle, Länge und Farbe des RSI selber verändern
--> Neutrales RSI Level an- und ausschalten, Level-Wert verändern und die Hintergrund-Farbe ändern. (Anmerkung: Das Abschalten des Neutralen RSI Levels wird auch die Hintergrundfärbung abschalten.)
--> An- und Ausschalten der oberen RSI Zone, Zonengrenzwerte und -farben verändern und Hintergrundfarbe verändern. (Anmerkung: s. Neutrales RSI Level)
--> An- und Ausschalten der unteren RSI Zone, Zonengrenzwerte und -farben verändern und Hintergrundfarbe verändern. (Anmerkung: s. Neutrales RSI Level)
--> An- und Ausschalten des RSI Durchschnitts, verändern des Durchschnitt-Typs, der Länge und der Farbe
--> An- und Ausschalten der Durchschnitt Long und Short Hintergrundfärbung sowie Änderung der Hintergrund Farben für Long und Short Richtung
--> Glättung des RSI. Anmerkung: Die Alarme werden sich auf den geglätteten RSI und nicht auf den RSI selber beziehen, wenn die Funktion selektiert ist.
Zu guter Letzt, der Indikator bietet die Funktion, Alarme einzustellen:
--> Alarm für Überkauft/ Überverkauft Zonen (Einkreuzen/ Auskreuzen, Nachricht: Auf Divergenzen prüfen)
--> Alarme für Long Öffnen & Schließen
--> Alarme für Short Öffnen & Schließen
Ein vollständiges "Alarm-Set" benötigt 6 Alarme.
Ich möchte gerne wissen, was ihr über den Indikator denkt! Bitte hinterlasst eure Kommentare, ich werde asap antworten.
Bitte hinterlasst ein Like und ein Follow wenn euch diese Arbeit gefällt und vergesst nicht, meine Hauptarbeit, den Market Maker Volatility Diameter auszuchecken, s. Link unten.
Viel Spaß mit dem Indikator und allzeit gute Trades
Euer
Markus aka Hawkeye Waver von Hawkeye Charting
Liquidity RaidThe market always seeks liquidity. Liquidity rests above previous highs and below previous lows.
The script highlights the breach of a market structure high or low (W/D/4H/1H), and will alert you on the first fractal break in the opposite direction.
The idea is that the raid happens, and you are only alerted once a candle breaks a fractal and closes in the opposite direction.
When a signal is printed, it does not mean to enter immediately. It just means that there is a fractal break in the opposite direction, and that you will need to assess current price action and market structure for a potential trade on pullback.
You still need to take HTF directional bias, market structure, order blocks and imbalances into consideration.
The script is for trading on on smaller time frames (1/2/3/5m).
Fractal periods, lines and colours are all customizable
Relative Volume at Time█ OVERVIEW
This indicator calculates relative volume, which is the ratio of present volume over an average of past volume.
It offers two calculation modes, both using a time reference as an anchor.
█ CONCEPTS
Calculation modes
The simplest way to calculate relative volume is by using the ratio of a bar's volume over a simple moving average of the last n volume values.
This indicator uses one of two, more subtle ways to calculate both values of the relative volume ratio: current volume:past volume .
The two calculations modes are:
1 — Cumulate from Beginning of TF to Current Bar where:
current volume = the cumulative volume since the beginning of the timeframe unit, and
past volume = the mean of volume during that same relative period of time in the past n timeframe units.
2 — Point-to-Point Bars at Same Offset from Beginning of TF where:
current volume = the volume on a single chart bar, and
past volume = the mean of volume values from that same relative bar in time from the past n timeframe units.
Timeframe units
Timeframe units can be defined in three different ways:
1 — Using Auto-steps, where the timeframe unit automatically adjusts to the timeframe used on the chart:
— A 1 min timeframe unit will be used on 1sec charts,
— 1H will be used for charts at 1min and less,
— 1D will be used for other intraday chart timeframes,
— 1W will be used for 1D charts,
— 1M will be used for charts at less than 1M,
— 1Y will be used for charts at greater or equal than 1M.
2 — As a fixed timeframe that you define.
3 — By time of day (for intraday chart timeframes only), which you also define. If you use non-intraday chart timeframes in this mode, the indicator will switch to Auto-steps.
Relative Relativity
A relative volume value of 1.0 indicates that current volume is equal to the mean of past volume , but how can we determine what constitutes a high relative volume value?
The traditional way is to settle for an arbitrary threshold, with 2.0 often used to indicate that relative volume is worthy of attention.
We wanted to provide traders with a contextual method of calculating threshold values, so in addition to the conventional fixed threshold value,
this indicator includes two methods of calculating a threshold channel on past relative volume values:
1 — Using the standard deviation of relative volume over a fixed lookback.
2 — Using the highs/lows of relative volume over a variable lookback.
Channels calculated on relative volume provide meta-relativity, if you will, as they are relative values of relative volume.
█ FEATURES
Controls in the "Display" section of inputs determine what is visible in the indicator's pane. The next "Settings" section is where you configure the parameters used in the calculations. The "Column Coloring Conditions" section controls the color of the columns, which you will see in three of the five display modes available. Whether columns are plotted or not, the coloring conditions also determine when markers appear, if you have chosen to show the markers in the "Display" section. The presence of markers is what triggers the alerts configured on this indicator. Finally, the "Colors" section of inputs allows you to control the color of the indicator's visual components.
Display
Five display modes are available:
• Current Volume Columns : shows columns of current volume , with past volume displayed as an outlined column.
• Relative Volume Columns : shows relative volume as a column.
• Relative Volume Columns With Average : shows relative volume as a column, with the average of relative volume.
• Directional Relative Volume Average : shows a line calculated using the average of +/- values of relative volume.
The positive value of relative volume is used on up bars; its negative value on down bars.
• Relative Volume Average : shows the average of relative volume.
A Hull moving average is used to calculate the average used in the three last display modes.
You can also control the display of:
• The value or relative volume, when in the first three display modes. Only the last 500 values will be shown.
• Timeframe transitions, shown in the background.
• A reminder of the active timeframe unit, which appears to the right of the indicator's last bar.
• The threshold used, which can be a fixed value or a channel, as determined in the next "Settings" section of inputs.
• Up/Down markers, which appear on transitions of the color of the volume columns (determined by coloring conditions), which in turn control when alerts are triggered.
• Conditions of high volatility.
Settings
Use this section of inputs to change:
• Calculation mode : this is where you select one of this indicator's two calculation modes for current volume and past volume , as explained in the "Concepts" section.
• Past Volume Lookback in TF units : the quantity of timeframe units used in the calculation of past volume .
• Define Timeframes Units Using : the mode used to determine what one timeframe unit is. Note that when using a fixed timeframe, it must be higher than the chart's timeframe.
Also, note that time of day timeframe units only work on intraday chart timeframes.
• Threshold Mode : Five different modes can be selected:
— Fixed Value : You can define the value using the "Fixed Threshold" field below. The default value is 2.0.
— Standard Deviation Channel From Fixed Lookback : This is a channel calculated using the simple moving average of relative volume
(so not the Hull moving average used elsewhere in the indicator), plus/minus the standard deviation multiplied by a user-defined factor.
The lookback used is the value of the "Channel Lookback" field. Its default is 100.
— High/Low Channel From Beginning of TF : in this mode, the High/Low values reset at the beginning of each timeframe unit.
— High/Low Channel From Beginning of Past Volume Lookback : in this mode, the High/Low values start from the farthest point back where we are calculating past volume ,
which is determined by the combination of timeframe units and the "Past Volume Lookback in TF units" value.
— High/Low Channel From Fixed Lookback : In this mode the lookback is fixed. You can define the value using the "Channel Lookback" field. The default value is 100.
• Period of RelVol Moving Average : the period of the Hull moving average used in the "Directional Relative Volume Average" and the "Relative Volume Average".
• High Volatility is defined using fast and slow ATR periods, so this represents the volatility of price.
Volatility is considered to be high when the fast ATR value is greater than its slow value. Volatility can be used as a filter in the column coloring conditions.
Column Coloring Conditions
• Eight different conditions can be turned on or off to determine the color of the volume columns. All "ON" conditions must be met to determine a high/low state of relative volume,
or, in the case of directional relative volume, a bull/bear state.
• A volatility state can also be used to filter the conditions.
• When the coloring conditions and the filter do not allow for a high/low state to be determined, the neutral color is used.
• Transitions of the color of the volume columns determined by coloring conditions are used to plot the up/down markers, which in turn control when alerts are triggered.
Colors
• You can define your own colors for all of the oscillator's plots.
• The default colors will perform well on light or dark chart backgrounds.
Alerts
• An alert can be defined for the script. The alert will trigger whenever an up/down marker appears in the indicator's display.
The particular combination of coloring conditions and the display settings for up/down markers when you create the alert will determine which conditions trigger the alert.
After alerts are created, subsequent changes to the conditions controlling the display of markers will not affect existing alerts.
• By configuring the script's inputs in different ways before you create your alerts, you can create multiple, functionally distinct alerts from this script.
When creating multiple alerts, it is useful to include in the alert's message a reminder of the particular conditions you used for each alert.
• As is usually the case, alerts triggering "Once Per Bar Close" will prevent repainting.
Error messages
Error messages will appear at the end of the chart upon the following conditions:
• When the combination of the timeframe units used and the "Past Volume Lookback in TF units" value create a lookback that is greater than 5000 bars.
The lookback will then be recalculated to a value such that a runtime error does not occur.
• If the chart's timeframe is higher than the timeframe units. This error cannot occur when using Auto-steps to calculate timeframe units.
• If relative volume cannot be calculated, for example, when no volume data is available for the chart's symbol.
• When the threshold of relative volume is configured to be visible but the indicator's scale does not allow it to be visible (in "Current Volume Columns" display mode).
█ NOTES
For traders
The chart shown here uses the following display modes: "Current Volume Columns", "Relative Volume Columns With Average", "Directional Relative Volume Average" and "Relative Volume Average". The last one also shows the threshold channel in standard deviation mode, and the TF Unit reminder to the right, in red.
Volume, like price, is a value with a market-dependent scale. The only valid reference for volume being its past values, any improvement in the way past volume is calculated thus represents a potential opportunity to traders. Relative volume calculated as it is here can help traders extract useful information from markets in many circumstances, markets with cyclical volume such as Forex being one, obvious case. The relative nature of the values calculated by this indicator also make it a natural fit for cross-market and cross-sector analysis, or to identify behavioral changes in the different futures contracts of the same market. Relative volume can also be put to more exotic uses, such as in evaluating changes in the popularity of exchanges.
Relative volume alone has no directional bias. While higher relative volume values always indicate higher trading activity, that activity does not necessarily translate into significant price movement. In a tightly fought battle between buyers and sellers, you could theoretically have very large volume for many bars, with no change whatsoever in bid/ask prices. This of course, is unlikely to happen in reality, and so traders are justified in considering high relative volume values as indicating periods where more attention is required, because imbalances in the strength of buying/selling power during high-volume trading periods can amplify price variations, providing traders with the generally useful gift of volatility.
Be sure to give the "Directional Relative Volume Average" a try. Contrary to the always-positive ratio widely used in this indicator, the "Directional Relative Volume Average" produces a value able to determine a bullish/bearish bias for relative volume.
Note that realtime bars must be complete for the relative volume value to be confirmed. Values calculated on historical or elapsed realtime bars will not recalculate unless historical volume data changes.
Finally, as with all indicators using volume information, keep in mind that some exchanges/brokers supply different feeds for intraday and daily data, and the volume data on both feeds can sometimes vary quite a bit.
For coders
Our script was written using the PineCoders Coding Conventions for Pine .
The description was formatted using the techniques explained in the How We Write and Format Script Descriptions PineCoders publication.
Bits and pieces of code were lifted from the MTF Selection Framework and the MTF Oscillator Framework , also by PineCoders.
█ THANKS
Thanks to dgtrd for suggesting to add the channel using standard deviation.
Thanks to adolgov for helpful suggestions on calculations and visuals.
Look first. Then leap.
VPCI MA cross [LM]Hello guys,
I would like to introduce you a script that combines two indicators: VPCI( volume price confirmation indicator) and donchian MAs
VPCI:
Fundamentally, the VPCI reveals the proportional imbalances between price trends and volume-adjusted price
trends. An uptrend with increasing volume is a market characterized by greed supported by the fuel needed to
grow. An uptrend without volume is complacent and reveals greed deprived of the fuel needed to sustain itself.
Investors without the influx of other investors ( volume ) will eventually lose interest and the uptrend should
eventually breakdown.
A falling price trend reveals a market driven by fear. A falling price trend without volume reveals apathy, fear
without increasing energy. Unlike greed, fear is self-sustaining, and may endure for long time periods without
increasing fuel or energy. Adding energy to fear can be likened to adding fuel to a fire and is generally bearish
until the VPCI reverses. In such cases, weak-minded investor's, overcome by fear, are becoming irrationally
fearful until the selling climax reaches a state of maximum homogeneity. At this point, ownership held by weak
investor’s has been purged, producing a type of heat death capitulation. These occurrences may be visualized by
the VPCI falling below the lower standard deviation of a Bollinger Band of the VPCI, and then rising above the
lower band, and forming a 'V' bottom.
I have used MA's on top of VPCI and looking for crosses. Percatage that is shown in label is calculation of difference between previous cross and current close price. So you know if you would be flipping what % you would gain or loose, all is rounded with precission of two
DONCHIAN
I took donchain calculation from ichimoku to calculate conversion line and base line(both are giving me information about whether it's trending or not and distance from the mean)
There are various sections in setting:
VPCI - setting of MA lengths(for smaller timeframes I recommend using bigger MA length)
DONCHAIN - setting length for conversion and base line
Any suggestions are welcome
Bar Balance [LucF]Bar Balance extracts the number of up, down and neutral intrabars contained in each chart bar, revealing information on the strength of price movement. It can display stacked columns representing raw up/down/neutral intrabar counts, or an up/down balance line which can be calculated and visualized in many different ways.
WARNING: This is an analysis tool that works on historical bars only. It does not show any realtime information, and thus cannot be used to issue alerts or for automated trading. When realtime bars elapse, the indicator will require a browser refresh, a change to its Inputs or to the chart's timeframe/symbol to recalculate and display information on those elapsed bars. Once a trader understands this, the indicator can be used advantageously to make discretionary trading decisions.
Traders used to work with my Delta Volume Columns Pro will feel right at home in this indicator's Inputs . It has lots of options, allowing it to be used in many different ways. If you value the bar balance information this indicator mines, I hope you will find the time required to master the use of Bar Balance well worth the investment.
█ OVERVIEW
The indicator has two modes: Columns and Line .
Columns
• In Columns mode you can display stacked Up/Down/Neutral columns.
• The "Up" section represents the count of intrabars where `close > open`, "Down" where `close < open` and "Neutral" where `close = open`.
• The Up section always appears above the centerline, the Down section below. The Neutral section overlaps the centerline, split halfway above and below it.
The Up and Down sections start where the Neutral section ends, when there is one.
• The Up and Down sections can be colored independently using 7 different methods.
• The signal line plotted in Line mode can also be displayed in Columns mode.
Line
• Displays a single balance line using a zero centerline.
• A variable number of independent methods can be used to calculate the line (6), determine its color (5), and color the fill (5).
You can thus evaluate the state of 3 different components with this single line.
• A "Divergence Levels" feature will use the line to automatically draw expanding levels on divergence events.
Features available in both modes
• The color of all components can be selected from 15 base colors, with 16 gradient levels used for each base color in the indicator's gradients.
• A zero line can show a 6-state aggregate value of the three main volume balance modes.
• The background can be colored using any of 5 different methods.
• Chart bars can be colored using 5 different methods.
• Divergence and large neutral count ratio events can be shown in either Columns or Line mode, calculated in one of 4 different methods.
• Markers on 6 different conditions can be displayed.
█ CONCEPTS
Intrabar inspection
Intrabar inspection means the indicator looks at lower timeframe bars ( intrabars ) making up a given chart bar to gather its information. If your chart is on a 1-hour timeframe and the intrabar resolution determined by the indicator is 5 minutes, then 12 intrabars will be analyzed for each chart bar and the count of up/down/neutral intrabars among those will be tallied.
Bar Balances and calculation methods
The indicator uses a variety of methods to evaluate bar balance and to derive other calculations from them:
1. Balance on Bar : Uses the relative importance of instant Up and Down counts on the bar.
2. Balance Averages : Uses the difference between the EMAs of Up and Down counts.
3. Balance Momentum : Starts by calculating, separately for both Up and Down counts, the difference between the same EMAs used in Balance Averages and an SMA of double the period used for the EMAs. These differences are then aggregated and finally, a bounded momentum of that aggregate is calculated using RSI.
4. Markers Bias : It sums the bull/bear occurrences of the four previous markers over a user-defined period (the default is 14).
5. Combined Balances : This is the aggregate of the instant bull/bear bias of the three main bar balances.
6. Dual Up/Down Averages : This is a display mode showing the EMA calculated for each of the Up and Down counts.
Interpretation of neutral intrabars
What do neutral intrabars mean? When price does not change during a bar, it can be because there is simply no interest in the market, or because of a perfect balance between buyers and sellers. The latter being more improbable, Bar Balance assumes that neutral bars reveal a lack of interest, which entails uncertainty. That is the reason why the option is provided to interpret ratios of neutral intrabars greater than 50% as divergences. It is also the rationale behind the option to dampen signal lines on the inverse ratio of neutral intrabars, so that zero intrabars do not affect the signal, and progressively larger proportions of neutral intrabars will reduce the signal's amplitude, as the balance calcs using the up/down counts lose significance. The impact of the dampening will vary with markets. Weaker markets such as cryptos will often contain greater numbers of neutral intrabars, so dampening the Line in that sector will have a greater impact than in more liquid markets.
█ FEATURES
1 — Columns
• While the size of the Up/Down columns always represents their respective importance on the bar, their coloring mode is independent. The default setup uses a standard coloring mode where the Up/Down columns over/under the zero line are always in the bull/bear color with a higher intensity for the winning side. Six other coloring modes allow you to pack more information in the columns. When choosing to color the top columns using a bull/bear gradient on Balance Averages, for example, you will end up with bull/bear colored tops. In order for the color of the bottom columns to continue to show the instant bar balance, you can then choose the "Up/Down Ratio on Bar — Dual Solid Colors" coloring mode to make those bars the color of the winning side for that bar.
• Line mode shows only the line, but Columns mode allows displaying the line along with it. If the scale of the line is different than that of the scale of the columns, the line will often appear flat. Traders may find even a flat line useful as its bull/bear colors will be easily distinguishable.
2 — Line
• The default setup for Line mode uses a calculation on "Balance Momentum", with a fill on the longer-term "Balance Averages" and a line color based on the "Markers Bias". With the background set on "Line vs Divergence Levels" and the zero line on the hard-coded "Combined Bar Balances", you have access to five distinct sources of information at a glance, to which you can add divergences, divergences levels and chart bar coloring. This provides powerful potential in displaying bar balance information.
• When no columns are displayed, Line mode can show the full scale of whichever line you choose to calculate because the columns' scale no longer interferes with the line's scale.
• Note that when "Balance on Bar" is selected, the Neutral count is also displayed as a ratio of the balance line. This is the only instance where the Neutral count is displayed in Line mode.
• The "Dual Up/Down Averages" is an exception as it displays two lines: one average for the Up counts and another for the Down counts. This mode will be most useful when Columns are also displayed, as it provides a reference for the top and bottom columns.
3 — Zero Line
The zero line can be colored using two methods, both based on the Combined Balances, i.e., the aggregate of the instant bull/bear bias of the three main bar balances.
• In "Six-state Dual Color Gradient" mode, a dot appears on every bar. Its color reflects the bull/bear state of the Combined Balances, and the dot's brightness reflects the tally of balance biases.
• In "Dual Solid Colors (All Bull/All Bear Only)" a dot only appears when all three balances are either bullish or bearish. The resulting pattern is identical to that of Marker 1.
4 — Divergences
• Divergences are displayed as a small circle at the top of the scale. Four different types of divergence events can be detected. Divergences occur whenever the bull/bear bias of the method used diverges with the bar's price direction.
• An option allows you to include in divergence events instances where the count of neutral intrabars exceeds 50% of the total intrabar count.
• The divergence levels are dynamic levels that automatically build from the line's values on divergence events. On consecutive divergences, the levels will expand, creating a channel. This implementation of the divergence levels corresponds to my view that divergences indicate anomalies, hesitations, points of uncertainty if you will. It excludes any association of a pre-determined bullish/bearish bias to divergences. Accordingly, the levels merely take note of divergence events and mark those points in time with levels. Traders then have a reference point from which they can evaluate further movement. The bull/bear/neutral colors used to plot the levels are also congruent with this view in that they are determined by price's position relative to the levels, which is how I think divergences can be put to the most effective use.
5 — Background
• The background can show a bull/bear gradient on four different calculations. You can adjust its brightness to make its visual importance proportional to how you use it in your analysis.
6 — Chart bars
• Chart bars can be colored using five different methods.
• You have the option of emptying the body of bars where volume does not increase, as does my TLD indicator, the idea behind this being that movement on bars where volume does not increase is less relevant.
7 — Intrabar Resolution
You can choose between three modes. Two of them are automatic and one is manual:
a) Fast, Longer history, Auto-Steps (~12 intrabars) : Optimized for speed and deeper history. Uses an average minimum of 12 intrabars.
b) More Precise, Shorter History Auto-Steps (~24 intrabars) : Uses finer intrabar resolution. It is slower and provides less history. Uses an average minimum of 24 intrabars.
c) Fixed : Uses the fixed resolution of your choice.
Auto-Steps calculations vary for 24/7 and conventional markets in order to achieve the proper target of minimum intrabars.
You can choose to view the intrabar resolution currently used to calculate delta volume. It is the default.
The proper selection of the intrabar resolution is important. It must achieve maximal granularity to produce precise results while not unduly slowing down calculations, or worse, causing runtime errors.
8 — Markers
Six markers are available:
1. Combined Balances Agreement : All three Bar Balances are either bullish or bearish.
2. Up or Down % Agrees With Bar : An up marker will appear when the percentage of up intrabars in an up chart bar is greater than the specified percentage. Conditions mirror to down bars.
3. Divergence confirmations By Price : One of the four types of balance calculations can be used to detect divergences with price. Confirmations occur when the bar following the divergence confirms the balance bias. Note that the divergence events used here do not include neutral intrabar events.
4. Balance Transitions : Bull/bear transitions of the selected balance.
5. Markers Bias Transitions : Bull/bear transitions of the Markers Bias.
6. Divergence Confirmations By Line : Marks points where the line first breaches a divergence level.
Markers appear when the condition is detected, without delay. Since nothing is plotted in realtime, markers do not appear on the realtime bar.
9 — Settings
• Two modes can be selected to dampen the line on the ratio of neutral intrabars.
• A distinct weight can be attributed to the count of the latter half of intrabars, on the assumption that later intrabars may be more important in determining the outcome of chart bars.
• Allows control over the periods of the different moving averages used in calculations.
• The default periods used for the various calculations define the following hierarchy from slow to fast:
Balance Averages: 50,
Balance Momentum: 20,
Dual Up/Down Averages: 20,
Marker Bias: 10.
█ LIMITATIONS
• This script uses a special characteristic of the `security()` function allowing the inspection of intrabars—which is not officially supported by TradingView.
• The method used does not work on the realtime bar—only on historical bars.
• The indicator only works on some chart resolutions: 3, 5, 10, 15 and 30 minutes, 1, 2, 4, 6, and 12 hours, 1 day, 1 week and 1 month. The script’s code can be modified to run on other resolutions, but chart resolutions must be divisible by the lower resolution used for intrabars and the stepping mechanism could require adaptation.
• When using the "Line vs Divergence Levels — Dual Color Gradient" color mode to fill the line, background or chart bars, keep in mind that a line calculation mode must be defined for it to work, as it determines gradients on the movement of the line relative to divergence levels. If the line is hidden, it will not work.
• When the difference between the chart’s resolution and the intrabar resolution is too great, runtime errors will occur. The Auto-Steps selection mechanisms should avoid this.
• Alerts do not work reliably when `security()` is used at intrabar resolutions. Accordingly, no alerts are configured in the indicator.
• The color model used in the indicator provides for fancy visuals that come at a price; when you change values in Inputs , it can take 20 seconds for the changes to materialize. Luckily, once your color setup is complete, the color model does not have a large performance impact, as in normal operation the `security()` calls will become the most important factor in determining response time. Also, once in a while a runtime error will occur when you change inputs. Just making another change will usually bring the indicator back up.
█ RAMBLINGS
Is this thing useful?
I'll let you decide. Bar Balance acts somewhat like an X-Ray on bars. The intrabars it analyzes are no secret; one can simply change the chart's resolution to see the same intrabars the indicator uses. What the indicator brings to traders is the precise count of up/down/neutral intrabars and, more importantly, the calculations it derives from them to present the information in a way that can make it easier to use in trading decisions.
How reliable is Bar Balance information?
By the same token that an up bar does not guarantee that more up bars will follow, future price movements cannot be inferred from the mere count of up/down/neutral intrabars. Price movement during any chart bar for which, let's say, 12 intrabars are analyzed, could be due to only one of those intrabars. One can thus easily see how only relying on bar balance information could be very misleading. The rationale behind Bar Balance is that when the information mined for multiple chart bars is aggregated, it can provide insight into the history behind chart bars, and thus some bias as to the strength of movements. An up chart bar where 11/12 intrabars are also up is assumed to be stronger than the same up bar where only 2/12 intrabars are up. This logic is not bulletproof, and sometimes Bar Balance will stray. Also, keep in mind that balance lines do not represent price momentum as RSI would. Bar Balance calculations have no idea where price is. Their perspective, like that of any historian, is very limited, constrained that it is to the narrow universe of up/down/neutral intrabar counts. You will thus see instances where price is moving up while Balance Momentum, for example, is moving down. When Bar Balance performs as intended, this indicates that the rally is weakening, which does necessarily imply that price will reverse. Occasionally, price will merrily continue to advance on weakening strength.
Divergences
Most of the divergence detection methods used here rely on a difference between the bias of a calculation involving a multi-bar average and a given bar's price direction. When using "Bar Balance on Bar" however, only the bar's balance and price movement are used. This is the default mode.
As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. I do not share the overwhelming enthusiasm traders have for the purported ability of bullish/bearish divergences to indicate imminent reversals.
Superfluity
In "The Bed of Procrustes", Nassim Nicholas Taleb writes: To bankrupt a fool, give him information . Bar Balance can display lots of information. While learning to use a new indicator inevitably requires an adaptation period where we put it through its paces and try out all its options, once you have become used to Bar Balance and decide to adopt it, rigorously eliminate the components you don't use and configure the remaining ones so their visual prominence reflects their relative importance in your analysis. I tried to provide flexible options for traders to control this indicator's visuals for that exact reason—not for window dressing.
█ NOTES
For traders
• To avoid misleading traders who don't read script descriptions, the indicator shows nothing in the realtime bar.
• The Data Window shows key values for the indicator.
• All gradients used in this indicator determine their brightness intensities using advances/declines in the signal—not their relative position in a fixed scale.
• Note that because of the way gradients are optimized internally, changing their brightness will sometimes require bringing down the value a few steps before you see an impact.
• Because this indicator does not use volume, it will work on all markets.
For coders
• For those interested in gradients, this script uses an advanced version of the Advance/Decline gradient function from the PineCoders Color Gradient (16 colors) Framework . It allows more precise control over the range, steps and min/max values of the gradients.
• I use the PineCoders Coding Conventions for Pine to write my scripts.
• I used functions modified from the PineCoders MTF Selection Framework for the selection of timeframes.
█ THANKS TO:
— alexgrover who helped me think through the dampening method used to attenuate signal lines on high ratios of neutral intrabars.
— A guy called Kuan who commented on a Backtest Rookies presentation of their Volume Profile indicator . The technique I use to inspect intrabars is derived from Kuan's code.
— theheirophant , my partner in the exploration of the sometimes weird abysses of `security()`’s behavior at intrabar resolutions.
— midtownsk8rguy , my brilliant companion in mining the depths of Pine graphics. He is also the co-author of the PineCoders Color Gradient Frameworks .
PIP Assassins Monday Candles Support & ResistanceRules Checklist
Before anything:
Check News for your pair.
Absolute Number 1* Use Monday Candles Support & Resistance rules below before proceeding
1. Find a fake Breakout (Head of the head and shoulder. A left shoulder should be always to the left)
2. Draw Fibs after you see retracement forming
3. Plot Support and resistance lines on 50% and 61.8%
4. Check past to see if these areas are strong support and resistance.
5. If Support & Resistance land on 50% or 61.8% on a Monday High or Low and on the left shoulder then go to step 6.
6. Determine Order Type based on direction
7. Place Limit order on your MT4 app
**How to use Monday Candles as Support & Resistance**
1. Check the Monday Highs and Lows
2. Wait for a candle to break and close outside of a Monday High or Low.
3. Set an alert for a the crossing of a candle at a Monday High or Low depending on the direction
of the market you want to see.
Look for imbalances in the market. its a missing right shoulder on a head and shoulder pattern
Delta Volume Columns [LucF]Displays delta volume columns using intrabar volume information. Each volume column is divided into three sections: buying, selling and neutral volume. Volume for each section is determined from the volume and price movement of each intrabar at a user-selected lower resolution.
Features include:
- Choice of color themes for either dark or light chart backgrounds
- Delta volume columns
- Volume Balance displayed as the difference between the MAs of buying and selling volume
- Display of divergences between a bar’s volume balance and the bar’s price movement (example: buying volume > selling volume but close < open). Divergences can be shown in 2 different color schemes (including green/red showing a tentative direction), on volume columns and/or on chart bars
- Display of bar by bar volume balance with highlighting of above average volume
- Display of the usual total volume MA
- Choice of the lower resolution used to retrieve intrabar information
- Alerts configurable on any combination of the markers, with control over long/short direction
- Choice of 3 different markers:
1. Double bumps: two consecutive bars where buying or selling volume is in the same direction and where volume > volume MA
2. Divergence confirmations: direction of the price bar following a price/volume balance divergence
3. Volume balance shifts: zero level crossings of the volume balance MA delta
The chart shows the two main modes of display:
- Top pane : shows the stacked volume columns with divergences in orange and the flattened volume balance MAs delta at the bottom of the volume columns. This volume balance is the same shown in the bottom pane. The top pane also shows the instant volume balance strip above the volume columns. The strip’s colors show which of the buying or selling volume was greater, and colors are brighter if the total volume was above the total volume MA.
- Bottom pane : shows the volume balance MAs delta with markers 1 and 2. Given that this graphic has no price momentum component, I find quite eerie how it often looks like a momentum-based signal.
The default 5 minute intrabar resolution is used in combination with the weekly chart, which is excessive.
This script uses a special characteristic of the security() function’s behavior when it is sent to a resolution lower than the chart’s resolution. Details are given in the script’s comments. This method has the advantage of working under more circumstances than some of the other loop-based methods, but it also has its limits.
IMPORTANT
This is what you need to know:
- The method used does not work on the realtime bar—only on historical bars. Consequently, the volume column shown on the realtime bar is a normal volume column plotted in green or red, following price movement. The column will only show delta volume information after it closes and becomes a historical bar.
- The indicator only works on some chart resolutions: 5, 10, 15 and 30 minutes, 1, 2, 4, 6, and 12 hours, 1 day, 1 week and 1 month. The script’s code can be modified to run on other resolutions, but chart resolutions must be divisible by the lower resolution used for intrabars.
- Intrabar resolutions can be selected from 1, 5, 15, 30, 45 minutes, 1, 2, 3, 4 hours, 1 day, 1 week and 1 month. The intrabar resolution must of course be smaller than the chart’s resolution.
- Contrary to my other indicators where alerts must be configured to trigger “Once Per Bar Close” in order to avoid false triggers (or repainting), all this indicator’s alerts are designed to trigger using previous bar information since the indicator’s calculations in the realtime bar are not exact. Markers are not plotted with a negative offset; they appear at the beginning of the realtime bar following confirmation of the marker’s condition on the previous bar. Alerts for this indicator should thus be configured to trigger “Once Per Bar” so they trigger at the beginning of the realtime bar. Note that the penalty is not that great, as it is simply the instant between the close of the previous realtime bar and the opening of the next. The advantage of using this technique is that the indicator does not repaint; a marker that appears at the beginning of the realtime bar will never disappear.
- The script only plots information that is reliable in the realtime bar, i.e., total volume and markers. All other plots are set to n/a to prevent misleading traders.
- When the difference between the chart’s resolution and the lower resolution is too important, volume columns will not calculate for all bars in the dataset.
On Delta Volume
Buying or selling volume are misnomers, as every unit of volume transacted is both bought and sold by 2 different traders. There is no such thing as “buy only” or “sell only” volume, but trader lingo is riddled with original fabulations.
Without access to order book information, traders work with the assumption that when price moves up during a bar, there was more buying pressure than selling pressure. The built-in volume indicator available on TradingView uses this logic to color the volume columns green or red. While this script’s numbers are more precise because it analyses a number of intrabars to calculate its information, it uses the exact same imperfect logic to calculate its buying/selling/neutral sections.
Until Pine scripts can have access to how much volume was transacted at the bid/ask prices, our so-called buying/selling volume information will always be a mere proxy.
Divergences
You may wonder how there can be divergences between buying/selling volume information and price movement. This will sometimes be due to the methodology’s shortcomings we have just discussed, but divergences may also occur in instances where because of order book structure, it takes less volume to increase the price of an asset than it takes to decrease it.
As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. I do not share the overwhelming enthusiasm traders have for divergences. To your pattern-hungry brain, the orange bars this indicator shows on chart will—as divergences on other indicators do–appear to often indicate turnarounds. My opinion is that reality is generally quite sobering, as many who have tried building automated rules based on divergences will tell you. I do not have hard numbers on the lack of performance of divergences—only many failed attempts to make them perform, which a few experienced strategy modelers I know share with me. Please don’t try to read too much into them. While they look great on past data, I find they are often difficult to use in realtime to make bets with good odds.
Thanks to:
- A guy called Kuan who commented on a Backtest Rookies presentation of an intrabar delta volume indicator using a for loop. The heart of “my” indicator is code borrowed from Kuan; I just built a hopefully useful wrapper around it.
- @theheirophant, my partner in the exploration of the sometimes weird abysses of security() ’s behavior at lower resolutions.
Volume imbalancesWill be looking at improving this. Inspired sorta from OBV
The black balls are to notify of stops to the current trend. That's all
Enjoy!
Price Equilibrium ImbalancesShows the highest/lowest percentage distance that current price has travelled from Ichimoku Lines & potential reversals/pullbacks when price is statistically far out of equilibrium.
--SPYDERCRUSHER-- Dynamic Levels™ V3SPYDERCRUSHER MARKET RESEARCH
There are many markets, strategies, and investment timeframes, but one thing never changes – accurate, timely information makes a huge difference to your bottom line results.
The SPYderCrusher Market Research Analysis Suite takes the guesswork out of price changes with clear, actionable data, supported by extensive quantitative testing. We help make your work easier, your results better, and your insight more precise.
The Analysis Suite was formerly a paid add-on package in direct partnership with TradingView. It was the highest-selling software on the platform for good reason – it’s effective. To expand our data, features, and user-experience, we made the move to host client resources on our own. Becoming a client is easy – just a few clicks at www.scmrtrends.com and you’re activated!
Aside from software access, membership includes:
- Free upgrades
- Interactive video training & documentation
- Quantitative modeling & resources
All designed specifically to improve your market timing and expertise. Our value proposition clear: the SPYderCrusher Analysis Suite finds attractive opportunities faster and more accurately than competitors. Clear understanding of price changes increases your confidence, saves you time, and lowers your costs.
About SPYderCrusher Dynamic Levels™
Uses: SPYderCrusher Dynamic Levels™ automatically finds where the greatest demand (support) or supply (resistance) occurred – quickly identifying these these critical price areas.
Major benefits are:
- Automatic – no more guessing, or subjective line drawing
- Calculates actual imbalances in the market – other S/R indicators just connect high and low points without considering actual market forces in those areas
- Multiple timeframes & fully customizable - measured automatically
- Built in smart trend – only of its kind
Example Chart Above: The sample chart above shows the SPYderCrusher Dynamic Levels™ on ETHUSD
- Notice just after January 2018, the blue support ~720 gave you advance notice of a support, and then when that level failed on the second try, indicated ~390 as the next level / target
- Prices bounced sharply from ~390 back into the next target level ~865
- Highlighted these key areas well in advance of price moves
- Smart Trend in effect – from August 2017 to February 2018 only demand zones were calculated to reflect the strong uptrend, preventing you from “guessing a top” too early
Achieve precision on any timeframe with SPYderCrusher Dynamic Levels™. PURCHASE HERE .
_________
Thank you for your interest and your support - it's incredibly appreciated
- Daniel Jassy, CFA
Founder of SPYderCrusher Market Research
About - learn about our background and our expertise in quantitative finance
Email: support scmrtrends com
Quick Disclosure: Nothing in this writeup / demonstration should ever be considered as advice or an invitation to buy or sell any securities. Please see the Terms of Use / Privacy Policy for a full disclaimer.
The CFA Institute does not endorse, promote, or warrant the accuracy or quality of SPYderCrusher Market Research. CFA® and Chartered Financial Analyst® designations are registered trademarks owned by the CFA Institute.
© 2018 — SPYderCrusher Market Research™. All Rights Reserved.
Indicator: Volume Price Confirmation Indicator (VPCI)Developed by Buff Dormeier, VPCI won 2007 Charles H Dow award by the MTA. VPCI plots the relationship between price trend and the volume, as either being in a state of confirmation or contradiction.
Excerpt from article below:
"Fundamentally, the VPCI reveals the proportional imbalances between price trends and volume-adjusted price
trends. An uptrend with increasing volume is a market characterized by greed supported by the fuel needed to
grow. An uptrend without volume is complacent and reveals greed deprived of the fuel needed to sustain itself.
Investors without the influx of other investors (volume) will eventually lose interest and the uptrend should
eventually breakdown.
A falling price trend reveals a market driven by fear. A falling price trend without volume reveals apathy, fear
without increasing energy. Unlike greed, fear is self-sustaining, and may endure for long time periods without
increasing fuel or energy. Adding energy to fear can be likened to adding fuel to a fire and is generally bearish
until the VPCI reverses. In such cases, weak-minded investor's, overcome by fear, are becoming irrationally
fearful until the selling climax reaches a state of maximum homogeneity. At this point, ownership held by weak
investor’s has been purged, producing a type of heat death capitulation. These occurrences may be visualized by
the VPCI falling below the lower standard deviation of a Bollinger Band of the VPCI, and then rising above the
lower band, and forming a 'V' bottom. "
Full article: www.mta.org
Nearly all parameters are configurable and exposed via "Options" page (enable/disable BB, enable/disable breach-markings, enable/disable MA, ...).Also check the source for enabling "histogram" (difference between VPCI and MA of VPCI).
Do note that the shortTerm/longTerm lengths need tuning for your instrument. The default 5/20 is not optimal, in my quick check.
Supply & Demand Zones - [RealFact]Supply & Demand Zones -
This indicator automatically detects potential Supply and Demand Zones based on price action characteristics such as imbalance, engulfing patterns, and structural shifts. It’s designed to help traders identify key areas of interest where price is likely to react.
🔍 Features:
• Auto-detection of Demand (support) and Supply (resistance) zones
• Adjustable zone length
• Color-coded: Green for Demand zones, Red for Supply zones
🧠 Ideal For:
• Price Action Traders
• Order Block and Smart Money Strategy Users
• Those trading using FVG or structural break models
⚠️ Note:
This tool is intended for visual aid and market context analysis, not as a direct buy/sell signal. Always use it alongside your trading system and risk management plan.
✅ Created by
Fair Value Gap Marker & AlertThe Fair Value Gap, popularized by ICT, is a price imbalance that formed across three candles. This indicator highlights Fair Value Gaps for easier identification and provides real-time alerts for timely notifications.
FVGs, Env, BB and Knoxville - RKFVGs, Env, BB & Knoxville!
I'm excited to share my powerful Pine Script indicator, "FVGs, Env, BB and Knoxville - RK." This comprehensive tool brings together several essential technical analysis concepts into one seamless package, designed to give you a multi-faceted view of market dynamics directly on your charts. Whether you're hunting for potential price inefficiencies, gauging volatility, or spotting crucial divergence signals, I believe this script will streamline your analysis and help you make more informed decisions.
Key Features I've Packed In
I've built this indicator with a robust set of features, each highly customizable to fit your unique trading style:
Fair Value Gaps (FVGs) and Consequent Engulfment (CE): I've made sure the script automatically identifies and plots Fair Value Gaps (FVGs)—those essential areas of price imbalance—along with the Consequent Engulfment (CE) level within them.
Customizable Visibility: You can easily toggle "UP" (bullish) and "DOWN" (bearish) FVGs.
Color-Coded & Dynamic: I've added distinct colors for bullish and bearish FVGs and ensured they extend until they're mitigated. You also have the option to automatically remove filled boxes for a cleaner chart.
Candle Body vs. Wicks: I've included the choice to use candle bodies or wicks for FVG mitigation calculations.
Clear Labels: To keep things clear, I've added "FVG" text within each box, with adjustable text color and size.
Comprehensive Alerts: I've built in a variety of alerts for FVG events, including:
Price crossing above/below the threshold of the latest active FVG (based on your CE or Full Fill setting).
IOFED (Inefficiency, Order Flow, and Equilibrium Divergence) into the latest active FVG.
Simple alerts for the formation of confirmed and unconfirmed FVGs.
Thank you @twingall for sharing your FVG script, I have converted it to version 6 and optimized it for using it into this indicator.
Envelopes: I've integrated Envelopes to help you quickly assess price deviations from a moving average.
Flexible & Clear: Adjust the moving average length and percentage band deviation. You can choose between SMA and EMA for the centerline, and I've made sure the bands are filled for easy visual interpretation.
Bollinger Bands (BB): I've included classic Bollinger Bands to help you monitor market volatility and potential reversals.
Customizable: Adjust the period for the moving average and the standard deviation multiplier.
Multiple MA Types: You can select from SMA, EMA, SMMA (RMA), WMA, or VWMA for the band's basis.
Clean Visuals: I've made sure the area between the upper and lower bands is filled for improved readability.
Knoxville Divergence: I've added this powerful feature to help you spot potential trend reversals by detecting divergences between price action, RSI, and Momentum.
Integrated Analysis: It uses both RSI and Momentum to confirm divergence signals.
Precision Control: You can adjust the lookback periods for RSI and Momentum, define the maximum bars to look back for divergence, and set RSI overbought/oversold thresholds.
Intuitive Visuals & Alerts: I've made sure divergence lines are drawn directly on your chart with customizable colors, styles, and thickness. Plus, you'll get alerts when new Knoxville Bearish or Bullish Divergences are detected, helping you catch potential shifts early.
Getting Started
I've designed this script as an overlay indicator, so it plots directly on your price chart. Once you add it, simply click the "Settings" cogwheel. You'll find clearly organized sections for each component, allowing you to fine-tune every parameter and customize the visuals to your liking. The ability to toggle each component on or off offers ultimate flexibility, letting you focus on what's most relevant to your current analysis without any chart clutter.
I truly believe the synergistic combination of these indicators can significantly enhance your ability to make informed trading decisions. If you find this script valuable, please consider boosting it to show your support and encourage further development. Your feedback is highly appreciated as I continuously strive to improve.
I wish you all the best on your trading journey!
RT - Order BlocksThis Pine Script indicator identifies and visualizes Volumetric Order Blocks—key areas of institutional buying or selling based on significant volume surges and price displacement. It highlights zones where price previously showed strong reaction, allowing traders to:
Detect bullish and bearish order blocks with automatic zone plotting.
Measure volume intensity and imbalance strength for each block.
Visualize mitigation when price invalidates a zone, removing it from the chart.
Customize zone sensitivity, lifetime, and visibility for refined strategy alignment.
Ideal for traders focused on price action, smart money concepts (SMC), or supply/demand strategies, this module is designed to integrate seamlessly into broader trading systems.
Consolidation Range with Signals (Zeiierman)█ Overview
Consolidation Range with Signals (Zeiierman) is a precision tool for identifying and trading market consolidation zones, where price contracts into tight ranges before significant movement. It provides dynamic range detection using either ADX-based trend strength or volatility compression metrics, and offers built-in take profit and stop loss signals based on breakout dynamics.
Whether you trade breakouts, range reversals, or trend continuation setups, this indicator visualizes the balance between supply and demand with clearly defined mid-bands, breakout zones, and momentum-sensitive TP/SL placements.
█ How It Works
⚪ Multi-Method Range Detection
ADX Mode
Uses the Average Directional Index (ADX) to detect low-trend-strength environments. When ADX is below your selected threshold, price is considered to be in consolidation.
Volatility Mode
This mode detects consolidation by identifying periods of volatility compression. It evaluates whether the following metrics are simultaneously below their respective historical rolling averages:
Standard Deviation
Variance
Average True Range (ATR)
⚪ Dynamic Range Band System
Once a range is confirmed, the system builds a dynamic band structure using a volatility-based filter and price-jump logic:
Middle Line (Trend Filter): Reacts to price imbalance using adaptive jump logic.
Upper & Lower Bands: Calculated by expanding from the middle line using a configurable multiplier.
This creates a clean, visual box that reflects current consolidation conditions and adapts as price fluctuates within or escapes the zone.
⚪ SL/TP Signal Engine
On detection of a breakout from the range, the indicator generates up to 3 Take Profit levels and one Stop Loss, based on the breakout direction:
All TP/SL levels are calculated using the filtered base range and multipliers.
Cooldown logic ensures signals are not spammed bar-to-bar.
Entries are visualized with colored lines and labeled levels.
This feature is ideal for traders who want automated risk and reward reference points for range breakout plays.
█ How to Use
⚪ Breakout Traders
Use the SL/TP signals when the price breaks above or below the range bands, especially after extended sideways movement. You can customize how far TP1, TP2, and TP3 sit from the entry using your own risk/reward profile.
⚪ Mean Reversion Traders
Use the bands to locate high-probability reversion zones. These serve as reference zones for scalping or fade entries within stable consolidation phases.
█ Settings
Range Detection Method – Choose between ADX or Volatility compression to define range criteria.
Range Period – Determines how many bars are used to compute trend/volatility.
Range Multiplier – Scales the width of the consolidation zone.
SL/TP System – Optional levels that project TP1/TP2/TP3 and SL from the base price using multipliers.
Cooldown – Prevents repeated SL/TP signals from triggering too frequently.
ADX Threshold & Smoothing – Adjusts sensitivity of trend strength detection.
StdDev / Variance / ATR Multipliers – Fine-tune compression detection logic.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. 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.
MirPapa:ICT:HTF: FVG OB Threeple# MirPapa:ICT:HTF: FVG OB (Fair Value Gap Order Block)
**Version:** Pine Script® v6
**Author:** © goodia
**License:** MPL-2.0 (Mozilla Public License 2.0)
---
## Overview
“FVG OB” (Fair Value Gap Order Block) identifies higher-timeframe candle ranges where a gap (imbalance) exists between two non-consecutive candles, signaling potential institutional order blocks. This module draws bullish or bearish FVG OB boxes on your lower-timeframe chart, extends them until price interacts a specified number of times, and then finalizes (recolors) the box.
---
## Inputs
- **Enable FVG OB Boxes** (`bool`)
Toggle drawing of HTF FVG OB boxes on the chart.
- **Enable FVG OB Midlines** (`bool`)
Toggle drawing of a midpoint line inside each FVG OB box.
- **FVG OB Close Count** (`int` 1–10)
Number of HTF closes beyond the FVG range required to finalize (recolor) the box.
- **FVG OB Bull Color** (`color`)
Fill & border color for bullish FVG OB boxes.
- **FVG OB Bear Color** (`color`)
Fill & border color for bearish FVG OB boxes.
- **FVG OB Box Transparency** (`int` 1–100)
Opacity level for FVG OB box fills (higher = more transparent).
---
## How It Works
1. **HTF Data Retrieval**
- The script uses `request.security()` (via `GetHTFrevised()`) to fetch HTF OHLC and historical values:
- `_htfHigh3` (high three bars ago) and `_htfLow1` (low one bar ago) for bullish FVG OB.
- `_htfLow3` (low three bars ago) and `_htfHigh1` (high one bar ago) for bearish FVG OB.
- It also tracks the HTF `bar_index` on the lower timeframe to align drawing.
2. **FVG OB Detection**
- **Bullish FVG OB**: Occurs when the HTF low of the previous bar (`low `) is strictly above the HTF high of three bars ago (`high `), creating a gap.
- **Bearish FVG OB**: Occurs when the HTF high of the previous bar (`high `) is strictly below the HTF low of three bars ago (`low `), creating a gap.
3. **Box Creation**
- On each new HTF bar (`ta.change(time(HTF)) != 0`), if a bullish or bearish FVG OB condition is met, the script calls `CreateBoxData()` with:
- **Bullish**: `bottom = HTF low `, `top = HTF high `, `_isBull = true`.
- **Bearish**: `bottom = HTF low `, `top = HTF high `, `_isBull = false`.
- Midline toggled by input.
- A `BoxData` struct is created and stored in either the Bull or Bear array.
4. **Box Extension & Finalization**
- On **every LTF bar**, `ProcessBoxDatas(...)` iterates over all active FVG OB boxes:
1. **Extend Right Edge**: `box.set_right(bar_index)` ensures the box follows the latest bar.
2. **Record Volume Delta**: Tracks buy/sell volume inside the box.
3. **Touch Stage Update**: `modBoxUpdateStage()` increments `_stage` when price touches its “basePoint” (for FVG OB, the basePrice is one side of the gap).
4. **Finalize**: `setBoxFinalize()` checks if the configured number of closes beyond the FVG gap (`FVG OB Close Count`) has occurred. If so:
- `_isActive := false`
- Border and background colors are changed to the “Box Close Color” (input).
- Finalized boxes remain on screen semi-transparent, indicating that the FVG OB zone has been tested.
5. **Midline (Optional)**
- If “Enable FVG OB Midlines” is checked, `ProcessBoxDatas()` also extends a horizontal midpoint line inside the box with `line.set_x2(bar_index)`.
---
## Usage Instructions
1. **Installation**
- Copy the FVG OB section of the Pine Script into TradingView’s Pine Editor (ensure the library import is included).
- Click “Add to Chart.”
2. **Configure Inputs**
- Choose a Higher Time Frame via the dropdown (e.g., “4시간” maps to a 4H timeframe).
- Toggle “Enable FVG OB Boxes” and “Enable FVG OB Midlines.”
- Select colors for bullish and bearish boxes and set transparency.
- Adjust “FVG OB Close Count” to control how many closes beyond the gap finalize the box.
3. **Interpretation**
- **Active FVG OB Boxes** extend to the right until price closes beyond the gap range the specified number of times.
- When finalized, each box changes to the “Box Close Color,” signaling that institutional orders in that gap have likely been filled.
Enjoy precise visualization of higher-timeframe Fair Value Gap Order Blocks on your lower-timeframe chart!
Not All FVGs Are The Same
Overview:
"Not All FVGs Are The Same" is a powerful TradingView indicator designed to pinpoint high-quality Fair Value Gaps (FVGs) on your chart. Unlike generic FVG tools, this indicator uses advanced filtering to highlight only the most significant gaps, helping traders identify high-probability setups with precision and clarity. With customizable visuals and real-time alerts, it’s built for traders who want to focus on meaningful market opportunities.
Why It’s Different:
This indicator stands out by detecting FVGs that meet strict criteria for quality, ensuring you’re not distracted by minor or unreliable gaps. It analyzes price action patterns and market volatility to confirm that each FVG represents a significant imbalance, perfect for spotting potential reversal or continuation zones.
Key Features:
High-Quality Detection: Identifies FVGs formed by strong, consistent price movements, filtering out weak or noisy gaps for reliable trading signals.
Volatility-Based Filtering: Uses market volatility to ensure only substantial FVGs are displayed, adapting to different market conditions.
Customizable Visuals: Marks FVGs with clear, semi-transparent boxes that show the gap’s range and duration, with an option to toggle labels for a clean chart.
Real-Time Alerts: Get instant notifications when new bullish or bearish FVGs are detected, keeping you ahead of the market.
Focused Display: Limits the number of FVGs shown to keep your chart uncluttered, emphasizing the most recent and relevant gaps.
User-Friendly Settings: Easily adjust sensitivity, gap size, and visual styles to match your trading strategy and preferences.
How It Helps Traders:
By focusing on high-quality FVGs, this indicator helps you identify key price levels where the market is likely to react. Whether you trade breakouts, reversals, or trend continuations, the clear visuals and precise detection make it easier to spot opportunities with confidence.
Settings:
ATR Length: Adjusts the volatility filter for FVG detection (default: 10).
Minimum FVG Size: Sets the smallest gap size to consider (default: 2 bars).
Show Last X FVGs: Controls how many recent FVGs are displayed (default: 20).
Enable Sensitivity Check: Turn on/off volatility-based filtering (default: on).
Allow Gaps Between Bars: Choose whether to include gaps with price discontinuities (default: off).
Show Labels: Toggle FVG detection labels on or off (default: on).
Style Options: Customize bullish/bearish FVG colors, text color, and label size for clear visuals.
How to Use:
Apply the indicator to your chart and tweak the settings to suit your market and timeframe. Enable alerts to stay updated on new FVGs in real-time. Use the boxes to identify key support/resistance zones and combine with your strategy for optimal trading decisions.
Note: Designed for efficiency, this indicator works smoothly across timeframes and instruments. Experiment with settings to find the best fit for your trading style, and use the toggleable labels to keep your chart clean when needed.