Structure High LowsThis indicator identifies and tracks swing highs and lows in any market and timeframe, plotting them as solid lines on a chart. It offers customizable line features and can follow rules to update highs and lows based on bullish or bearish conditions.
In bullish ranges, the indicator updates the high until a swing high forms, while in bearish ranges, it updates the low until a swing low forms. These swings determine the final high or low. The indicator's unique approach incorporates market structure insights to potentially identify price movement trends and validate strategies across timeframes.
In bearish conditions, the indicator updates the low until a swing low forms, while the high adjusts when a candle's body surpasses the prior high. Swing highs entail lower highs on both sides, and swing lows involve higher lows. This indicator's innovation lies in its use of market structure to track price movement and validate trend strategies across timeframes.
Structure
TradeMaster ProTrading effectively requires a range of techniques, experience, and expertise. From technical analysis to market fundamentals, traders must navigate multiple factors, including market sentiment and economic conditions. However, traders often find themselves overwhelmed by market noise, making it challenging to filter out distractions and make informed decisions. To address this, we present a powerful indicator package designed to assist traders on their journey to success.
The TradeMaster indicator package encompasses a variety of trading strategies, including the SMC (Supply, Demand, and Price Action) approach, along with many other techniques. By leveraging concepts such as price action trading, support and resistance analysis, supply and demand dynamics, these indicators can empower traders to analyze entry and exit positions with precision. Unlike other forms of technical analysis that produce values or plots based on historical price data, Price Action brings you the facts straight from the source - the current price movements.
The indicator package consists of three powerful indicators that can be used individually or together to maximize trading effectiveness.
⭐ About the Pro Indicator
The Pro indicator is the cornerstone of the package, offering a comprehensive range of functions. It's strength lies in our unique structure calculation, which is based on real price action data, capturing every ticks from small intraday fluctuations to the significant high timeframe movements. The Pro Indicator reflects our personal use and deep comprehension of Smart Money Concepts. It provides streamlined tools for tracking algorithmic trends with modern visualizations, without unnecessary clutter.
In the ever-evolving trading landscape, mainstream methods and strategies can quickly become outdated as they are widely adopted. Liquidity is constantly sought after, and the best source for this is exploring and exploiting trading strategies that are widely accepted and applied. Currently, one of these strategies is the SMC (Supply, Demand, and Price Action).
It's no coincidence that our educational materials incorporate concepts such as liquidity grabs (LG) and Smart Money Traps (SMT). As the application of SMC gains popularity among retail traders, trading with this approach becomes more challenging. Therefore, the recent focus has been on reforming the SMC methodology, as it is the only method that relies on real price movements and will always work when applied correctly.
▸ What does proper application of SMC entail?
Many SMC traders associate their key areas of interest with the market structure, which is generally considered acceptable. However, depending solely on a single foundation can lead to significant deviations, which may cause notable impacts on trading results. Moreover, if the basis for the market structure calculation is inaccurate, the consequences can be even more severe. It's akin to risking money on a lottery ticket, believing it will be a winner.
Our methodology is different, and it may ensure longevity in the financial markets. The structure remains crucial, but it is not the sole foundation of everything; instead, it serves as a validation tool. Each calculation, such as order blocks (OB), Fair Value Gaps (FVG), liquidity grabs (LG), range analysis, and more, is independent and unique, separate from the structure. However, validation must ultimately come from the structure itself.
We employ individual and high-quality filters: before a function calculation is validated by the structure, it must undergo rigorous testing based on its own set of validation conditions. This approach aims to enhance robustness and accuracy, providing traders with a reliable framework for making informed trading decisions.
▸ An example for structure validation: Order Block with "Swing Sensitivity"
These order blocks will only be displayed and utilized by the script if there is a swing structure validation with a valid break. In other words, the presence of a confirmed swing Change of Character (ChoCh) or Break of Structure (BoS) is essential for the Order Block to be considered valid and relevant.
This approach ensures that the order blocks are aligned with the overall market structure and are not based on isolated or unreliable price movements. Whether it's Fair Value Gaps (FVG), Liquidity Grabs (LG), Range calculations, or other functionalities, the same underlying principle holds true. The background structure calculation serves as a validation mechanism for the data and insights generated by these functions, ensuring they adhere to the specific criteria and rules established within our methodology. By incorporating this robust validation process, traders can have confidence in the reliability and accuracy of the information provided by the indicator, allowing them to make informed trading decisions based on validated data and analysis.
👉 Usage - the general approach:
Determine your trading style using the Pro Indicator and build your basic strategy. This indicator helps you understand your trading style, whether it's swing trading, scalping or another approach. By analyzing the Pro Indicator, you gain valuable information about potential market trends, entry and exit points, and overall market sentiment.
👉 Example of usage:
In the following chart, you'll notice how we've utilized the indicator to formulate a strategic trading approach. We've employed Order Blocks equipped with volume parameters to identify crucial market zones. Simultaneously, we've leveraged swing/internal market structures to gain insights into potential long and short-term market turnarounds. Lastly, we've examined trend line liquidity zones to pinpoint probable impulses and breakouts within ongoing trends.
Now we can see how the price descended to the order block with the highest volume, which we had previously marked as our point of interest for an entry. As the price closed below the median Order Block, we noted its mitigation. After an internal CHoCH, it's directing us towards the main Order Block as a target.
👉 Smart Money Concepts Functions
Market Structure: identifies and marks key structural changes in the market, in order to visually highlight shifts in market trends and patterns. This feature is designed to alert you of significant changes in the market's behavior, signaling a potential shift from accumulation to distribution phase, or vice versa. It helps traders adapt their strategies based on evolving market dynamics.
Order Blocks: pinpoints crucial zones where large institutional investors ("smart money") have shown strong buying or selling interest recently. Order blocks can serve as a tool for identifying key levels for potential trade entries or exits.
FVGs (Fair Value Gaps): detects discrepancies between the perceived market value and actual market price, revealing potential areas for price correction. With its mitigation settings, you can fine-tune the FVG detection according to the magnitude of value misalignment you consider significant.
Liquidity Grabs: helps track "smart money" footprints by identifying levels where large institutional traders may have induced liquidity traps. Understanding these traps can aid in avoiding false market moves and optimizing trade entries.
Automatic Fibonacci Tool: Simplifying the task of identifying key Fibonacci retracement and extension levels, this tool ties Fibonacci levels to the structure for you. It aids in recognizing significant support and resistance levels, providing a clearer understanding of potential price movements.
The Smart Money Concepts trading strategy - combined with these dynamic features - becomes a powerful analytical asset for any trader, providing in-depth insights into market dynamics, trends, and potential opportunities.
👉 Algorithmic trend and dynamic support and resistance
Trend Rainbow: This proprietary feature uses our unique TRMA** method to define short-term, medium-term, and long-term market trends. It incorporates state-of-the-art visualization techniques to render the trend information in an intuitive, easily interpretable manner. It's a 21st-century tool designed for the modern trader who values both precision and simplicity.
Multi-Timeframe Moving Averages: This feature allows traders to simultaneously monitor moving averages across multiple timeframes, providing a comprehensive perspective on market trends. It helps identify dynamic support and resistance zones, key levels where price movements are likely to slow down or reverse. This function not only aids in planning potential trade entries and exits, but also calculates the precise percentage distance to these levels. Can be as well crucial for risk management, enabling traders to set stop losses and profit targets based on solid, data-driven analysis. The Multi-Timeframe Moving Averages function is a versatile tool that combines strategic planning and risk control into a single, easy-to-use feature.
👉 Unlock the Hidden Market Dynamics
Market Sessions: This feature - by default - provides a clear representation of the four major global trading sessions. Each session is distinctly marked on your trading chart, helping you visualize the specific time periods when these markets are most active. Recognizing these sessions is critical for understanding market dynamics, as the opening and closing of major markets can lead to significant price movements. Whether you're a day trader looking to exploit intra-day volatility or a long-term investor wanting to understand broader market trends, the Market Sessions feature can be a useful tool in your trading toolkit.
Divergence Functions: allow the use of unique indicators along with our proprietary ones to detect potential price reversals. As each asset has a different market maker, divergences can vary greatly across different charts and timeframes. With our Divergence Ranking Table, you can quickly determine which divergences have the highest success rates and which are the least successful on a given chart. This feature allows you to adapt your strategies to the most effective signals, enhancing your trading decisions and boosting your potential profits.
Volume Profile with delta: This feature may give traders an edge by providing an in-depth view of market activity. It illustrates the amount of trading volume at different price levels, combined with the 'delta', which is the difference between buying and selling volume. This information allows you to see areas of high trading activity and understand whether the volume is pushing the price up or down. This real-time insight into the market's supply and demand can be instrumental in identifying key support and resistance levels, predicting potential reversals, and recognizing where the market is likely to move. Similarly to Fibonacci tool, Volume Profile can be tied to the current market structure.
👉 Improve Trading Decisions
Range: This innovative feature assists traders in determining discount, premium, and equilibrium zones. It provides a unique way of visualizing price areas where a security could be overbought or oversold (premium or discount zones), and where the price is expected to be fair and balanced (equilibrium zone). Distance from current price is displayed in percentage terms, which can assist traders with crucial data for risk management and strategic planning. The Range function helps you identify the most favorable price zones for entries and set your stop-loss and take-profit levels more accurately.
Previous OHLC: This functionality offers the capability to display the previous Open, High, Low, Close values. It is primarily set on the daily timeframe and serves as an important reference for traders. Having an overview of these key levels from the previous day gives you a solid foundation on which to base today's trading decisions. Recognizing these levels can help you predict potential turning points in the market, providing an advantage in your trading strategy.
Smart Money Zones: our secret weapon for swing traders. Similarly to order blocks, these zones can accurately identify crucial areas of strong buying or selling interest by large institutional investors. However while Order Blocks focus on recent price action, Smart Money Zones take the whole chart into consideration, resulting in more established support and demand zones.
The summary graph combines six unique indicators (Momentum, Trend Strength, Volume, Volatility, Asset Strength, and Sentiment) along with Structure and Sessions. These indicators use our TRMA** method to provide a comprehensive overview of market dynamics. By consolidating these indicators into a single graph, traders can gain valuable insights into the overall market landscape.
** TRMA (Trend Rainbow Moving Averages) is a complex but customizable moving average matrix calculation that is designed to measure market trend direction, strength and shifting.
⭐ Conclusion
We hold the view that the true path to success is the synergy between the trader and the tool, contrary to the common belief that the tool itself is the sole determinant of profitability. The actual scenario is more nuanced than such an oversimplification. Our aim is to offer useful features that meet the needs of the 21st century and that we actually use.
🛑 Risk Notice:
Everything provided by trademasterindicator – from scripts, tools, and articles to educational materials – is intended solely for educational and informational purposes. Past performance does not assure future returns.
Break Levels – Peaks and Valleys – Market StructureDescription
An experimental script, designed as a visual aid, to highlight two consecutive green candles after a red candle, and two consecutive red candles after a green candle. We can assume these formations to be potential candidates as an origin of a peak and valley. The highest point of the 1st red candle and lowest point of the 1st green candle is to be considered as break levels.
How to use
Expect attacks/tests or a break of these levels in the future. A solid break through these levels may produce a potential retest in the opposite direction. The greater the number of times a zone is tested, the more likely it is to break.
By using them as reference points, traders are expected to follow their own set of rules and mark higher probability supply and demand zones in the area.
Alerts are added for either a candle close or wick through the levels. For the alerts the script only trails the latest high and low break levels.
This can be used as an alternative to those who use fractals for market structure.
Indicator in use
Dynamic Structure IndicatorThis is a dynamic structure indicator designed to map potential support and resistance zones (in all markets). It does this by looking back x amount of candles to identify major swing highs and lows on the specified reference timeframe, and then it draws a zone between the highest/lowest wick and the highest/lowest candle close across the chart until a new zone is created.
The settings are important because it gathers data from a separate reference timeframe, so sometimes it will map zones that aren’t really appropriate for lower timeframes. On lower timeframes (1Hr and under) I’d recommend setting the reference timeframe to your actual trading timeframe and increasing the lookback period to fine-tune the zone mapping. The script is set for 4 Hour forex charts by default.
Please note: the max zone option is disabled by default because it is different for every instrument, but this is a useful feature that I recommend using. Sometimes the indicator picks up huge gaps that aren’t really considered support or resistance zones. If this happens to you, use the zone size settings to invalidate huge (or tiny) zones. The zone size is in pips.
To be honest I didn’t get this indicator to be quite as accurate as I envisioned and it’s still a work in progress as I learn pine script, but this is the best I’ve been able to get it to function and with the right settings it works fairly well so I figured I might as well release this first version. Maybe someone with better skills than me can help refine it to more accurately identify major fractals and levels - if so, please get in touch! All traders should be able to identify their own major levels by eye anyway, but this script is intended to be a building block for future signal indicators I wish to develop.
Last of all - please don’t use this indicator to trade blindly! Often price will blast right through these zones and the zones aren’t always accurate. Remember that structure levels only work if they’re obvious to other traders, and always wait for confirmation signals that meet your trade plan rules before entering trades – especially reversals or counter-trend trades.
If you have any questions or tips to improve the script, feel free to leave a comment or private message me.
Enjoy, and good luck out there :)
- Matt.
STructure Atr Cloud w/ TargetsThis indicator is part of our educational suite focused on teaching price structure, momentum, and mean reversion trading strategies. This indicator is recommended to be used with our “Price Action Trading Indicator” or PATI.
Components of this indicator:
Intraday and Swing Price Structure
Breaks of Structure Identification
Change of Character Identification
Fib-derived Price Targets
Dynamic ATR-based Trend Cloud
This indicator is intended to be used in conjunction with the education we provide to help our users determine their optimal trade plan to utilize their edge.
Intraday (Short-Term) Structure is displayed in gray as HH, HL, LH, LL by default, and the zig-zags can be turned on/off in the settings.
Swing Structure is displayed in yellow as HH, HL, LH, LL by default, and the zig-zags can be turned on/off in the settings.
EQL/EQH show areas where price made an equal low or high.
Dynamic ATR-based Trend Cloud (orange cloud) helps traders stay in profitable trades longer by giving them a visual aid of the current momentum. We have added a confirmation level that dynamically appears when the price breaks over/under the cloud giving validation to the potential trend shift. Failure to break this level tends to result in a rejection and continuation of the current orange cloud trend as you can see in the image above.
Change of Character (ChoCh) shows internal structural breaks where a minor level or supply/demand zone fail, resulting in a potential shift in a short-term trend. Above you can see two common ChoCh setups (head and shoulders/ inverse head and shoulders) that usually result in significant price reversals.
Above is an example of using this indicator on two timeframes to develop short and longer term targets. Previous targets can be used as areas of interest where we can look for price to bounce/reject. Target levels that develop above/below price make great areas to potentially take off some risk/ put risk on.
Please check the Author Instructions Below for how to gain access to our indicators.
PATIThis indicator is part of our educational suite focused on teaching price structure, momentum, and mean reversion trading strategies for intraday trading. Our team has selected this set of tools and metrics, which define our trading style and serve as the foundation for our teaching, to be included in this indicator. We are displaying each component in a way we believe is helpful to their understanding which also provides a clean, comprehensive look.
This indicator is for Intraday Trading
Our Traders most commonly use this indicator on the 1,3 or 5 minute chart.
Components of this Indicator:
Multiple VWAP Levels: monthly, weekly, standard (anchored to the right of price)
Dynamically Anchored VWAP Cloud (trend tool)
13 EMA (trend tool)
Structural Orderblocks
Multi-Timeframe Fair Value Gap detection
Key Daily Price Levels (anchored to the right of price)
Customizable Opening Range (anchored to the right of price)
15 minute “Golden Zone” (shows the .5-.618 zone of the previous 15m candle)
ADR (Average Daily Range)
A4R (Average 4hr Range)
These tools are used in conjunction with the education we provide to help our users determine their optimal trade plan to utilize their edge.
Specific Functionalities and Uses:
Monthly-VWAP & Weekly-VWAP (M-VWAP/W-VWAP):
VWAP = “Volume Weighted Average Price”
These levels provide probable zones where price may mean revert and risk should be taken off/ put on. We have anchored these to the right-hand side of your chart by default to minimize the noise on your chart.
Average Daily Range (ADR): The Average Daily Range is a technical indicator used to measure the volatility of an asset. It displays how much an instrument can move on average during a given day. The significance is that each market has a unique range that is likely to be covered on any given day.
Average 4hr Range (A4R): The Average 4hr Range is a technical indicator used to measure the volatility of an asset twice in a single session. It displays how much an instrument can move on average during a session and is measured twice in a day. Calculating a smaller volatility range may seem strange at first but can be a huge advantage by analyzing the volatility of the intraday action, giving you average price targets based on more recent market data.
Tip: When used in conjunction with key support and resistance levels, ADR & A4R can be a huge edge to traders to determine where to push/pull risk.
Opening Range: The open often establishes the trend and sentiment for the day, but there is also statistical significance to the open that is overlooked. Statistically, on average, the open is near the high or low of the day and offers plenty of opportunities to build trading strategies. The chart below provides some potential trades that could be taken once the opening range has been established.
Dynamically Anchored VWAP Cloud: Our dynamically anchored VWAP cloud tracks the most recent impulsive move and re-anchors to show you potential bounce points in a trend. We re-anchor at each structural shift to give the most probable targets for buyers/sellers to defend their positions to continue the current trend push.
By utilizing the re-anchoring at each significant structural inflection point, we can establish a much less lagging trend following technique.
We have also included the feature to substitute this cloud for a 34/55 EMA cloud for the traders already familiar with that system.
The chart below provides potential trades that could be taken using the VWAP cloud system.
FVGS (Fair Value Gaps/ Imbalances): These areas represent potential buy/sell side liquidity imbalances where price is pushed aggressively, sweeping the orderbook and will likely return to “fix” the structure before continuing. Below is an example of 3 possible trade paths we look for inside these structural imbalances.
Structural Orderblocks:
These areas are based on structural pivots that have been pushed out of with aggression determined by subsequent structural breaks to confirm their validity. Because of this, when price returns to these areas we can anticipate this area to be defended.
The blue boxes track Orderblocks. These highlight instances of past participation which create areas likely to be defended again when retested.
Swing High/Low/Previous:
We use swing high and lows as points of short-term support and resistance, a break of these levels can signify a shift in market sentiment.
-The dashed green line shows the previous structural swing high or low pivot point.
-The solid green lines show the high and low in our current trading structure.
Note: Displaying the previous swing can provide us with context of the current market trend, and will assist us make better decisions.
15 Minute Golden Zone:
Displayed as a gray box, it tracks the .5-.618 of the previous 15m candle and gives us an area where we look for short-term resistance/support on smaller time frame price action. This area can be viewed as an equilibrium of the current range. If the price can hold this area, it can show a likely support area for continuation.
13 EMA:
This is the choice length ema of our traders, they use this ema to confirm (short-term) trend direction and reference it for a common bounce point for re-entries. Our traders consider this as a crucial point to speculate reversals and break of short-term trends.
Note: Typically in a trend we see the price hold to one side of this ema, by looking for this characteristic, it brings confidence to staying in trades.
Please check the Author Instructions Below for how to gain access to our indicators.
CommonTypesMathLibrary "CommonTypesMath"
Provides a common library source for common types of useful mathematical structures.
Includes: `complex, Vector2, Vector3, Vector4, Quaternion, Segment2, Segment3, Pole, Plane, M32, M44`
complex
Representation of a Complex Number, a complex number `z` is a number in the form `z = x + yi`,
Fields:
re : Real part of the complex number.
im : Imaginary part of the complex number.
Vector2
Representation of a two dimentional vector with components `(x:float,y:float)`.
Fields:
x : Coordinate `x` of the vector.
y : Coordinate `y` of the vector.
Vector3
Representation of a three dimentional vector with components `(x:float,y:float,z:float)`.
Fields:
x : Coordinate `x` of the vector.
y : Coordinate `y` of the vector.
z : Coordinate `z` of the vector.
Vector4
Representation of a four dimentional vector with components `(x:float,y:float,z:float,w:float)`.
Fields:
x : Coordinate `x` of the vector.
y : Coordinate `y` of the vector.
z : Coordinate `z` of the vector.
w : Coordinate `w` of the vector.
Quaternion
Representation of a four dimentional vector with components `(x:float,y:float,z:float,w:float)`.
Fields:
x : Coordinate `x` of the vector.
y : Coordinate `y` of the vector.
z : Coordinate `z` of the vector.
w : Coordinate `w` of the vector, specifies the rotation component.
Segment2
Representation of a line in two dimentional space.
Fields:
origin : Origin coordinates.
target : Target coordinates.
Segment3
Representation of a line in three dimentional space.
Fields:
origin : Origin coordinates.
target : Target coordinates.
Pole
Representation of polar coordinates `(radius:float,angle:float)`.
Fields:
radius : Radius of the pole.
angle : Angle in radians of the pole.
Plane
Representation of a 3D plane.
Fields:
normal : Normal vector of the plane.
distance : Distance of the plane along its normal from the origin.
M32
Representation of a 3x2 matrix.
Fields:
m11 : First element of the first row.
m12 : Second element of the first row.
m21 : First element of the second row.
m22 : Second element of the second row.
m31 : First element of the third row.
m32 : Second element of the third row.
M44
Representation of a 4x4 matrix.
Fields:
m11 : First element of the first row.
m12 : Second element of the first row.
m13 : Third element of the first row.
m14 : fourth element of the first row.
m21 : First element of the second row.
m22 : Second element of the second row.
m23 : Third element of the second row.
m24 : fourth element of the second row.
m31 : First element of the third row.
m32 : Second element of the third row.
m33 : Third element of the third row.
m34 : fourth element of the third row.
m41 : First element of the fourth row.
m42 : Second element of the fourth row.
m43 : Third element of the fourth row.
m44 : fourth element of the fourth row.
Price Swing Detection - Smart Money ConceptSince my own style is Smart Money Concept and these days I have seen a lot of my friends who are having trouble identifying structures for their indicators and strategies. I wrote this code so they could use it in their strategy . In fact, this type of structure, as one of the strongest technical structures, can increase the success of your strategy according to your personalization.
The script detects swings (i.e. significant highs and lows) in a financial instrument's price action over a specified period. The user can set the lookback period (number of candles to consider) and the colors of the lines representing bullish and bearish trends.
The script has two functions: detectSwing and pivot high. The detectSwing function calculates the swing highs and lows for the specified number of candles. The function uses the ta.highest and ta.lowest functions to find the highest and lowest prices, respectively, over the lookback period. The function also determines the swing state (high or low) of the current candle and returns the calculated swing values.
The pivot high function calculates the pivot high, which is an important step in detecting bullish structures in the market. If a new top (i.e. swing high) is found, the script updates the pivot high values and creates a line from the recent top to the last bar. The script also updates the trailing maximum values, which are used to extend the top extension line.
For Strategy :
The variable "trendDirection" in the code is used to keep track of the trend state, either bullish (up trend) or bearish (down trend), in the market. The variable is initialized to 0 which represents a downtrend. The value of this variable is updated later in the code based on the calculations of swing highs and lows, pivot crosses, and the trailing maximum. If a bullish structure is detected, the value of "trendDirection" is set to 1, indicating an uptrend.
mentfx StructureThe indicator is designed to identify and track swing highs and lows in a given market on any timeframe, and display them on the chart as solid lines (the lines you see are denoting highs and lows). The lines are customizable in terms of color and width, as determined by the user input.
The rules for creating a new high or low are based on whether the current range is considered Bullish (most recent break being to the topside) or whether the current range is considered Bearish (most recent breaking being to the downside). If the range is Bullish, the code will allow for wicks below the low without updating the low, and will only change in the case that a candle's body (open or close) finds itself under that given low. If the range is Bearish, the code will allow for wicks above the high without updating the high, and will only change in the case that a candle's body (open or close) finds itself above that given high.
When a range is assigned as being bullish, it will continue updating the high until a swing high is created (denoting that as the high of the range) and will not update or change until a candle's body, open's or close's above it - which will reupdate the high and update the low. The low will be updated based on the last time price had a candle (open or closure) below a previous candles low, and then will find the lowest low after the rule was met to assign a low (the idea here is to locate the last major "sell before buy" and showcase that range. And this will occur vice versa, where: when a range is assigned as bearish, it will continue updating the low until a swing low is created (denoting that as the low of the range) and will not update or change until a candle's body, open's or close's below it - which will reupdate the low and update the high. The high will be updated based on the last time price had a candle (open or closure) above a previous candles high, and then will find the highest high after the rule was met to assign a high (once again, the idea being to locate the last major "buy before sell" and showcase price as existing in that range.
A swing high is considered as a high that has a lower high to its left and to its right. And a swing low is considered as a low that has a higher low to its left and to its right. These swings are used to determine the final high or low of a Bullish or Bearish range (respectively).
Additionally, the script includes a function that updates the lines on the chart as new market data prints (using the logic described above).
The indicator uses a specific method (mentioned above) based on the idea of "sells before buys" (for Bullish Ranges) and "buys before sells" (for Bearish Ranges) that isnt found in other indicator. The channels shown on the screen represent prior highs and lows, as well as current updated highs and lows based on this. The reason for using this way to track Structure is that we are assuming large money is selling before purchasing heavily, and buying before selling heavily, and these ranges attempt to showcase the structural delivery of price on any timeframe in reference to this theory - theory being that if we are in a bullish range, we are likely to sustain some sort of bullish move until the next high or for a while, or from the last "sell before buy" - and vice versa. As well as being able to merge the "context" or "story" of multiple timeframes in reference to this indicator as confluence for bullish or bearish continuations. Follow's the school of thought that comes with trend following.
MarketStructureLibrary "MarketStructure"
This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them.
f_simpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
It doesn't have to be "the" high, so don't be confused.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for stops, I want them all, not just the ones that alternate in strict order.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Simple Low/High, and ints for the bar_index of that Low/High.
f_localLowHigh()
This function finds Local Lows and Highs, in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate, and in this function they do.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Local Low/High, and ints for the bar_index of that Low/High.
f_enhancedSimpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for trailing stops, I want them all, not just the ones that alternate in strict order.
The difference between this function and f_simpleLowHigh() is that it also tracks the lowest/highest recent level. This level can be useful for trailing stops.
In effect, these are like more "normal" highs and lows that you would pick by eye, but confirmed faster in many cases than by waiting for the low/high of that particular candle to be taken out on close,
because they are instead confirmed by ANY subsequent candle having its low/high exceeded. Hence, I call these Enhanced Simple Lows/Highs.
The levels are taken from the extreme highs/lows, but the bar indexes are given for the candles that were actually used to confirm the Low/High.
This is by design, because it might be misleading to label the extreme, since we didn't use that candle to confirm the Low/High..
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
f_trueLowHigh()
This function finds True Lows and Highs.
A True High is the candle with the highest recent high, which then has its low taken out on close by a subsequent candle (and vice-versa for True Lows).
The difference between this and an Enhanced High is that confirmation requires not just any Simple High, but confirmation of the very candle that has the highest high.
Because of this, confirmation is often later, and multiple Simple Highs and Lows can develop within ranges formed by a single big candle without any of them being confirmed. This is by design.
A True High looks like the intuitive "real high" when you look at the chart. True Lows and Highs must alternate.
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
Mark Structure ShdwMark Structure Show is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
This indicator is the alternative version of Mark Structure indicator, I had to create another indicator in order to avoid programming limitation of TreadingView.
This version uses confirmation approach as confirming by body, it means every swing low/high is confirmed when the body (of newly creating swing low/high correspondingly) takes place and intercepts it. the same behaviour is with breaking structure its confirmed only by body.
From trading prospective with this kind of approach we can easily detect manipulations (caused by sweeps) and disregard those manipulation as elements which are breaking the structure. so its extremely useful for those who are trading smart money price actions and basing on swing structure POI
it supports:
- Marking all pivots with labels or join them continuously with trend lines.
- Marking minor and sub structured swings with labels or join them continuously with trend lines. Marking last actual CHoCH and BOS. Minor and substructure are structures inside swing structure and it can differ from the structure of lower timeframe
- Marking swings of swing structure with labels or join them continuously with trend lines.
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors
Remarks:
- Don't expect to have minor and sub structure in each swing waves, its totally fine when you don't have them at all
- Swing structure is the most significant structure and shows real price direction.
- The last swing is not able to be confirmed it tries to build 2 swings that most likely would be either substructure or SMS BOS
_D4X_Fractal StructureThis script will show up to three different timeframe structure based on fractal formation (combination of three candles where the middle one is the highest).
You can modify each of the timeframes (called factors in the script). These factors emulate the fractal formations on the timeframe specified (in minutes). I found that at least for me a combination of 1-10-100 works well if you use the 1 minute timeframe, but you can try different combinations to see long term structures o more short term structures.
There are a couple of things I would like to add later on, for example, to select dots instead of lines to show structure or adding orderblocks based on the fractal formations (as this would emulate higher timeframe OBs). As soon as I can, I will add these.
Let me know if you like it!!!
Zig Zag+ (Macro + Internal Structure Tool)ZigZag+ (Macro + Internal Structure Tool)
ZigZag+ is a simple tool that helps traders to clearly identify and differentiate between macro and internal market structure, to help you keep your bearings of where you are currently in the overall picture.
It is especially difficult to keep your bearings within the larger structural trend when trading the lower timeframes, where for example, a bearish structural trend on a lower timeframe may simply be a retracement of an overall bullish structural trend on a higher timeframe. This indicator primarily aims to help traders maintain awareness of where they are in relationship to the higher timeframe / 'macro' structural trend, and their most significant swing point highs and lows.
The features of this indicator include:
- 2x Zig Zag lines drawn automatically onto your chart. One which has a longer length than the other, which can be used to help identify and differentiate the larger price swings from the smaller price swings found within it. Enabled by default.
- Customisable Zig Zag line color & width settings to help clearly differentiate the higher timeframe 'macro structure' apart from the lower timeframe 'internal structure' within it, enabling it to be tailored to suit your chart colour theme and personal preference.
- Customisable individual length settings for the 2x Zig Zag lines, to allow the fine tuning of each line to any timeframe and asset. By default one lines length is set to a higher value than the other, to illustrate a macro structure (higher length value) as well as the 'internal structure' (lower value length), seen within the larger macro structure.
- Up to a maximum of 500 lines can be drawn meaning you can zoom out considerably, and view historical price action with both Zig Zag lines continuing to print.
- Custom alerts for identifying candlesticks that can offer optimal entries where they are found within valid price markups or markdowns that are already underway. Further details can be found within the tooltips for these signals.
Note: The above list of features are accurate at the time of publishing, but may be updated or added to in future.
Structure
Understanding structure is arguably the foundation of all trading strategies, and therefore very important to understand where you are exactly in the bigger picture, since it can help identify levels at which there is a higher probability of price moving either upward or downward at a given point. Structural trend refers to the typical way that price tends to move in any given trending market, identified by the continuation of higher highs and higher lows in a typical bullish trending market, and lower highs and lower lows in a bearish trending market.
During other times price may not be trending in this way, for example when it is undergoing accumulation or distribution phases, where the consistent higher high & lower low / lower high and lower low patterns will not be evident.
What is Macro Structure?
Macro trend structure refers to the structural trend seen on higher timeframe charts.
What is Internal Structure?
Internal trend structure refers to the structural trend seen on lower timeframe charts, which is found within the higher timeframe structure.
Disclaimer: This indicator is adapted from an original script authored by Tr0sT . With special thanks.
Mark StructureMark Structure is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
Building such structure is really complex task to do, that has a lot of obstacles and challenges. I'm doing my best to develop this indicator behaving in absolutely expectable and right way. Fill free to leave any comments or bug reports.
it supports:
- Marking all pivots with labels or join them continuously with trend lines.
- Marking minor and sub structured swings with labels or join them continuously with trend lines. Marking BOS or SMS BOS, which are mbos. Minor and substructure are structures inside swing structure and it can differ from the structure of lower timeframe
- Marking swings of swing structure with labels or join them continuously with trend lines. Marking BOS or SMS BOS of swing structure
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors of BOSs
Remarks:
- As I told you guys before, it has a lot of challenging cases. eg we have swing low and high on the same candle and in order to decide which pivot goes first I take lower time frame data to figure out what pivot is the first, but it happens that on lower time frame the same issue takes place, due to limitation of TradingView I can't go infinitely to lower timeframes to solve this issue, so I mark those cases with labels
- Another issue is very beginning of the trend its hard to detect swing structure there due to missing historical data. so skip a few waves in the very beginning
- Don't expect to have minor and sub structure in each swing waves, its totally fine when you don't have them at all
- Swing structure is the most significant structure and shows real price direction. Trend change is confirmed when for bull->bear the last HLbull LH>HH and HH-HL-HH are confirmed. You can change labelling for unconfirmed swing trend in the settings. By default its already done
WICK StructureThis indicator builds market structure.
Indicator settings:
- "Start Time" -> You can select the point from which the indicator will build a market structure
- "Swing Period" -> It is a swing information
- "The beginning of the trend is ascending"
- "Disable WICK indicator" -> You can disable Wick indicator
[MattLet] Market Structure BiasThis indicator is based on a zigzag and shows swings and market structure breaks.
It is very useful to analyze trend changes in short, medium and long periods.
Features:
1 - Lower Lows, Lower Highs, Higher Lows and Higher Highs
2 - Colored candles/bars Change of Character
Good luck!
Close zig-zag labelThis indicator is a beta and is created to indicate the valid high and low close pattern, this isn't a stand alone strategy or reader of the market but can help to read the trend direction.
!ATTENCTION!
this indicator have repainting, don't thrust it until a candle close
some labels have more transparency than other, this is beacause they are lower high or higher low , the duller are the trend extention (friendly reminder, I can find the exact higher or lower close after a pullback, not running)
I don't know if I would implement other stuff in this indicator or if I'm going to remake it better, but for now I have this
MTF Market Structure Highs and LowsThe indicator marks the last fractal highs and lows (W,D,4H and 1H options) to help determine current market structure. The script was created to help with directional bias but also as a MTF visual aid for stop hunts/liquidity raids.
Liquidity areas are where we assume trader's stop losses would be when buying or selling. Liquidity lies above and below swing points and institutions need liquidity to fill large orders.
Monitor price action as it hits these areas for a potential reversal trade.
Bjorgum Key Levels
Key Levels Aims to capture 3 of the most significant points in price action
Breakouts
False Breakouts (Traps)
Back Checks
These 3 points alone, if properly identified, can be some of the most significant points of movement in the price history of an asset and bring significant gains to traders, if capitalized on. Here are a few examples of these setups
Breakouts
Breakouts can bring significant rallies as the market swings one sided after key levels are breached. This entry type can bring large trending runs to follow. Momentum is on your side, but the trade off is a higher entry.
False Breakouts
Also known as a bull trap or a bear trap, false breaks can lead to swift and significant reversals and potential for a large and sudden move to the opposite side. When a key level breakout fails to hold, parties entering to capitalize on the "epic breakout" can get left holding the bag forcing them to exit at a loss, which can double the force of pressure. Traps can bring swift gains from good entry prices. However, price is still in a larger trend against you so momentum is weak, so price action is susceptible to roll over.
Backchecks
Back checks are pull backs in trend that find middle ground to the 2 areas already described. Both momentum and entry price are decent, but risk is defined as a key level has flipped offering entry with stops below demand, or above supply.
Combining these 3 methods helps to diversify risk, understand trend development, and bring steady gains. This script helps to identify these points to traders with analysis of key levels, price structure, and trend direction, while providing visual signals and alerts for when they occur.
Best of luck in your coding and trading and thank you for your support
ILM | Structural Pivots v1This script will mark the structural pivots based on some rules.
Solid green/red lines are for major trend to mark LPH (Large Pivot High) and LPL (Large Pivot Low).
Dotted green/red lines are for minor trend SPH (Small Pivot High) and SPL (Small Pivot Low). SPH and SPL are not marked as labels to reduce congestion on the chart.
Gray lines are to identify temporary large pivots before they get promoted to LPH / LPL
Blue lines are to identify temporary small pivots before they get promoted to SPH / SPL
Couple of common trading strategies
- Go Long above LPH
- Go Short below LPL
- Go Long above SPH after LPH
- Go Short below SPL after LPL
Mean Reversion
- Go Long above SPH after LPL
- Go Short below SPL after LPH
This is the initial version and I am making it as public beta to iron out any issues. I might make this script private in future - FYI
Pivot Points And Breakout Price Action With LuckyNickVaBar Color Candle Aligned with pivot points swing high and swing lows For Those Who Are Familiar with Trading The Breakouts Of Highs & Lows Of Structure. Pivots are said to be key areas in the market where price shows heavy reaction to where reversals make occur. At these points there are swing Highs & swing lows that traders may be able to find opportunity in the market. This Script is a combination of pivot points and Barcolor signals for the breakout.
Strongholds - Objective & Accurate Reference Points / StructuresVery early in my trading career, I came across Pivot Points only to find out that there are as many calculations as one pleases. It was hard to find out which ones work. Most of them probably did only out of randomness, so I ditched the strategy and looked for something else.
I previously used my Oracle Eye and Reference Points scripts but it is time for an upgrade.
Stronghold is a script I have used for quite some time now. I ditched daily and weekly closing prices as not that important. Instead, Strongholds are equipped with:
►Daily High & Low • Azure color
►Weekly High & Low • Dark blue
►Weekly old High & Low • Semi-transparent dark circles
►Monthly High & Low • Wizardly purple
There is an option to print:
►4h High & Low • Semi-transparent red
►VWAP • Lovely purple
►Weekly VWAP • Black
All of the levels and lines are set for 1m, 5m, 10m, 15m, 30m, 1h, 4h, 1D timeframes. If you use any alien timeframe, you may need to enter the code.
You can opt-in and out for certain timeframes. For example, daily levels are visible from 15m or 30, so the indicator won't draw them unless you want to. However, they will not be seen on higher timeframes as there is no reason to show them and oversaturate the chart with lines.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Remember that if you use this script with auto-scale, you need to tick Scale Price Chart Only . Otherwise, your chart will fly to the moon!
Good luck & have fun!
Market StructureMarket Structure
The Market Structure is important to be able to establish areas of rejection or possible break,
to determine channels, points of possible reversals or trend breaks.
So we can use them as support and resistance zones for stoploss and take profit.
- This indicator will automatically show the market structure.
- Allows you to calculate the levels with the closing of the candles as well as with the highs and lows
- You can change the number of levels on the screen with the intensity adjustment
- Extended levels are shown as well as at the end of the graph to avoid noise when making technical analysis
- Visually you can modify the style, color, thickness of the level lines
- This indicator is multi-time, so you can check the structure of other temporalities, for example see the levels corresponding to 1D while the graph is H4
- Green lines are the resitance levels and red lines are support levels, these will automatically change color according to the current price
BTC 1W
EURUSD 1W
ETHUSDT 1D
Volume Supply and Demand ZonesDraws supply and demand zones of 3 types, based on 3 different volume threshold parameters.
The timeframe of the script is fixed (you can change it in the options), so for example it is possible to keep Daily S/D zones while looking at 1h chart.