Custom Opening Price Levels (PO3)This indicator is designed to assist the trader in identifying the Power of Three through the opens of the candles.
-------------------------
The PO3 is a concept introduced by ICT. First, you need to have a directional bias for the month or the specific candle in question. It should be of high time frame (HTF BIAS).
At the open of the specific candle, the market will generate interest in the direction opposite to the HTF BIAS, accumulating positions. It will then manipulate the positions of less informed traders to generate the necessary liquidity to fill informed operators positions.
Finally, positions are distributed in favor of the bias.
-------------------------
The PO3 is a phenomenon that repeats across all timeframes. This indicator is highly customizable and allows the user to choose from a range of timeframes: 3 months, 1 month, 1 week, 1 day, and 3 hours. The indicator displays the last 3 opens for the selected period.
-------------------------
The script is open-source, so feel free to add more timeframes or open levels if you have coding skills.
จุดหมุนและระดับ
Price & Volume Breakout Fibonacci Probability [TradeDots]📝 OVERVIEW
The "Price & Volume Breakout Fibonacci Probability" indicator is designed to detect the probability of the maximum run-up and drawdown of each breakout trade on an asset, assisting traders in optimizing their take profit and stop loss strategies.
🧮 CALCULATIONS
The algorithm detects price and volume breakouts to activate the Fibonacci levels displayed on the chart. It calculates these levels using the period pivot high and low, with the close price of the breakout bar as the reference price.
The indicator then forward-tests within an user-selected number of bars, detecting the maximum run-up and drawdown during that period. Consequently, it calculates the probability of the price hitting either side of the Fibonacci levels, showing the likelihood of reaching take profit and stop loss targets for each breakout trade.
📊 EXAMPLE
The above example shows two breakout trades, circled within the yellow rectangle zone.
The first trade has a maximum run-up above the +0.382 Fibonacci level zone and a maximum drawdown below the -0.618 Fibonacci level zone.
When the price reaches the maximum run-up, it only has a ~45% probability of moving further upward into the last two zones (25% + 19.44%). This indicates that setting a take profit at a higher level may have less than a 50% chance of success.
Conversely, when the price reaches its maximum drawdown, there is only an ~8% probability of moving further downward into the last drawdown zone. This could indicate a potential reversal.
⚙️ SETTINGS
Breakout Condition: Determines the type of breakout condition to track: "Price", "Volume", "Price & Volume".
Backtest Period: The maximum run-up and drawdown are detected within this bar period.
Price Breakout Period: Specifies the number of bars the price needs to break out from.
Volume Breakout Period: Specifies the number of bars the volume needs to break out from.
Trendline Confirmation: Confirms that the close price needs to be above the trendline.
📈 HOW TO USE
By understanding the probabilities of price movements to both the upside and downside, traders can set take profit and stop loss targets with greater accuracy.
For instance, placing a stop loss order below the zone with the highest probability minimizes the chances of being stopped out of a profitable trade. Conversely, setting a take profit target at the zone with the highest probability increases the win rate.
Additionally, if the price breaches multiple Fibonacci levels during the breakout period, it may indicate an abnormal state, signaling a potential reversal or pullback. This can help traders exit trades in a timely manner.
Traders can adjust their take profit and stop loss levels based on their individual risk tolerance.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
Swing Points [CrossTrade]The "Swing Points" indicator is designed to help identify key swing points, trends, and potential support and resistance areas on a trading chart. This indicator overlays on the price chart and offers several features for enhanced market analysis.
Swing Point Identification: The indicator identifies swing highs and lows (pivot points) over a user-defined period. These points are crucial in understanding market reversals and momentum.
Swing Points Display: Users have the option to visually display these pivot points on the chart. Swing highs are marked with a red "H" above the bar, and swing lows with a green "L" below the bar, aiding in quick visual identification.
Center Line Calculation and Display: A dynamic center line is calculated using the pivot points, providing a baseline that adapts to market movements. The center line's appearance changes based on its position relative to the current price, making it a useful trend indicator.
Support and Resistance Levels: The indicator plots horizontal support and resistance lines based on the swing lows and highs, respectively. This feature helps traders identify potential areas of price consolidation or breakout.
Customization Options: Users can customize the period for swing point calculation and choose whether to display the pivot points, center line, and support/resistance levels.
Alert Features
Swing High Break Alert: An alert is triggered when a new swing high is detected, signaling a potential upward momentum shift.
Swing Low Break Alert: This alert activates when a new swing low is formed, possibly indicating a downward momentum shift.
Center Line Trend Color Change Alert: Alerts users when the center line changes its trend color, which could signify a change in overall market trend direction.
Volatility Projection Levels (VPL)### Indicator Name: **Volatility Projection Levels (VPL)**
### Description:
The **Volatility Projection Levels (VPL)** indicator is a powerful tool designed to help traders anticipate key support and resistance levels for the E-mini S&P 500 (ES) by leveraging the CBOE Volatility Index (^VIX). This indicator utilizes historical volatility data to project potential price movements for the upcoming month, offering clear visual cues that enhance swing trading strategies.
### Key Features:
- **Volatility-Based Projections**: The VPL indicator uses the previous month’s closing value of the VIX, normalizing it for monthly analysis by dividing by the square root of 12. This calculated percentage is then applied to the E-mini S&P 500’s closing price from the last day of the previous month.
- **Upper and Lower Projection Levels**: The indicator calculates two essential levels:
- **Upper Projection Level**: The previous month’s closing price of the E-mini S&P 500 plus the calculated volatility percentage.
- **Lower Projection Level**: The previous month’s closing price of the E-mini S&P 500 minus the calculated volatility percentage.
- **Continuous Visualization**: The VPL indicator plots these projection levels on the chart throughout the entire month, providing traders with a consistent reference for potential support and resistance zones. This continuous visualization allows for better anticipation of market movements.
- **Previous Month's Close Reference**: Additionally, the indicator plots the previous month’s closing price as a reference point, offering further context for current price action.
### Use Cases:
- **Swing Trading**: The VPL indicator is ideal for swing traders looking to exploit predicted price ranges within a monthly timeframe.
- **Support & Resistance Identification**: It aids traders in identifying critical levels where the market may encounter support or resistance, thus informing entry and exit decisions.
- **Risk Management**: By forecasting potential price levels, traders can set more strategic stop-loss and take-profit levels, enhancing risk management.
### Summary:
The **Volatility Projection Levels (VPL)** indicator equips traders with a forward-looking tool that incorporates volatility data into market analysis. By projecting key price levels based on historical VIX data, the VPL indicator enhances decision-making, helping traders anticipate market movements and optimize their trading strategies.
Made by Serpenttrading
Daily Levels Percentual [TOLK] Settings Crypto and ForexPercentage zones refer to specific areas or bands on the price chart of a financial asset that are bounded by percentages of change relative to a reference point, such as the opening price or a reference value from a previous move.
These zones are useful for identifying support and resistance levels, predicting possible price reversals, or setting price targets. For example, on a price chart, you can create percentage zones to observe how the price behaves when it reaches 1%, 2%, 5%, 10%, etc., above or below a certain point.
These zones can be used in conjunction with other technical analysis tools, such as Fibonacci, moving averages, or volume analysis, to improve decision-making in trading strategies.
The default indicator levels are as follows:
SETTINGS Crypto:
Crypto Level 1 > 1.0%
Crypto Level 2 > 1.618%
Crypto Level 3 > 2.0%
Crypto Level 4 > 2.618%
Crypto Level 5 > 3.618%
Crypto Level 6 > 4.618%
Crypto Level 7 > 5.0%
Crypto Level 8 > 7.618%
Crypto Level 9 > 10.0%
Crypto Level 10 > 12.618%
Crypto Level 11 > 13.618%
Crypto Level 12 > 15%
Crypto Level 13 > 17.618%
Crypto Level 14 > 20%
SETTINGS Forex:
Forex Level 1 > 0.10%
Forex Level 2 > 0.1618%
Forex Level 3 > 0.20%
Forex Level 4 > 0.2618%
Forex Level 5 > 0.3618%
Forex Level 6 > 0.4618%
Forex Level 7 > 0.50%
Forex Level 8 > 0.7618%
Forex Level 9 > 1.0%
Forex Level 10 > 1.2618%
Forex Level 11 > 1.3618%
Forex Level 12 > 1.50%
Forex Level 13 > 1.7618%
Forex Level 14 > 2.0%
Percentage Levels This approach helps identify critical price levels where the asset may encounter support or resistance, making it easier to make trading decisions based on price movement patterns.
Configurable Level Trading StrategyThe Dynamic Level Reversal Strategy is a trading approach designed to capitalize on price movements between key support and resistance levels. This strategy leverages configurable levels the trader determines, allowing for flexibility and adaptation to different market conditions.
Key Features:
Configurable Levels:
The strategy uses three key levels: Level 1 (Support), Level 2 (Middle), and Level 3 (Resistance). These levels can be adjusted directly within the script settings, making the strategy adaptable to various trading scenarios.
Buy and Sell Signals:
A buy signal is triggered when the price touches Level 1 and shows signs of reversal. The trader enters a position and sets an initial stop-loss just below Level 1.
As the price moves upward, the stop-loss is dynamically adjusted to just below Level 2 and Level 3, locking in profits while managing risk.
A sell signal is generated if the price reverses and crosses below the current stop-loss level, ensuring the trader exits the position with minimized losses.
Iterative Process:
The strategy allows for iterative trades, where the trader re-enters positions at Level 1 or Level 2 if the price revisits these levels, continually adjusting stop-losses and take-profit targets as the price oscillates between the defined levels.
Ideal Use Cases:
Range-Bound Markets: The strategy is particularly effective in markets where the price tends to oscillate between well-defined support and resistance levels.
Volatile Markets: The dynamic adjustment of stop-loss levels helps protect against sudden price reversals, making it suitable for volatile market conditions.
How to Use:
Set the desired levels (Level 1, Level 2, Level 3) based on your market analysis.
The script will automatically generate buy and sell signals, and adjust stop-loss levels as the price moves through the levels.
Monitor the signals and execute trades according to the strategy's guidelines.
Candle Fibs [QuantVue]The Candles Fib indicator is designed to help traders find potential levels of support and resistance based on ATR and Fibs.
How the Indicator Works
Identification of Large Candles:
🔹The indicator begins by identifying "large candles" based on their size relative to the Average True Range (ATR).
🔹 ATR (Average True Range) : ATR is a technical analysis indicator that measures market volatility by averaging the true range over a specified period, default 10 periods. The true range is the greatest of the following:
The difference between the current high and current low.
The difference between the previous close and the current high.
The difference between the previous close and the current low.
🔹In this script, a candle is considered "large" if its true range (the difference between the high and low) is at least twice the ATR.
Calculation of Fibonacci Levels:
🔹Once a large candle is identified, the indicator calculates key Fibonacci retracement levels based on the size of the candle.
🔹 Fibonacci Retracement : Fibonacci retracement levels are horizontal lines that indicate where support and resistance are likely to occur. These levels are derived from the Fibonacci sequence, a series of numbers where each number is the sum of the two preceding ones, often found in nature and markets.
🔹The most commonly used Fibonacci retracement levels are 0.382, 0.50, 0.618, and 0.786. In this indicator, the 0.50 and 0.618 levels are used.
Dynamic Plotting and Management of Levels:
🔹The indicator plots these Fibonacci levels as horizontal lines on the chart automatically.
🔹These lines extend as new bars (candlesticks) are formed, allowing the trader to see how the market reacts to these levels in real-time.
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers!
4C Data Table SuiteOverview
The 4C Data Table Suite is a versatile TradingView indicator, designed for traders who focus on the critical role of prior bar levels in their strategy. By highlighting the high and low points of previous bars, this tool aids in pinpointing crucial support and resistance zones, which often act as psychological triggers for market participants. The unique feature of this indicator is its dual-color coding: it colors bars green for bullish closes and red for bearish closes in the Prior Bar Table, and for the current timeframe, it highlights whether the current price is above (green) or below (red) these levels.
Concepts
1 — This sophisticated indicator is not just about visual cues; it provides a rich tableau of data including:
• Current timeframe countdown to bar close
• GMT-adjusted clock for precise trade timing
• Real-time updates on market internals and volatility measures such as the NYSE TICK and ATR
2 — The configuration is highly customizable, allowing users to:
• Adjust the table's positioning and text size
• Choose color settings for text, background, and borders to suit their visual preference
• Toggle the display of various data components based on their trading needs
3 — The Prior Bar Table is particularly valuable for:
• Traders using prior bar levels as triggers for trade entries and exits
• Quick visual assessment of market sentiment
• Real-time decision-making supported by dynamic color coding based on current price movements relative to prior highs and lows
Features
• Prior Bar Levels Table: Visualizes high and low levels of prior bars with intuitive color coding, aiding traders in assessing market trends.
• Dynamic Color Coding: Updates colors based on the closure of the previous bar and current price positions relative to the past bar's highs and lows.
• Comprehensive Market Data: Includes a suite of essential data such as market internals, the prior bar’s range, and the latest price information.
• Customizable Visuals: Offers extensive options for customizing the appearance and data presented, ensuring the tool fits seamlessly into any trader's strategy.
How to Use
1. To add the indicator, search for "4C Data Table Suite" under indicators on TradingView and apply it to your chart.
2. Navigate to the indicator settings to customize the display properties, including table position, color schemes, and which data points to display.
3. Utilize the toggles within the "Prior Bar Levels Table" settings to adjust the visibility and behavior of the table, depending on your trading approach.
Limitations
• This indicator is optimized for use on time-based charts and may not perform as intended on tick charts or non-standard timeframes.
• The color coding is based on the closure of bars, which may not always reflect intrabar movements, potentially affecting real-time decision-making in highly volatile markets.
Notes
• Ensure your TradingView interface is set to the correct timezone settings to align the GMT clock accurately.
• The dynamic color updates are designed to provide at-a-glance insights but should be used in conjunction with other analysis tools for best results.
*If you find that the indicator is blocking some of the candles at the bottom of the screen, go to (Chart) Settings, Canvas, and then adjust the Bottom/Top margin by increasing the % Amount.
Thanks
Special thanks to the TradingView community and developers whose feedback and insights have helped refine the functionalities of the 4C Data Table Suite. Your collaborative spirit is what makes continuous improvement possible.
Pivot Market StructureThis Indicator helps identify the current market structure.
The Swing Market Structure is identified based on thresholds (either on percentages or absolute values) to tell if a pullback is value (=deep enough). If a level is broken, the furthest opposite point becomes the new low/high, respectively.
For the active movement (identified high + low), various retracement levels can be configured and shown.
As most granular structure, the Fractal Market Structure helps identify strong structure breaks within the most recent bars.
Note: If certain timeframes don´t show a market structure breakdown, reduce the threshold until valid pullbacks can be found.
Predictive Order Blocks [CryptoSea]The Predictive Order Blocks Indicator is a unique and innovative tool that enhances market analysis by identifying support and resistance blocks based on standard deviations from a median line. Unlike traditional indicators that rely solely on the close price, this indicator leverages the median line and standard deviations to form areas of interest, rather than targeting a single price point. This approach provides a more accurate representation of market structure, especially during periods of consolidation and expansion.
Key Features
Multi-Term Length Analysis: The indicator offers short, medium, and long-term settings, allowing traders to customise the analysis based on their preferred trading strategy and timeframe. This flexibility ensures that the tool is adaptable to various market conditions and trading styles.
Standard Deviation-Based Order Blocks: The core functionality of the indicator revolves around calculating standard deviations from a median line to form support and resistance blocks. These blocks provide a clearer and more reliable picture of market structure compared to single-point levels. By focusing on areas rather than exact price levels, the indicator helps traders identify zones where price is likely to react, leading to more informed trading decisions.
Dynamic Box Creation: The indicator dynamically creates breakout boxes based on user-selected standard deviation ranges. These boxes are formed at the start of market expansion following periods of consolidation. This feature is particularly useful because it highlights key levels where price is likely to retrace after breaking out, providing traders with actionable insights during market transitions.
Proximity-Based Gradient Colors: The indicator features gradient colors that change based on the price's proximity to the standard deviation bands. This visual aid helps traders quickly assess the current market condition and the potential significance of the support and resistance blocks.
Adaptive Display Options: To accommodate different trading preferences, the indicator includes options to toggle the display of the trend line (median line) and the standard deviation bands. This flexibility allows traders to customise their chart view to match their analysis style, whether they prefer a more clutter-free view or a detailed breakdown of market levels.
In the example below, the indicator shows the bands compressing during a period of consolidation, highlighting the potential for a breakout.
How it Works
Median Line Calculation: The indicator calculates the median line using a user-defined period. This line serves as the central reference point from which the standard deviations are calculated. By using the median line instead of just the close price, the indicator provides a more stable and reliable baseline for identifying support and resistance areas.
Standard Deviation Bands: Around the median line, the indicator calculates multiple standard deviation bands. These bands represent areas where price is statistically likely to find support or resistance. By focusing on these areas, traders can better anticipate where price might react, rather than relying on arbitrary levels.
Dynamic Box Creation and Expansion Detection: The indicator monitors the compression and expansion of the standard deviation bands. During periods of low volatility (squeeze), the bands compress, indicating consolidation. Once the bands start expanding, it signals the potential for a breakout. At this point, the indicator dynamically creates predictive order blocks based on the selected standard deviation range. These blocks highlight key levels where price might retrace or react, providing traders with valuable entry and exit points.
Color-Coded Proximity Alerts: To further enhance usability, the indicator uses color gradients to indicate how close the current price is to the calculated bands. This visual representation helps traders quickly assess the potential significance of the price's current position relative to the support and resistance areas.
In the example below, the indicator shows the bands expanding with the price, triggering the formation of the predictive order block.
In the final example, the price retraces into the order block before bouncing back to the upside, demonstrating the effectiveness of the identified support area.
Alerts
Trend Line Alerts: The indicator provides alerts when the price crosses above or below the trend line (median line). This feature is crucial for traders looking to identify potential trend changes early, allowing them to act quickly on emerging opportunities.
Band Alerts: Alerts are also triggered when the price crosses above or below the upper or lower bands for each standard deviation level. This helps traders identify potential breakout or breakdown scenarios, ensuring they are notified of significant market movements as they happen.
Customisable Alert Conditions: To cater to different trading strategies, the indicator allows users to set alert conditions for each standard deviation band and the trend line. This level of customisation ensures that traders receive alerts that are relevant to their specific trading style and market analysis.
Application
Strategic Decision-Making: The Predictive Order Blocks Indicator assists traders in making informed decisions by providing detailed analysis of potential breakout zones. By identifying key support and resistance areas, the indicator helps traders plan their entries and exits with greater precision.
Trend Confirmation: The indicator reinforces trading strategies by identifying key levels where price is likely to react. This confirmation is crucial for traders looking to enter trades with higher confidence.
Customized Analysis: The indicator adapts to various trading styles with extensive input settings that control the display and calculation of order blocks. Whether you're a day trader, swing trader, or long-term investor, the indicator can be tailored to meet your specific needs.
Visual Clarity: With customizable color settings and display options, the indicator enhances chart readability, allowing traders to quickly and easily interpret market data.
The Predictive Order Blocks Indicator by CryptoSea is an invaluable addition to a trader's toolkit, offering depth and precision in market trend analysis to navigate complex market conditions effectively.
Price Close ProbabilityThe Price Close Probability Indicator is designed to help traders estimate the likelihood of price closing above or below specified levels within a given bar. By placing two levels on your chart, you can quickly gauge the probability of the current price bar closing above or below these levels in real-time.
Key Features:
Dynamic Probability Calculation: The indicator continuously updates the probability of price closing above or below your set levels as the current bar progresses, providing you with timely insights as the bar approaches its close.
Customizable Standard Deviation : Adjust the length of the Standard Deviation used in the calculations to tailor the probability estimates to your preferred settings.
User-Friendly Probability Table : A clean, easy-to-read table displays the calculated probabilities, helping you make informed trading decisions at a glance.
Assumptions and Considerations:
While the indicator assumes that returns are normally distributed, which may not fully reflect reality, it still offers a valuable approximation of the probabilities for price movement within the current bar.
Future Enhancements (Coming Soon):
Multi-Bar Probability: Calculate probabilities across multiple bars to enhance your forecasting capabilities.
Additional Levels: Set more than two levels for a broader analysis of price movements.
Refined Distribution Modeling: Improve the accuracy of probability calculations by adjusting for more realistic return distributions.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Market Structure Based Stop LossMarket Structure Based Dynamic Stop Loss
Introduction
The Market Structure Based Stop Loss indicator is a strategic tool for traders designed to be useful in both rigorous backtesting and live testing, by providing an objective, “guess-free” stop loss level. This indicator dynamically plots suggested stop loss levels based on market structure, and the concepts of “interim lows/highs.”
It provides a robust framework for managing risk in both long and short positions. By leveraging historical price movements and real time market dynamics, this indicator helps traders identify quantitatively consistent risk levels while optimizing trade returns.
Legend
This indicator utilizes various inputs to customize its functionality, including "Stop Loss Sensitivity" and "Wick Depth," which dictate how closely the stop loss levels hug the price's highs and lows. The stop loss levels are plotted as lines on the trading chart, providing clear visual cues for position management. As seen in the chart below, this indicator dynamically plots stop loss levels for both long and short positions at every point in time.
A “Stop Loss Table” is also included, in order to enhance precision trading and increase backtesting accuracy. It is customizable in both size and positioning.
Case Study
Methodology
The methodology behind this indicator focuses on the precision placement of stop losses using market structure as a guide. It calculates stop losses by identifying the "lowest close" and the corresponding "lowest low" for long setups, and inversely for short setups. By adjusting the sensitivity settings, traders can tweak the indicator's responsiveness to price changes, ensuring that the stop losses are set with a balance between tight risk control and enough room to avoid premature exits due to market noise. The indicator's ability to adapt to different trading styles and time frames makes it an essential tool for traders aiming for efficiency and effectiveness in their risk management strategies.
An important point to make is the fact that the stop loss levels are always placed within the wicks. This is important to avoid what can be described as a “floating stop loss”. A stop loss placed outside of a wick is susceptible to an outsized degree of slippage. This is because traders always cluster their stop losses at high/low wicks, and a stop loss placed outside of this level will inevitably be caught in a low liquidity cascade or “wash-out.” When price approaches a cluster of stop losses, it is highly probable that you will be stopped out anyway, so it is prudent to attempt to be the trader who gets stopped out first in order to avoid high slippage, and losses above what you originally intended.
// For long positions: stop-loss is slightly inside the lowest wick
float dynamic_SL_Long = lowestClose - (lowestClose - lowestLow) * (1 - WickDepth)
// For short positions: stop-loss is slightly inside the highest wick
float dynamic_SL_Short = highestClose + (highestHigh - highestClose) * (1 - WickDepth)
The percentage depth of the wick in which the stop loss is placed is customisable with the “Wick Depth” variable, in order to customize stop loss strategies around the liquidity of the market a trader is executing their orders in.
Pivot Channel Breaks [BigBeluga]Pivot Channel Break
The Pivot Channel Break indicator identifies key pivot points and creates a dynamic channel based on these pivots. It detects breakouts from this channel, providing potential entry and exit signals for traders.
🔵 How to Use
Channel Identification:
- Upper and lower channel lines drawn based on pivot highs and lows
- Channel width dynamically adjusted using ATR-like calculation
Breakout Signals:
- Upward breakout: Price closes above upper channel line
- Downward breakout: Price closes below lower channel line
- Signals shown as X marks on the chart
Pivot Points:
- High pivots marked with "H" triangles
- Low pivots marked with "L" triangles
Support & Resistance:
- Optional signals when price touches but doesn't break channel lines
Trend Visualization:
- Optional bar coloring based on the most recent breakout direction
🔵 Customization
• Pivot Right: Lookback period for pivot detection (default: 10)
• Pivot Left: Forward period for pivot confirmation (default: 40)
• Channel Width: Multiplier for channel width calculation (default: 1.0)
• Support & Resistance Signals: Toggle additional touch signals
• Bar Color: Enable/disable trend-based bar coloring
Calculation:
Detect pivot highs and lows using specified lookback periods
Calculate channel basis using 10-period SMA of close prices
Determine channel width using ATR-like calculation: RMA(high - low, 10) * width multiplier
Set channel lines based on pivot points and calculated deviations
Identify breakouts when price crosses beyond channel lines
The Pivot Channel Break indicator offers a dynamic approach to identifying potential trend changes and breakout opportunities. It combines pivot point analysis with a flexible channel calculation, providing traders with a visual tool for market structure analysis. Use this indicator in conjunction with other technical analysis methods to confirm signals and manage risk effectively.
Pure Price Action Liquidity Sweeps [LuxAlgo]The Pure Price Action Liquidity Sweeps indicator is a pure price action adaptation of our previously published and highly popular Liquidity-Sweeps script.
Similar to its earlier version, this indicator detects the presence of liquidity sweeps on the user's chart, while also identifying potential areas of support/resistance or entry when liquidity levels are taken. The key difference, however, is that this price action version relies solely on price patterns, eliminating the need for numerical swing length settings.
🔶 USAGE
A Liquidity Sweep occurs when the price breaks through a liquidity level , after which the price returns below/above the liquidity level , forming a wick.
The examples below show a bullish and bearish scenario of "a wick passing through a liquidity level where the price quickly comes back".
Short-term liquidity sweep detection is based on short-term swing levels. Some of these short-term levels, depending on further market developments, may evolve into intermediate-term levels and, in the long run, become long-term levels. Therefore, enabling short-term detection with the script means showing all levels, including minor and temporal ones. Depending on the trader's style, some of these levels may be considered noise. Enabling intermediate and long-term levels can help filter out this noise and provide more significant levels for trading decisions. For further details on how swing levels are identified please refer to the details section.
The Intermediate-term option selection for the same chart as above, filters out minor or noisy levels, providing clearer and more significant levels for traders to observe.
🔶 DETAILS
The swing points detection feature relies exclusively on price action, eliminating the need for numerical user-defined settings.
The first step involves detecting short-term swing points, where a short-term swing high (STH) is identified as a price peak surrounded by lower highs on both sides. Similarly, a short-term swing low is recognized as a price trough surrounded by higher lows on both sides.
Intermediate-term swing and long-term swing points are detected using the same approach but with a slight modification. Instead of directly analyzing price candles, we now utilize the previously detected short-term swing points. For intermediate-term swing points, we rely on short-term swing points, while for long-term swing points, we use the intermediate-term ones.
🔶 SETTINGS
Detection: Period options of the detected swing points.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Liquidity-Sweeps.
Multiple Naked LevelsPURPOSE OF THE INDICATOR
This indicator autogenerates and displays naked levels and gaps of multiple types collected into one simple and easy to use indicator.
VALUE PROPOSITION OF THE INDICATOR AND HOW IT IS ORIGINAL AND USEFUL
1) CONVENIENCE : The purpose of this indicator is to offer traders with one coherent and robust indicator providing useful, valuable, and often used levels - in one place.
2) CLUSTERS OF CONFLUENCES : With this indicator it is easy to identify levels and zones on the chart with multiple confluences increasing the likelihood of a potential reversal zone.
THE TYPES OF LEVELS AND GAPS INCLUDED IN THE INDICATOR
The types of levels include the following:
1) PIVOT levels (Daily/Weekly/Monthly) depicted in the chart as: dnPIV, wnPIV, mnPIV.
2) POC (Point of Control) levels (Daily/Weekly/Monthly) depicted in the chart as: dnPoC, wnPoC, mnPoC.
3) VAH/VAL STD 1 levels (Value Area High/Low with 1 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH1/dnVAL1, wnVAH1/wnVAL1, mnVAH1/mnVAL1
4) VAH/VAL STD 2 levels (Value Area High/Low with 2 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH2/dnVAL2, wnVAH2/wnVAL2, mnVAH1/mnVAL2
5) FAIR VALUE GAPS (Daily/Weekly/Monthly) depicted in the chart as: dnFVG, wnFVG, mnFVG.
6) CME GAPS (Daily) depicted in the chart as: dnCME.
7) EQUILIBRIUM levels (Daily/Weekly/Monthly) depicted in the chart as dnEQ, wnEQ, mnEQ.
HOW-TO ACTIVATE LEVEL TYPES AND TIMEFRAMES AND HOW-TO USE THE INDICATOR
You can simply choose which of the levels to be activated and displayed by clicking on the desired radio button in the settings menu.
You can locate the settings menu by clicking into the Object Tree window, left-click on the Multiple Naked Levels and select Settings.
You will then get a menu of different level types and timeframes. Click the checkboxes for the level types and timeframes that you want to display on the chart.
You can then go into the chart and check out which naked levels that have appeared. You can then use those levels as part of your technical analysis.
The levels displayed on the chart can serve as additional confluences or as part of your overall technical analysis and indicators.
In order to back-test the impact of the different naked levels you can also enable tapped levels to be depicted on the chart. Do this by toggling the 'Show tapped levels' checkbox.
Keep in mind however that Trading View can not shom more than 500 lines and text boxes so the indocator will not be able to give you the complete history back to the start for long duration assets.
In order to clean up the charts a little bit there are two additional settings that can be used in the Settings menu:
- Selecting the price range (%) from the current price to be included in the chart. The default is 25%. That means that all levels below or above 20% will not be displayed. You can set this level yourself from 0 up to 100%.
- Selecting the minimum gap size to include on the chart. The default is 1%. That means that all gaps/ranges below 1% in price difference will not be displayed on the chart. You can set the minimum gap size yourself.
BASIC DESCRIPTION OF THE INNER WORKINGS OF THE INDICTATOR
The way the indicator works is that it calculates and identifies all levels from the list of levels type and timeframes above. The indicator then adds this level to a list of untapped levels.
Then for each bar after, it checks if the level has been tapped. If the level has been tapped or a gap/range completely filled, this level is removed from the list so that the levels displayed in the end are only naked/untapped levels.
Below is a descrition of each of the level types and how it is caluclated (algorithm):
PIVOT
Daily, Weekly and Monthly levels in trading refer to significant price points that traders monitor within the context of a single trading day. These levels can provide insights into market behavior and help traders make informed decisions regarding entry and exit points.
Traders often use D/W/M levels to set entry and exit points for trades. For example, entering long positions near support (daily close) or selling near resistance (daily close).
Daily levels are used to set stop-loss orders. Placing stops just below the daily close for long positions or above the daily close for short positions can help manage risk.
The relationship between price movement and daily levels provides insights into market sentiment. For instance, if the price fails to break above the daily high, it may signify bearish sentiment, while a strong breakout can indicate bullish sentiment.
The way these levels are calculated in this indicator is based on finding pivots in the chart on D/W/M timeframe. The level is then set to previous D/W/M close = current D/W/M open.
In addition, when price is going up previous D/W/M open must be smaller than previous D/W/M close and current D/W/M close must be smaller than the current D/W/M open. When price is going down the opposite.
POINT OF CONTROL
The Point of Control (POC) is a key concept in volume profile analysis, which is commonly used in trading.
It represents the price level at which the highest volume of trading occurred during a specific period.
The POC is derived from the volume traded at various price levels over a defined time frame. In this indicator the timeframes are Daily, Weekly, and Montly.
It identifies the price level where the most trades took place, indicating strong interest and activity from traders at that price.
The POC often acts as a significant support or resistance level. If the price approaches the POC from above, it may act as a support level, while if approached from below, it can serve as a resistance level. Traders monitor the POC to gauge potential reversals or breakouts.
The way the POC is calculated in this indicator is by an approximation by analysing intrabars for the respective timeperiod (D/W/M), assigning the volume for each intrabar into the price-bins that the intrabar covers and finally identifying the bin with the highest aggregated volume.
The POC is the price in the middle of this bin.
The indicator uses a sample space for intrabars on the Daily timeframe of 15 minutes, 35 minutes for the Weekly timeframe, and 140 minutes for the Monthly timeframe.
The indicator has predefined the size of the bins to 0.2% of the price at the range low. That implies that the precision of the calulated POC og VAH/VAL is within 0.2%.
This reduction of precision is a tradeoff for performance and speed of the indicator.
This also implies that the bigger the difference from range high prices to range low prices the more bins the algorithm will iterate over. This is typically the case when calculating the monthly volume profile levels and especially high volatility assets such as alt coins.
Sometimes the number of iterations becomes too big for Trading View to handle. In these cases the bin size will be increased even more to reduce the number of iterations.
In such cases the bin size might increase by a factor of 2-3 decreasing the accuracy of the Volume Profile levels.
Anyway, since these Volume Profile levels are approximations and since precision is traded for performance the user should consider the Volume profile levels(POC, VAH, VAL) as zones rather than pin point accurate levels.
VALUE AREA HIGH/LOW STD1/STD2
The Value Area High (VAH) and Value Area Low (VAL) are important concepts in volume profile analysis, helping traders understand price levels where the majority of trading activity occurs for a given period.
The Value Area High/Low is the upper/lower boundary of the value area, representing the highest price level at which a certain percentage of the total trading volume occurred within a specified period.
The VAH/VAL indicates the price point above/below which the majority of trading activity is considered less valuable. It can serve as a potential resistance/support level, as prices above/below this level may experience selling/buying pressure from traders who view the price as overvalued/undervalued
In this indicator the timeframes are Daily, Weekly, and Monthly. This indicator provides two boundaries that can be selected in the menu.
The first boundary is 70% of the total volume (=1 standard deviation from mean). The second boundary is 95% of the total volume (=2 standard deviation from mean).
The way VAH/VAL is calculated is based on the same algorithm as for the POC.
However instead of identifying the bin with the highest volume, we start from range low and sum up the volume for each bin until the aggregated volume = 30%/70% for VAL1/VAH1 and aggregated volume = 5%/95% for VAL2/VAH2.
Then we simply set the VAL/VAH equal to the low of the respective bin.
FAIR VALUE GAPS
Fair Value Gaps (FVG) is a concept primarily used in technical analysis and price action trading, particularly within the context of futures and forex markets. They refer to areas on a price chart where there is a noticeable lack of trading activity, often highlighted by a significant price movement away from a previous level without trading occurring in between.
FVGs represent price levels where the market has moved significantly without any meaningful trading occurring. This can be seen as a "gap" on the price chart, where the price jumps from one level to another, often due to a rapid market reaction to news, events, or other factors.
These gaps typically appear when prices rise or fall quickly, creating a space on the chart where no transactions have taken place. For example, if a stock opens sharply higher and there are no trades at the prices in between the two levels, it creates a gap. The areas within these gaps can be areas of liquidity that the market may return to “fill” later on.
FVGs highlight inefficiencies in pricing and can indicate areas where the market may correct itself. When the market moves rapidly, it may leave behind price levels that traders eventually revisit to establish fair value.
Traders often watch for these gaps as potential reversal or continuation points. Many traders believe that price will eventually “fill” the gap, meaning it will return to those price levels, providing potential entry or exit points.
This indicator calculate FVGs on three different timeframes, Daily, Weekly and Montly.
In this indicator the FVGs are identified by looking for a three-candle pattern on a chart, signalling a discrete imbalance in order volume that prompts a quick price adjustment. These gaps reflect moments where the market sentiment strongly leans towards buying or selling yet lacks the opposite orders to maintain price stability.
The indicator sets the gap to the difference from the high of the first bar to the low of the third bar when price is moving up or from the low of the first bar to the high of the third bar when price is moving down.
CME GAPS (BTC only)
CME gaps refer to price discrepancies that can occur in charts for futures contracts traded on the Chicago Mercantile Exchange (CME). These gaps typically arise from the fact that many futures markets, including those on the CME, operate nearly 24 hours a day but may have significant price movements during periods when the market is closed.
CME gaps occur when there is a difference between the closing price of a futures contract on one trading day and the opening price on the following trading day. This difference can create a "gap" on the price chart.
Opening Gaps: These usually happen when the market opens significantly higher or lower than the previous day's close, often influenced by news, economic data releases, or other market events occurring during non-trading hours.
Gaps can result from reactions to major announcements or developments, such as earnings reports, geopolitical events, or changes in economic indicators, leading to rapid price movements.
The importance of CME Gaps in Trading is the potential for Filling Gaps: Many traders believe that prices often "fill" gaps, meaning that prices may return to the gap area to establish fair value.
This can create potential trading opportunities based on the expectation of gap filling. Gaps can act as significant support or resistance levels. Traders monitor these levels to identify potential reversal points in price action.
The way the gap is identified in this indicator is by checking if current open is higher than previous bar close when price is moving up or if current open is lower than previous day close when price is moving down.
EQUILIBRIUM
Equilibrium in finance and trading refers to a state where supply and demand in a market balance each other, resulting in stable prices. It is a key concept in various economic and trading contexts. Here’s a concise description:
Market Equilibrium occurs when the quantity of a good or service supplied equals the quantity demanded at a specific price level. At this point, there is no inherent pressure for the price to change, as buyers and sellers are in agreement.
Equilibrium Price is the price at which the market is in equilibrium. It reflects the point where the supply curve intersects the demand curve on a graph. At the equilibrium price, the market clears, meaning there are no surplus goods or shortages.
In this indicator the equilibrium level is calculated simply by finding the midpoint of the Daily, Weekly, and Montly candles respectively.
NOTES
1) Performance. The algorithms are quite resource intensive and the time it takes the indicator to calculate all the levels could be 5 seconds or more, depending on the number of bars in the chart and especially if Montly Volume Profile levels are selected (POC, VAH or VAL).
2) Levels displayed vs the selected chart timeframe. On a timeframe smaller than the daily TF - both Daily, Weekly, and Monthly levels will be displayed. On a timeframe bigger than the daily TF but smaller than the weekly TF - the Weekly and Monthly levels will be display but not the Daily levels. On a timeframe bigger than the weekly TF but smaller than the monthly TF - only the Monthly levels will be displayed. Not Daily and Weekly.
CREDITS
The core algorithm for calculating the POC levels is based on the indicator "Naked Intrabar POC" developed by rumpypumpydumpy (https:www.tradingview.com/u/rumpypumpydumpy/).
The "Naked intrabar POC" indicator calculates the POC on the current chart timeframe.
This indicator (Multiple Naked Levels) adds two new features:
1) It calculates the POC on three specific timeframes, the Daily, Weekly, and Monthly timeframes - not only the current chart timeframe.
2) It adds functionaly by calculating the VAL and VAH of the volume profile on the Daily, Weekly, Monthly timeframes .
Futures Settlement [NeoButane]Traders use settlement prices as both support/resistance and as a target for price to trend towards. The intention of this script is to provide possible entry and exit levels for swing and scalp trades by drawing horizontal lines of true settlement prices provided by TradingView.
The settlement price, which is calculated daily, is used to determine the profit/loss of a trader's futures position. Prior to the daily close, price settlement of futures contracts is performed by taking the average of its traded price during a specified period of time.
Usage
The settlement prices, shown as horizontal lines, serve as support or resistance for entry or exit. There are hundreds of ways to combine this with favorite indicators, or it can be used as levels for pure price action traders.
See how settlement price levels can be used in confluence with oscillators.
Configuration
Toggles to show each settlement. Reprint shows prior weeks or months after they've ended. Back-adjusted futures, which affect expired futures price history on continuous futures charts, should only be enabled on non-standard charts to match the user's chart settings.
What this script does
This script plots the daily, weekly, and monthly settlements for futures, including an average for the two most recent weekly or monthly settlements. The weekly settlement uses the last day of the week's daily settlement and the monthly settlement uses the last day of the month's daily settlement. For symbols that do not have settlement prices, which will be almost if not all symbols that are not futures, the settlement price instead becomes price at the last second before the daily/weekly/monthly close. In those cases, this script becomes a tool for automatically plotting daily/weekly/monthly closes.
See below for two different bitcoin charts. The chart on top is a non-futures chart and a futures chart is at the bottom. Note that CME bitcoin futures settle 4 hours (1500 CST) before bitcoin's daily close (UTC).
How this script works
TradingView has a built-in ability to display daily settlements instead of the actual daily close. This can be enabled in chart settings for futures on the daily timeframe and there is an argument for Pine Script to do so as well. Because settlement times are different for multiple products during the day, the script uses the settlement price from daily timeframe, which is guaranteed to be correct because TradingView is wonderful. I accidentally found the undocumented backadjustment and settlement_at_close when I was trying to use ticker.inherit() to create a symbol with its daily close time changed to another symbol's, which I still haven't figured out. TradingView has since added documentation for both of them, but there's still an ambiguous 'etc.' in the description of ticker.inherit() so maybe there's more secret arguments...
The script is able to be used on non-standard charts by using ticker.standard(), but back-adjustment will need to be changed by input to match chart settings.
References
Investopedia explanation of settlement price.
www.investopedia.com
Settlement prices for ES.
www.cmegroup.com
CME summary of settlement price.
www.cmegroup.com
How to enable settlement price as close for daily intervals in TradingView. This does not affect the use of this script.
www.tradingview.com
About back-adjustment for continuous futures charts in TradingView.
www.tradingview.com
Logarithmic and Linear Fibonacci LevelsIntroduction
Fibonacci levels are a technical analysis tool used by some traders to identify potential support and resistance levels. The principle for determining these levels is to take the distance between selected reference high and low points (swing high and swing low in general) as 1 unit and mark the ratios derived from the Fibonacci sequence, such as 0.236, 0.382, 0.618, etc., over this 1 unit. In the conventional method of level determination, the 1 unit is divided into equal distances within itself, and Fibonacci levels are determined based on these equal distances. These types of levels are called Linear Levels . A relatively less common method involves dividing the 1 unit into progressively smaller, more accurately described as proportionally equal, distances and determining Fibonacci levels based on these distances. These types are called Logarithmic Levels . The purpose of this indicator is to provide ease of use in determining both Linear and Logarithmic levels.
Where can it be Used?
Logarithmic Levels can be used in any instrument where volatility is high for any reason. Specifically in crypto, Logarithmic Levels work very well for BINANCE:BTCUSDT (to observe this, please study the wick from January 23, 2024). As another example, Logarithmic Levels can be used to identify potential accumulation and distribution schemes in altcoins with relatively high volume and market capitalization (refer to the chart provided above BINANCE:FETUSDT ). Additionally, when analyzing traditional markets, Logarithmic Levels can be beneficial for stocks with highly inflated or deflated prices (e.g., NASDAQ:TSLA , NASDAQ:NVDA ), in stock markets of countries battling high inflation (e.g., BIST:XU100 ), or in currency pairs of countries experiencing a recession (e.g., FX_IDC:JPYUSD ).
How can it be Used?
It is designed similarly to the Fibonacci Tool provided by Trading View to ensure users feel familiar with it. When you start the indicator, select the reference levels (Level 1 and Level 0), then click on the indicator settings to choose specific levels and customize them according to your preferences.
What Makes it Unique?
Indeed, in the Fibonacci Tool provided by Trading View, we can see both linear and logarithmic levels. However, to view logarithmic levels, it is necessary to switch the relevant instrument's Super Chart to a logarithmic scale. This causes the levels we want to remain 'linear' to also be displayed in their logarithmic form, potentially leading to errors in other indicators we use, incorrect functioning of trend lines drawn in linear scaling, and so on. Additionally, when the Super Chart is scaled logarithmically, it prevents the ability to set alerts for prices and trend lines. This indicator was created to avoid these problems without needing to change the chart's scaling method and to allow the simultaneous viewing of both Linear and Logarithmic levels.
Financial Frontline:Integrated Market Analysis Toolkit[drshah93]Title: Financial Frontline: Bollinger BandWidth with Moving Average + Fractal & Alligator + Ichimoku Cloud + Anchored VWAP
This script is developed to integrate multiple robust technical analysis tools into a single, comprehensive indicator. Designed for traders seeking an all-in-one solution, this script combines Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, providing a holistic view of the market.
Unlocking Market Dynamics: How It Works Together
This multi-tool indicator is more than just a mashup; it is a strategically crafted integration that maximizes the strengths of each component to deliver a versatile and insightful trading tool.
1. Fractal and Alligator:
o Concept:
The Fractal & Alligator combination serves as a powerful mechanism for identifying trend reversals and continuations.
Fractals pinpoint potential turning points in the market, while the Alligator lines, consisting of smoothed moving averages, provide a clear indication of trend direction and strength.
By plotting visual markers for completed top and bottom fractals, this component helps traders to easily identify critical potential turning points of market reversal.
The Bill Williams' Alligator’s three moving averages (jaw, teeth, and lips) further enhance this analysis by indicating the prevailing trend and its momentum, making it easier to discern when to enter or exit trades.
o Details: Customizable jaw, teeth, and lips represent the market's direction. Top and bottom fractals help identify potential support and resistance levels.
o Usage: Enable the Alligator to visualize the market's trend direction and use fractals to spot potential entry and exit points.
2. Ichimoku Cloud:
o Concept:
The Ichimoku Cloud component adds another layer of market insight by providing a comprehensive view of support and resistance levels, trend direction, and momentum.
The cloud (Kumo) itself indicates key support and resistance zones, while the Tenkan-sen and Kijun-sen lines offer shorter-term trend and momentum insights.
The Chikou Span, or lagging line, provides a perspective on current price action relative to past prices.
This multi-faceted approach helps traders to identify high-probability trading opportunities and to understand the broader market context, allowing for more informed trading decisions.
o Details: Includes conversion line (Tenkan-sen), base line (Kijun-sen), leading spans (Senkou Span A & B), and lagging span (Chikou Span). Customizable lengths and colors for each element.
o Usage: Use the cloud's color and position relative to price to determine bullish or bearish trends and identify potential trading signals.
3. Anchored VWAP:
o Concept:
Anchored VWAPs (Volume Weighted Average Price) are dynamically anchored to significant price points such as swing highs and lows.
This component helps traders to understand the average price paid over a specific period and to identify critical price levels that may act as support or resistance.
By anchoring the VWAP to significant points, this indicator provides a more precise view of where key market participants are positioned, aiding in the identification of potential reversal points and confirming trend direction.
Anchored VWAP (Volume Weighted Average Price) provides the average price of an asset, weighted by volume, from a specific anchor point.
o Details: Multiple Anchored VWAP lines from significant highs and lows. Customizable lengths and colors for each VWAP.
o Usage: Analyze the price's relationship to VWAP lines to assess market strength and potential reversal points.
4. Bollinger BandWidth with Moving Average:
o Concept:
This component combines the volatility insights of Bollinger BandWidth with the trend-following properties of moving averages.
The Bollinger BandWidth measures the distance between the upper and lower Bollinger Bands, offering a visual representation of market volatility.
Bollinger Bands measure market volatility, while BandWidth indicates the degree of volatility.
When combined with a moving average, it helps to identify periods of market contraction and expansion.
Crossovers between the Bollinger BandWidth and the moving average provide timely alerts for potential entry and exit points, enabling traders to react quickly to changing market conditions.
o Details: Bollinger Bands with customizable lengths, source, and standard deviation. BandWidth calculation and moving average with options for SMA, EMA, SMMA, WMA.
o Usage: Identify periods of high and low volatility using BandWidth and adjust trading strategies accordingly. Use the moving average to smooth out volatility signals.
Customization Options for Tailored Analysis
One of the standout features of this multi-tool indicator is its high level of customization. Traders can toggle each indicator on or off according to their preferences and adjust input parameters such as lengths, colors, and offsets. This flexibility allows traders to tailor the tool to their specific trading style and market conditions, ensuring that they can extract maximum value from the analysis provided.
The Synergy of Combined Indicators: Enhancing Technical Analysis
The real power of this script lies in how these four indicators work together to provide a comprehensive analysis of the market. When combined, they cover various aspects of technical analysis:
• Trend Detection: The Alligator and Ichimoku Cloud work together to confirm trend direction and strength, while the Anchored VWAP highlights critical price levels.
• Reversal Points: Fractals and Ichimoku's Tenkan-sen/Kijun-sen crossovers help identify potential market reversals.
• Volatility and Momentum: The Bollinger BandWidth with Moving Average provides insights into market volatility, which complements the momentum signals from the Ichimoku Cloud.
• Support and Resistance: Fractals and Anchored VWAP pinpoint key levels. They provide clear support and resistance levels, enhancing the trader's ability to make informed decisions.
Advantages to Technical Analysis
• Holistic View: Combines trend, momentum, volatility, and price levels into a single script.
• Enhanced Decision-Making: Multiple confirmation signals increase the reliability of trading signals.
• Flexibility: Customizable settings allow traders to tailor the indicator to their specific needs.
• Efficiency: Reduces the need to switch between multiple charts and indicators, streamlining the analysis process.
How to Use:
1. Access the indicator settings to customize each component according to your trading strategy.
2. Toggle visibility for Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth components.
3. Adjust lengths, colors, and calculation methods to match your charting style and preferences.
4. Combine insights from trend analysis, support/resistance levels, and volatility measures for informed trading decisions.
Elevate your trading analysis with this all-in-one tool, merging multiple indicators into a powerful script that offers a comprehensive view of the market.
In Conclusion: An Indispensable Tool for Traders
This multi-tool indicator is designed to cater to the needs of traders who seek a comprehensive and versatile analytical framework. By integrating Fractal & Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, it provides a holistic view of market conditions, enhancing the trader's ability to identify key trends, support/resistance levels, and potential trading signals. This script is not just a combination of indicators but a thoughtfully crafted tool that delivers actionable insights and helps traders to stay ahead in the financial markets.
Author: drshah93
Sylvain Zig-Zag [MyTradingCoder]This Pine Script version of ZigZagHighLow is a faithful port of Sylvain Vervoort's original study, initially implemented in NinjaScript and later added to the thinkorswim standard library. This indicator identifies and connects swing points in price data, offering a clear visualization of market moves that exceed a specified threshold. Additionally, it now includes features for detecting and plotting support and resistance levels, enhancing its utility for technical analysis.
Overview
The Sylvain Zig-Zag study excels at highlighting significant price swings by plotting points where the price change, combined with volatility adjustments via the Average True Range (ATR), exceeds a user-defined percentage. It effectively smooths out minor fluctuations, allowing traders to focus on the primary market trends. This tool is particularly useful in identifying potential turning points, trends in price movements, and key support and resistance levels, making it a valuable addition to your technical analysis arsenal.
How It Works
The Sylvain Zig-Zag indicator works by detecting swing points in the price data and connecting them to form a zigzag pattern. A swing point is identified when the price moves a certain distance, defined by a combination of percentage change and ATR. This distance must be exceeded for a swing point to be plotted.
When the price moves upwards and exceeds the previous high by a specified percentage plus a factor of the ATR, a new high swing point is plotted. Conversely, a low swing point is plotted when the price moves downwards and exceeds the previous low by the same criteria. This ensures that only significant price moves are considered, filtering out minor fluctuations and providing a clear view of the overall market trend.
In addition to plotting zigzag lines, the indicator can now identify and draw support and resistance levels based on the detected swing points. These levels are crucial for identifying potential reversal areas and market structure.
Key Features
Swing Point Detection: Accurately identifies significant price swings by considering both percentage price change and volatility (via Average True Range).
Dynamic Support/Resistance: Automatically generates support and resistance lines based on the identified swing points, providing potential areas of price reversals.
Customizable Parameters: Tailor the indicator's sensitivity to your preferred trading style and market conditions. Adjust parameters like percentage reversal, ATR settings, and absolute/tick reversals.
Visual Clarity: Choose to display the ZigZag line, support/resistance levels, new trend icons, continuation icons, and even customize bar colors for easy visual analysis.
Trading Applications
Trend Identification: Easily visualize the prevailing market trend using the direction of the ZigZag line and support/resistance levels.
Entry/Exit Signals: Potential entry points can be identified when the price interacts with the dynamic support/resistance levels.
Stop-Loss Placement: Use recent swing points as logical places for setting stop-loss orders.
Profit Targets: Project potential price targets based on the distance between previous swing points.
Input Parameters
Several input parameters can be adjusted to customize the behavior of the Sylvain Zig-Zag indicator. These parameters allow traders to fine-tune the detection of swing points and support/resistance levels to better suit their trading strategy and the specific market conditions they are analyzing.
High Source and Low Source:
These inputs define the price points used for detecting high and low swing points, respectively. You can choose between high, low, open, or close prices for these calculations.
Percentage Reversal:
This input sets the minimum percentage change in price required for a swing to be detected. A higher percentage value will result in fewer but more significant swing points, while a lower value will detect more frequent, smaller swings.
Absolute Reversal:
This parameter allows for an additional fixed value to be added to the minimum price change and ATR change. This can be useful for increasing the distance between swing points in volatile markets.
ATR Length:
This input defines the period used for calculating the ATR, which is a measure of market volatility. A longer ATR period will smooth out the ATR calculation, while a shorter period will make it more sensitive to recent price changes.
ATR Multiplier:
This factor is applied to the ATR value to adjust the sensitivity of the swing point detection. A higher multiplier will increase the required price movement for a swing point to be plotted, reducing the number of detected swings.
Tick Reversal:
This input allows for an additional value in ticks to be added to the minimum price change and ATR change, providing further customization in the swing point detection process.
Support and Resistance:
Show S/R: Enable or disable the plotting of support and resistance levels.
Max S/R Levels: Set the maximum number of support and resistance levels to display.
S/R Line Width: Adjust the width of the support and resistance lines.
Visual Settings
The Sylvain Zig-Zag indicator also includes visual settings to enhance the clarity of the plotted swing points and trends. You can customize the color and width of the zigzag line, and enable icons to indicate new trends and continuation patterns. Additionally, the bars can be colored based on the detected trend, aiding in quick visual analysis.
Conclusion
This port of the ZigZagHighLow study from NinjaScript to Pine Script preserves the essence of Sylvain Vervoort’s methodology while adding new features for support and resistance. It provides traders with a powerful tool for technical analysis. The combination of price changes and ATR ensures that you have a robust and adaptable tool for identifying key market movements and structural levels. Customize the settings to match your trading style and gain a clearer picture of market trends, turning points, and support/resistance areas. Enjoy improved market analysis and more informed trading decisions with the Sylvain Zig-Zag indicator.
Market Structure Oscillator [LuxAlgo]The Market Structure Oscillator indicator analyzes and synthesizes short-term, intermediate-term, and long-term market structure shifts and breaks, visualizing the output as oscillators and graphical representations of real-time market structures on the main price chart.
The oscillator presentation of the detected market structures helps traders visualize trend momentum and strength, identifying potential trend reversals, and providing different perspectives to enhance the analysis of classic market structures.
🔶 USAGE
A market structure shift signals a potential change in market sentiment or direction, while a break of structure indicates a continuation of the current trend. Detecting these events in real-time helps traders recognize both trend changes and continuations. The market structure oscillator translates these concepts visually, offering deeper insights into market momentum and strength. It aids traders in identifying overbought or oversold conditions, potential trend reversals, and confirming trend direction.
Oscillators often generate signals based on crossing certain thresholds or diverging from price movements, providing cues for traders to enter or exit positions.
The weights determine the influence of each period (short-term, intermediate-term, long-term) on the final oscillator value. By changing the weights, traders can emphasize or de-emphasize the importance of each period. Higher weights increase their respective market structure's influence on the oscillator value. For example, if the weight for the short-term period is set to 0, the final value of the oscillator will be calculated using only the intermediate-term and long-term market structures.
The indicator features a Cycle Oscillator component, which uses the market structure oscillator values to generate a histogram and provide further insights into market cycles and potential signals. The Cycle Oscillator aids in timing by allowing traders to more easily see the median length of an oscillation around the average point, helping them identify both favorable prices and favorable moments for trading.
Users can also display detected market structures on the price chart by enabling the corresponding market structure toggle from the "Market Structures on Chart" settings group.
🔶 DETAILS
The script initiates its analysis by detecting swing levels, which form the fundamental basis for its operations. It begins by identifying short-term swing points, automatically detected solely based on market movements without any reliance on user-defined input. Short-Term Swing Highs (STH) are peaks in price surrounded by lower highs on both sides, while Short-Term Swing Lows (STL) are troughs surrounded by higher lows.
To identify intermediate-term and long-term swing points, the script uses previously detected short-term swing points as reference points. It examines these points to determine intermediate-term swings and further analyzes intermediate-term swings to identify long-term swing points. This method ensures a thorough and unbiased evaluation of market dynamics, providing traders with reliable insights into market structures.
Once swing levels are detected, the process continues with the analysis of Market Structure Shifts (MSS) and Breaks of Structure (BoS). A Market Structure Shift, also known as a Change of Character (CHoCH), is a critical event in price action analysis that suggests a potential shift in market sentiment or direction. It occurs when the price reverses from an established trend, indicating that the current trend may be losing momentum and a reversal could be imminent.
On the other hand, a Break of Structure signifies the continuation of the existing market trend. This event occurs when the price decisively moves beyond a previous swing high or low, confirming the strength and persistence of the prevailing trend.
The indicator analyzes price patterns using a pure price action approach and identifies market structures for short-term, intermediate-term, and long-term periods. The collected data is then normalized and combined using specified weights to calculate the final Market Structure Oscillator value.
🔶 SETTINGS
The indicator incorporates user-defined settings, allowing users to tailor it according to their preferences and trading strategies.
🔹 Market Structure Oscillator
Market Structure Oscillator: Toggles the visibility of the market structures oscillator.
Short Term Weight: Defines the weight for the short-term market structure.
Intermediate Term Weight: Defines the weight for the intermediate-term market structure.
Long Term Weight: Defines the weight for the long-term market structure.
Oscillator Smoothing: Determines the smoothing factor for the oscillator.
Gradient Colors: Allows customization of bullish and bearish gradient colors.
Market Structure Oscillator Crosses: Provides signals based on market structure oscillator equilibrium level crosses.
🔹 Cycle Oscillator
Cycle Oscillator - Histogram: Toggles the visibility of the cycle oscillator.
Cycle Signal Length: Defines the length of the cycle signal.
Cycle Oscillator Crosses: Provides signals based on cycle oscillator crosses.
🔹 Market Structures on Chart
Market Structures: Allows plotting of market structures (short, intermediate, and long term) on the chart.
Line, Label, and Color: Options to display lines and labels for different market structures with customizable colors.
🔹 Oscillator Components
Oscillators: Separately plots short-term, intermediate-term, and long-term oscillators. Provides options to display these oscillators with customizable colors.
🔶 RELATED SCRIPTS
Market-Structures-(Intrabar)
Pure Price Action Order & Breaker Blocks [LuxAlgo]The Pure Price Action Order & Breaker Blocks indicator is a pure price action adaptation of our previously published and highly popular Order-Blocks-Breaker-Blocks script.
Similar to its earlier version, this indicator detects order blocks that can automatically turn into breaker blocks on the chart once mitigated. However, the key difference/uniqueness is that the pure price action version relies solely on price patterns, eliminating the need for length definitions. In other words, it removes the limitation of user-defined inputs, ensuring a robust and objective analysis of market dynamics.
🔶 USAGE
An order block is a significant area on a price chart where there was a notable accumulation or distribution of orders, often identified by a strong price move followed by consolidation. Traders use order blocks to identify potential support or resistance levels.
A mitigated order block refers to an order block that has been invalidated due to subsequent market movements. It may no longer hold the same significance in the current market context. However, when the price mitigates an order block, a breaker block is confirmed. It is possible that the price might trade back to this breaker block, potentially offering a new trading opportunity.
Users can optionally enable the "Historical Polarity Changes" labels within the settings menu to see where breaker blocks might have previously provided effective trade setups.
This feature is most effective when using replay mode. Please note that these labels are subject to backpainting.
🔶 DETAILS
The swing points detection feature relies exclusively on price action, eliminating the need for numerical user-defined settings.
The first step involves detecting short-term swing points, where a short-term swing high (STH) is identified as a price peak surrounded by lower highs on both sides. Similarly, a short-term swing low is recognized as a price trough surrounded by higher lows on both sides.
Intermediate-term swing and long-term swing points are detected using the same approach but with a slight modification. Instead of directly analyzing price candles, we now utilize the previously detected short-term swing points. For intermediate-term swing points, we rely on short-term swing points, while for long-term swing points, we use the intermediate-term ones.
🔶 SETTINGS
Detection: Market structure used to detect swing points for creating order blocks.
Show Last Bullish OB: Number of the most recent bullish order/breaker blocks to display on the chart.
Show Last Bearish OB: Number of the most recent bearish order/breaker blocks to display on the chart.
Use Candle Body: Allows users to use candle bodies as order block areas instead of the full candle range.
🔹 Style
Show Historical Polarity Changes: Allows users to see labels indicating where a swing high/low previously occurred within a breaker block.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Order-Blocks-Breaker-Blocks.
Anchored Auto Fibonacci Retracement with Alerts [ImaWrknMan]SYNOPSIS
Automatically generates a Fibonacci Retracement anchored to the candle of your choosing. As price moves further away from the anchor point, the fib levels automatically adjust to represent the entirety of the move.
BULLISH VS. BEARISH
It automatically detects if the Fibonacci Retracement should be drawn from the low or high of the anchored candle by considering the candles that follow (if they produce new highs, it will use the anchored candle low; if they produce new lows, it will use the anchored candle high).
MITIGATION
If the Fibonacci levels are fully retraced (i.e., price pulls back beyond the originating price), the levels will remain on the chart but it will no longer adjust as new candles form - it will become static.
OPTIONS
The following options are offered:
Extend Retracement Levels
The Fibonacci Retracement levels will extend beyond the last candle into the future. These extensions are visually represented using dashed lines.
Retracement Levels
Twelve levels are supported. The default levels mirror those used by the standard Fibonacci Retracement tool. Select only the levels you want to see on the chart. Line color can also be customized to your liking. You can optionally define an alert condition and alert message for each level (see "Alerts" below).
ALERTS
To receive an alert when price retraces into a level, check the "Alert" box to the right of that level. You can optionally define the text to display in the alert by entering it in the text box to the right of the alert checkbox. Levels with alerts will be marked on the chart with a "bell" symbol. Once you've selected the alerts you want to receive and (optionally) the text for each alert, create an Alert for the indicator.
NOTE: You do NOT need to create a separate Alert for each level.
Limitations
Alerts can only be defined for levels that fall between 0 and 1.
Once an alert is created, its settings are fixed. Any changes to the settings after the Alert is created will have no effect on the existing Alert. In this case, the Alert should be recreated.
Alert notifications will only be generated for visible levels.
Other Alerts
Alert on expansion - Use this alert option if you want to be notified when price moves further from the anchored price, causing the retracement levels to adjust. This is useful if you have Limit orders at current levels and you want to cancel or move them when the levels change.
"Alert on mitigation" - Use this alert option if you want to be notified when the Fibonacci Retracement has been fully retraced.
The code for this indicator was inspired by the Fibonacci Toolkit by LuxAlgo
Double Top, Double Bottom & Head and Shoulders Patterns [ST]Double Top, Double Bottom & Head and Shoulders Patterns
Description in English:
This indicator identifies double top, double bottom, head and shoulders, and inverse head and shoulders patterns on a 4-hour timeframe. It marks the pivot points with circles and outlines the structures with lines, providing clear visual signals of these important reversal patterns.
The colors are customizable for each pattern type.
Detailed Explanation:
Configuration:
Pivot Length: This input defines the period over which pivot points are calculated. The default value is 10.
Circle Color: This input sets the color of the circles that mark the identified double top and double bottom patterns. The default color is blue.
Line Color: This input sets the color of the lines that circle the identified structures of double top and double bottom patterns. The default color is red.
Head and Shoulders Color: This input sets the color of the circles and lines that mark the head and shoulders patterns. The default color is orange.
Inverse Head and Shoulders Color: This input sets the color of the circles and lines that mark the inverse head and shoulders patterns. The default color is purple.
Pattern Identification:
Pivot High and Low: The script uses the pivothigh and pivotlow functions to identify local maxima and minima, essential for detecting the patterns.
Double Top: Identified when there are two pivot highs within the pivot length, and the second high is equal to the first. This pattern typically indicates a potential reversal from an uptrend to a downtrend.
Double Bottom: Identified when there are two pivot lows within the pivot length, and the second low is equal to the first. This pattern typically indicates a potential reversal from a downtrend to an uptrend.
Head and Shoulders: Identified when there is a higher pivot high (head) between two lower pivot highs (shoulders), indicating a potential reversal from an uptrend to a downtrend.
Inverse Head and Shoulders: Identified when there is a lower pivot low (head) between two higher pivot lows (shoulders), indicating a potential reversal from a downtrend to an uptrend.
Drawing Circles and Lines:
Double Top: Marked with blue circles and red lines.
Double Bottom: Marked with blue circles and red lines.
Head and Shoulders: Marked with orange circles and lines.
Inverse Head and Shoulders: Marked with purple circles and lines.
Indicator Benefits:
Pattern Identification: Helps traders identify key reversal patterns (double top, double bottom, head and shoulders, and inverse head and shoulders) on the 4-hour timeframe.
Visual Cues: Provides clear visual signals for these patterns, aiding in making informed trading decisions.
Customizable Parameters: Allows traders to adjust the pivot length, circle color, line color, head and shoulders color, and inverse head and shoulders color to suit different trading strategies and market conditions.
Justification of Component Combination:
Combining pivot point identification with pattern recognition provides a robust method for detecting significant reversal patterns. The visual cues enhance the trader's ability to quickly spot these patterns on the chart.
How Components Work Together:
The script first identifies pivot points based on the specified pivot length.
It then checks for the presence of double top, double bottom, head and shoulders, and inverse head and shoulders patterns using these pivot points.
When a pattern is identified, it is marked with a circle on the chart, and lines are drawn around the structure to provide a clear visual indication of the pattern's presence.
Título: Padrões de Morro Duplo, Fundo Duplo e Ombro-Cabeça-Ombro
Descrição em Português:
Este indicador identifica padrões de morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido no gráfico de 4 horas.
Ele marca os pontos de pivô com círculos e contorna as estruturas com linhas, fornecendo sinais visuais claros desses importantes padrões de reversão. As cores são personalizáveis para cada tipo de padrão.
Explicação Detalhada:
Configuração:
Comprimento do Pivô: Este input define o período sobre o qual os pontos de pivô são calculados. O valor padrão é 10.
Cor do Círculo: Este input define a cor dos círculos que marcam os padrões identificados de morro duplo e fundo duplo. A cor padrão é azul.
Cor da Linha: Este input define a cor das linhas que contornam as estruturas identificadas de morro duplo e fundo duplo. A cor padrão é vermelha.
Cor de Ombro-Cabeça-Ombro: Este input define a cor dos círculos e linhas que marcam os padrões de ombro-cabeça-ombro. A cor padrão é laranja.
Cor de Ombro-Cabeça-Ombro Invertido: Este input define a cor dos círculos e linhas que marcam os padrões de ombro-cabeça-ombro invertido. A cor padrão é lilás.
Identificação de Padrões:
Pivô Alto e Baixo: O script usa as funções pivothigh e pivotlow para identificar máximas e mínimas locais, essenciais para detectar os padrões.
Morro Duplo: Identificado quando há duas máximas de pivô dentro do comprimento do pivô, e a segunda máxima é igual à primeira. Este padrão geralmente indica uma reversão potencial de uma tendência de alta para uma tendência de baixa.
Fundo Duplo: Identificado quando há duas mínimas de pivô dentro do comprimento do pivô, e a segunda mínima é igual à primeira. Este padrão geralmente indica uma reversão potencial de uma tendência de baixa para uma tendência de alta.
Ombro-Cabeça-Ombro: Identificado quando há uma máxima de pivô mais alta (cabeça) entre duas máximas de pivô mais baixas (ombros), indicando uma reversão potencial de uma tendência de alta para uma tendência de baixa.
Ombro-Cabeça-Ombro Invertido: Identificado quando há uma mínima de pivô mais baixa (cabeça) entre duas mínimas de pivô mais altas (ombros), indicando uma reversão potencial de uma tendência de baixa para uma tendência de alta.
Desenho de Círculos e Linhas:
Morro Duplo: Marcado com círculos azuis e linhas vermelhas.
Fundo Duplo: Marcado com círculos azuis e linhas vermelhas.
Ombro-Cabeça-Ombro: Marcado com círculos e linhas laranjas.
Ombro-Cabeça-Ombro Invertido: Marcado com círculos e linhas lilás.
Benefícios do Indicador:
Identificação de Padrões: Ajuda os traders a identificar padrões-chave de reversão (morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido) no gráfico de 4 horas.
Sinais Visuais: Fornece sinais visuais claros para esses padrões, auxiliando na tomada de decisões informadas.
Parâmetros Personalizáveis: Permite que os traders ajustem o comprimento do pivô, a cor do círculo, a cor da linha, a cor de ombro-cabeça-ombro e a cor de ombro-cabeça-ombro invertido para se adequar a diferentes estratégias de negociação e condições de mercado.
Justificação da Combinação de Componentes:
Combinar a identificação de pontos de pivô com o reconhecimento de padrões fornece um método robusto para detectar padrões de reversão significativos. Os sinais visuais melhoram a capacidade do trader de identificar rapidamente esses padrões no gráfico.
Como os Componentes Funcionam Juntos:
O script primeiro identifica os pontos de pivô com base no comprimento do pivô especificado.
Em seguida, verifica a presença de padrões de morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido usando esses pontos de pivô.
Quando um padrão é identificado, ele é marcado com um círculo no gráfico, e linhas são desenhadas ao redor da estrutura para fornecer uma indicação visual clara da presença do padrão.