SMC StructuresTitle: SMC Structures Indicator
Description:
The SMC Structures indicator is a powerful tool designed to identify and visualize key structural elements in price action, based on the principles of Smart Money Concepts (SMC). This indicator helps traders identify potential areas of support, resistance, and price reversals by highlighting significant market structures.
Key Features:
Structure Identification: The indicator automatically detects and marks important high and low structures in the market.
Break of Structure (BOS) Detection: It identifies and labels instances where previous structures are broken, indicating potential trend changes or continuations.
Change of Character (CHoCH) Detection: The indicator recognizes and marks Changes of Character, which are significant shifts in market behavior.
Customizable Visuals: Users can personalize the appearance of BOS and CHoCH markings, including colors, line styles, and widths.
Current Structure Display: The indicator can optionally show the current active structure, helping traders understand the immediate market context.
Historical Structure Tracking: Users can specify the number of historical structure breaks to display, allowing for a cleaner chart while maintaining relevant information.
Flexible Break Confirmation: The indicator offers the option to confirm structure breaks using either the candle body or wick, accommodating different trading styles.
Technical Details:
The indicator uses advanced algorithms to identify significant price structures based on local highs and lows.
It employs a lookback period of 10 bars for structure detection, ensuring relevance to current market conditions.
The code includes safeguards to handle different market phases and avoid false signals during ranging periods.
Customization Options:
Colors for Bullish and Bearish BOS and CHoCH markings
Line styles and widths for all structure markings
Number of historical breaks to display
Option to show or hide the current active structure
Choice between candle body or wick for structure break confirmation
Use Cases:
Trend Analysis: Identify the start of new trends or potential trend reversals.
Support and Resistance: Pinpoint key levels where price may react.
Trade Entry and Exit: Use structure breaks as potential entry or exit signals.
Market Context: Understand the broader market structure to make informed trading decisions.
This indicator is particularly useful for traders who follow Smart Money Concepts and those looking to enhance their understanding of market structure. It provides a visual representation of complex market dynamics, helping traders make more informed decisions based on structural analysis.
Note: This indicator is best used in conjunction with other analytical tools and a solid understanding of market dynamics. Always practice proper risk management when using any trading indicator.
Would you like me to explain or break down any part of the code?
Williams Fractal
HTF LQ SweepThe following script recognises QL sweeps in the desired time frame with alarm function!
Theory:
There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course!
In such a case we have an "LQ Sweep"
How does the script work?
Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved.
This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached!
If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup.
In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time!
Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader:
An LQ sweep is a nice confirmation for a reversal.
If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there.
The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created.
You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
HTF LQ SweepThe following script recognises QL sweeps in the desired time frame with alarm function!
Theory:
There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course!
In such a case we have an "LQ Sweep"
How does the script work?
Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved.
This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached!
If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup.
In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time!
Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader:
An LQ sweep is a nice confirmation for a reversal.
If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there.
The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created.
You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
Fractal Breakout Trend Following StrategyOverview
The Fractal Breakout Trend Following Strategy is a trend-following system which utilizes the Willams Fractals and Alligator to execute the long trades on the fractal's breakouts which have a high probability to be the new uptrend phase beginning. This system also uses the normalized Average True Range indicator to filter trades after a large moves, because it's more likely to see the trend continuation after a consolidation period. Strategy can execute only long trades.
Unique Features
Trend and volatility filtering system: Strategy uses Williams Alligator to filter the counter-trend fractals breakouts and normalized Average True Range to avoid the trades after large moves, when volatility is high
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Flexible Risk Management: Users can choose the stop-loss percent (by default = 3%) for trades, but strategy also has the dynamic stop-loss level using down fractals.
Methodology
The strategy places stop order at the last valid fractal breakout level. Validity of this fractal is defined by the Williams Alligator indicator. If at the moment of time when price breaking the last fractal price is higher than Alligator's teeth line (8 period SMA shifted 5 bars in the future) this is a valid breakout. Moreover strategy has the additional volatility filtering system using normalized ATR. It calculates the average normalized ATR for last user-defined number of bars and if this value lower than the user-defined threshold value the long trade is executed.
When trade is opened, script places the stop loss at the price higher of two levels: user defined stop-loss from the position entry price or down fractal validation level. The down fractal is valid with the rule, opposite as the up fractal validation. Price shall break to the downside the last down fractal below the Willians Alligator's teeth line.
Strategy has no fixed take profit. Exit level changes with the down fractal validation level. If price is in strong uptrend trade is going to be active until last down fractal is not valid. Strategy closes trade when price hits the down fractal validation level.
Risk Management
The strategy employs a combined approach to risk management:
It allows positions to ride the trend as long as the price continues to move favorably, aiming to capture significant price movements. It features a user-defined stop-loss parameter to mitigate risks based on individual risk tolerance. By default, this stop-loss is set to a 3% drop from the entry point, but it can be adjusted according to the trader's preferences.
Justification of Methodology
This strategy leverages Williams Fractals to open long trade when price has broken the key resistance level to the upside. This resistance level is the last up fractal and is shall be broken above the Williams Alligator's teeth line to be qualified as the valid breakout according to this strategy. The Alligator filtering increases the probability to avoid the false breakouts against the current trend.
Moreover strategy has an additional filter using Average True Range(ATR) indicator. If average value of ATR for the last user-defined number of bars is lower than user-defined threshold strategy can open the long trade according to open trade condition above. The logic here is following: we want to open trades after period of price consolidation inside the range because before and after a big move price is more likely to be in sideways, but we need a trend move to have a profit.
Another one important feature is how the exit condition is defined. On the one hand, strategy has the user-defined stop-loss (3% below the entry price by default). It's made to give users the opportunity to restrict their losses according to their risk-tolerance. On the other hand, strategy utilizes the dynamic exit level which is defined by down fractal activation. If we assume the breaking up fractal is the beginning of the uptrend, breaking down fractal can be the start of downtrend phase. We don't want to be in long trade if there is a high probability of reversal to the downside. This approach helps to not keep open trade if trend is not developing and hold it if price continues going up.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.05.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 30%
Maximum Single Position Loss: -3.19%
Maximum Single Profit: +24.97%
Net Profit: +3036.90 USDT (+30.37%)
Total Trades: 83 (28.92% win rate)
Profit Factor: 1.953
Maximum Accumulated Loss: 963.98 USDT (-8.29%)
Average Profit per Trade: 36.59 USDT (+1.12%)
Average Trade Duration: 72 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 4h and higher time frames and the BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
Market Structure RangesI have written a script for determining the BIAS.
It uses fractals of 3 for the highs and lows.
It works as follows:
If a range high is broken (!!!candelclose!!!), the last fractal low is selected as the new low point. The Rangelow is determined from this low point.
If a fractal high now occurs, the range high is set at this point.
This Range between the low range and high range is called "Dealing range" , this is divided at the centre - into premium and discount.
The range stays the same, until we see a body close outside this range!
The same applies to a short scenario, only in reverse.
In the indicator, the higher timeframe is selected, which determines the input for the dealing range. Then the dealing range from the higher timeframe is displayed in each timeframe that we want to use for our trades.
The indicator should be used to trade with the trend: for example, the last higher timeframe break is bullish (displayed in the table) -- called kMS
and on the other hand that we only want to take tades that are in the lower part of the range, i.e. in the discount area for buy trades.
This indicator therefore serves as a filter for the higher timeframe trend and higher timeframe premium/discount ranges.
Correct Fractal Swings by CRYPTOFORThis indicator adjusts and enhances the normal 3-fractal swing. The author of this definition, uncle_travis, takes into account swings with the absorption of 3 candles and uses them as structure points.
Pivotal MomentsPivotal Moments draws lines for each of up to 500 pivot high and pivot low levels that have never been revisited at the present moment in time. After the Pivotal Moments indicator has been loaded onto chart and any of the subsequent realtime bars that are formed touch or cross a pivot level it is deleted. The duration for how long any touched or crossed pivot levels remain on chart before deletion may be extended by N bars or N units of time.
There are user selectable options for the following:
• Pivot Bars Left : the number of lower highs or higher lows that must be formed before a possible pivot bar can occur.
• Right : the number of lower highs or higher lows that must be formed after potential pivot to validate a pivot bar.
• Lines Show As : the choice of line style to use for the drawn pivot levels includes Dashed, Dotted, or Solid.
• Wide : the number of lines wide for how thick the drawn pivot levels are desired to be on the chart.
• Delay Removal : the number of units that touched or crossed pivot levels will persist on chart.
• Units : the choice of which delay unit type includes nBars, nSecs, nMins, nHrs, or nDays.
• Extend Right : the number of bars right of current bar to extend drawn pivot levels.
• Show : the number of maximum recent drawn pivot levels to keep on chart.
• Colors Used : the colors used for pivots high, low, and dual pivot bars.
• Show Price Labels : the choice whether to show prices for levels.
• On Right : the choice to move prices to right of pivot levels.
• Show Pivot Bars : the choice to colorize pivot bars.
If desired, alerts can be received for whenever new touches or crosses occur for both pivot highs and pivot lows by creating a single Alert. Note that these alerts are triggered by realtime bars which by their very nature are repainting prices, thus the alert creation window will warn of this with an orange exclamation symbol. For an illustration of how to create alerts for this indicator click the chart below:
Credit: this indicator was originally built for @Luckshury, who has graciously given me permission to publish it publicly.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
TTF SMC ToolkitGreetings and welcome to another community indicator from TTF! This indicator is our attempt to build a suite of tools for use in Smart Money Concepts (SMC) and Price Action style trading strategies. If you aren't familiar with these models, we'd encourage you to do some independent research on them to find out how to properly use these models and the tools included in this indicator.
Important! To utilize all features of this indicator fully, please select "Bring to front" under the visual order menu.
All of the fundamental concepts of this toolkit revolve around smart money concepts and price action trading, here are some key concepts of this indicator's different features:
DR (defining range): This is a technique that uses the candle wicks (high and low of price) during a specific hour of a trading session to create a trading framework to help visualize order flow. When price breaks the high of the range, there is a very high statistical probability based on price action history, that the bottom of the range won't be traded past for the rest of that trading session. Vice versa for price breaking the low of the range.
IDR (implied defining range): Similar to DR above, this method uses the candle body (open and close of price) of price during a specific hour of a trading session to help create a trading framework to help visualize order flow.
Equilibrium: Any range can be objectively divided into a top and bottom half. The equilibrium represents the 50% mark between a range high and a range low. It is most often plotted with a fibonacci tool.
Fair Pricing Model: This is a hypothesis postulating that "big money" (a.k.a. "market movers", "institutional investors", etc.) seeks to buy in the discount area of any given price range, and sell in the premium area of that same range. See DR and IDR for examples of possible techniques to help identify and define the price range to apply to this model.
Non-discretionary Levels: This is essentially a fancy way of saying that the levels drawn by this indicator are strictly rules-based, and will always behave in the following manner:
1. For a given trading session, once the levels are drawn, they will remain constant throughout the rest of the trading session, no matter what price does afterwards.
2. The levels drawn will be drawn using the same rules every single day, without human bias or discretion.
Williams Fractals: This fractal pattern is based upon a specific candlestick pattern sequence. For a bullish Williams fractal, you will see X number of falling candles, followed by X number of rising candles. The candle at the fulcrum (bottom or top of the fractal structure) is where the fractal will print. a bearish fractal will be the inverse of this pattern. Note that this is a lagging indicator as it takes X candles after the fulcrum candle for the fractal pattern to complete. In most common cases, the value of X is 2 (2 falling candles, the fulcrum candle, and 2 rising candles) for a total of 5 candles to complete the fractal pattern. You can find more information in this article, which describes this type of fractal: www.investopedia.com
Fractal Wyckoff Accumulation/Distribution: The Wyckoff Method is used by investors and traders to determine market trends, select investments, and time the placement of trades. It can help them identify the times at which big players are accumulating (or distributing) positions in a security. Fractal Wyckoff accumulation/distribution refers to watching the process occur on a lower timeframe, from a higher timeframe. For more information on the Wycoff Theory, you can see this article: www.investopedia.com
Now that we've covered some terms and definitions, let's cover the 4 major components included in this indicator.
ICT NY Midnight/NY Open (08:30 NY time):
The first piece of the indicator being displayed here is the ICT midnight and 8:30am NY price lines. These lines can be used as non-discretionary levels, or as intra-day premium/discount as part of a fair-pricing model.
DR/IDR:
Initially developed by TheMas7er, DR stands for defining range, and it highlights a range during high volume periods of the day that can act as non-discretionary levels, with very high historical accuracy.
Williams Fractals
Williams Fractals denote fractal market structure, and can be used to mechanically create ranges and view potential liquidity pools in a similar manner to using pivot points.
Triple M:
This tool highlights wicks that represent fractal Wyckoff accumulation and distribution. This pattern can be used an a potential entry trigger when paired with other confluences.
And now that we've covered the core concepts/definitions and an overview of each major component of this indicator, it's time to bring everything together by giving an example of how these tools can be used to define a strategy.
Before NYSE open, turn on the price lines to get a sense of whether price is in the premium or discount of the daily fair-pricing model.
Once NYSE market opens, wait for DR/IDR to establish and break its range.
If the bias from DR/IDR aligns with the fair pricing model from the ICT price lines, you could look for a fractal Wyckoff entry during a retracement.
Disclaimer: This strategy is provided purely as an example and has not been tested by us. Please do your own due diligence by thoroughly backtesting and forward-testing on a demo account befor using any proposed strategy live market with real money!
Important! To utilize all features of this indicator fully, please select "Bring to front" under the visual order menu.
Advanced Support & Resistance Zone DetectionAdvanced Support & Resistance Zone Detection Indicator: A Comprehensive Overview
The "Advanced Support & Resistance Zone Detection" indicator, developed by @HarryCTC, is a powerful tool designed to identify support and resistance levels in trading markets. This indicator helps traders identify areas where the price is likely to encounter obstacles and potentially reverse its direction. By understanding these key levels, traders can make more informed decisions and improve their overall trading strategies.
This indicator is based on the Williams Fractal Indicator.
The indicator employs a fractal-based approach to identify support and resistance levels. Fractals are patterns that indicate potential price reversals. The indicator scans the price data and looks for specific fractal patterns that signify the presence of support or resistance.
For support levels, the indicator searches for downward fractals, where a lower low is formed surrounded by higher lows on both sides. This pattern suggests a potential support level as the price has temporarily stopped declining and may reverse its direction.
Conversely, for resistance levels, the indicator looks for upward fractals, where a higher high is formed surrounded by lower highs on both sides. This pattern indicates a potential resistance level where the price has temporarily halted its ascent and may reverse downwards.
The indicator applies certain conditions and filters to ensure the significance of the identified support and resistance levels. These conditions prevent the inclusion of minor price fluctuations and focus on capturing major turning points in the market.
Once a support or resistance level is detected, the indicator plots it on the chart either as a zone or a line, based on user preferences. The indicator also keeps track of previously identified levels and updates them as new levels are found.
By utilizing fractal analysis, the "Advanced Support & Resistance Zone Detection" indicator provides traders with valuable insights into key levels where price reversals are likely to occur. Traders can use this information to plan their entries, exits, and overall trading strategies more effectively.
The indicator utilizes several input parameters that allow users to customize its behavior according to their preferences and trading styles. Let's explore each of these parameters in detail:
1. Periods: This parameter determines the number of periods considered when identifying support and resistance levels. It indicates the length of the lookback period used to analyze price action and detect potential zones.
2. S&R Distance: The S&R distance parameter specifies the minimum distance, in pips, between the identified support and resistance levels. It helps filter out insignificant price fluctuations and focuses on significant price zones.
3. Number of S&R Levels to Show: This parameter controls the maximum number of support and resistance levels displayed on the chart. Users can set the desired number to avoid cluttering the chart with excessive information.
4. Draw S&R Zones: If enabled, this parameter allows the indicator to draw support and resistance zones on the chart. These zones represent areas where price reversals are likely to occur. Traders can visually analyze the chart and observe the significance of these zones.
5. Draw S&R Lines: This parameter determines whether the indicator should draw lines representing support and resistance levels on the chart. These lines provide a clear visual representation of the detected levels.
6. Resistance Zone Color: Users can customize the color of the resistance zones drawn on the chart. By choosing distinct colors, traders can easily differentiate between support and resistance zones.
7. Support Zone Color: Similarly, this parameter allows users to specify the color of the support zones displayed on the chart.
8. Resistance Line Color: Traders can choose the color of the lines representing resistance levels. This color customization helps in visually distinguishing resistance levels from other elements on the chart.
9. Support Line Color: This parameter determines the color of the lines representing support levels.
10. S&R Zone & Line Extension: The S&R zone and line extension parameter defines the extension of support and resistance zones and lines to the right side of the chart. It provides traders with a visual projection of the potential future behavior of these levels.
11. S&R Line Width: Users can adjust the width of the lines representing support and resistance levels. This customization option helps traders emphasize or de-emphasize these lines based on their preferences.
Support & Resistance ZonesTitle: A Comprehensive Guide to the Support & Resistance Zones Indicator
Introduction
In the world of technical analysis, the Support & Resistance Zones indicator plays a crucial role in identifying potential trading opportunities. These zones are essential for traders looking to capitalize on bounces or break and retests. In this article, we will delve into the specifics of the Support & Resistance Zones indicator, outlining how it works, how it finds and marks zones, and the various options available for traders.
What the indicator is about
The Support & Resistance Zones indicator, developed by @HarryCTC, is a powerful tool for detecting areas of potential price reversal or consolidation in a financial market. These zones are significant as they can act as a guide for traders to make informed decisions on entering or exiting positions. Specifically, the indicator helps identify:
1. Support Zones: Areas where the price has a tendency to bounce back up after falling, indicating a potential buying opportunity.
2. Resistance Zones: Areas where the price has a tendency to reverse after rising, indicating a potential selling opportunity.
How the indicator finds its zones
The Support & Resistance Zones indicator utilizes pivot points to identify potential support and resistance levels. By analyzing the fractal structure of the price chart, the indicator identifies key turning points, known as bull and bear fractals. The bull fractal is a high pivot point, while the bear fractal is a low pivot point.
The fractal structure is determined by the 'Switch Zone Period' input, which can be adjusted to suit the trader's preferences. A higher value will result in fewer zones being identified, while a lower value will result in more zones.
How it marks zones and why it marks zones
The indicator marks the support and resistance zones by creating rectangular boxes around the identified fractal points. The zones are extended horizontally from the fractal point, allowing traders to visualize the potential areas of price reversal.
The zones are marked for the following reasons:
1. To provide a clear visual representation of potential support and resistance levels.
2. To help traders identify potential entry and exit points based on the price's reaction to these zones.
3. To serve as a reference for stop-loss and take-profit levels when planning trades.
The indicator's for traders trading bounces or break and retests
Traders who focus on trading bounces or break and retests can benefit immensely from the Support & Resistance Zones indicator. By providing a visual representation of key support and resistance levels, the indicator enables traders to:
1. Identify potential buying opportunities at support zones where the price is likely to bounce back up.
2. Identify potential selling opportunities at resistance zones where the price is likely to reverse after rising.
3. Make informed decisions on stop-loss and take-profit levels based on the price's proximity to support and resistance zones.
4. Monitor the market for potential breakouts or breakdowns when the price breaches these zones.
Indicator options
The Support & Resistance Zones indicator offers several customizable options to suit the trader's preferences. These options include:
1. Switch Zone Period: Adjusts the number of periods used to calculate the fractal structure, influencing the number of identified zones.
2. No. of Displayed Zones: Determines the maximum number of zones displayed on the chart, ranging from 1 to 8.
3. Zone Extension: Adjusts the horizontal extension of the support and resistance zones.
4. Resistance Zone Color: Customizes the color of the resistance zone boxes.
5. Support Zone Color: Customizes the color of the support zone boxes.
6. Zone Border Color: Customizes the color of the zone box borders.
Conclusion
The Support & Resistance Zones indicator is a valuable tool for traders looking to identify potential trading opportunities based on the price's interaction with support and resistance levels. By providing a clear visual representation of these zones, the
indicator allows traders to make informed decisions on entry and exit points, stop-loss, and take-profit levels. With customizable options, the indicator can be tailored to suit individual trading preferences and strategies.
Fractals PivotsWhich trader does not know pivots? There are a lot of varieties of pivots indicators of which some are a default on most trading platforms. So what better way to challenge yourself then to create your own kind of pivots. Let's welcome the idea of Fractal Pivots.
Williams Fractal or fractals is a technical analysis indicator introduced by the famous trader Bill Williams in his book ‘Trading Chaos’. He developed it on the basis of the Chaos Theory and trading psychology. The indicator is centred around the idea that there is repetition in price behaviour and fractals can provide an insight into those repetitive patterns.
How does the indicator turn these into pivot lines?
The user will set a time period in which the script will look for fractals. It will then remember all the fractals that happen during that time period.
Let's say you are trading the hourly chart with a weekly pivot setting like in the chart this script is published on. The script will highling the 1h fractals that are happening. Then the next week it will use these exact fractals from previous week to draw the pivot lines.
Another example here is an 8h chart. Look how it uses the previous week fractals this week.
Let me know if you find a very great fractal length+timeframe setting where the levels really get respected. I would really appreciate that.
[JL] Fractals ATR BlockI decided to combine Fractal ROC , ATR Break, and Order Blocks to an Indicator
The Fractal ROC , ATR Break, and Order Blocks indicator combines three concepts to help traders identify potential trade opportunities and manage risk. By using a combination of Fractal ROC , ATR Break, and Order Blocks, traders can gain a deeper understanding of market dynamics and make more informed trading decisions.
Fractal ROC is a momentum-based indicator that calculates the rate of change of the price between fractals, which are turning points in the market. It is calculated by taking the difference between the closing price and the lowest price in the previous n+1 periods, and dividing it by the difference between the open price 2n periods ago and the lowest price in the previous n+1 periods. This calculation is done for both up and down fractals. When the Fractal ROC value is greater than the ROC Break Level (as determined by the input variable roclevel), it indicates a potential momentum shift in the market. This can be used to identify potential trade entries or exits, depending on your trading strategy.
ATR Break is an indicator that helps traders identify significant price movements in the market. It measures the distance between the price and the Average True Range (ATR), which is a measure of the volatility of the market. ATR Break is calculated by taking the difference between the close and high/low, and dividing it by the previous ATR value. This calculation is done for both up and down movements. When the ATR Break value is greater than the ATR Break Level (as determined by the input variable atrlevel), it indicates a significant move in the market. This can be used to identify potential breakouts or breakdowns, and can be used to set stop-loss and take-profit levels.
An Order Block is a price level where significant buying or selling activity has taken place. The order blocks made by ATR Break and Fractal ROC are drawn using boxes on the chart. When the ATR or Fractal ROC level is breached, a box is drawn with the high and low of the candle that breached the level as the top and bottom of the box, respectively. The box is then extended to the right until the end of the chart or until another ATR or Fractal ROC level is breached, at which point a new box is drawn. This allows traders to easily identify significant price movements and potential support and resistance levels on the chart. When an Order Block is identified, it can be used as a potential support or resistance level . If price approaches an Order Block from below, it is likely to bounce off this level and continue in an upward direction. Similarly, if price approaches an Order Block from above, it is likely to bounce off this level and continue in a downward direction. Traders can use these levels to identify potential trade entries or exits, as well as to set stop-loss and take-profit levels.
Overall, the Fractal ROC , ATR Break, and Order Blocks indicator is a powerful tool for traders who want to identify potential trade opportunities and manage risk. By combining these three concepts, traders can gain a deeper understanding of market dynamics and make more informed trading decisions. As with any indicator, it is important to use it in conjunction with other analysis tools and to have a clear trading plan in place.
EMA + Williams Fractal Pullback [Trading Nerd]EMA Pullback Strategy with Williams Fractal Indicator
Backtesting script that searches for trends (long and short) and a following pullback into the EMAs. It enters on the first Williams Fractal in the desired direction. I found the Strategy on YouTube as a "M1 Scalping Strategy for Bitcoin".
Including fees the strategy is not profitalbe in lower timeframes (at least if not optimized). But it seems to work on higher timeframes as a swing traiding strategy.
Strategy Conditions
Longs:
EMA 1 > EMA 2 and EMA 2 > EMA 3
Number of need to be above the EMA 1
Then a Pullback into the EMAs is required
Enter on the first bullish Williams Fractal
Signal is canceled if the price closes below the EMA 3
Shorts:
EMA 1 < EMA 2 and EMA 2 < EMA 3
Number of need to be below the EMA 1
Then a Pullback into the EMAs is required
Enter on the first bearish Williams Fractal
Singal is canceled if the price closes above the EMA 3
Take Profit
A Risk Reward Take Profit is possible. If you want to use only a trailing Stop Loss, you can set the Take Profit to 'None'
Stop Loss
The default Stop Loss is EMA. If the Pullback has not reached the EMA 2, the Stop Loss is set to the EMA 2. If the Pullback has reached the EMA 2, the Stop Loss is set to the EMA 3.
Other Stop Loss types are available: ATR, HH/LL
Trailing Stop Loss
Available trailing Stop Loss types: ATR, HH/LL. Best practice is to also set the Stop Loss type to the same value.
The Stop Loss is updated if the value from the latest closed candle is greater/less than the previous value for a long/short trade.
Additional
Time Filter: Only opens trade in the defined Session. Open trades are still being closed outside of the Session.
Start Date/End Date: Limits the backtest for the defined Date Range
Trading Days: Only open Trades on the checked Days
Risk % per Trade: If enabled the Strategy uses X% of the capital (defined in Settings -> Properties -> Initial Capital)
Use Compound Interest: If enabled Capital is recalculated for every trade (initial capital + net Profit)
IMPORTANT: For low Timeframes and Markets with tight SL (like Forex) it requires a lower Margin Percent than default. Go to Settings->Properties and lower the required Long/Short Margin. Otherwise Trades might not be considered because of too less capital/marign. Margins can e.g. set to: 2% (Forex), 10% (Stocks), 20% (Crypto).
End-pointed SSA of Williams %R [Loxx]End-pointed SSA of Williams %R is an indicator that runes Williams %R SSA calculation through a Singular Spectrum Analysis (SSA) algorithm to derive a smoother final output. The reduction in noise from the traditional Williams %R is significant.
What is Williams %R?
Williams %R , also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams %R may be used to find entry and exit points in the market. The indicator is very similar to the Stochastic oscillator and is used in the same way. It was developed by Larry Williams and it compares a stock’s closing price to the high-low range over a specific period, typically 14 days or periods.
What is Singular Spectrum Analysis ( SSA )?
Singular spectrum analysis ( SSA ) is a technique of time series analysis and forecasting. It combines elements of classical time series analysis, multivariate statistics, multivariate geometry, dynamical systems and signal processing. SSA aims at decomposing the original series into a sum of a small number of interpretable components such as a slowly varying trend, oscillatory components and a ‘structureless’ noise. It is based on the singular value decomposition ( SVD ) of a specific matrix constructed upon the time series. Neither a parametric model nor stationarity-type conditions have to be assumed for the time series. This makes SSA a model-free method and hence enables SSA to have a very wide range of applicability.
For our purposes here, we are only concerned with the "Caterpillar" SSA . This methodology was developed in the former Soviet Union independently (the ‘iron curtain effect’) of the mainstream SSA . The main difference between the main-stream SSA and the "Caterpillar" SSA is not in the algorithmic details but rather in the assumptions and in the emphasis in the study of SSA properties. To apply the mainstream SSA , one often needs to assume some kind of stationarity of the time series and think in terms of the "signal plus noise" model (where the noise is often assumed to be ‘red’). In the "Caterpillar" SSA , the main methodological stress is on separability (of one component of the series from another one) and neither the assumption of stationarity nor the model in the form "signal plus noise" are required.
"Caterpillar" SSA
The basic "Caterpillar" SSA algorithm for analyzing one-dimensional time series consists of:
Transformation of the one-dimensional time series to the trajectory matrix by means of a delay procedure (this gives the name to the whole technique);
Singular Value Decomposition of the trajectory matrix;
Reconstruction of the original time series based on a number of selected eigenvectors.
This decomposition initializes forecasting procedures for both the original time series and its components. The method can be naturally extended to multidimensional time series and to image processing.
The method is a powerful and useful tool of time series analysis in meteorology, hydrology, geophysics, climatology and, according to our experience, in economics, biology, physics, medicine and other sciences; that is, where short and long, one-dimensional and multidimensional, stationary and non-stationary, almost deterministic and noisy time series are to be analyzed.
Included:
Bar coloring
[*Alerts
[*Signals
[*Loxx's Expanded Source Types
Related Williams %R Indicators
Williams %R on Chart w/ Dynamic Zones
Williams %R w/ Bollinger Bands
Intermediate Williams %R w/ Discontinued Signal Lines
Related SSA Indicators
End-pointed SSA of FDASMA
End-pointed SSA of Normalized Price Oscillator
Swing PointsEnglish:
The indicator shows the fractals where stop-losses may be located and can be used to trade from their taking.
You can adjust the length of the fractal (the number of bars with which it is surrounded on both sides, to confirm the validity).
You can also display lines from fractal points for clarity.
To keep the chart clean, you can enable deletion of already taken fractals.
Example of use with deleted fractals and without lines:
Русский:
Индикатор показывает фракталы где могут находиться стоп-лоссы и его можно использовать для торговли от их снятия.
Можно настраивать длину фрактала (количество баров, которыми он окружен с обеих сторон, для подтверждения валидности).
Так же можно выводить линии от фрактальных точек для наглядности.
Для сохранения чистоты графика можно включить удаление уже снятых фракталов.
Пример использования с удалением снятых фракталов и без линий:
Smaller Fractals (+ Transparency)Smaller Fractals (+ Transparency)
I find that fractals are super useful, but can visually clutter up the chart pretty quickly. Their opaqueness and just overall bigness can become a bit much.
As such, these are just like regular fractals, only smaller (pine script's`size.tiny` instead of the default `size.small`).
Also, you can set a transparency level to these little guys (default is 50%).
Simple, more polite, and hopefully more useful fractals for those wnting a cleaner looking chart. 😁
Williams Fractals - LH/HLSame of original Williams Fractals, but with the following changes
- changed arrow directions
- added option to show Lower Highs and Higher Lows
- added alerts for Lower High and Higher Low
Enjoy~~
Liquidity Raid - Stop HuntLiquidity Raid - Stop Hunt
The market always seeks liquidity. Liquidity rests above previous highs and below previous lows as many traders see these as obvious points to place their stops. These are areas in the chart where many orders are placed together and serve as tipping points for market makers.
The script marks the breach of a market structure high/low with a vertical line. The script has the option to show the current W,D,4H & 1H market structure high and low.
How to use:
Once a raid occurs, use a higher timeframe to search for high probability supply and demand zones. Price needs to react to something. You may have multiple breaches before a reversal happens as price is likely looking for fresh(untested) zones. So don't trade blindly.
A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Lines and colours are all customizable
Alerts function included.
Indicator in use:
Fractal Level Zones - Break / Test / RaidFractal Level Zones - Break / Test / Raid
An experimental script that marks out the last two unbroken fractal high and low zones. The aim of the script is to focus on the type of candles that form and close in a zone. They can either tap into the zone or break them.
There are a number of outcomes:
- Break
- Break and retest
- Reversal
- Raid
When a zone is broken, the next untested fractal zone is printed.
How to use:
The indicator is to be used on higher time frames (M,W,D/4H). Monitor the type of candles that in form a zone (Daily TF recommended)
Default icon colours
Orange - Test of Zone
Purple - Break of fractal (can also be a raid)
Alert function included
Indicator in Use
CHOCH - MSB for Supply and DemandChange of Character (CHOCH) - Market Structure Break (MSB) for Supply & Demand
Description
The script is designed as a confirmation entry tool to be used with supply and demand zones (predefined proximal and distal levels).
When price hits a predefined level it will monitor price action using fractals and an algorithm to determine a potential reversal in trend or change of trend direction.
Once this has been identified you will be alerted in order to anticipate a retracement entry. A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Indicator in use
How To Use
Apply one indicator on a higher timeframe, and another on a lower timeframe. In settings, select long for a demand zone and short for a supply zone. Use the higher timeframe to plot major supply and demand zones and a lower timeframe of your choice for the alert. You can refine your levels by manually entering the price levels in settings. The alert is set on the timeframe you set it on.
Manual Selection
Check "override custom levels" and manually enter the price levels of your proximal and distal lines. Input the time and date of your pivot point (candle). Manual selection is recommended as you can refine your zones.
Automatic Selection
Drag and drop the pivot on the candle of choice . The pivot point will mark the zone using the candle's high and low (default setting). Source for top and bottom levels can be changed in settings.
Start Control after X Bar
This defines how many bars is required (from your pivot point) before it sets to anticipate a breach.
Power Peaks & Valleys (Williams Fractals)This indicator uses Williams Fractals (standard indicator on TradingView) as a base to identify Peaks and Valleys (Pivot Points) that usually act as Resistance and Support levels. What this indicator brings is powerful options to filter those Fractals out based on:
Candle Type : calculated based on candle Open and Close (All / Bullish / Bearish)
Minimum Candle Size : calculated based on a lookback of past range of candles and measuring their sizes (None / Average of Candles Range / Max of Candles Range)
With these features, you can decide whether you want all Fractals or specific ones that could be considered major due to their candle type and size where the Fractal appears. Usually, drawing a horizontal level for the inner side of the candle (the High of the Bearish candle Fractal or the Low of the Bullish candle Fractal could see nice reactions for entries.
All features are configurable from the indicator's settings.
Please leave a comment for improvements or suggestions. Alerts and more Candle Types or Minimum Candle Size might be added in the future, as well as the ability to auto draw the levels as soon as they appear or removing them if they get invalidated.
[VDB]TrendScalp-FractalBox-3EMAThere are many indicators with William’s Fractal and Alligator. As many use EMA’s it may be useful to define a 3-EMA ribbon and combining Fractal Levels/Box (filling background between top and bottom fractals) for trend scalping. I searched for this kind of indicator in community – some show fractals, some just levels, some with alligator etc. but couldn't find the one needed. Hence thought of this indicator which may be of interest to other users too.
Key Points:
EMA ribbon is created using 3 EMA’s 35/70/105. Users can change these as per their preference. This is used for trend identification – 1. Bullish bias if Price > EMA1 > EMA2 > EMA3. 2. Bearish bias if Price < EMA1 < EMA2 < EMA3.
Background is marked during crossing of EMA1 and EMA2 to alert possible trend change.
5-bar fractals are used to mark the Fractal levels and background between top and bottom fractals are filled to create a Fractal Box.
Fractal levels are marked only when the fractal formation is complete. Given offset is used this is lagging.
How to Use:
Sloping EMA ribbon is used for identifying the trend.
Fractal box break-out/ break-downs are used to trigger the trade with fractal high/low for entry/SL. Waiting for price contraction towards EMA ribbon resulting in smaller boxes is key to initiate trade. Avoid bigger boxes as SL’s will be big and price may move within. To draw the vertical lines of FractalBox change fractal level0 style to step-line.
This indicator combined with the cycle high/low (overbought/oversold) indicators such as CCI/Stochastic/RSI etc. can make it a good trend scalping setup while trading in the direction of momentum in higher timeframe.
This setup could be used for any timeframes. Do your back-testing before using it in live market.
This indicator was achieved by combing some fractal ideas from “Fractal and Alligator Alerts by JustUncleL”
DISCLAIMER : This indicator has been created for educational reference only and do not constitute investment advice. This indicator should not be relied upon as a substitute for extensive independent market research before making your actual trading decisions. Market data or any other content is subject to change at any time without notice. Liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of this indicator is accountability of user using it.
Makuchaku's trading tools - Liquidity visualizerThis indicator plots those pivots/fractals which have not been taken out by price, whereby showing where are the clusters of highs/lows where stop orders (or liquidity) could be hiding.
This is a fantastic tool for taking reversal trades.