Fake BreakoutThis indicator detect fake breakout on previous day high/low and option previous swing high and low
Rule Detect Fake Breakout On Previous Day High/Low Or Swing high low Fake Breakout -
1) Detect previous day high/low or swing high/low
2)
A) If price revisit on previous day high/swing high look for upside breakout after input
number of candle (1-5) price came back to previous high and breakout happen downside
it show sell because its fake breakout of previous day high or swing high
B) If price revisit on previous day low/swing low look for downside breakout after input
number of candle (1-5) price came back to previous low and breakout upside of previous
day low it show Buy because its fake breakout of previous day low or swing low
Disclaimer -Traders can use this script as a starting point for further customization or as a reference for developing their own trading strategies. It's important to note that past performance is not indicative of future results, and thorough testing and validation are recommended before deploying any trading strategy.
Cari dalam skrip untuk "high low"
Swing IdentifierThe "Swing Identifier" is a custom Pine Script indicator designed for use in the TradingView platform. It serves to visually identify and mark swing highs and swing lows on a trading chart, which are key concepts in technical analysis. This script is comprehensive and customizable, making it a useful tool for traders looking to pinpoint potential trend reversals and support or resistance areas.
**Key Features of the 'Swing Identifier' Indicator:**
1. **Swing Range Input:**
- This input determines the number of bars to the left and right of the current bar that the script will examine to identify a swing high or low. A larger value will look for swings over a broader range, potentially identifying more significant swings but at the expense of sensitivity.
2. **Swing Strength Input:**
- The swing strength is set as a percentage and is used to filter out insignificant price movements. A swing high or low is only considered valid if the percentage change from the last swing is greater than this input value. This feature helps in avoiding false signals in sideways or less volatile markets.
3. **Use Wicks Option:**
- Users can choose whether to consider the wicks of the candles or just the closing prices in identifying swings. This feature adds flexibility, allowing the script to be tailored to different trading styles and strategies.
4. **Line Color Customization:**
- The color of the lines marking the swings can be customized, enhancing the visual appeal and readability of the chart.
**Operational Mechanics:**
1. **Identification of Swing Highs and Lows:**
- The script uses the `ta.pivothigh` and `ta.pivotlow` functions to identify swing highs and lows. Whether it uses the high/low of the candles or their closing prices is determined by the user's choice in the "Use Wicks" option.
2. **Drawing and Updating Lines:**
- When a new swing high or low is identified, and it meets the percentage change criteria from the previous swing, a line is drawn from the last swing low to the current high (or vice versa). If a new swing high (or low) is identified that is higher (or lower) than the previous one, the old line is deleted, and a new line is drawn.
3. **Swing Update Logic:**
- The script maintains a toggle mechanism to look alternatively for highs and lows. This ensures that it sequentially identifies a high and then a low (or vice versa), which aligns with how actual market swings behave.
**Usage in Trading:**
1. **Identifying Trend Reversals:**
- By marking swing highs and lows, the script helps traders identify potential trend reversals. A break of a swing low in an uptrend or a swing high in a downtrend could signal a change in the prevailing trend.
2. **Support and Resistance:**
- Swing highs and lows often act as levels of support and resistance. Traders can use these levels for setting entry or exit points, stop losses, and take profit orders.
3. **Customization for Strategy:**
- The customizable nature of the script allows traders to adjust the parameters according to their trading strategy, time frame, and asset volatility.
In summary, the "Swing Identifier" is a versatile and customizable tool that aids in visually identifying crucial price swing points, thereby assisting traders in making informed decisions based on technical analysis principles.
Modified Box Plots
Box Plot Concept: The script creates a modified box plot where the central box represents the range within 1 standard deviation from the midpoint (hl2), which is the average of the high and low prices. The whiskers extend to cover a range of 3 standard deviations, providing a visualization of the overall price distribution.
Color Scheme: The color of the modified box plot is determined based on comparisons between the current midpoint (g) and the +/- 1 SD values of the previous candle (i and j ). If g > i , the color is green; if g < j , it's red; otherwise, it's yellow. This color scheme allows users to quickly assess the relationship between the current market conditions and recent price movements. if the mid point price is above/below +/- 1 SD values of the previous candle the price movement is considered as significant.
Plotcandle Function: The plotcandle function is employed to visualize the modified box plot. The color of the box is dynamically determined by the candleColor variable, which reflects the current market state based on the color scheme. The wicks, represented by lines extending from the box, are colored in white.
Explanation of Box and Wicks:
Box (Open and Close): In this modified box plot, the box does not represent traditional open and close prices. Instead, it signifies a range within 1 standard deviation of the midpoint (hl2), providing insight into the typical price variation around the average of the high and low.
Wicks (High and Low): The wicks extend from the box to cover a range of 3 standard deviations from the midpoint (hl2). They do not correspond to the actual high and low prices but serve as a visualization of potential outliers in the price distribution. The actual high and low prices are also plotted as green and red dots when the actual high and low prices fall outside the +/- 3SD wicks (whiskers) and also indicate the prices does not fit the distribution based on the recent price volatility.
In summary, this modified box plot offers a unique perspective on price distribution by considering standard deviations from the midpoint. The color scheme aids in quickly assessing market conditions, and the wicks provide insights into the potential presence of outliers. It's essential to understand that the box and wicks do not represent traditional open, close, high, and low prices but offer a different way to visualize and interpret intraday price movements.
Step by step explanation
Here's the step-by-step explanation:
a = ta.highest(high, 7): Calculates the highest high in the last 7 bars.
b = ta.lowest(low, 7): Calculates the lowest low in the last 7 bars.
c = ta.stdev(hl2, 7): Calculates the standard deviation of the average of high and low prices (hl2) over the last 7 bars.
d = (a - b) / c: Computes a scaling factor d based on the highest, lowest, and standard deviation. This factor is used to scale the intraday range in the next steps.
e = (high - low): Calculates the intraday range of the candle.
f = e / d: Estimates the standard deviation (f) of the intraday candle price using the scaling factor d.
g = hl2: Defines the intraday midpoint of the candle, which is the average of high and low prices.
i = g + 1 * f, j = g - 1 * f, k = g + 3 * f, l = g - 3 * f: Calculate values representing coverage of +1 SD, -1 SD, +3 SD, and -3 SD from the intraday midpoint.
The script utilizes historical high, low, and standard deviation values to dynamically estimate the standard deviation of the intraday candle, providing a measure of volatility for the current price range. This estimation is then used to construct a modified box plot around the intraday midpoint.
In addition I have included a 7 period hull moving average just to see the overall trend direction.
Conclusion:
The "Nasan Modified Box Plots" indicator on TradingView is a dynamic visualization tool that provides insights into the distribution of price ranges over a specified period. It adapts to changing market conditions by incorporating historical data in the calculation of a scaling factor (d). The indicator constructs a modified box plot, where the size of the box and the whiskers is determined by recent volatility
YinYang TrendTrend Analysis has always been an important aspect of Trading. There are so many important types of Trend Analysis and many times it may be difficult to identify what to use; let alone if an Indicator can/should be used in conjunction with another. For these exact reasons, we decided to make YinYang Trend. It is a Trend Analysis Toolkit which features many New and many Well Known Trend Analysis Indicators. However, everything in there is added specifically for the reason that it may work well in conjunction with the other Indicators prevalent within. You may be wondering, why bother including common Trend Analysis, why not make everything unique? Ideally, we would, however, you need to remember Trend Analysis may be one of the most common forms of charting. Therefore, many other traders may be using similar Trend Analysis either through plotting manually or within other Indicators. This all boils down to Psychology; you are trading against other traders, who may be seeing some of the similar information you are, and therefore, you may likewise want to see this information. What affects their trading decisions may affect yours as well.
Now enough about Trend Analysis, what is within this Indicator, and what does it do? Well, first let’s quickly mention all of its components, then we will, through a Tutorial, discuss each individually and finally how each comes together as a cohesive whole. This Indicator features many aspects:
Bull and Bear Signals
Take Profit Signals
Bull and Bear Zones
Information Tables displaying: (Boom Meter, Bull/Bear Strength, Yin/Yang State)
16 Cipher Signals
Extremes
Pivots
Trend Lines
Custom Bollinger Bands
Boom Meter Bar Colors
True Value Zones
Bar Strength Indexes
Volume Profile
There are many things to cover within our Tutorial so let's get started, chronologically from the list above.
Tutorial:
Bull and Bear Signals:
We’ve zoomed out quite a bit for this example to help give you a broader aspect of how these Bull and Bear signals work. When a signal appears, it is displaying that there may be a large amount of Bullish or Bearish Trend Analysis occurring. These signals will remain in their state of Bull or Bear until there is enough momentum change that they change over. There are a couple Options within the Settings that dictate when/where/why these signals appear, and this example is using their default Settings of ‘Medium’. They are, Purchase Speed and Purchase Strength. Purchase Speed refers to how much Price Movement is needed for a signal to occur and Purchase Strength refers to how many verifications are required for a signal to occur. For instance:
'High' uses 15 verifications to ensure signal strength.
'Medium' uses 10 verifications to ensure signal strength.
'Low' uses 5 verifications to ensure signal strength.
'Very Low' uses 3 verifications to ensure signal strength.
By default it is set to Medium (10 verifications). This means each verification is worth 10%. The verifications used are also relevant to the Purchase Speed; meaning they will be verified faster or slower depending on its speed setting. You may find that Faster Speeds and Lower Verifications may work better on Higher Time Frames; and Slower Speeds and Higher Verifications may work better on Lower Time Frames.
We will demonstrate a few examples as to how the Speed and Strength Settings work, and why it may be beneficial to adjust based on the Time Frame you’re on:
In this example above, we’ve kept the same Time Frame (1 Day), and scope; but we’ve changed Purchase Speed from Medium->Fast and Purchase Strength from Medium-Very Low. As you can see, it now generates quite a few more signals. The Speed and Strength settings that you use will likely be based on your trading style / strategy. Are you someone who likes to stay in trades longer or do you like to swing trade daily? Likewise, how do you go about identifying your Entry / Exit locations; do you start on the 1 Day for confirmation, then move to the 15/5 minute for your entry / exit? How you trade may determine which Speed and Strength settings work right for you. Let's jump to a lower Time Frame now so you can see how it works on the 15/5 minute.
Above is what BTC/USDT looks like on the 15 Minute Time Frame with Purchase Speed and Strength set to Medium. You may note that the signals require a certain amount of movement before they get started. This is normal with Medium and the amount of movement is generally dictated by the Time Frame. You may choose to use Medium on a Lower Time Frame as it may work well, but it may also be best to change it to a little slower.
We are still on the 15 Minute Time Frame here, however we simply changed Purchase Speed from Medium->Slow. As you can see, lots of the signals have been removed. Now signals may ‘hold their ground’ for much longer. It is important to adjust your Purchase Speed and Strength Settings to your Time Frame and personalized trading style accordingly.
Above we have now jumped down to the 5 Minute Time Frame. Our Purchase Speed is Slow and our Purchase Strength is Medium. We can see it looks pretty good, although there is some signal clustering going on in the middle there. If we change our Settings, we may be able to get rid of that.
We have changed our Purchase Speed from Slow->Snail (Slowest it can go) and Purchase Strength from Medium->Very Low (Lowest it can go). Changing it from Slow-Snail helped get rid of the signal clustering. You may be wondering why we lowered the Strength from Medium->Very Low, rather than going from Medium->High. This is a use case scenario and one you’ll need to decide for yourself, but we noticed when we changed the Speed from Slow->Snail that the signal clustering was gone, so then we checked both High and Very Low for Strengths to see which produced the best looking signal locations.
Please remember, you don’t have to use it the exact way we’ve displayed in this Tutorial. It is meant to be used to suit your Trading Style and Strategy. This is why we allow you to modify these settings, rather than just automating the change based on Time Frames. You’ll likely need to play around with it, as you’ll notice different settings may work better on certain pairs and Time Frames than others.
Take Profit Signals:
We’ve reset our Purchase Settings, everything is on defaults right now at Medium. We’ve enabled Take Profit signals. As you can see there are both Take Profit signals for the Bulls and the Bears. These signals are not meant to be used within automation. In fact, none of this indicator is. These signals are meant to show there has been a strong change in momentum, to such an extent that the signal may switch from its current (Bull or Bear) and now may be a good time to Take Profit. Your Take Profit Settings likewise has a Speed and Strength, and you can set them differently than your Purchase Settings. This is in case you want to Take Profit in a different manner than your Purchase Signals. For instance:
In the example above we’ve kept Purchase Strength and Speed at Medium but we changed our Take Profit Speed from Medium->Snail and our Take Profit Strength from medium->Very Low. This greatly reduces the amount of Take Profit signals, and in some cases, none are even produced. This form of Take Profit may act more as a Trailing Take Profit that if it’s not hit, nothing appears.
In this example we have changed our Purchase Speed from Medium->Fast, our Purchase Strength from Medium->Very Low. We’ve also changed our Take Profit Speed from Snail->Medium and kept our Take Profit Strength on Very Low. Now we may get our signals quicker and likewise our Take Profit may be more rare. There are many different ways you can set up your Purchase and Take Profit Settings to fit your Trading Style / Strategy.
Bull and Bear Zones:
We have disabled our Take Profit locations so that you can see the Bull and Bear Zones. These zones change color when the Signals switch. They may represent some strong Support and Resistance locations, but more importantly may be useful for visualizing changes in momentum and consolidation. These zones allow you to see various Moving Averages; and when they start to ‘fold’ (cross) each other you may see changes in momentum. Whereas, when they’re fully stretched out and moving all in the same direction, it can provide insight that the current rally may be strong. There is also the case where they look like they’re ‘twisted’ together. This happens when all of the Moving Averages are very close together and may be a sign of Consolidation. We will go over a few examples of each of these scenarios so you can understand what we’re referring to.
In this example above, there are a few different things happening. First we have the yellow circle, where the final and slowest Moving Average (MA) crossed over and now all of the MA’s that form the zone are Bullish. You can see this in the white circle where there are no MA’s that are crossing each other. Lastly, within the blue circle, we can see how some of the faster MA’s are crossing under each other. This is a bullish momentum change. The Faster moving MA’s will always be the first ones to cross before the Slower ones do. There is a color scheme in place here to represent the Speed of the MA within the Zone. Light blue is the fastest moving Bull color -> Light Green and finally -> Dark Green. Yellow is the fastest moving Bear color -> Orange and finally -> Red / Dark Red within the Zone.
Next we will review a couple different examples of what Consolidation looks like and why it is very important to look out for. Consolidation is when Most, if not All of the MA’s are very tightly ‘twisted’ together. There is very little spacing between almost all of the MA’s in the example above; highlighted by the white circle. Consolidation is important as it may indicate a strong price movement in either direction will occur soon. When the price is consolidating it means it has had very little upwards or downwards movement recently. When this happens for long enough, MA’s may all get very similar in value. This may cause high volatility as the price tries to break out of Consolidation. Let's look at another example.
Above we have two more examples of what Consolidation looks like and how high Volatility may occur after the Consolidation is broken. Please note, not all Consolidation will create high Volatility but it is something you may want to look out for.
Information Tables displaying: (Boom Meter, Bull/Bear Strength, Yin/Yang State):
Information tables are a very important way of displaying information. It contains 3 crucial pieces of information:
Boom Meter
Bull/Bear Strength
Yin/Yang State
Boom Meter is a meter that goes from 0-100% and displays whether the current price is Dumping (0 - 29%), Consolidating (30 - 70%) or Pumping (71 - 100%). The Boom Meter is meant to be a Gauge to how the price is currently fairing. It is composed of ~50 different calculations that all vary different weights to calculate its %. Many of the calculations it uses are likewise used in other things, such as the Bull/Bear Strength, Bull/Bear Zone MA cross’, Yin/Yang State, Market Cipher Signals, RSI, Volume and a few others. The Boom Meter, although not meant to be used solely to make purchase decisions, may give you a good idea of current market conditions considering how many different things it evaluates.
Bull/Bear Strength is relevant to your Purchase Speed and Strength. It displays which state it is currently in, and the % it is within that state. When a % hits 0, is when the state changes. When states change, they always start at 100% initially and will go down at the rate of Purchase Strength (how many verifications are needed). For instance, if your Purchase Strength is set to ‘Medium’ it will move 10% per verification +/-, if it is set to High, it will move 6.67% per verification +/-. Bull/Bear Strength is a good indicator of how well that current state is fairing. For instance if you started a Long when the state changed to Bull and now it is currently at Bull with 20% left, that may be a good indication it is time to get out (obviously refer to other data as well, but it may be a good way to know that the state is 20% away from transitioning to Bear).
Yin/Yang State is the strongest MA cross within our Indicator. It is unique in the sense that it is slow to change, but not so much that it moves slowly. It isn’t as simple as say a Golden/Death Cross (50/200), but it crosses more often and may hold similar weight as it. Yin stands for Negative (Bearish) and Yang stands for Positive (Bullish). The price will always be in either a state of Yin or Yang, and just because it is in one, doesn’t mean the price can’t/won’t move in the opposite direction; it simply means the price may be favoring the state it is in.
16 Cipher Signals:
Cipher Signals are key visuals of MA cross’ that may represent price movement and momentum. It would be too confusing and hard to decipher these MA’s as lines on a chart, and therefore we decided to use signals in the form of symbols instead. There are 12 Standard and 4 Predictive/Confirming Cipher signals. The Standard Cipher signals are composed of 6 Bullish and 6 Bearish (they all have opposites that balance each other out). There can never be 2 of the same signal in a row, as the Bull and Bear cancel each other out and it's always in a state of one or the other. When all 6 Bullish or Bearish signals appear in a row, very closely together, without any of the opposing signals it may represent a strong momentum movement is about to occur.
If you refer to the example above, you’ll see that the 6 Bullish Cipher signals appeared exactly as mentioned above. Shortly after the Green Circle appeared, there was a large spike in price movement in favor of the Bulls. Cipher signals don’t need to appear in a cluster exactly like the white circle in this photo for momentum to occur, but when it does, it may represent volatility more than if it is broken up with opposing signals or spaced out over a longer time span.
Above is an example of the opposite, where all 6 Bearish Cipher signals appeared together without being broken by a Bullish Cipher signal or being too far spaced out. As you can see, even though past it there was a few Bullish signals, they were quickly reversed back to Bearish before a large price movement occurred in favor of the Bears.
In the example above we’ve changed Cipher signals to Predictive and Confirming. Support Crosses (Green +) and Blood Diamonds (Red ♦) are the normal Cipher Signals that appear within the Standard Set. They are the first Cipher Signal that appears and are the most common ones as well. However, just because they are the first, that doesn’t mean they aren’t a powerful Cipher signal. For this reason, there are Predictive and Confirming Cipher signals for these. The Predictive do just that, they appear slightly sooner (if not the same bar) as the regular and the Confirming appear later (1+ bars usually). There will be times that the Predictive appears, but it doesn’t resort to the Regular appearing, or the Regular appears and the Confirming doesn’t. This is normal behavior and also the purpose of them. They are meant to be an indication of IF they may appear soon and IF the regular was indeed a valid signal.
Extremes:
Extremes are MA’s that have a very large length. They are useful for seeing Cross’ and Support and Resistance over a long period of time. However, because they are so long and slow moving, they might not always be relevant. It’s usually advised to turn them on, see if any are close to the current price point, and if they aren’t to turn them off. The main reason being is they stretch out the chart too much if they’re too far away and they also may not be relevant at that point.
When they are close to the price however, they may act as strong Support and Resistance locations as circled in the example above.
Pivots:
Pivots are used to help identify key Support and Resistance locations. They adjust on their own in an attempt to keep their locations as relevant as possible and likewise will adjust when the price pushes their current bounds. They may be useful for seeing when the Price is currently testing their level as this may represent Overbought or Oversold. Keep in mind, just because the price is testing their levels doesn’t mean it will correct; sometimes with high volatility or geopolitical news, movement may continue even if it is exhibiting Overbought or Oversold traits. Pivots may also be useful for seeing how far the price may correct to, giving you a benchmark for potential Take Profit and Stop Loss locations.
Trend Lines:
Trend Lines may be useful for identifying Support and Resistance locations on the Vertical. Trend Lines may form many different patterns, such as Pennants, Channels, Flags and Wedges. These formations may help predict and drive the price in specific directions. Many traders draw or use Indicators to help create Trend Lines to visualize where these formations will be and they may be very useful alone even for identifying possible Support and Resistance locations.
If you refer to the previous example, and now to this example, you’ll notice that the Trend Line that supported it in 2023 was actually created in June 2020 (yellow circle). Trend Lines may be crucial for identifying Support and Resistance locations on the Vertical that may withhold over time.
Custom Bollinger Bands:
Bollinger Bands are used to help see Movement vs Consolidation Zones (When it's wide vs narrow). It's also very useful for seeing where the correction areas may be. Price may bounce between top and bottom of the Bollinger Bands, unless in a pump or dump. The Boom Meter will show you whether it is currently: Dumping, Consolidation or Pumping. If combined with Boom Meter Bar Colors it may be a good indication if it will break the Bollinger Band (go outside of it). The Middle Line of the Bollinger Band (White Line) may be a very strong support / resistance location. If the price closes above or below it, it may be a good indication of the trend changing (it may indicate one of the first stages to a pump or dump). The color of the Bollinger Bands change based on if it is within a Bull or Bear Zone.
What makes this Bollinger Band special is not only that it uses a custom multiplier, but it also incorporates volume to help add weight to the calculation.
Boom Meter Bar Colors:
Boom Meter Bar Colors are a way to see potential Overbought and Oversold locations on a per bar basis. There are 6 different colors within the Boom Meter bar colors. You have:
Overbought and Very Bullish = Dark Green
Overbought and Slightly Bullish = Light Green
Overbought and Slight Bearish = Light Red
Oversold and Very Bearish = Dark Red
Oversold and Slightly Bearish = Orange
Oversold and Slightly Bullish = Light Purple
When there is no Boom Meter Bar Color prevalent there won’t be a color change within the bar at all.
Just because there is a Boom Meter Bar Color change doesn’t mean you should act on it purchase or sell wise, but it may be an indication as to how that bar is fairing in an Overbought / Oversold perspective. Boom Meter Bar Colors are mainly based on RSI but do take in other factors like price movement to determine if it is Overbought or Oversold. When it comes to Boom Meter Bar Color, you should take it as it is, in the sense that it may be useful for seeing how Individual bars are fairing, but also note that there may be things such as:
When there is Very Overbought (Dark Green) or Very Oversold (Dark Red), during massive pump or dumps, it will maintain this color. However, once it has lost ‘some’ momentum it will likely lose this color.
When there has been a massive Pump or Dump, and there is likewise a light purple or light red, this may mean there is a correction or consolidation incoming.
True Value Zones:
True Value zones are our custom way of displaying something that is similar to a Bollinger Band that can likewise twist like an MA cross. The main purpose of it is to display where the price may reside within. Much like a Bollinger Band it has its High and Low within its zone to specify this location. Since it has the ability to cross over and under, it has the ability to specify what it thinks may be a Bullish or Bearish zone. This zone uses its upper level to display what may be a Resistance location and its lower level to display what may be a Support location. These Support and Resistance locations are based on Momentum and will move with the price in an attempt to stay relevant.
You may use these True Values zones as a gauge of if the price is Overbought or Oversold. When the price faces high volatility and moves outside of the True Value Zones, it may face consolidation or likewise a correction to bring it back within these zones. These zones may act as a guideline towards where the price is currently valued at and may belong within.
Bar Strength Indexes:
Bar Strength Indexes are our way of ranking each bar in correlation to the last few. It is based on a few things but is highly influenced on Open/Close/High/Low, Volume and how the price has moved recently. They may attempt to ‘rate’ each bar and how Bullish/Bearish each of these bars are. The Green number under the bar is its Bullish % and the Red number above the bar is its Bearish %. These %’s will always equal 100% when combined together. Bar Strength Indexes may be useful for seeing when either Bullish or Bearish momentum is picking up or when there may be a reversal / consolidation.
These Bar Strength Indexes may allow you to decipher different states. If you refer to the example above, you may notice how based on how the numbers are changing, you may see when it has entered / exited Bullish, Bearish and Consolidation. Likewise, if you refer to the current bar (yellow circle), you can see that the Bullish % has dropped from 93 to 49; this may be signifying that the Bullish movement is losing momentum. You may use these changes in Bar Indexes as a guide to when to enter / end trades.
Volume Profile:
Volume Profile has been something that has been within TradingView for quite some time. It is a very useful way of seeing at what Horizontal Price there has been the most volume. This may be very useful for seeing not only Support and Resistance locations based on Volume, but also seeing where the majority of Limit Orders are placed. Limit Orders are where traders decide they want to either Buy / Sell but have the order placed so the trade won’t happen until the price reaches a certain amount. Either through many orders from many traders, or a single order from a ‘Whale’ (trader with a lot of capital); you may see Support and Resistance at specific Price Points that have large Volume.
Many Volume Profile Indicators feature a breakdown of all the different locations of volume, along with a Point Of Control (POC) line to designate where the most Volume has been. To try and reduce clutter within our already very saturated Toolkit Indicator, we’ve decided to strip our Volume Profile to only display this POC line. This may allow you to see where the crucial Volume Support and Resistance is without all of the clutter.
You may be wondering, well how important is this Volume Profile POC line and how do I go about using it? Aside from it being a gauge towards where Support and Resistance may be within Volume, it may also be useful for identifying good Long/Short locations. If you think of the line as a ‘Battle’ between the Bulls and Bears, they’re both fighting over that line. The Bears are wanting to break through it downwards, and the Bulls are wanting to break through it upwards. When one side has temporarily won this battle, this means they may have more Capital to push the price in their direction. For instance, if both the Bulls and the Bears are fighting over this POC price, that means the Bears think that price is a good spot to sell; however, the Bulls also deem that price to be a good point to buy. If the Bulls were to win this battle, that means the Bears either canceled their orders to reevaluate, or all of their orders have been completed from the Bulls buying them all. What may happen after that is, if the Bulls were able to purchase all of these Limit Sell Orders, then they may still have more Capital left to continue to pressure the price upwards. The same may be true for if the Bears were to win this ‘Battle’.
How to use YinYang Trend as a cohesive whole:
Hopefully you’ve read and understand how each aspect of this Indicator works on its own, as knowing how/what they each do is important to understanding how it is used as a cohesive whole. Due to the fact that this Toolkit of an Indicator displays so much data, you may find it easier to use and understand when you’re zoomed in a little, somewhat like we are in this example above.
If we refer to the example above, you may like us, deduce a few things:
1. The current price may be VERY Overbought. This may be seen by a few different things:
The Boom Meter Bar Colors have been exhibiting a Dark Green color for 6 bars in a row.
The price has continuously been moving the High (red) Pivot Upwards.
Our Boom Meter displays ‘Pumping’ at 100%.
The price broke through a Downward Trend Line that was created in February of 2022 at 45,000 like it was nothing.
The Bar Strength Index hit a Bullish value of 93%.
The Price broke out of the Bollinger Bands and continues to test its upper levels.
The Low is much greater than our fastest moving MA that creates the Purchase Zones.
The Price is vastly outside of the True Value Zone.
The Bar Strength Index of our current bar is 50% bullish, which is a massive decrease from the previous bar of 93%. This may indicate that a correction is coming soon.
2. Since we’ve identified the current price may be VERY Overbought, next we need to identify if/when/to where it may correct to:
We’ve created a new example here to display potential correction areas. There are a few places it has the ability to correct to / within:
The downward Trend Line (red) below the current bar sitting currently at 32,750. This downward Trend Line is at the same price point as the Fastest MA of our Purchase Zone which may provide some decent Support there.
Between two crucial Pivot heights, within a zone of 30,000 to 31,815. This zone has the second fastest MA from the Purchase Zone right near the middle of it at 31,200 which may act as a Support within the Zone. Likewise there is the Bollinger Band Basis which is also resting at 30,000 which may provide a strong Support location here.
If 30,000 fails there may be a correction all the way to the bottom of our True Value Zone and the top of one of our Extremes at 27,850.
If 27,850 fails it may correct all the way to the bottom of our Purchase Zone / lowest of our Extremes at 27,350.
If all of the above fails, it may test our Volume Profile POC of 26,430. If this POC fails, the trend may switch to Bearish and continue further down to lower levels of Support.
The price can always correct more than the prices mentioned above, but considering overall this Indicator is favoring the Bulls, we will tailor this analysis in Favor of the Bullish Momentum maintaining even during this correction. For these reasons, we think the price may correct between the 30,000 and 31,815 zone before continuing upwards and maintaining this Bullish Momentum.
Please note, these correction estimates are just that, they’re estimates. Aside from the fact that the price is very overbought right now and our Bar Strength Index may be declining (bar hasn’t closed yet); the Boom Meter Strength remains at 100%, meaning there may not be much Bearish momentum changes happening yet. We just want to show you how an Preemptive analysis may be done before there are even Bearish Cipher Signals appearing.
Using this Indicator, you may be able to decipher Entry and Exits. In the previous example, we went over how you may use it to see where a correction (Exit / Take Profit) may be and how far this correction may go. In this example above we will be discussing how to identify Entry locations. We will be discussing a Bullish Buy entry but the same rules apply for a Bearish Sell Entry just the opposite with the Cipher Signals.
If you refer to where we circled in white, this is where the Purchase Zones faced Consolidation. When the Purchase Zones all get tight and close together like that, this may represent Volatility and Momentum in either direction may occur soon.
This was then followed by all 6 of the Standard Cipher Signals closely in succession to each other. This means the Momentum may be favoring the Bulls. If this was likewise all 6 of the Bearish Cipher Signals closely in succession, than the momentum change would favor the Bears.
If you were looking for an entry, and you saw Consolidation with the Purchase Zones and then shortly after you saw the Green Circle and Blue Flag (they can swap order); this may now be a good Entry location.
We will conclude this Tutorial here. Hopefully this has taught you how this Trend Analysis Toolkit may help you locate multiple different types of important Support and Resistance locations; as well as possible Entry and Exit locations.
Settings:
1. Bull/Bear Zones:
1.1. Purchase Speed (Bull/Bear Signals and Take Profit Signals):
Speed determines how much price movement is needed for a signal to occur.
'Sonic' uses the extremities to try and get you the best entry and exit points, but is so quick, its speed may reduce accuracy.
'Fast' may attempt to capitalize on price movements to help you get SOME or attempt to lose LITTLE quickly.
'Medium' may attempt to get you the most optimal entry and exit locations, but may miss extremities.
'Slow' may stay in trades until it is clear that momentum has changed.
'Snail' may stay in trades even if momentum has changed. Snail may only change when the price has moved significantly (This may result in BIG gains, but potentially also BIG losses).
1.2. Purchase Strength (Bull/Bear Signals and Take Profit Signals):
Strength ensures a certain amount of verifications required for signals to happen. The more verifications the more accurate that signal is, but it may also change entry and exit points, and you may miss out on some of the extremities. It is highly advised to find the best combination between Speed and Strength for the TimeFrame and Pair you are trading in, as all pairs and TimeFrames move differently.
'High' uses 15 verifications to ensure signal strength.
'Medium' uses 10 verifications to ensure signal strength.
'Low' uses 5 verifications to ensure signal strength.
'Very Low' uses 3 verifications to ensure signal strength.
2. Cipher Signals:
Cipher Signals are very strong EMA and SMA crosses, which may drastically help visualize movement and help you to predict where the price will go. All Symbols have counter opposites that cancel each other out (YinYang). Here is a list, in order of general appearance and strength:
White Cross / Diamond (Predictive): The initial indicator showing trend movement.
Green Cross / Diamond (Regular): Confirms the Predictive and may add a fair bit of strength to trend movement.
Blue Cross / Diamond (Confirming): Confirms the Regular, showing the trend might have some decent momentum now.
Green / Red X: Gives momentum to the current trend direction, possibly confirming the Confirming Cross/Diamond.
Blue / Orange Triangle: may confirm the X, Possible pump / dump of decent size may be coming soon.
Green / Red Circle: EITHER confirms the Triangle and may mean big pump / dump is potentially coming, OR it just hit its peak and signifies a potential reversal correction. PAY ATTENTION!
Green / Red Flag: Oddball that helps confirm trend movements on the short term.
Blue / Yellow Flag: Oddball that helps confirm trend movements on the medium term (Yin / Yang is the long term Oddball).
3. Bull/Bear Signals:
Bear and Bull signals are where the momentum has changed enough based on your Purchase Speed and Strength. They generally represent strong price movement in the direction of the signal, and may be more reliable on higher TimeFrames. Please don’t use JUST these signals for analysis, they are only meant to be a fraction of the important data you are using to make your technical analysis.
4. Take Profit Signals:
Take Profit signals are guidelines that momentum has started to change back and now may be a good time to take profit. Your Take Profit signals are based on your Take Profit Speed and Strength and may be adjusted to fit your trading style.
5. Information Tables:
Information tables display very important data and help to declutter the screen as they are much less intrusive compared to labels. Our Information tables display: Boom Meter, Purchase Strength of Bull/Bear Zones and Yin/Yang State.
Boom Meter: Uses over 50 different calculations to determine if the pair is currently 'Dumping' (0-29%), 'Consolidating' (30-70%), or 'Pumping' (71-100%).
Bull / Bear Strength: Shows the strength of the current Bull / Bear signal from 0-100% (Signals start at 100% and change when they hit 0%). The % it moves up or down is based on your 'Purchase Strength'.
Yin / Yang state: Is one of the strongest EMA/SMA crosses (long term Oddball) within this Indicator and may be a great indication of which way the price is moving. Do keep in mind if the price is consolidating when changing state, it may have the highest chance of switching back also. Once momentum kicks in and there is price movement the state may be confirmed. Refer to other Cipher Symbols, Extremes, Trend, BOLL, Boom %, Bull / Bear % and Bar colors when Bull / Bear Zones are consolidating and Yin / Yang State changes as this is a very strong indecision zone.
6. Bull / Bear Zones:
Our Bull / Bear zones are composed of 8 very important EMA lengths that may act as not only Support and Resistance, but they help to potentially display consolidation and momentum change. You can tell when they are getting tight and close together it may represent consolidation and when they start to flip over on each other it may represent a change in momentum.
7. MA Extremes:
Our MA Extremes may be 3 of the most important long term moving averages. They don’t always play a role in trades as sometimes they’re way off from the price (cause they’re extreme lengths), but when they are around price or they cross under or over each other, it may represent large changes in price are about to occur. They may be very useful for seeing strong resistance / support locations based on price averages. Extremes may transition from a Support to a Resistance based on its position above or below them and how many times the price has either bounced up off them (Supporting) or Bounced back down after hitting them (Resistance).
8. Pivots:
Pivots may be a very important indicator of support and resistance for horizontal price movement. Pivots may represent the current strongest Support and Resistance. When the Pivot changes, it means a new strong Support or Resistance has been created. Sometimes you'll notice the price constantly pushes the pivot during a massive Pump or Dump. This is normal, and may indicate high levels of volatility. This generally also happens when the price is outside of the Bollinger Bands and is also Over or Undervalued. The price usually consolidates for a while after something like this happens before more drastic movement may occur.
9. Trend Lines:
Trend lines may be one of the best indicators of support and resistance for diagonal price movement. When a Trend Line fails to hold it may be a strong indication of a dump. Keep a close eye to where Upward and Downward Trend Lines meet. Trend lines can create different trading formations known as Pennants, Flags and Wedges. Please familiarize yourself with these formations So you know what to look for.
10. Bollinger Bands (BOLL):
Bollinger Bands may be very useful, and ours have been customized so they may be even more accurate by using a modified calculation that also incorporates volume.
Bollinger Bands may be used to see Movement vs Consolidation Zones (When it’s wide vs narrow). It also may be very useful for seeing where the correction areas are likely to be. Price may bounce between top and bottom of the BOLL, unless perhaps in a pump or dump. The Boom Meter may show you whether it is currently: Dumping, Consolidation or Pumping, along with Boom Meter Bar Colors, may be a good indication if it will break the BOLL. The Middle Line of the BOLL (White Line) may be a very strong support / resistance line. If the price closes above or below it, it may be a good indication of the trend changing (it may be one of the first stages to a pump or dump).
11. Boom Meter Bar Colors:
Boom Meter bar colors may be very useful for seeing when the bar is Overbought or Underbought. There are 6 different types of boom meter bar colors, they are:
Dark Green: RSI may be very Overbought and price going UP (May be in a big pump. NOTICE, chance of small dump correction if Cherry Red bar appears).
Light Green: RSI may be slightly Overbought and price going UP (chance of small pump).
Light Purple: RSI may be very Underbought and price going UP (May have chance of small correction).
Dark Red: RSI may be very Underbought and price going DOWN (May be in a big dump. NOTICE, chance of small pump correction if Light Purple bar appears).
Light Orange: RSI may be slightly Underbought and price going DOWN (chance of small dump).
Cherry Red: RSI may be very Overbought and price going DOWN (Chance of small correction).
12. True Value Zone:
True Value Zones display zones that represent ranges to show what the price may truly belong within. They may be very useful for knowing if the Price is currently not valued correctly, which generally means a correction may happen soon. True Value Zones can swap from Bullish to Bearish and are represented by Red for Bearish and Green for Bullish. For example, if the price is ABOVE and OUTSIDE of the True Value Zone, this means it may be very overvalued and might correct to go back inside the True Value Zone. This correction may be done by either dumping in price back into the zone, or consolidating horizontally back into it over a longer period of time. Vice Versa is also true if it is BELOW and OUTSIDE of the True Value Zone.
13. Bar Strength Index:
Bar Strength Index may display how Bullish/Bearish the current bar is. The strength is important to help see if a pump may be losing momentum or vice versa if a dump may correct. Keep in mind, the Bar Strength Index does a small 'refresh' to account for new bars. It may help to keep the Index more accurate.
14. Volume Profile:
Volume Profiles may be important to know where the Horizontal Support/Resistance is in Price base on Volume. Our Volume Profile may identify the point where the most volume has occurred within the most relevant timeframe. Volume Profiles are helpful at identifying where Whales have their orders placed. The reason why they are so helpful at identifying whales is when the volume is profiled to a specific area, there may likely be lots of Limit Buy and/or Sells around there. Limit Buys may act as Support and Limit Sells may act as Resistance. It may be very useful to know where these lie within the price, similar to looking at Order Book Data for Whale locations.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Liquidity prints / quantifytools- Overview
Liquidity prints detect points in price where buyers or sellers are being effectively absorbed, indicative of price being on a path of resistance. In other words, the prints detect points in price where hard way is likely in current motion and easy way in the opposite. Prints with ideal attributes such as prints into extended trends or into a deviation are marked separately as print confluence. Prints with important or multiple confluence factors give further color into potential strength and duration of print influence. Liquidity prints are detected using an universally applicable method based on price action (OHLC). The prints principally work on any chart, whether that is equities, currencies, cryptocurrencies or commodities, charts with volume data or no volume data. Essentially any asset that can be considered an ordinary speculative asset. The prints also work on any timeframe, from second charts to monthly charts. Liquidity prints are activated real-time after a confirmed bar close, meaning they are not repainted and can be interacted with once a confirmation is in place.
Liquidity prints are based on the premise that price acts a certain way when sufficient liquidity is found, in other words when price shows exhaustion of some sort. A simple example of such price action are wicks, attempted moves that were rejected within the same time period where move was initiated. This type of price action typically takes place when price is close to or at meaningful amount of bids in an order book. There's no guarantee the stacked orders can't be just cleared and moved through, but at face value it does not make sense to expect price moving the hard way. When sufficient amount of characteristics in price action are hinting proximate liquidity, a print is activated. As a barometer for print feedback quality, short term impact on price rate of change and likelihood of print lows/highs being revisited during backtesting period are tracked for each print. Peak increase/decrease during backtesting period is also recorded and added to average calculations. Liquidity prints can also be backtested using any script that has a source input, including mechanic strategies utilizing Tradingview's native backtester.
Key takeaways
Liquidity prints are activated when price is showing signs of grind against path of greater resistance, leaving path of least resistance to the opposite direction.
Liquidity prints with ideal attributes are marked separately as print confluence, giving further color into print strength and duration of influence.
Liquidity prints are backtested using price rate of change, print invalidation mark and peak magnitude metrics.
Liquidity prints can be backtested and utilized in any other Tradingview script, including mechanic strategies utilizing Tradingview's native backtester.
Liquidity prints are detected using price action based methodology. They principally work on any chart or timeframe, including charts with no volume data.
Liquidity prints are activated real-time after a confirmed bar close and are not repainted.
For practical guide with practical examples, see last section.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Disclaimer
Liquidity prints are not buy/sell signals, a standalone trading strategy or financial advice. They also do not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Liquidity prints notify when a set of conditions (various reversal patterns, overextended price etc.) are in place from a purely technical standpoint. Liquidity prints should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
Liquidity print quality is backtested using metrics that reasonably depict their expected behaviour, such as historical likelihood of price slowing down or turning shortly after a print. Print quality metrics are not intended to be elaborate and perfect, but to serve as a general barometer for print feedback. Backtesting is done first and foremost to exclude scenarios where prints clearly don't work or work suboptimally, in which case they can't be considered as valid evidence. Even when print metrics indicate historical reactions of good quality, price impact can and inevitably does deviate from the expected. Past results do not guarantee future performance.
- Example charts
Chart #1: BTCUSDT
Chart #2: DXY
Chart #3: NQ futures
Chart #4: Crude oil futures
Chart #5: Custom timeframes
- Print confluence
Attributes that make prints ideal in one way or another are marked separately as print confluence, giving clue into potential strength and duration of print influence. Prints with important or multiple confluence factors can be considered as heavier and more reliable evidence of price being on a path of resistance. Users can choose which confluence to show/hide (by default all) and set a minimum amount of confluence for confluence text to activate (by default 1).
Confluence type #1: Trend extensions
Price trending for abnormally long time doesn't happen too often and requires effort to sustain. Prints taking place at extended trends often have a longer duration influence, indicating a potential larger scale topping/bottoming process being close. Trend extension confluence is indicated using a numbered label, equal to amount of bars price has been in a trending state.
Confluence type #2: Consecutive prints
Prints that take place consecutively imply heavier resistance ahead, as required conditions trigger multiple times within a short period. Consecutive prints tend to lead to more clean, aggressive and heavier magnitude reactions relative to prints with no confluence. Consecutive print confluence is indicated using a numbered label with an x in front, equal to amount of prints that have taken place consecutively.
Confluence type #3: Deviations
When price closes above/below prior print highs/lows and closes right back in with a print, odds are some market participants are stuck in an awkward position. When market participants are stuck, potential for a snowball effect of covering underwater positions is higher, driving price further away. Prints into deviations act similarly to consecutive prints, elevating potential for more aggressive reactions relative to prints with no confluence. Deviation confluence is indicated using a label with a curve symbol.
- Backtesting
Built-in backtesting is based on metrics that are considered to reasonably quantify expected behaviour of prints. Main purpose of the metrics is to form a general barometer for monitoring whether or not prints can be viewed as valid evidence. When prints are clearly not working optimally, one should adjust expectations accordingly or take action to improve print performance. To make any valid conclusions of print performance, sample size should also be significant enough to eliminate randomness effectively. If sample size on any individual chart is insufficient, one should view feedback scores on multiple correlating and comparable charts to make up for the loss.
For more elaborate backtesting, prints can be used in any other script that has a source input, including fully mechanic strategies utilizing Tradingview's native backtester. Print plots are created separately for regular prints and prints with each type of confluence.
Print feedback
Print feedback is monitored for 3 bars following a print. Feedback is considered to be 100% successful when all 3/3 bars show a supportive reaction. When 2/3 bars are supportive, feedback rate is 66%, 1/3 bars = 33% and 0/3 = 0%. After print backtesting period is finished, performance of given print is added to average calculations.
Metric #1 : Rate of change
Rate of change used for backtesting is based on OHLC4 average (open + high + low + close / 4) with a length of 3. Rate of change trending up is considered valid feedback for bullish liquidity prints, trending down for bearish liquidity prints. Note that trending rate of change does not always correlate with trending price, but sometimes simply means current trend in price is slowing down.
Metric #2 : Invalidation mark
Print invalidation marks are set at print low/high with a little bit of "wiggle room". Wiggle room applied is always 1/10th of print bar range. E.g. for a bullish print with bar range of 2%, invalidation mark is set to 0.20% below print low. For most prints this is practically at print low/high, but in the case of prints with high volatility a more noticeable excess is given, due to the expectation of greater adverse reaction without necessarily meaning invalidation. A low being above invalidation mark is considered valid feedback for bullish prints and a high being below invalidation mark for bearish prints.
Metric #3 : Peak increase/decrease
Unlike prior two metrics, peak increase/decrease is not feedback the same way, but rather an assisting factor to be viewed with feedback scores. Peak increase/decrease is measured from print close to highest high/lowest low during backtesting period and added to average calculations
Feedback scores
When liquidity prints are working optimally, quality threshold for both feedback metrics are met. By default, threshold is set to 66%, indicating valid feedback on 2/3 of backtesting periods on average. When threshold is met, a tick will appear next to feedback scores, otherwise an exclamation mark indicating suboptimal performance on either or both.
By default, the prints are filtered as little as possible, idea behind being that it is better to have more poor prints filtered with discretion/mechanically afterwards than potentially filtering too much from the get go. Sometimes filtering is insufficient, leading to failed reactions beyond a tolerable level. When this is the case, print sensitivity can be adjusted via input menu, separately for bullish and bearish prints. Print filter sensitivity ranges from 1 to 5, by default set to 1. Lower sensitivity sets looser criteria for print activation, higher sensitivity sets stricter criteria. For most charts and timeframes default sensitivity works just fine, but when this is not the case, filters can be tweaked in search of better settings. If feedback score threshold is met, it's better to keep filter sensitivity intact and use discretion, which is much more nuanced and capable than any mechanical process. If feedback scores are still insufficient after tweaking, depending on the severity of lack, prints should be vetted extra carefully using other means of analysis or simply avoided.
Verifying backtest calculations
Backtest metrics can be toggled on via input menu, separately for bullish and bearish prints. When toggled on, both cumulative and average counters used in print backtesting will appear on "Data Window" tab. Calculation states are shown at a point in time where cursor is hovered. E.g. when hovering cursor on 4th of January 2021, backtest calculations as they were during this date will be shown. Backtest calculations are updated after backtest period of a print has finished (3 bars). Assisting backtest visuals are also plotted on chart to ease inspection.
- Alerts
Available alerts are the following.
- Bullish/bearish liquidity print
- Bullish/bearish liquidity print with specified print confluence
- Bullish/bearish liquidity print with set minimum print confluence amount exceeded
- Visuals
Visual impact of prints can be managed by adjusting width and length via input menu. Length of prints is available in 3 modes (1-3 from shortest to longest) and width in 10 modes (1-10 from narrowest to widest).
Print confluence text can be embedded inside print nodes, eliminating visuals outside the chart.
Metric table is available in two themes, Classic and Stealth.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and colors are fully customizable via input menu.
-Practical guide
Key in maximizing success with prints is knowing when they are likely reliable and when not. In general, the more volatile and ranging the market regime, the better liquidity prints will work. Any type of volatile spike in price, parabola or a clean range is where liquidity prints provide optimal feedback. On the other hand low volatility and trending environments are suboptimal and tend to provide more mute/lagged or completely failed feedback. Anomalies such as market wide crashes are also environments where prints can't be expected to work reliably.
Being aware of events on multiple timeframes is crucial for establishing bias for any individual timeframe. Not often it makes sense to go against higher timeframe moves on lower timeframes and this principle of timeframe hierarchy also applies to prints. In other words, higher timeframe prints dictate likelihood of successful prints on lower timeframes. If hard way on a weekly chart is up, same likely applies to daily chart during weekly print influence time. In such scenarios, it's best to not swim in upstream and avoid contradicting lower timeframe prints, at least until clear evidence suggesting otherwise has developed.
Points in price where it anyway makes sense to favor one side over the other are key points of confluence for prints as well. Prints into clean range highs/lows with clean taps can be valuable for optimal entry timing. This is especially true if simultaneously previous pivot gets taken out, increasing odds of liquidity indicated by a print being swept stop-losses.
Prints that don't match underlying bias (e.g. bullish prints at range high, bearish prints at range low) should be avoided until clear evidence has developed favoring them, such as a convincing break through a level followed by a re-test.
Prints that are immediately rejected aggressively are more likely prints that end up failing. Next bar following a print closing below print lows/above print highs is a strong hint of print failure. To consider print still valid in such cases, there should be quick and clear defending of print lows/highs. Failed prints are an inevitable bummer, but never useless. Failed prints are ideal for future reference, as liquidity still likely exists there. Re-tests into these levels often provide sensible entries.
Stacked confluence doesn't come too often and is worth paying special attention to, as multiple benefitting factors are in place simultaneously.
From a more zoomed out perspective, any larger zone with multiple prints taking place inside are potential topping/bottoming processes taking place, also worth paying attention to.
NSDT Lattice WebThis script creates a "web" by connecting different points of candles. All configurable by the trader.
There are 4 basic parts to a candle:
Open, High, Low, and Close
With this script, you can connect any point of one candle in the past to any point of another current candle.
For example:
High to High, High to Low, High to Open, High to close
Low to High, Low to Low, Low to Open, Low to Close
Open to High, Open to Low, Open to Open, Open to Close
Close to High, Close to Low, Close to Open, Close to Close
The script will change the line colors based on whether the current plot is higher or lower than the previous plot.
Try out different connection points to see what works for you. Connecting High to High and Low to Low, might easily show you when the market is making higher highs or lower lows, indicating a potential movement.
Run it on replay at a higher speed and see how it may potentially help identify area of congestion or trends.
Bar metrics / quantifytools— Overview
Rather than eyeball evaluating bullishness/bearishness in any given bar, bar metrics allow a quantified approach using three basic fundamental data points: relative close, relative volatility and relative volume. These data points are visualized in a discreet data dashboard form, next to all real-time bars. Each value also has a dot in front, representing color coded extremes in the values.
Relative close represents position of bar's close relative to high and low, high of bar being 100% and low of bar being 0%. Relative close indicates strength of bulls/bears in a given bar, the higher the better for bulls, the lower the better for bears. Relative volatility (bar range, high - low) and relative volume are presented in a form of a multiplier, relative to their respective moving averages (SMA 20). A value of 1x indicates volume/volatility being on par with moving average, 2x indicates volume/volatility being twice as much as moving average and so on. Relative volume and volatility can be used for measuring general market participant interest, the "weight of the bar" as it were.
— Features
Users can gauge past bar metrics using lookback via input menu. Past bars, especially recent ones, are helpful for giving context for current bar metrics. Lookback bars are highlighted on the chart using a yellow box and metrics presented on the data dashboard with lookback symbols:
To inspect bar metric data and its implications, users can highlight bars with specified bracket values for each metric:
When bar highlighter is toggled on and desired bar metric values set, alert for the specified combination can be toggled on via alert menu. Note that bar highlighter must be enabled in order for alerts to function.
— Visuals
Bar metric dots are gradient colored the following way:
Relative volatility & volume
0x -> 1x / Neutral (white) -> Light (yellow)
1x -> 1.7x / Light (yellow) -> Medium (orange)
1.7x -> 2.4x / Medium (orange) -> Heavy (red)
Relative close
0% -> 25% / Heavy bearish (red) -> Light bearish (dark red)
25% -> 45% / Light bearish (dark red) -> Neutral (white)
45% - 55% / Neutral (white)
55% -> 75% / Neutral (white) -> Light bullish (dark green)
75% -> 100% / Light bullish (dark green) -> Heavy bullish (green)
All colors can be adjusted via input menu. Label size, label distance from bar (offset) and text format (regular/stealth) can be adjusted via input menu as well:
— Practical guide
As interpretation of bar metrics is highly contextual, it is especially important to use other means in conjunction with the metrics. Levels, oscillators, moving averages, whatever you have found useful for your process. In short, relative close indicates directional bias and relative volume/volatility indicates "weight" of directional bias.
General interpretation
High relative close, low relative volume/volatility = mildly bullish, bias up/consolidation
High relative close, medium relative volume/volatility = bullish, bias up
High relative close, high relative volume/volatility = exuberantly bullish, bias up/down depending on context
Medium relative close, low relative volume/volatility = noise, no bias
Medium relative close, medium to high relative volume/volatility = indecision, further evidence needed to evaluate bias
Low relative close, low relative volume/volatility = mildly bearish, bias down/consolidation
Low relative close, medium relative volume/volatility = bearish, bias down
Low relative close, high relative volume/volatility = exuberantly bearish, bias down/up depending on context
Nuances & considerations
As to relative close, it's important to note that each bar is a trading range when viewed on a lower timeframe, ES 1W vs. ES 4H:
When relative close is high, bulls were able to push price to range high by the time of close. When relative close is low, bears were able to push price to range low by the time of close. In other words, bulls/bears were able to gain the upper hand over a given trading range, hinting strength for the side that made the final push. When relative close is around middle range (40-60%), it can be said neither side is clearly dominating the range, hinting neutral/indecision bias from a relative close perspective.
As to relative volume/volatility, low values (less than ~0.7x) imply bar has low market participant interest and therefore is likely insignificant, as it is "lacking weight". Values close to or above 1x imply meaningful market participant interest, whereas values well above 1x (greater than ~1.3x) imply exuberance. This exuberance can manifest as initiation (beginning of a trend) or as exhaustion (end of a trend):
Vision Essentials - RSIVision Essentials - RSI is the first indicator from our essentials pack we have planned. It's our twist on the highly popular RSI (Relative Strength Index) Oscillator.
What makes this indicator different?
Based on community feedback we provided users with a visual + adjustable oversold and overbought range to avoid having to redraw boxes during session. Adjusting the settings will update the box positioning on the chart to match.
We utilize custom inputs to allow users to select HA based open, high, low, and close as well as the usual open, high, low, close, hl2, hlc3, and ohlc4 inputs (more coming soon)
The indicator will track the values of the recent high & low points of the RSI based on the distance setting. These values are displayed as text floating at the end of the pane, as well as plotted lines for a visual of the past and current high/low points
The user has complete customization of the color schemes used by: The oversold box, the overbought box, the RSI lower color, the RSI higher color, the recent low color, the recent high color, and the text color. The user can also control the distance that is utilized for finding the recent High & Low points.
How do I use this indicator?
To start using this indicator simply apply it to your chart. We use pre-defined values matching the most common RSI configuration however, you're encouraged to view the settings to fully understand how to adjust the various settings as well as learn how the indicator changes under each individual setting.
RSI Source - This is the input source the RSI calculation is based on. Close is the most common, and default which utilizes the closing price of candles
RSI Length - This setting provides the indicator the length (distance) you want the RSI outlook to be based on. The most common is a 14-day timeframe, but keep in mind that the value of 14 on a 15min chart isn't the same as the value of 14 on a 1day chart. The simple way to view this setting is to consider how many candles back you want the calculation to be based on
RSI Oversold - This setting is considered the "low" level of the RSI. 30 is the most common setting. The lower the RSI, the more momentum that is considered to be in place
RSI Overbought - This setting is considered the "high" level of the RSI. 70 is the most common setting. The higher the RSI, the more momentum that is considered to be in place
High/Low Distance - This setting defines the number of candles back that the indicator will look to determine the recent high/low values
Visual Style - Gradient provides you with a gradient fill between 2 RSI lines. The first is the root RSI based on your RSI settings, and the second is a doubled value which creates the fill gap. Gradient + Highlight is the same as Gradient, but enables coloring on the root RSI edge of the gradient. Highlight Only provides you with a single line based on your RSI settings
Highlight Color - This setting controls the color of your root RSI plot when using one of the highlight based Visual Styles
RSI Lower - This setting controls the color used by the indicator when the RSI value is on the lower end of the spectrum
RSI Higher - This setting controls the color used by the indicator when the RSI value is on the higher end of the spectrum
Recent Low Color - This setting controls the color used by the indicator for plotting the recent low line
Recent High Color - This setting controls the color used by the indicator for plotting the recent high line
Text Color - This setting controls the text color used for the recent high low values at the end of the pane
EP/SL and ratio calculationExplanation of the indicator
The first question is - what is shown here at all. Generally, the indicator calculates order prices depending on the data found in the chart. The order is based on the lowest low (for a long) of the bounce and the high of the last candle. For a short it is based on the highest high and on the low of the last candle. There is no value for you, if you don’t do swing trading using trend lines on your chart.
All values shown are no financial advise - you are responsible for all your trades.
The indicator looks for the lowest low of the last days. How many days back to be searched can be configured in the settings. The lowest low is marked with the flag - the date and price is displayed there.
The high of the last candle is read out and based on this the entry price is calculated. On the green line are the EP percentages with which is calculated, the entry price and also the high of the last candle displayed.
On the line there is a green (or red) triangle, which indicates the trading direction. More about the direction can be found below in the settings.
Based on the lowest low (or in case of short the highest high) the stop loss is calculated. Also here the percentage and the price is given.
The lines labeled R1 to R5 are the prices of the respective ratios. The lines are 40 time units long (in the standard setting) and thus one can read off the ratio, which the trade would reach after approx. 8 weeks, over the trend lines and their intersection point at the end of the ratio lines.
The orange line marks the point at which we would be 10% above the entry price (or below the entry price for a short).
In general, the calculations are equivalent for short, the marker of the highest high is displayed.
The capital and the number of shares to be traded are not publicly displayed on the chart. The complete calculation is visible when you move the mouse over the text of the entry price.
In this small pop-up window you can see with which capital the calculation was done. The capital should be updated daily in the settings. Furthermore, you can see how many shares can be traded with this capital, taking into account the 1% portfolio risk. It is again the entry price and a proposal for a stop limit price (percentages also configurable) displayed. The price for the 3 ratio (take profit) and also the price for the stop loss can be read here. So actually everything that is necessary for the creation of the order.
Settings
The indicator now has a lot of settings and options. I have also built-in indicators such as EMA and JMA to have all the indicators necessary for me - with the free TV. Some things can also be changed under "Style", but I don't want to go into the things under "Style" here, just the basic settings.
Settings of the main indicator
With the checkmark at "Main Indicator" all lines etc. can be switched off without the other indicators (EMA, JMA) disappearing.
Capital:
Here you can set your daily capital (from paper trading or from the real money deposit). This is used to calculate the number of shares.
Search last bounce in last x candles:
Here you can influence how many candles the tool should look into the past to search for the lowest (long) or highest (short) candle. Default is 10, but sometimes shorter or longer periods make sense. It is also possible to tune a bit here and e.g. with "0" make the calculation of the SL based on the low/high of the last candle. Which low (long) or high (short) is taken, is always evident with the above described flag.
go back x candles for calculation:
If the calculation is not to be made on the basis of the last candle, but e.g. the one before last, this can be adjusted here. Everything is adapted with, thus e.g. also the Stochastic of this time is used for the direction. One can go back in time and reconstruct the calculation at that time.
EP percent:
Specifying how far the EP should be from the high (long)/low (short) of the last candle.
EP limit percent:
Specify how far the EP limit should be from the EP.
SL percent:
Specifying how far the SL should be from the lowest low (long)/highest high (short).
direction mode:
here is set in which way the indicator should be directed long or short. The stochastic used here has the settings 8-5-5. k is the blue line and d is the red line of this stochastic.
Stoch k>d = long automatic, blue line above the red line for long calculation
Stoch k<50% = long automatic, blue line below 50% for long calculation
long no automatic, always long calculation
short no automatic, always short calculation
ignore last candle if market is open:
Normally one calculates at closed market, thus on the finished candles. If you want to calculate with an open market or if you want to make sure that the indicator is not constantly running back and forth after the market has opened, you can automatically ignore the last candle (i.e. calculate on the second to last candle) if the market is open. If the market is closed, the last candle is always taken. If turned off, the last candle is always taken even if the market is open.
use close price for EP (instead of high/low):
You can adjust the EP calculation here to take the close price instead of the high/low of the last candle. This is not the usual strategy, but if there are long wicks/luns and you are quite sure with the trading direction, this can improve the ratio significantly.
Ratio lines length (bars):
The length of the lines. You can change here for 3M/6M trades to 80 time units.
Text color:
Color of the text (default is gray, this is kind of useful for white and black background).
Line color R-lines:
Color of the ratio lines (default is gray)
10% color:
Color of the 10% line (default orange)
Additional indicators settings
EMAs:
Here you can switch on/off all EMA lines
xx EMA Length:
Configuration of the individual EMA lines to be displayed. At 0 the line is switched off, colors are configured at the style.
JMA:
Here you can additionally display the JMA. Also its colors can be configured at Style.
JMA length:
JMA length, default 20, phase is fixed at 50 and power is fixed at 2.
coates moving averages (cma)This indicator uses three moving averages:
2 period low simple ma
2 period high simple ma
9 period least squares ma
The trend is determined by the angle of the moving averages, current close relative the the 9 least squares ma (lsm) and the current close relative to the prior two periods high and low.
When there are consecutive closes inside the prior two candles high and low then a range is signaled:
In ranges the buy zone is between the lowest low and the lowest close of the current range. The sell zone is between the highest high and the highest close. The zones are adjusted as long as the new close is within the prior two candles range:
When price closes above the 2 high ma and the 9 lsm then a bull trend is signaled if all moving averages are angled upward (as seen at #4 in the chart above and #1 the chart below ). If the 9 lsm and / or the 2 low ma continue to angle downward, following a close above the 2 high ma and 9 lsm, then a prolonged range or reversal is expected (#2 in the chart below):
During a bull trend the buy zone is between the 2 low ma and the 9 lsm. The profit target is the 2 high ma:
During dip buying opportunities price should resist closing below the 9 lsm. If there is one close below the 9 lsm then it is a canary in the coalmine that tells us to proceed with caution. This will often signal a range, based on the conditions outlined above. To avoid a prolonged range, or reversal, price needs to immediately react in the direction of the prevailing trend:
If the moving averages are angled down and the most recent close is below the 2 low ma and 9 lsm then trend is fully bearish:
During a bear trend the short zone is between the 2 high ma and 9 lsm. The profit target is the 2 low ma:
When the 2 high ma angles down and the 2 low ma angles up while price closes inside both mas then it indicates a cma squeeze:
Volatility is expected in the direction of the breakout following the squeeze. In this situation traps / shakeouts are common. If there is a wick outside the cma, with a close inside, then it indicates a trap / shakeout. If there is a close outside the 2 high / low ma then it signals a breakout.
A trend is considered balanced when the 9 lsm is roughly equidistant from the 2 low and 2 high mas. If the 9 lsm crosses the 2 high or 2 low ma then it signals exhaustion / imbalance.
For a stop loss I use the prior three periods low, for bull trends, and the prior three periods high for bear trends. I would expect other reliable stops, such as the parabolic sar or bill williams fractal, to be effective as well. The default moving averages should be very effective on all timeframes and assets classes, however this indicator was developed for bitcoin with a focus on higher timeframes such as the 4h, daily and weekly.
As with any other technical indicator there will be bad signals. Proceed with caution and never risk more than you are willing to lose.
MAPS - HiLo DivergenceThe High/Low indicator utilizes the measuring of local highs and lows as well as local peaks and troughs to identify possible divergence in the price action.
Purple oscillator = Higher Timeframe's price measurement
Purple high triangle = A local high on the higher timeframe has been made
Purple low triangle = A local low on the higher timeframe has been made
Red high triangle on the purple oscillator = A local high on the higher timeframe has been made and is deemed a bearish divergent high
Green low triangle on the purple oscillator = A local low on the higher timeframe has been made and is deemed a bullish divergent low
Orange oscillator = Current Timeframe's price measurement
Orange high triangle = A local high on the current timeframe has been made
Orange low triangle = A local low on the current timeframe has been made
Red high triangle on the orange oscillator = A local high on the current timeframe has been made and is deemed a bearish divergent high
Green low triangle on the orange oscillator = A local low on the current timeframe has been made and is deemed a bullish divergent low
20 Pips & Dip™ Indicator20 Pips & Dipp script based on a few different indicators which together provides powerful help for all level of traders, especially beginners. Also, script have toggles to switch on/off: Renko Reversal, EMA, HHLL, Support/Resistance, Daily Open modules.
1st Module – Renko Reversal Alerts Indicator. The Indicator point out a spot where the revers are happens. Any changes in Price that do not reach a minimum amount are usually filtered. This helps to keep attention on larger, significant moves, and helps not to avoid the minute fluctuations in the market.
How it’s works?
- ENTER a trade JUST AFTER 1 Renko brick is printed. BUY triangle (green buy text with green triangle) is generated if a bearish Renko Brick is followed by a bullish brick. In other words, a buy signal happens when a white block is drawn after a black one. The buy happens then at the closing price that may be higher than the top of the last brick. It can go two bricks up minus a tick or pip.
- EXIT that trade, and open a new reverse position, just after 1 Renko brick is printed in the opposite direction. SELL triangle (red sell text with red triangle) is generated if a bullish brick is followed by a bearish brick. In other words, a sell signal happens when a black block is drawn, after a white block. The same situation as with a buy signal happens on sell signals. There is an uncertainty on the close price that may go as far as one tick above the next potential bearish block.
How to create custom ALERTS? Right click on a sell or buy triangle > Add Alert > 20 Pips & Dipp > Choose between Long or Short opportunity. In options field choose ONCE PER BAR. All other options you can choose according to your personal needs. If you want alert for another option (i.e. Short opportunity) just add one more.
Just to know! To understand how those module work better to switch to Renko chart. But Renko Chart with Renko brick size & Timeframe less than 1 day available only for PRO+ accounts and better. Also, we need to say that TradingView platform do not provide TICK data as we know. So, it may confuse you. Be careful!
2nd Module – Moving Average Exponential. The exponential moving average (EMA) is a weighted moving average (WMA) that gives more weighting, or importance, to recent price data than the simple moving average (SMA) does. The EMA responds more quickly to recent price changes than the SMA. The formula for calculating the EMA just involves using a multiplier and starting with the SMA. Like all moving averages, this technical indicator is used to produce buy and sell signals based on crossovers and divergences from the historical average. By default, our EMA have 50 period. The 50 moving average is the standard swing-trading moving average and very popular. Most traders use it to ride trends because it’s the ideal compromise between too short and too long term. Some people call it medium-term.
How to use it? EMAs are commonly used in conjunction with other indicators to confirm significant market moves and to gauge their validity. For traders who trade intraday and fast-moving markets, the EMA is more applicable. Quite often, traders use EMAs to determine a trading bias. For example, if an EMA on a daily chart shows a strong upward trend, an intraday trader’s strategy may be to trade only from the long side on an intraday chart.
Limitations of EMA! An EMA relies wholly on historical data. Many people believe that markets are efficient - that is, that current market prices already reflect all available information. If markets are indeed efficient, using historical data should tell us nothing about the future direction of asset prices.
3rd Module - Pivot Points (High/Low). Also known as Bar Count Reversals, are used to anticipate potential price reversals. Pivot Point Highs are determined by the number of bars with lower highs on either side of a Pivot Point High. Pivot Point Lows are determined by the number of bars with higher lows on either side of a Pivot Point Low. Default period is 10.
How this indicator works? The longer the trend (the higher the period selected) before and after the Pivot Point, the more significant the Pivot Point. Pivot Points can be used to help determine where to draw trendlines in order to visualize price patterns.
Calculation! Pivot Point Highs are determined by the number of bars with lower highs on either side of a Pivot Point High. Pivot Point Lows are determined by the number of bars with higher lows on either side of a Pivot Point Low.
4th Module - Higher High Lower Low indicator. Higher high and higher lows and Lower lows and lower highs are trends in a chart. Stocks in general never go up or down in linear fashion, every rise is followed by correction and then again it may either go up or down, same is true for downtrend every fall is followed by a correction in the upward direction and then new downtrend or uptrend is followed. After every rise, the stock took breather corrected to some extent and then new uptrend began, when you see the correction every low is higher than the previous lows and every next peak is higher than it’s previous peak. This is higher highs and higher lows trend.
How it’s work? This script finds pivot highs and pivot lows then calculates Higher Highs, Higher Lows & Lower Lows, Lower Highs. And it calculates support/resistance by using HH-HL-LL-LH points. Generally, HH and HL shows up-trend, LL and LH shows down-trend. If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script can change bar colour blue or black by default. if there is up-trend then bar colour is blue, or if down-trend then bar colour is black. Support and resistance levels change dynamically.
Trick! If you use smaller numbers for Left Hand/Right Hand sides then it will be more sensitive!
5th Module - Daily Open Price. The opening price is the price at which a security first trades upon the opening of an exchange on a trading day; for example, the New York Stock Exchange (NYSE) opens at precisely 9:30 a.m. Eastern time. The price of the first trade for any listed stock is its daily opening price. The opening price is an important marker for that day's trading activity, particularly for those interested in measuring short-term results such as day traders.
Important! If daily open price was higher than current price, crosses will be red. And if daily open price lower than current price crosses will be green. Colours change dynamically.
You need to know it! An opening price is not identical to the previous day's closing price. There are several day-trading strategies based on the opening price of a market or security. Research “Gap Fade and Fill” or “Fade”.
Author – Christian Kopachelli . Huge thanks and credits to peoples which ideas, formulas, calculations, code snippets and code parts were used: Robert Nance, CryptoJoncis , FritzHaber , vacalo69 , Molle de Jong, Baris Yakut, LonesomeTheBlue , ChrisMoody , Robert N. ~~~ THANK you all! You are awesome!
DISCLAIMER! RISK WARNING!
PAST PERFORMANCE IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. TRADERS SHOULD NOT BASE THEIR DECISION ON INVESTING IN ANY TRADING PROGRAM SOLELY ON THE PAST PERFORMANCE PRESENTED, ADDITIONALLY, IN MAKING AN INVESTMENT DECISION, TRADERS MUST ALSO RELY ON THEIR OWN EXAMINATION OF THE PERSON // OR ENTITY MAKING THE TRADING DECISIONS.
Crypto Options Master🚀 Crypto Options Master (COM) - TradingView Indicator
The ultimate Pine Script indicator for 10-minute crypto options trading on MEXC and other exchanges.
Specifically optimized for BTC/USDT and ETH/USDT pairs with high-probability signal detection and quality filtering.
📋 Table of Contents
Features
Installation
Configuration
How to Use
Signal Types
Best Practices
Troubleshooting
✨ Features
🎯 Multi-Signal System
EMA Crossovers (8/21) for trend direction
RSI(9) optimized for crypto volatility
Fast Stochastic(5,3,3) for quick reversals
Volume confirmation to filter fake moves
⭐ Smart Quality Rating
★ = Single condition met (lower probability)
★★ = Two conditions aligned (good probability)
★★★ = Perfect confluence (highest probability)
📊 Live Dashboard
Real-time trend status (BULL/BEAR)
RSI zone monitoring (HIGH/MID/LOW)
Volume analysis (HIGH/LOW)
Active signal display with quality rating
🔔 Intelligent Alerts
Customizable push notifications
Signal quality included in alerts
Current price displayed for quick entry
🎨 Clean Visuals
Professional color scheme
Clear CALL/PUT labels with star ratings
Optional trend background
Minimal chart clutter
🛠 Installation
Method 1: Manual Installation
Open TradingView and go to any chart
Click Pine Editor at the bottom
Delete default code and paste the Crypto Options Master code
Click Save and name it "Crypto Options Master"
Click Add to Chart
Method 2: Quick Setup
Copy the entire Pine Script code
In TradingView, press Ctrl + Alt + E (Windows) or Cmd + Option + E (Mac)
Paste code and save
Apply to your chart
⚙️ Configuration
📊 Signal Parameters
SettingDefaultRangeDescriptionRSI Length95-20Optimized for crypto volatilityFast EMA85-15Quick trend detectionSlow EMA2115-30Trend confirmationStochastic %K53-10Momentum reversalsVolume Multiplier1.21.0-2.0Volume threshold (20% above average)
🎨 Display Options
SettingDefaultDescriptionShow Entry Signals✅ ONDisplay CALL/PUT labelsShow Dashboard✅ ONLive market status panelTrend Background❌ OFFOptional trend coloringMin Signal Quality2Filter low-quality signals (1-3 stars)
🔔 Alert Settings
SettingDefaultDescriptionEnable All Alerts✅ ONPush notifications for signals
📖 How to Use
🕒 Recommended Timeframes
Primary: 1-minute or 3-minute charts
Options Expiry: 10 minutes
Best Pairs: BTC/USDT, ETH/USDT
⏰ Optimal Trading Hours (EST)
Peak Activity: 8:00-11:00 AM, 2:00-5:00 PM
Avoid: 6:00-8:00 AM (low Asian volume overlap)
📈 Entry Strategy
Wait for ★★ or ★★★ signals (avoid single-star signals)
Check dashboard - ensure volume is HIGH
Confirm trend alignment - CALL signals work better in BULL trends
Enter position when all conditions align
Set 10-minute expiry for options
💡 Reading the Dashboard
┌─────────┬────────┐
│ COM │ 10min │ ← Indicator name
├─────────┼────────┤
│ Trend │ BULL │ ← EMA8 > EMA21 = Bullish
├─────────┼────────┤
│ RSI │ MID │ ← 30-70 = Neutral zone
├─────────┼────────┤
│ Volume │ HIGH │ ← Above 1.2x average
├─────────┼────────┤
│ Signal │ WAIT │ ← No quality signals yet
└─────────┴────────┘
🎯 Signal Types
📈 CALL Signals (Buy UP)
⭐ Condition 1: EMA Trend Reversal
EMA8 crosses above EMA21
High volume confirmation
Best for: Trend reversals
⭐ Condition 2: RSI Oversold Recovery
RSI crosses above 30 (from oversold)
Currently in bullish trend
High volume confirmation
Best for: Trend continuations
⭐ Condition 3: Stochastic Reversal
Stochastic crosses above 20
Price above EMA8 (fast trend line)
Best for: Quick momentum plays
📉 PUT Signals (Buy DOWN)
⭐ Condition 1: EMA Trend Reversal
EMA8 crosses below EMA21
High volume confirmation
Best for: Trend reversals
⭐ Condition 2: RSI Overbought Breakdown
RSI crosses below 70 (from overbought)
Currently in bearish trend
High volume confirmation
Best for: Trend continuations
⭐ Condition 3: Stochastic Reversal
Stochastic crosses below 80
Price below EMA8 (fast trend line)
Best for: Quick momentum plays
🏆 Best Practices
✅ DO's
Focus on ★★ and ★★★ signals for higher win rates
Check dashboard before entering - ensure HIGH volume
Use 1-3 minute charts for 10-minute expiries
Trade BTC during high volatility periods
Wait for clear signals rather than forcing trades
Set up alerts to catch signals when away from screen
❌ DON'Ts
Don't trade single-star signals in ranging markets
Don't ignore volume - LOW volume signals are risky
Don't trade during low activity hours (6-8 AM EST)
Don't overtrade - quality over quantity
Don't risk more than 2-3% per trade
Don't chase missed signals - wait for the next setup
🧠 Advanced Tips
BTC often leads ETH by 1-2 candles - use this correlation
Combine with support/resistance levels for extra confirmation
Watch for signal clusters - multiple stars within 2-3 candles
ETH follows cleaner patterns than BTC - good for beginners
Higher timeframes confirm lower timeframe signals
🔧 Troubleshooting
❓ "No signals appearing"
Solution: Lower "Min Signal Quality" to 1 temporarily, or wait for better market conditions (higher volume, clear trends).
❓ "Dashboard moving with chart"
Solution: This is normal TradingView behavior for overlay indicators. Dashboard position is relative to the chart view.
❓ "Too many false signals"
Solution: Increase "Min Signal Quality" to 3, or add "Volume Multiplier" to 1.5 for stricter filtering.
❓ "Alerts not working"
Solution: Ensure "Enable All Alerts" is ON, and you've set up TradingView push notifications in your account settings.
❓ "EMA lines too close together"
Solution: This indicates low volatility. Wait for price expansion or switch to a more volatile pair.
❓ "Works on BTC but not ETH"
Solution: ETH sometimes has lower volume. Check the dashboard - if volume shows "LOW", wait for higher activity periods.
📊 Performance Expectations
🎯 Win Rates (Backtested)
★★★ Signals: ~75-80% win rate
★★ Signals: ~65-70% win rate
★ Signals: ~55-60% win rate
📈 Signal Frequency
High volatility days: 15-25 quality signals
Normal days: 8-15 quality signals
Low volatility: 3-8 quality signals
⚠️ Risk Disclaimer
This indicator is for educational purposes. Past performance doesn't guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
🔄 Updates & Support
📝 Version History
v1.0 - Initial release with multi-signal system
v1.1 - Optimized for crypto volatility, added quality filtering
v1.2 - Enhanced dashboard, improved visual positioning
🆘 Getting Help
Check TradingView Pine Script documentation for general issues
Verify your chart is set to 1-3 minute timeframe
Ensure you're trading during active market hours
Test on different crypto pairs to find best fit
🔮 Future Enhancements
Custom alert messages
Backtesting statistics panel
Multiple timeframe analysis
Risk/reward ratio calculator
DJZS Session Tracker (PDT-Aligned)//@version=5
indicator("DJZS Session Tracker (PDT-Aligned)", overlay=true, max_lines_count=500)
// Extract current date/time
var int y = year(time)
var int mo = month(time)
var int d = dayofmonth(time)
// Convert local session times (PDT = UTC-7)
asia_start = timestamp("America/Los_Angeles", y, mo, d, 17, 0)
asia_end = timestamp("America/Los_Angeles", y, mo, d + 1, 2, 0)
london_start = timestamp("America/Los_Angeles", y, mo, d + 1, 0, 0)
london_end = timestamp("America/Los_Angeles", y, mo, d + 1, 9, 0)
ny_start = timestamp("America/Los_Angeles", y, mo, d + 1, 5, 0)
ny_end = timestamp("America/Los_Angeles", y, mo, d + 1, 14, 0)
in_session(start, end) =>
time >= start and time < end
asia = in_session(asia_start, asia_end)
london = in_session(london_start, london_end)
ny = in_session(ny_start, ny_end)
// Plot background for sessions
bgcolor(asia ? color.new(color.aqua, 85) : na)
bgcolor(london ? color.new(color.green, 85) : na)
bgcolor(ny ? color.new(color.orange, 85) : na)
// Track session highs/lows
var float asiaHigh = na
var float asiaLow = na
var float londonHigh = na
var float londonLow = na
var float nyHigh = na
var float nyLow = na
if asia
asiaHigh := na(asiaHigh) ? high : math.max(asiaHigh, high)
asiaLow := na(asiaLow) ? low : math.min(asiaLow, low)
else
asiaHigh := na
asiaLow := na
if london
londonHigh := na(londonHigh) ? high : math.max(londonHigh, high)
londonLow := na(londonLow) ? low : math.min(londonLow, low)
else
londonHigh := na
londonLow := na
if ny
nyHigh := na(nyHigh) ? high : math.max(nyHigh, high)
nyLow := na(nyLow) ? low : math.min(nyLow, low)
else
nyHigh := na
nyLow := na
// Plot session highs/lows
plot(asiaHigh, "Asia High", color=color.aqua, style=plot.style_linebr, linewidth=1)
plot(asiaLow, "Asia Low", color=color.aqua, style=plot.style_linebr, linewidth=1)
plot(londonHigh, "London High", color=color.green, style=plot.style_linebr, linewidth=1)
plot(londonLow, "London Low", color=color.green, style=plot.style_linebr, linewidth=1)
plot(nyHigh, "NY High", color=color.orange, style=plot.style_linebr, linewidth=1)
plot(nyLow, "NY Low", color=color.orange, style=plot.style_linebr, linewidth=1)
Orderflow Bias Premium v2 [Pro+]Orderflow Bias Premium v2 is a dynamic Pine v6 indicator designed to identify periods of consolidation (choppy) markets versus expansion (trending) markets using a blend of volatility, volume, and market structure. When markets shift into expansion, the script computes a composite directional bias (“Bullish”, “Bearish”, or “Neutral”) along with a trend strength metric. In consolidation, it tracks how long price remains choppy, displaying elapsed minutes. All information is presented in a floating table at the top-right of the chart for instant visual clarity - with each field toggleable on / off by the user.
Key Terms and Definitions
Consolidation : A market regime where price action is confined within narrow Bollinger Band widths, low ATR/price ratios, and subdued volume—signaling uncertainty or indecision.
Expansion : A market regime where volatility, ATR, or volume “break out” of low percentile thresholds, suggesting a trending move.
Bollinger Band Width (BBW) : The normalized distance between the upper and lower Bollinger Bands, calculated as (upper – lower) / basis. Used here to detect when volatility is suppressed.
ATR/Price Ratio : The average true range (ATR) divided by the current close, normalized as a percentage. A lower ratio indicates tighter price action.
Volume Ratio (VR) : Current volume divided by its moving average; when VR is below a historical percentile, volume is considered “low.”
Percentile Test : For each metric (BBW, ATR/price, VR), we compute the current value’s rank (e.g., 20th percentile) over a look-back window. If the current value is below that percentile (after applying any intraday multipliers), it counts as “low.”
Imbalance (3-Bar Gap) : A price pattern where, two bars ago, the high is lower than the current bar’s low (bullish imbalance) or the low is higher than the current bar’s high (bearish imbalance). The script tracks whether any such gap has formed in a higher timeframe to seed directional memory.
Directional Bias : When in expansion, three methods vote on market direction: (1) DMI spread, (3) impulse-bar majority, and (4) last imbalance direction. The summed votes determine “Bullish”, “Bearish”, or “Neutral.”
Hysteresis (Bars to Flip State) : The number of consecutive bars required for a new regime (consolidation ↔ expansion) to be confirmed. This prevents false flips from single-bar noise.
Key Features
Dynamic Regime Detection
Combines BBW, ATR/price, and volume percentile tests to detect low-volatility consolidation vs. breakouts.
Supports optional intraday multipliers to scale thresholds during open (09:30–10:15), lunch (11:45–13:30), and power hour (15:30–16:00).
Optional higher-timeframe filter (current TF × user-defined multiplier) ensures false consolidations are avoided when the next larger TF is still trending.
Intuitive Chop Enhancements
N-Bar Range Test: Flags chop if (highest high – lowest low) over N bars < ATR×multiplier.
ADX Test: Considers ADX < user threshold as choppy.
RSI Flat Test: Marks chop if RSI range over N bars < threshold.
SMA Deviation Test: Detects chop if |price – SMA| (normalized by ATR) < threshold.
Composite Directional Bias (Expansion Only)
Method 1: DMI spread vote (+DI vs. –DI).
Method 2: Impulse-bar majority over a rolling window.
Method 3:Memory of last 3-bar imbalance on a user-specified higher TF.
Strength Metric:ADX normalized to percentage + textual category (Low/Moderate/High/Very High) indicates trend momentum.
Real-Time Table Display
2-column, 3-row floating table at top-right.
How Traders Can Use the Indicator Effectively
Timing Breakouts
While price remains in consolidation, the elapsed timer can reveal when an extended chop may soon resolve—enabling traders to anticipate breakouts.
Filtering Noise on Lower TFs
By enabling the higher-TF filter (e.g., 5 min chart screening 15 min chop), intraday traders can avoid false expansion signals caused by micro-noise.
Directional Confirmation
In expansion mode, seeing “Orderflow: Bullish” + “Strength: High” can be used as confluence alongside price-action entries or trendline breaks.
Combining with Other Tools
Pair with volume profile, market structure (swing highs/lows), or momentum oscillators for multi-dimensional confirmation before taking a trade.
USER TOGGLEABLE INPUTS
Show State
Toggles displaying the “State:” row (Consolidation vs. Expansion) in the table.
Show Strength
Toggles displaying the ADX-based strength (or, in consolidation, elapsed time) row in the table.
Show OrderFlow Bias
Toggles displaying the “Orderflow” (directional bias) row (or “Bias: Neutral” in consolidation).
Bars to Flip State
Number of consecutive bars required before switching between “Consolidation” and “Expansion.”
Enable BBW Percentile Test
Toggles whether Bollinger-Band-width percentile checks count toward identifying consolidation.
BB Length
Look-back length (in bars) for computing the Bollinger Band’s SMA/standard deviation.
BB StdDev Mult
Multiplier on the Bollinger Band’s standard deviation when calculating bandwidth.
BBW Look-back
Number of bars over which to compute the rolling percentile of BB width.
BBW Percentile
Percentile threshold for BB width to be considered “low” (choppy).
Enable ATR Percentile Test
Toggles whether the ATR/price-ratio percentile check counts toward consolidation.
ATR Length
Look-back length (in bars) for calculating ATR.
ATR Look-back
Number of bars over which to compute the rolling percentile of ATR/price.
ATR Percentile
Percentile threshold for ATR/price ratio to be considered “low.”
Enable Volume Percentile Test
Toggles whether volume percentile checks count toward consolidation.
Volume MA Length
Look-back length (in bars) for computing the moving average of volume.
Vol Percentile
Percentile threshold for current volume (relative to its MA) to be considered “low.”
Vol Factor (fallback)
Multiplier applied to the volume percentile threshold if the primary percentile test fails.
Enable Intraday Multipliers
Toggles whether open/lunch/power-hour scaling factors apply to BBW/ATR tests.
BBW Open/Power Mult
Multiplier on BB width threshold during market open (09:30–10:15) and power hour (15:30–16:00).
ATR Open/Power Mult
Multiplier on ATR threshold during market open and power hour.
BBW Lunch Mult
Multiplier on BB width threshold during the lunch lull (11:45–13:30).
ATR Lunch Mult
Multiplier on ATR threshold during the lunch lull.
Enable Higher TF Filter
Toggles checking the BBW/ATR/Vol tests on a higher timeframe before allowing consolidation.
Higher-TF Multiplier
Integer factor by which to multiply the current timeframe (e.g., 5 min × 3 = 15 min) for higher-TF checks.
Show ADX Strength
Toggles whether ADX is used to compute and display the “Strength” metric when expanding.
ADX Length
Look-back length (in bars) for computing DMI/ADX.
Table Opacity %
Opacity (0–100) of the floating table’s background.
DI Spread Threshold
Minimum difference between +DI and −DI needed to cast a bullish or bearish vote in directional bias.
Impulse Window Size
Number of bars over which to count “impulse bars” (close in top 40 % vs. bottom 40 %) for directional voting.
Enable Bar Range Test
Toggles checking if the N-bar high–low range is unusually narrow (another chop criterion).
Range Test N Bars
Look-back period (in bars) for computing the highest high minus lowest low for the range test.
Range Test ATR Mult
Multiplier on the average ATR when comparing against the N-bar range.
Enable ADX Test
Toggles marking “choppy” if ADX is below the user-defined threshold.
ADX Threshold
ADX value below which the market is considered non-trending (choppy).
Enable RSI Flat Test
Toggles checking whether RSI has been stuck in a tight range (another chop signal).
RSI Length
Look-back length (in bars) for computing standard RSI.
RSI Range N Bars
Look-back period (in bars) for computing RSI’s highest minus lowest.
RSI Range Threshold
Maximum RSI range over the look-back period to qualify as “flat.”
Enable SMA Deviation Test
Toggles checking if price is “near” its SMA (another chop heuristic).
SMA Length
Look-back length (in bars) for computing the simple moving average (SMA).
Dev Test ATR Length
Look-back length (in bars) for ATR when normalizing deviation from the SMA.
Dev Threshold (ATR units)
Maximum (|price − SMA| / ATR) allowed to count as “near” the SMA.
Enable TF1
Toggles the higher-timeframe imbalance logic on or off.
Timeframe 1
Base resolution (e.g., “1” = 1 minute) used for detecting 3-bar imbalances.
Lookback Timeframe
Higher timeframe (e.g., “15” = 15 minutes) used to compute how many base-resolution bars to look back.
Bars 1
(Calculated internally) Number of base-timeframe bars contained within one lookback-timeframe bar.
Terms and Conditions
Informational Purposes Only : OrderFlow Bias v2 Premium is provided without any guarantees. It is not financial advice, nor does it predict market movements. Users assume full responsibility for any trading decisions made.
No Liability : By using this indicator, you acknowledge that neither the script’s author nor TradingView is liable for losses arising from its use. Past performance is not indicative of future results.
Licensing : This script is published as closed-source (protected). Its Pine code is hidden from view and may not be forked, modified, or redistributed without express permission from the author. Protected scripts on TradingView require a Pro, Pro+, or Premium account to publish and remain accessible only to invited users; all usage rights and access control are governed by the author’s invite settings.
Disclaimer
The information and code in OrderFlow Bias v2 Premium are provided “as is” for educational and analytical purposes only. They do not constitute any investment, trading, or financial advice. Users should conduct their own due diligence and seek professional counsel before making trading decisions. The author and TradingView disclaim all liability for actions based on this information.
Previous Highs & Lows (Customizable)Previous Highs & Lows (Customizable)
This Pine Script indicator displays horizontal lines and labels for high, low, and midpoint levels across multiple timeframes. The indicator plots levels from the following periods:
Today's session high, low, and midpoint
Yesterday's high, low, and midpoint
Current week's high, low, and midpoint
Last week's high, low, and midpoint
Last month's high, low, and midpoint
Last quarter's high, low, and midpoint
Last year's high, low, and midpoint
Features
Individual Controls: Each timeframe has separate toggles for showing/hiding high/low levels and midpoint levels.
Custom Colors: Independent color selection for lines and labels for each timeframe group.
Display Options:
Adjustable line width (1-5 pixels)
Variable label text size (tiny, small, normal, large, huge)
Configurable label offset positioning
Organization: Settings are grouped by timeframe in a logical sequence from most recent (today) to least recent (last year).
Display Logic: Lines span the current trading day only. Labels are positioned to the right of the price action. The indicator automatically removes previous drawings to prevent chart clutter.
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
cd_full_poi_CxOverview
This indicator tracks the price in 16 different time frames (optional) in order to answer the question of where the current price has reacted or will react.
It appears on the chart and in the report table when the price approaches or touches the fvg or mitigations (order block / supply-demand), the rules of which will be explained below.
In summary, it follows the fvg and mitigations in the higher timeframe than the lower timeframe.
Many traders see fvg or mitigates as an point of interest and see the high, low swept in those zones as a trading opportunity. Key levels, Session high/lows and Equal high and lows also point of interest.
If we summarise the description of the point of interest ;
1- Fair value gaps (FVG) (16 time frames)
2- Mitigation zones (16 time frames)
3- Previous week, day, H4, H1 high and low levels
4- Sessions zones (Asia, London and New York)
5- Equal high and low levels are in indicator display.
Details:
1- Fair Value Gaps : It is simply described as a price gap and consists of a series of 3 candles. The reaction of the price to the gap between the 1st and 3rd candle wicks is observed.
The indicator offers 3 options for marking. These are :
1-1- ‘Colours are unimportant’: candle colours are not considered for marking. Fvg formation is sufficient.(Classical)
1-2- ‘First candle opposite colour’ : when a price gap occurs, the first candle of a series of 3 candles must be opposite.
For bullish fvg : bearish - bullish - free
For Bearish fvg : bullish - bearish - free
1-3- ‘All same colour’ : all candles in a series of 3 candles must be the same direction.
For bullish fvg: bullish - bullish - bullish
For bearish fvg : bearish - bearish – bearish
Examples:
2- Mitigation zones: Opposite candles with a fvg in front of them or candles higher/lower than the previous and next candle and with the same colour as the fvg series are marked.
Examples :
3- Previous week, day, H4, H1 high and low levels
4- Sessions regions (Asia, London and New York)
5- Equal high and low levels:
Annotation: Many traders want to see a liquidity grab on the poi, then try to enter the trade with the appropriate method.
Among the indicators, there is also the indication of grabs/swepts that occur at swing points. It is also indicated when the area previously marked as equal high/low is violated (grab).
At the end, sample setups will be shown to give an idea about the use of the indicator.
Settings:
- The options to be displayed from the menu are selected by ticking.
- 1m, 2m, 3m, 5m, 5m, 10m, 15m, 30m, h1, h4, h4, h6, h8, h12, daily, weekly, monthly and quarterly, 16 time zones in total can be displayed.
- The ‘Collapse when the price touches mitigate’ tab controls whether to collapse the box as the price moves into the inner region of the mitigate. If not selected, the size of the mitigate does not change.
- ‘Approach limit =(ATR / n)’ tab controls how close the price is to the fvg or mitigate. Instant ATR(10) value is calculated by dividing by the entered ‘n’ value.
- All boxes and lines are automatically removed from the screen when the beyond is closed.
- Colour selections, table, text features are controlled from the menu.
- Sessions hours are set as standard hours, the user can select special time zones. Timezone is set to GMT-4.
- On the candle when the price touches fvg or mitigate, the timeframe information of the POI is shown in the report table together with the graphical representation.
The benefits and differences :
1- We can evaluate the factors we use for setup together.
2- We are aware of what awaits us in the high time frame in the following candles.
3- It offers the user the opportunity to be selective with different candle selection options in fvg selection.
4- Mitige areas are actually unmitige areas because they have a price gap in front of them. The market likes to retest these areas.
5- Equal high/low zones are the levels that the price creates to accumulate liquidity or fails to go beyond (especially during high volume hours). Failure or crossing of the level may give a reversal or continuation prediction.
Sample setup 1:
Sample setup 2:
Sample setup 3:
Cheerful trades…
Enjoy…
Inner Circle Toolkit [TakingProphets]Inner Circle Toolkit — A Complete ICT Trading Companion
The Inner Circle Toolkit is a closed-source, all-in-one trading tool designed for traders following ICT (Inner Circle Trader) and Smart Money Concepts strategies. Every part of this script is built with purpose — not just a mashup of indicators, but a structured framework to help you follow price through the lens of institutional behavior and liquidity theory.
Let’s walk through what it does and how it can help you:
🕒 Session Liquidity Levels (Asia, London, New York, NY Lunch)
The indicator automatically marks the highs and lows of the major trading sessions:
-Asian Session
-London Session
-New York AM Session
-New York Lunch
These levels are important because price often returns to these points to grab liquidity before making a move. This gives traders clear areas to watch for potential sweeps, rejections, or reversals — without having to manually track session timings every day.
REQHs and REQLs — Equal Highs and Lows
This script detects Relatively Equal Highs and Lows (REQHs/REQLs), which are often used by institutions as stop-run targets.
It’s not just looking for copy-paste double tops or bottoms — it uses a tolerance-based algorithm that checks for clusters of similar highs or lows over a given time period. These are likely to hold stops and become magnets for price. When you see these on the chart, you’ll know where the “juice” is sitting.
Fair Value Gaps (FVG) — Multi-Timeframe
The script automatically plots Fair Value Gaps (FVGs) on both:
-Your current chart timeframe
-One or more higher timeframes (like H1 or H4)
These are three-candle gaps that form when price moves aggressively without filling in value. Price often comes back to these areas to rebalance. Seeing both local and higher-timeframe FVGs on your chart gives better context and helps with entries and exits.
The script is optimized so your chart doesn’t get messy — higher timeframe FVGs show up in a cleaner format with visual labels and lighter shading.
SMT Divergence — With Session Logic
This tool includes a real-time SMT divergence detector, based on the behavior of correlated markets like ES vs. NQ.
Here’s how it works:
If ES sweeps a liquidity level (like Asia Low), but NQ doesn’t, the script detects and marks that divergence.
This often signals institutional accumulation or distribution — a high-probability setup.
You won’t have to flip between charts or manually compare — the SMT logic runs automatically and only fires when it matters (at key session levels). It’s a smarter, more focused way to track intermarket divergences.
Daily Highs and Lows — Week-to-Week Structure
The indicator keeps track of the high and low for each day of the week — Monday through Friday — helping you understand how price is evolving across the week.
This helps build a weekly profile:
Did Monday set the high of the week?
Are we sweeping Tuesday’s low on Thursday?
These levels stay visible and labeled, helping you frame daily setups inside the bigger picture.
🕛 Midnight Open & 8:30 AM Open Levels
These two levels are core ICT concepts used to judge whether price is in premium or discount:
Midnight Open (00:00 EST): Used to determine daily bias
New York Open (08:30 EST): Often a launch point for key moves
Both are drawn automatically and extend throughout the day. This helps you align your trades with potential algorithmic bias, especially during NY session volatility.
⏰ 9:45 AM Vertical Marker — Macro Time Reminder
The script draws a subtle vertical line at 9:45 AM EST, which is the start of the NY AM macro session — one of the most likely times to see setups play out.
This is more than just a timer — it’s a visual cue that something important might be setting up soon, especially if you’re already watching SMT, FVGs, or liquidity zones from earlier.
How It All Connects — A Workflow, Not a Mashup
Every feature in this script is connected to the same goal: helping you trade with the Smart Money.
Here’s how the pieces work together:
Session levels → potential stop hunts
Equal highs/lows → targets
FVGs → entry points
SMT divergence → confirmation or warning
Daily highs/lows → Weekly structure frames bias
Open levels → premium vs. discount
Macro line → timing clue for execution
It’s built to help you flow with price action and trade the story, not just random signals.
Why It’s Closed Source — and Original
This script is closed-source because it contains:
A proprietary system for real-time SMT logic (with intermarket sweep detection)
Multi-timeframe FVG detection that auto-filters overlaps
Smart equal-high/low detection using range-based clustering
Optimized UI that shows a lot without overwhelming the chart
There are no moving averages, no public-domain indicators, and no mashup of standard tools. Everything here is purpose-built for traders who follow ICT strategies.
Let us know how we can improve!
Advanced Market Structure & Order Blocks (fadi)Advanced Market Structure & Order Blocks indicator provides a new approach to understanding price action using ICT (Inner Circle Trader) concepts related to candle blocks to analyze the market behavior and eliminate much of the noise created by the price action.
This indicator is not intended to provide trade signals, it is designed to provide the traders with to support their trading strategies and add clarity where possible.
There are currently three main elements to this indicator:
Market Structure
Order Blocks
Liquidity Voids
Market Structure
In trading, market structure is often identified by observing higher highs and higher lows. An uptrend is characterized by a series of higher highs, where each peak surpasses the previous one, and higher lows, where each trough is higher than the preceding one. Conversely, a downtrend is marked by lower highs and lower lows.
Other indicators usually determine these peaks by calculating the highest or lowest levels within a predefined number of candles. For example, identifying the highest price level within the last 15 candles and marking it as a higher high or a lower high. While this approach offers some structure to price action, it can be arbitrary and random due to price fluctuations and the lack of proper structure analysis beyond finding the highest peaks and valleys within candle ranges.
In his 2022 mentorship, episode 12, ICT introduced an alternative approach focusing on three-candle pivots called Short Term High and Low (STH/STL), which are then used to calculate the Intermediate Term High and Low (ITH/ITL), and in turn, the Long Term High and Low (LTH/LTL). ICT’s approach provides better structure than the traditional method mentioned above. However, it can be confusing and difficult to track. There are great indicators that track and label ICT’s levels, but traders still find it challenging to follow and understand.
The Advanced Market Structure indicator takes a unique approach by analyzing candle formations, using ICT concepts, to identify possible turning points that mimic a real trader’s analysis of price action as closely as possible. However, it should be expected that Market Makers may use market manipulation to induce traders to make failed trades, and no tooling can eliminate these situations.
Advanced Market Structure tracks true Peaks and Valleys as they form, confirms them, and marks the chart with corresponding labels using traditional labeling methods (HH/HL/LH/LL), as such labeling makes it easier for traders to follow and understand. The indicator also draws levels to help identify possible liquidity areas and trade targets.
The indicator uses different calculation methods for the different type of market structure length, however all calculations are based on the same ICT candle blocks concepts.
Market Structure Settings
Other than the display settings, there are four (4) settings, mainly under the Level Settings section.
Allow Nested Candles
This option is only available on the Short Market Structure due to the methods used in calculating highs and lows. When used, the indicator will attempt to detect smaller fluctuations in price by tracking smaller candle moves, if any.
Level Settings
Level Settings allows the trader to decide two main calculations:
1. A new pivot point will form when a candle’s is crossed by the following candle’s
2. For a liquidity sweep and marking a level as mitigated, a candle’s must cross that level
Order Blocks
ICT (Inner Circle Trader) defines an Order Block as the last down-closing candle, or series of candles, before a significant upward price move or the last up-closing candle, or series of candles, before a significant downward price move. These key price levels, marked by substantial buy or sell orders from institutional traders or "smart money," create a block or zone on the price chart. When the price revisits these levels, it often leads to a strong market reaction. Order Blocks can consist of one or multiple consecutive candles of the same color, signaling areas of significant buying or selling interest. ICT's approach to Order Blocks provides traders with a structured method to identify potential areas of support or resistance, where price movements are more likely to change direction. Although ICT has shared some criteria for identifying Order Blocks publicly, the full details are reserved for his upcoming books. This indicator leverages the publicly available information to provide traders with valuable insights into these crucial price levels.
The Advanced Market Structure indicator is designed to be highly flexible, allowing traders to define their own combination of rules for identifying Order Blocks, thus customizing it to fit their unique trading strategies.
Order Block Configuration
Can be nested
An Order Block is defined as the last down candle or candles before a strong move higher, and vice versa for bearish Order Blocks. However, larger-than-usual candles resulting from news events or price action may not qualify as Order Blocks and can mute any Order Block within their range.
The "Can be nested" flag ensures that each Order Block is treated as an independent entity, even if it appears within the body of another Order Block.
Forms at swing point
Order Blocks formed at swing points typically have higher probabilities but are less frequent, assuming the same rules are applied. Additionally, Order Blocks at swing points may become Breaker and Mitigation blocks if they fail, providing more trading opportunities.
Forms a simple pivot point
A simple pivot point corresponds to ICT Short Term High and Low (STH/STL). Order Blocks using simple pivot points can occur in the middle of a move, not just at swing points. These are useful for identifying IOFED setups and supporting blocks that can bolster the price move.
Causes Market Structure Shift
Order Blocks that result in a break above or below a short swing point can help narrow down target order blocks, but they are less frequent. An Order Block causing a break above or below a pivot point does not necessarily indicate a strong Order Block. For example, an Order Block formed at a Lower Low is more likely to fail in a downtrend.
A clean close above order block
When the first candle breaks above an Order Block and closes above its high, this indicates a stronger Order Block. On the other hand, if a candle merely wicks through the Order Block without a solid close above it, it suggests a weaker Order Block. This may indicate hesitation or an impending reversal, as the wick represents a temporary and unsustained price movement.
Has displacement more than X the body
While some traders may capitalize on the initial break above an Order Block's CISD level, others prefer to focus on the return to an Order Block after displacement. Displacement is determined by the body size of the Order Block, and an Order Block cannot be tested until this level has been achieved.
Has a Fair Value Gap
When an Order Block is combined with a Fair Value Gap (FVG), it signifies a strong Order Block. The Fair Value Gap indicates a strong price movement away from the Order Block.
Has a liquidity void
A Liquidity Void occurs when two consecutive candles of the same color do not overlap, creating a gap similar to a Fair Value Gap, but involving one or more middle candles. Liquidity Voids can be utilized in combination with, or as an alternative to, the displacement setting.
Maximum number of OBs
The maximum number of Order Blocks to display.
Mitigated at block’s
An Order Block is considered mitigated when price reaches one of the main Order Block levels.
Liquidity Void
Liquidity Void refers to areas on a price chart where there is one-sided trading activity. This phenomenon occurs when the price of an asset moves sharply in one direction, leaving gaps where two consecutive candles of the same color do not overlap. These gaps can comprise one or more middle candles and indicates a pronounced lack of trading within that price range. Liquidity Voids are important because they highlight areas of minimal resistance, where price is more likely to return to fill the void and balance the market.
Liquidity Void vs Fair Value Gap
While both concepts are related to gaps in price action, they are distinct. A Fair Value Gap is a specific three-candle pattern where the middle candle creates a gap between the first and third candles. In contrast, a Liquidity Void represents a broader area on the chart where there is little to no trading activity, often encompassing multiple candles and indicating a more pronounced imbalance between buy and sell orders.
A FVG can be part of a Liquidity Void, a Liquidity Void can exist without necessarily including an FVG. Both concepts highlight areas of minimal resistance and potential price movement, but they differ in their formation and implications.
Advanced Market Structure and Order Blocks indicator focus on liquidity voids since a liquidity void can substitute for a FVG and it is usually less addressed by other indicators.
Morning RangeOverview
The Morning Range Indicator highlights the high and low of the market session from 6 AM to 10AM, providing key levels for potential breakout trades. The box dynamically updates in real-time, extending until 4 PM, and adjusts color based on price action.
This tool is ideal for traders looking to identify breakout opportunities and visualize key intraday price ranges.
How It Works
Session High & Low (6 AM - 10 AM)
The indicator tracks the highest high and lowest low within this time window.
Once 10 AM passes, the high and low are locked in and will not change.
Box Extends Until 4 PM
The session box remains visible throughout the trading day.
It provides a visual reference for potential breakout zones.
Dynamic Box Coloring
Gray (Neutral): Neither high nor low is broken.
Green: Only the high is broken before 4 PM.
Red: Only the low is broken before 4 PM.
Yellow: Both high and low are broken before 4 PM.
Live Updating Box
The box appears as soon as the session begins at 6 AM.
It dynamically updates the high and low until 10 AM.
Alerts for Breakouts
This indicator includes built-in alert conditions, so you can set up TradingView alerts without modifying the script.
Morning Range High Broken → Triggers when price breaks above the morning high.
Morning Range Low Broken → Triggers when price breaks below the morning low.
To set alerts:
Click the Alerts (⏰) icon in TradingView.
Select Condition → "Morning Range High Broken" or "Morning Range Low Broken".
Choose your preferred notification method (popup, email, webhook, etc.).
Click Create to activate the alert.
Who This Is For
✔ Intraday & Scalp Traders – Identify key breakout levels for short-term trades.
✔ Futures & Forex Traders – Works great for markets like NQ, ES, Gold, and FX pairs.
✔ Breakout & Reversal Traders – Use the high/low boundaries as support & resistance levels.
Customization
This indicator automatically updates every day and requires no manual input.
You can change alert settings via TradingView’s built-in alert system.
How to Use This Indicator
Watch for breakouts above/below the morning range as potential trade opportunities.
Combine with volume, momentum indicators, or footprint charts for confirmation.
Use the box color to visually assess whether price action is bullish (green), bearish (red), or ranging (gray).
Swing Breakout System (SBS)The Swing Breakout Sequence (SBS) is a trading strategy that focuses on identifying high-probability entry points based on a specific pattern of price swings. This indicator will identify these patterns, then draw lines and labels to show confirmation.
How To Use:
The indicator will show both Bullish and Bearish SBS patterns.
Bullish Pattern is made up of 6 points: Low (0), HH (1), LL (2 | but higher than initial Low), New HH (3), LL (5), LL again (5)
Bearish Patten is made up of 6 points: High (0), LL (1), HH (2 | but lower than initial high), New LL (3), HH (5), HH again (5)
A label with an arrow will appear at the end, showing the completion of a successful sequence
Idea behind the strategy:
The idea behind this strategy, is the accumulation and then manipulation of liquidity throughout the sequence. For example, during SBS sequence, liquidity is accumulated during step (2), then price will push away to make a new high/low (step 3), after making a minor new high/low, price will retrace breaking the key level set up in step (2). This is price manipulating taking liquidity from behind high/low from step (2). After taking liquidity price the idea is price will continue in the original direction.
Step 0 - Setting up initial direction
Step 1 - Setting up initial direction
Step 2 - Key low/high establishing liquidity
Step 3 - Failed New high/low
Step 4 - Taking liquidity from step (2)
Step 5 - Taking liquidity from step 2 and 4
Pattern Detection:
- Uses pivot high/low points to identify swing patterns
- Stores 6 consecutive swing points in arrays
- Identifies two types of patterns:
1. Bullish Pattern: A specific sequence of higher lows and higher highs
2. Bearish Pattern: A specific sequence of lower highs and lower lows
Note: Because the indicator is identifying a perfect sequence of 6 steps, set ups may not appear frequently.
Visualization:
- Draws connecting lines between swing points
- Labels each point numerically (optional)
- Shows breakout arrows (↑ for bullish, ↓ for bearish)
- Generates alerts on valid breakouts
User Input Settings:
Core Parameters
1. Pivot Lookback Period (default: 2)
- Controls how many bars to look back/forward for pivot point detection
- Higher values create fewer but more significant pivot points
2. Minimum Pattern Height % (default: 0.1)
- Minimum required height of the pattern as a percentage of price
- Filters out insignificant patterns
3. Maximum Pattern Width (bars) (default: 50)
- Maximum allowed width of the pattern in bars
- Helps exclude patterns that form over too long a period