Liquidity Swings [UAlgo]The "Liquidity Swings " indicator is designed to help traders identify liquidity swings within the market. This tool is particularly useful for visualizing areas where liquidity is accumulating and where it is being swept, providing valuable insights for making informed trading decisions. By tracking the pivots in price and associating them with volume, the indicator highlights zones of potential support and resistance, helping traders understand market dynamics more clearly.
🔶 Key Features
Liquidity Swing Sensitivity: Adjustable sensitivity settings to fine-tune the detection of liquidity swings according to market conditions and trader preferences.
Two modes of liquidity calculation:
Cumulative Liquidity: Aggregates unswept liquidity over multiple swings until it is swept, providing a broader view of liquidity accumulation.
Individual Liquidity: Displays the accumulated liquidity for each swing independently, offering a more granular perspective.
Visual Customization: Options to customize the colors and sizes of liquidity lines, areas, and informational text for better visual clarity.
Dynamic Updates: The indicator dynamically updates liquidity zones and labels, adjusting to new market data to keep traders informed in real-time.
🔶 Disclaimer
The "Liquidity Swings " indicator is provided for educational and informational purposes only.
It should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
The use of this indicator involves inherent risks, and users should employ their own judgment and conduct their own research before making any trading decisions. Past performance is not indicative of future results.
🔷 Related Scripts
Liquidity Sweeps
Williams %R Liquidity Sweeps
Liquidity
ICT IPDA Liquidity Matrix By AlgoCadosThe ICT IPDA Liquidity Matrix by AlgoCados is a sophisticated trading tool that integrates the principles of the Interbank Price Delivery Algorithm (IPDA), as taught by The Inner Circle Trader (ICT). This indicator is meticulously designed to support traders in identifying key institutional levels and liquidity zones, enhancing their trading strategies with data-driven insights. Suitable for both day traders and swing traders, the tool is optimized for high-frequency and positional trading, providing a robust framework for analyzing market dynamics across multiple time horizons.
# Key Features
Multi-Time Frame Analysis
High Time Frame (HTF) Levels : The indicator tracks critical trading levels over multiple days, specifically at 20, 40, and 60-day intervals. This functionality is essential for identifying long-term trends and significant support and resistance levels that aid in strategic decision-making for swing traders and positional traders.
Low Time Frame (LTF) Levels : It monitors price movements within 20, 40, and 60-hour intervals on lower time frames. This granularity provides a detailed view of intraday price actions, which is crucial for scalping and short-term trading strategies favored by day traders.
Daily Open Integration : The indicator includes the daily opening price, providing a crucial reference point that reflects the market's initial sentiment. This feature helps traders assess the market's direction and volatility, enabling them to make informed decisions based on the day's early movements, which is particularly useful for day trading strategies.
IPDA Reference Points : By leveraging IPDA's 20, 40, and 60-period lookbacks, the tool identifies Key Highs and Lows, which are used by IPDA as Draw On Liquidity. IPDA is an electronic and algorithmic system engineered for achieving price delivery efficiency, as taught by ICT. These reference points serve as benchmarks for understanding institutional trading behavior, allowing traders to align their strategies with the dominant market forces and recognize institutional key levels.
Dynamic Updates and Overlap Management : The indicator is updated daily at the beginning of a new daily candle with the latest market data, ensuring that traders operate with the most current information. It also features intelligent overlap management that prioritizes the most relevant levels based on the timeframe hierarchy, reducing visual clutter and enhancing chart readability.
Comprehensive Customization Options : Traders can tailor the indicator to their specific needs through an extensive input menu. This includes toggles for visibility, line styles, color selections, and label display preferences. These customization options ensure that the tool can adapt to various trading styles and preferences, enhancing user experience and analytical capabilities.
User-Friendly Interface : The tool is designed with a user-friendly interface that includes clear, concise labels for all significant levels. It supports various font families and sizes, making it easier to interpret and act upon the displayed data, ensuring that traders can focus on making informed trading decisions without being overwhelmed by unnecessary information.
# Usage Note
The indicator is segmented into two key functionalities:
LTF Displays : The Low Time Frame (LTF) settings are exclusive to timeframes up to 1 hour, providing detailed analysis for intraday traders. This is crucial for traders who need precise and timely data to make quick decisions within the trading day.
HTF Displays : The High Time Frame (HTF) settings apply to the daily timeframe and any shorter intervals, allowing for comprehensive analysis over extended periods. This is beneficial for swing traders looking to identify broader trends and market directions.
# Inputs and Configurations
BINANCE:BTCUSDT
Offset: Adjustable setting to shift displayed data horizontally for better visibility, allowing traders to view past levels and make informed decisions based on historical data.
Label Styles: Choose between compact or verbose label formats for different levels, offering flexibility in how much detail is displayed on the chart.
Daily Open Line: Customizable line style and color for the daily opening price, providing a clear visual reference for the start of the trading day.
HTF Levels: Configurable high and low lines for HTF with options for style and color customization, allowing traders to highlight significant levels in a way that suits their trading style.
LTF Levels: Similar customization options for LTF levels, ensuring flexibility in how data is presented, making it easier for traders to focus on the most relevant intraday levels.
Text Utils: Settings for font family, size, and text color, allowing for personalized display preferences and ensuring that the chart is both informative and aesthetically pleasing.
# Advanced Features
Overlap Management : The script intelligently handles overlapping levels, particularly where multiple timeframes intersect, by prioritizing the more significant levels and removing redundant ones. This ensures that the charts remain clear and focused on the most critical data points, allowing traders to concentrate on the most relevant market information.
Real-Time Updates : The indicator updates its calculations at the start of each new daily bar, incorporating the latest market data to provide timely and accurate trading signals. This real-time updating is crucial for traders who rely on up-to-date information to execute their strategies effectively and make informed trading decisions.
# Example Use Cases
Scalpers/Day traders: Can utilize the LTF features to make rapid decisions based on hourly market movements, identifying short-term trading opportunities with precision.
Swing Traders: Will benefit from the HTF analysis to identify broader trends and key levels that influence longer-term market movements, enabling them to capture significant market swings.
By providing a clear, detailed view of key market dynamics, the ICT IPDA Liquidity Matrix by AlgoCados empowers traders to make more informed and effective trading decisions, aligning with institutional trading methodologies and enhancing their market understanding.
# Usage Disclaimer
This tool is designed to assist in trading decisions, but it should be used in conjunction with other analysis methods and risk management strategies. Trading involves significant risk, and it is essential to understand the market conditions thoroughly before making trading decisions.
AlgoBuilder [Trend-Following] | FractalystWhat's the strategy's purpose and functionality?
This strategy is designed for both traders and investors looking to rely on and trade based on historical and backtested data using automation. The main goal is to build profitable trend-following strategies that outperform the underlying asset in terms of returns while minimizing drawdown. For example, as for a benchmark, if the S&P 500 (SPX) has achieved an estimated 10% annual return with a maximum drawdown of -57% over the past 20 years, using this strategy with different entry and exit techniques, users can potentially seek ways to achieve a higher Compound Annual Growth Rate (CAGR) while maintaining a lower maximum drawdown.
Although the strategy can be applied to all markets and timeframes, it is most effective on stocks, indices, future markets, cryptocurrencies, and commodities and JPY currency pairs given their trending behaviors.
In trending market conditions, the strategy employs a combination of moving averages and diverse entry models to identify and capitalize on upward market movements. It integrates market structure-based trailing stop-loss mechanisms across different timeframes and provides exit techniques, including percentage-based and risk-reward (RR) based take profit levels.
Additionally, the strategy has also a feature that includes a built-in probability and sentiment function for traders who want to implement probabilities and market sentiment right into their trading strategies.
Performance summary, weekly, and monthly tables enable quick visualization of performance metrics like net profit, maximum drawdown, compound annual growth rate (CAGR), profit factor, average trade, average risk-reward ratio (RR), and more. This aids optimization to meet specific goals and risk tolerance levels effectively.
-----
How does the strategy perform for both investors and traders?
The strategy has two main modes, tailored for different market participants: Traders and Investors.
Trading:
1. Trading (1x):
- Designed for traders looking to capitalize on bullish trending markets.
- Utilizes a percentage risk per trade to manage risk and optimize returns.
- Suitable for active trading with a focus on trend-following and risk management.
- (1x) This mode ensures no stacking of positions, allowing for only one running position or trade at a time.
◓: Mode | %: Risk percentage per trade
2. Trading (2x):
Similar to the 1x mode but allows for two pyramiding entries.
This approach enables traders to increase their position size as the trade moves in their favor, potentially enhancing profits during strong bullish trends.
◓: Mode | %: Risk percentage per trade
3. Investing:
- Geared towards investors who aim to capitalize on bullish trending markets without using leverage while mitigating the asset's maximum drawdown.
- Utilizes 100% of the equity to buy, hold, and manage the asset.
- Focuses on long-term growth and capital appreciation by fully investing in the asset during bullish conditions.
- ◓: Mode | %: Risk not applied (In investing mode, the strategy uses 100% of equity to buy the asset)
-----
What's the purpose of using moving averages in this strategy? What are the underlying calculations?
Using moving averages is a widely-used technique to trade with the trend.
The main purpose of using moving averages in this strategy is to filter out bearish price action and to only take trades when the price is trading ABOVE specified moving averages.
The script uses different types of moving averages with user-adjustable timeframes and periods/lengths, allowing traders to try out different variations to maximize strategy performance and minimize drawdowns.
By applying these calculations, the strategy effectively identifies bullish trends and avoids market conditions that are not conducive to profitable trades.
The MA filter allows traders to choose whether they want a specific moving average above or below another one as their entry condition.
This comparison filter can be turned on (>/<) or off.
For example, you can set the filter so that MA#1 > MA#2, meaning the first moving average must be above the second one before the script looks for entry conditions. This adds an extra layer of trend confirmation, ensuring that trades are only taken in more favorable market conditions.
MA #1: Fast MA | MA #2: Medium MA | MA #3: Slow MA
⍺: MA Period | Σ: MA Timeframe
-----
What entry modes are used in this strategy? What are the underlying calculations?
The strategy by default uses two different techniques for the entry criteria with user-adjustable left and right bars: Breakout and Fractal.
1. Breakout Entries :
- The strategy looks for pivot high points with a default period of 3.
- It stores the most recent high level in a variable.
- When the price crosses above this most recent level, the strategy checks if all conditions are met and the bar is closed before taking the buy entry.
◧: Pivot high left bars period | ◨: Pivot high right bars period
2. Fractal Entries :
- The strategy looks for pivot low points with a default period of 3.
- When a pivot low is detected, the strategy checks if all conditions are met and the bar is closed before taking the buy entry.
◧: Pivot low left bars period | ◨: Pivot low right bars period
By utilizing these entry modes, the strategy aims to capitalize on bullish price movements while ensuring that the necessary conditions are met to validate the entry points.
-----
What type of stop-loss identification method are used in this strategy? What are the underlying calculations?
Initial Stop-Loss:
1. ATR Based:
The Average True Range (ATR) is a method used in technical analysis to measure volatility. It is not used to indicate the direction of price but to measure volatility, especially volatility caused by price gaps or limit moves.
Calculation:
- To calculate the ATR, the True Range (TR) first needs to be identified. The TR takes into account the most current period high/low range as well as the previous period close.
The True Range is the largest of the following:
- Current Period High minus Current Period Low
- Absolute Value of Current Period High minus Previous Period Close
- Absolute Value of Current Period Low minus Previous Period Close
- The ATR is then calculated as the moving average of the TR over a specified period. (The default period is 14).
Example - ATR (14) * 1.5
⍺: ATR period | Σ: ATR Multiplier
2. ADR Based:
The Average Day Range (ADR) is an indicator that measures the volatility of an asset by showing the average movement of the price between the high and the low over the last several days.
Calculation:
- To calculate the ADR for a particular day:
- Calculate the average of the high prices over a specified number of days.
- Calculate the average of the low prices over the same number of days.
- Find the difference between these average values.
- The default period for calculating the ADR is 14 days. A shorter period may introduce more noise, while a longer period may be slower to react to new market movements.
Example - ADR (14) * 1.5
⍺: ADR period | Σ: ADR Multiplier
Application in Strategy:
- The strategy calculates the current bar's ADR/ATR with a user-defined period.
- It then multiplies the ADR/ATR by a user-defined multiplier to determine the initial stop-loss level.
By using these methods, the strategy dynamically adjusts the initial stop-loss based on market volatility, helping to protect against adverse price movements while allowing for enough room for trades to develop.
Trailing Stop-Loss:
One of the key elements of this strategy is its ability to detec buyside and sellside liquidity levels across multiple timeframes to trail the stop-loss once the trade is in running profits.
By utilizing this approach, the strategy allows enough room for price to run.
There are two built-in trailing stop-loss (SL) options you can choose from while in a trade:
1. External Trailing Stop-Loss:
- Uses sell-side liquidity to trail your stop-loss, allowing price to consolidate before continuation. This method is less aggressive and provides more room for price fluctuations.
Example - External - Wick below the trailing SL - 12H trailing timeframe
⍺: Exit type | Σ: Trailing stop-loss timeframe
2. Internal Trailing Stop-Loss:
- Uses the most recent swing low with a period of 2 to trail your stop-loss. This method is more aggressive compared to the external trailing stop-loss, as it tightens the stop-loss closer to the current price action.
Example - Internal - Close below the trailing SL - 6H trailing timeframe
⍺: Exit type | Σ: Trailing stop-loss timeframe
Each market behaves differently across various timeframes, and it is essential to test different parameters and optimizations to find out which trailing stop-loss method gives you the desired results and performance.
-----
What type of break-even and take profit identification methods are used in this strategy? What are the underlying calculations?
For Break-Even:
- You can choose to set a break-even level at which your initial stop-loss moves to the entry price as soon as it hits, and your trailing stop-loss gets activated (if enabled).
- You can select either a percentage (%) or risk-to-reward (RR) based break-even, allowing you to set your break-even level as a percentage amount above the entry price or based on RR.
For TP1 (Take Profit 1):
- You can choose to set a take profit level at which your position gets fully closed or 50% if the TP2 boolean is enabled.
- Similar to break-even, you can select either a percentage (%) or risk-to-reward (RR) based take profit level, allowing you to set your TP1 level as a percentage amount above the entry price or based on RR.
For TP2 (Take Profit 2):
- You can choose to set a take profit level at which your position gets fully closed.
- As with break-even and TP1, you can select either a percentage (%) or risk-to-reward (RR) based take profit level, allowing you to set your TP2 level as a percentage amount above the entry price or based on RR.
The underlying calculations involve determining the price levels at which these actions are triggered. For break-even, it moves the initial stop-loss to the entry price and activate the trailing stop-loss once the break-even level is reached.
For TP1 and TP2, it's specifying the price levels at which the position is partially or fully closed based on the chosen method (percentage or RR) above the entry price.
These calculations are crucial for managing risk and optimizing profitability in the strategy.
⍺: BE/TP type (%/RR) | Σ: how many RR/% above the current price
-----
What's the ADR filter? What does it do? What are the underlying calculations?
The Average Day Range (ADR) measures the volatility of an asset by showing the average movement of the price between the high and the low over the last several days.
The period of the ADR filter used in this strategy is tied to the same period you've used for your initial stop-loss.
Users can define the minimum ADR they want to be met before the script looks for entry conditions.
ADR Bias Filter:
- Compares the current bar ADR with the ADR (Defined by user):
- If the current ADR is higher, it indicates that volatility has increased compared to ADR (DbU).(⬆)
- If the current ADR is lower, it indicates that volatility has decreased compared to ADR (DbU).(⬇)
Calculations:
1. Calculate ADR:
- Average the high prices over the specified period.
- Average the low prices over the same period.
- Find the difference between these average values in %.
2. Current ADR vs. ADR (DbU):
- Calculate the ADR for the current bar.
- Calculate the ADR (DbU).
- Compare the two values to determine if volatility has increased or decreased.
By using the ADR filter, the strategy ensures that trades are only taken in favorable market conditions where volatility meets the user's defined threshold, thus optimizing entry conditions and potentially improving the overall performance of the strategy.
>: Minimum required ADR for entry | %: Current ADR comparison to ADR of 14 days ago.
-----
What's the probability filter? What are the underlying calculations?
The probability filter is designed to enhance trade entries by using buyside liquidity and probability analysis to filter out unfavorable conditions.
This filter helps in identifying optimal entry points where the likelihood of a profitable trade is higher.
Calculations:
1. Understanding Swing highs and Swing Lows
Swing High: A Swing High is formed when there is a high with 2 lower highs to the left and right.
Swing Low: A Swing Low is formed when there is a low with 2 higher lows to the left and right.
2. Understanding the purpose and the underlying calculations behind Buyside, Sellside and Equilibrium levels.
3. Understanding probability calculations
1. Upon the formation of a new range, the script waits for the price to reach and tap into equilibrium or the 50% level. Status: "⏸" - Inactive
2. Once equilibrium is tapped into, the equilibrium status becomes activated and it waits for either liquidity side to be hit. Status: "▶" - Active
3. If the buyside liquidity is hit, the script adds to the count of successful buyside liquidity occurrences. Similarly, if the sellside is tapped, it records successful sellside liquidity occurrences.
5. Finally, the number of successful occurrences for each side is divided by the overall count individually to calculate the range probabilities.
Note: The calculations are performed independently for each directional range. A range is considered bearish if the previous breakout was through a sellside liquidity. Conversely, a range is considered bullish if the most recent breakout was through a buyside liquidity.
Example - BSL > 50%
-----
What's the sentiment Filter? What are the underlying calculations?
Sentiment filter aims to calculate the percentage level of bullish or bearish fluctuations within equally divided price sections, in the latest price range.
Calculations:
This filter calculates the current sentiment by identifying the highest swing high and the lowest swing low, then evenly dividing the distance between them into percentage amounts. If the price is above the 50% mark, it indicates bullishness, whereas if it's below 50%, it suggests bearishness.
Sentiment Bias Identification:
Bullish Bias: The current price is trading above the 50% daily range.
Bearish Bias: The current price is trading below the 50% daily range.
Example - Sentiment Enabled | Bullish degree above 50% | Bullish sentimental bias
>: Minimum required sentiment for entry | %: Current sentimental degree in a (Bullish/Bearish) sentimental bias
-----
What's the range length Filter? What are the underlying calculations?
The range length filter identifies the price distance between buyside and sellside liquidity levels in percentage terms. When enabled, the script only looks for entries when the minimum range length is met. This helps ensure that trades are taken in markets with sufficient price movement.
Calculations:
Range Length (%) = ( ( Buyside Level − Sellside Level ) / Current Price ) ×100
Range Bias Identification:
Bullish Bias: The current range price has broken above the previous external swing high.
Bearish Bias: The current range price has broken below the previous external swing low.
Example - Range length filter is enabled | Range must be above 5% | Price must be in a bearish range
>: Minimum required range length for entry | %: Current range length percentage in a (Bullish/Bearish) range
-----
What's the day filter Filter, what does it do?
The day filter allows users to customize the session time and choose the specific days they want to include in the strategy session. This helps traders tailor their strategies to particular trading sessions or days of the week when they believe the market conditions are more favorable for their trading style.
Customize Session Time:
Users can define the start and end times for the trading session.
This allows the strategy to only consider trades within the specified time window, focusing on periods of higher market activity or preferred trading hours.
Select Days:
Users can select which days of the week to include in the strategy.
This feature is useful for excluding days with historically lower volatility or unfavorable trading conditions (e.g., Mondays or Fridays).
Benefits:
Focus on Optimal Trading Periods:
By customizing session times and days, traders can focus on periods when the market is more likely to present profitable opportunities.
Avoid Unfavorable Conditions:
Excluding specific days or times can help avoid trading during periods of low liquidity or high unpredictability, such as major news events or holidays.
Increased Flexibility: The filter provides increased flexibility, allowing traders to adapt the strategy to their specific needs and preferences.
Example - Day filter | Session Filter
θ: Session time | Exchange time-zone
-----
What tables are available in this script?
Table Type:
- Summary: Provides a general overview, displaying key performance parameters such as Net Profit, Profit Factor, Max Drawdown, Average Trade, Closed Trades, Compound Annual Growth Rate (CAGR), MAR and more.
CAGR: It calculates the 'Compound Annual Growth Rate' first and last taken trades on your chart. The CAGR is a notional, annualized growth rate that assumes all profits are reinvested. It only takes into account the prices of the two end points — not drawdowns, so it does not calculate risk. It can be used as a yardstick to compare the performance of two strategies. Since it annualizes values, it requires a minimum 4H timeframe to display the CAGR value. annualizing returns over smaller periods of times doesn't produce very meaningful figures.
MAR: Measure of return adjusted for risk: CAGR divided by Max Drawdown. Indicates how comfortable the system might be to trade. Higher than 0.5 is ideal, 1.0 and above is very good, and anything above 3.0 should be considered suspicious and you need to make sure the total number of trades are high enough by running a Deep Backtest in strategy tester. (available for TradingView Premium users.)
Avg Trade: The sum of money gained or lost by the average trade generated by a strategy. Calculated by dividing the Net Profit by the overall number of closed trades. An important value since it must be large enough to cover the commission and slippage costs of trading the strategy and still bring a profit.
MaxDD: Displays the largest drawdown of losses, i.e., the maximum possible loss that the strategy could have incurred among all of the trades it has made. This value is calculated separately for every bar that the strategy spends with an open position.
Profit Factor: The amount of money a trading strategy made for every unit of money it lost (in the selected currency). This value is calculated by dividing gross profits by gross losses.
Avg RR: This is calculated by dividing the average winning trade by the average losing trade. This field is not a very meaningful value by itself because it does not take into account the ratio of the number of winning vs losing trades, and strategies can have different approaches to profitability. A strategy may trade at every possibility in order to capture many small profits, yet have an average losing trade greater than the average winning trade. The higher this value is, the better, but it should be considered together with the percentage of winning trades and the net profit.
Winrate: The percentage of winning trades generated by a strategy. Calculated by dividing the number of winning trades by the total number of closed trades generated by a strategy. Percent profitable is not a very reliable measure by itself. A strategy could have many small winning trades, making the percent profitable high with a small average winning trade, or a few big winning trades accounting for a low percent profitable and a big average winning trade. Most trend-following successful strategies have a percent profitability of 15-40% but are profitable due to risk management control.
BE Trades: Number of break-even trades, excluding commission/slippage.
Losing Trades: The total number of losing trades generated by the strategy.
Winning Trades: The total number of winning trades generated by the strategy.
Total Trades: Total number of taken traders visible your charts.
Net Profit: The overall profit or loss (in the selected currency) achieved by the trading strategy in the test period. The value is the sum of all values from the Profit column (on the List of Trades tab), taking into account the sign.
- Monthly: Displays performance data on a month-by-month basis, allowing users to analyze performance trends over each month.
- Weekly: Displays performance data on a week-by-week basis, helping users to understand weekly performance variations.
- OFF: Hides the performance table.
Labels:
- OFF: Hides labels in the performance table.
- PnL: Shows the profit and loss of each trade individually, providing detailed insights into the performance of each trade.
- Range: Shows the range length and Average Day Range (ADR), offering additional context about market conditions during each trade.
Profit Color:
- Allows users to set the color for representing profit in the performance table, helping to quickly distinguish profitable periods.
Loss Color:
- Allows users to set the color for representing loss in the performance table, helping to quickly identify loss-making periods.
These customizable tables provide traders with flexible and detailed performance analysis, aiding in better strategy evaluation and optimization.
-----
User-input styles and customizations:
To facilitate studying historical data, all conditions and rules can be applied to your charts. By plotting background colors on your charts, you'll be able to identify what worked and what didn't in certain market conditions.
Please note that all background colors in the style are disabled by default to enhance visualization.
-----
How to Use This Algobuilder to Create a Profitable Edge and System:
Choose Your Strategy mode:
- Decide whether you are creating an investing strategy or a trading strategy.
Select a Market:
- Choose a one-sided market such as stocks, indices, or cryptocurrencies.
Historical Data:
- Ensure the historical data covers at least 10 years of price action for robust backtesting.
Timeframe Selection:
- Choose the timeframe you are comfortable trading with. It is strongly recommended to use a timeframe above 15 minutes to minimize the impact of commissions on your profits.
Set Commission and Slippage:
- Properly set the commission and slippage in the strategy properties according to your broker or prop firm specifications.
Parameter Optimization:
- Use trial and error to test different parameters until you find the performance results you are looking for in the summary table or, preferably, through deep backtesting using the strategy tester.
Trade Count:
- Ensure the number of trades is 100 or more; the higher, the better for statistical significance.
Positive Average Trade:
- Make sure the average trade value is above zero.
(An important value since it must be large enough to cover the commission and slippage costs of trading the strategy and still bring a profit.)
Performance Metrics:
- Look for a high profit factor, MAR (Mar Ratio), CAGR (Compound Annual Growth Rate), and net profit with minimum drawdown. Ideally, aim for a drawdown under 20-30%, depending on your risk tolerance.
Refinement and Optimization:
- Try out different markets and timeframes.
- Continue working on refining your edge using the available filters and components to further optimize your strategy.
Automation:
- Once you’re confident in your strategy, you can use the automation section to connect the algorithm to your broker or prop firm.
- Trade a fully automated and backtested trading strategy, allowing for hands-free execution and management.
-----
What makes this strategy original?
1. Incorporating direct integration of probabilities into the strategy.
2. Leveraging market sentiment to construct a profitable approach.
3. Utilizing built-in market structure-based trailing stop-loss mechanisms across various timeframes.
4. Offering both investing and trading strategies, facilitating optimization from different perspectives.
5. Automation for efficient execution.
6. Providing a summary table for instant access to key parameters of the strategy.
-----
How to use automation?
For Traders:
1. Ensure the strategy parameters are properly set based on your optimized parameters.
2. Enter your PineConnector License ID in the designated field.
3. Specify the desired risk level.
4. Provide the Metatrader symbol.
5. Check for chart updates to ensure the automation table appears on the top right corner, displaying your License ID, risk, and symbol.
6. Set up an alert with the strategy selected as Condition and the Message as {{strategy.order.alert_message}}.
7. Activate the Webhook URL in the Notifications section, setting it as the official PineConnector webhook address.
8. Double-check all settings on PineConnector to ensure the connection is successful.
9. Create the alert for entry/exit automation.
For Investors:
1. Ensure the strategy parameters are properly set based on your optimized parameters.
2. Choose "Investing" in the user-input settings.
3. Create an alert with a specified name.
4. Customize the notifications tab to receive alerts via email.
5. Buying/selling alerts will be triggered instantly upon entry or exit order execution.
----
Strategy Properties
This script backtest is done on 4H COINBASE:BTCUSD , using the following backtesting properties:
Balance: $5000
Order Size: 10% of the equity
Risk % per trade: 1%
Commission: 0.04% (Default commission percentage according to TradingView competitions rules)
Slippage: 75 ticks
Pyramiding: 2
-----
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
Built-in components, features, and functionalities of our charting tools are the intellectual property of @Fractalyst Unauthorized use, reproduction, or distribution of these proprietary elements is prohibited.
By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer and agrees to respect our intellectual property rights and comply with all applicable laws and regulations.
Stop Hunts [MK]Liquidity rests above/below previous highs and lows because these are the areas where traders are most likely to leave their orders/stop losses. The market can tap into this liquidity source by going beyond the previous highs and lows, this liquidity can then be used to reverse the market in the opposite direction.
As traders we may want to know if price will continue beyond previous highs and lows, or reverse the market. If price looks to be reversing after tapping into liquidity, this can be a good area to enter a trade. The same area can be used as a take profit level also.
The indicator identifies previous high/lows in two ways:
1. previous high/lows using 'PIVOT POINTS'. Pivots are easy to spot and are obvious within a price trend. Also called 'higher highs", "lower lows" etc. The number of candles required to form the pivot point can be adjusted in the script settings.
see below example of pivot point and stop hunt:
www.tradingview.com
see how price reversed upwards after stop hunt on pivot point above.
2. previous candle high/lows. A previous candles high and low are also good areas of liquidity.
see below example of previous candle stop hunt:
see how price reversed upwards after stop hunt on previous candle low above.
Personally, I use the pivot point stop hunts on lower timeframes and previous candle stop hunts on higher timeframes. However users can adjust on which timeframes to show the indicator depending on their own trading style.
As ever all items within 'settings' are customizable.
The indicator is by no means a 'trading strategy' and users should be fully aware of the stop hunt concept and have conducted extensive back-testing before using with 'live' accounts.
The indicator may also serve as a 'teaching aid' to new students and as a reminder to more experienced traders.
Master Pattern [UAlgo]🔶 Description:
"Master Pattern by UAlgo" aims to identify and visualize "Master Patterns" in price movements on financial charts, and focusing on detecting liquidity levels and sweeps. The indicator provides users with the ability to customize settings such as master pattern detection and detection flexibility, sensitivity to liquidity levels, and visualization preferences.
🔶 What is the Master Pattern ?
The Master Pattern is a framework built around understanding market cycles, which include three main phases: Contraction, Expansion, and Trend.
Contraction Phase: During this phase, the market fluctuates less and consolidates within a narrow range. Institutional trading volumes tend to be low and it is recommended to avoid trading entries during this period.
Expansion Phase: volatility increases and prices fluctuate greatly. Institutional traders begin to establish positions at this stage and may manipulate prices to attract retail traders to create liquidity for their own buy or sell targets.
Trend Phase: The final phase that completes the market cycle. Institutional traders started taking profits, causing the trend to reverse. This triggered panic among retail traders, leading to liquidations and stop-losses. This creates liquidity from which institutional traders can profit, while retail traders' positions are overvalued.
🔶 Key Features:
Pattern Detection : The indicator detects and visualizes contraction patterns in price movements, helping traders identify potential areas of price consolidation.
Also traders can choose between different modes (Strict, Normal, Relax) for obtaining master patterns, providing flexibility in pattern identification based on individual trading strategies and preferences.
The Value/Expansion Line : This value line is considered by institutional traders as a potential “Point of Origin” for future price movements.
An Application Example of the Master Pattern :
Select the Appropriate Timeframes: A significant separation between the higher timeframe (HTF) and the lower timeframe (LTF) is essential. For instance, combinations like 4H and 15M, 4H and 5M, or 1H and 1M. You can change this according to your own strategy.
Trade Based on Contraction Box, Value Line and Liquidity: When the HTF is above value, look for buying opportunities on your LTF below value. Conversely, when the HTF is below value, seek selling opportunities on your LTF above value. Sweeping liquidity in LTF is also an important parameter.
Also Value/Expansion Line can also be used as Support/Resistance zone,
Liquidity Levels : The indicator includes functionality to detect and display liquidity levels on the chart.
Dashboard Display : A customizable dashboard provides users with key information, including liquidity levels, master pattern values, and whether the current price is above or below Master Pattern's value lines.
Additionally, when liquidity is swept or the price rises above or falls below the value line. this information can be displayed on the dashboard.
Customizable Settings: Users can adjust parameters such as the pattern detection mode, sensitivity to liquidity levels, liquidity type (cumulative or individual for each swing), visualization preferences for master patterns, the position and font size of the dashboard.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Liquidity Dependent Price Stability AlgorithmThe Liquidity Dependent Price Stability (LDPS) indicator is designed to measure liquidity levels on an equity and, from those measurements, provide Bullish or Bearish outlooks for future price action. These outlooks are given via reporting the equity's Liquidity Condition and Liquidity Flow.
Interpretation
Liquidity Condition (LC) and Liquidity Flow (LF) measurements are displayed with color-specific chart colors and/or with text output.
LC can be reported as "Weak Bullish", "Bullish", or "Strong Bullish" for Bullish outlooks and "Weak Bearish", "Bearish" or "Strong Bearish" for Bearish outlooks. LC can also just be reported as "Bullish" or "Bearish".
Bullish LCs have a statistical correlation with future price appreciation, and Bearish LCs have a statistical correlation with price depreciation. When LC is “Bullish”, the price is likely to go up, and if LC is “Bearish”, the price is likely to go down.
Liquidity Flow (LF) is a measure of how LC is changing. When LC is becoming more bullish, LF is reported as “Improving”. When LC is becoming more bearish, LF is reported as “Worsening”. LF is only displayed via text output.
Settings and Configurations
LDPS Sensitivity and Reactivity: Determines if you want LDPS to be more sensitive to changing conditions or less sensitive. This choice affects how certain LDPS is when forming its future outlooks. LDPS achieves this increase in sensitivity and reactivity by lowering the bar for what LDPS considers a significant change.
Aggressive : LDPS will optimize reporting early changes in LC and LF at the expensive of accuracy. Aggressive is good for low-risk trading styles that prefer to exit a position early rather than deal with increased risk of oppositional movement.
Balanced : LDPS will try to balance reporting changes in LC and LF with maintaining accuracy. Balanced style is a good setting to start out with and is applicable across the widest range of equity’s and timeframes.
Conservative : LDPS will optimize accuracy over being sensitive to changes in LC or LF. Conservative is a good choice for lower timeframes and traders who only want to change or exit positions with the greatest confidence.
LDPS Reporting Style: Determines how you want LC to be reported.
Simplified : LDPS will only report LC as “Bullish” or “Bearish”.
Full : LDPS will increase its reporting details and include the “Strong” and “Weak” pre-fixes, when appropriate.
LDPS Candle Coloring: There are three different ways that LC can be reported on the chart via coloring.
LDPS Candle Replacement: This will replace the chart’s default candles with those created by LDPS. Note: In order to see LDPS’ candles and not the chart’s, you have to disable to chart’s candles. This can be done in Settings -> Symbol and unchecking “Body”, “Borders” and “Wick” boxes.
LDPS Candle Coloring: This will just color the bodies of the chart’s default candles. Note: This setting should not have the chart’s candle’s disabled.
LDPS Background Coloring: This will color the chart’s background rather than any candles.
LDPS Text Output: LC and LF are reported via a text box that can be moved several places on the chart, or the text box can be removed.
LDPS Measurements – Display: When selected, LC and LF will be reported via the text box.
LDPS Measurement – Text Location: Determines where the text box with LC and LF are located.
LDPS Measurement – Text Size: Determines the size of LC and LF within the text box.
LDPS Measurement – Background Color: Determines the background color of the text box with LC and LF.
LDPS Condition Color Selection – Bullish / Bearish: Color selection for each type of LC. Note: If the Simplified reporting style is selected, the “Full Bullish” and “Full Bearish” are the bullish and bearish color choices, respectively.
Frequently Asked Questions:
Where can I get additional Information?
Please check the “Author’s Instructions” section below.
Where can I find the results of the LDPS research?
Please check the “Author’s Instructions” section below.
Help! Something’s not working!
Apologies. Please see the email listed in “Author’s Instructions” below and let’s get started on solving the issue.
Which Sensitivity setting should I use?
The author’s preference is Conservative in most cases, but the answer for you depends on your preferred style.
An analogy might help: the aggressive setting will ensure LDPS is early to the party – every party. Of the parties that really kick off, you can be certain LDPS is there, but they had to visit a several of parties before finding the right one.
The Conservative setting won’t bring LDPS to every party – it will gladly stay at the one it’s at but when it detects the next real big hit, LDPS will move to that party instead. It won’t be the first one there, but it is definitely earlier than most.
Should I use the Full or Simplified reporting style?
Depending on how engaged you are with the particular equity or position, either choice can be beneficial. The Full reporting style will let you detect changes in LC before they might show with the Simplified reporting style. Some enjoy the additional data, some (like the Author) enjoy keeping things simple.
I can see LDPS’ colors in the chart’s candlesticks when the settings are open, but not when the settings are closed. How come?
If you are using the “LDPS Candle Replacement” setting, be sure to turn off the Chart’s default candles by right-clicking on the chart, going to Settings, then Symbol and then un-checking “Body”, “Border” and “Wick”. This should fix the issue.
I think there’s a bug – where do I report it?
Thank you for reaching out about a potential bug or issue! Please see the email below in “Author’s Instructions” to report the issue.
LDPM Crossover Scanner AddonThe LDPM Crossover Scanner is designed to be used in conjunction with the Liquidity Dependent Price Movement Algorithm and is included with LDPM access.
The LDPM Crossover Scanner displays the LDPM status for up to 10 equity's. When conditions are bearish, per LDPM, the equity will light up on the scanner; otherwise, the equity will not light up.
When used in aggregate, this becomes a particularly useful way to measure up-coming market moves (especially when the crossover scanner showcases equities with significant beta to the chart's underlying!).
Liquidity Dependent Price Movement AlgorithmLiquidity-Dependent Price Movement (LDPM) is a metric designed to directly measure liquidity on a equity in real time, and to translate those measurements into signals to provide insights into where the anticipate price-direction is headed.
Liquidity can be characterized as a way of measuring how smoothly things are running in the market. When things are running smoothly – such as when there is good agreement as to the price of an asset, then things are considered liquid. Conversely, when things are not running smoothly, just as when the bid or the ask do not agree with each other, then things are considered not liquid. These different states have different outcome liklihoods.
In a liquid environment, a stock can trade a lot of shares without moving the price. On the other hand, when a stock is not liquid, even small volumes can move the price substantially.
It is therefore helpful to know when a stock is liquid to the upside or to the downside, or even, when a stock is not liquid to the upside or the downside. These data have statistical associations with future price movement and volatility.
The use of LDPM is straightforward:
If the price is above LDPM: bullish outlooks.
If the price is below LDPM: bearish outlooks.
There are a few key differences about LDPM as compared to other indicators, namely that timeframe matters . That means, LDPM will tailor its output to the timeframe selected. The advantage of this is that it allows LDPM to be "tailored" to the specific timeframe as desired, without having to do any conversions or adaptations mentally.
Key Settings and Configurations:
Setting - Smoothing Type of LDPM :
Default: KF.
LDPM can be smoothened if desired. There are 5 different types of smoothing available:
EMA : Exponential Smoothing
SMA : Simple Smoothing
WMA : Weighted Smoothing
RMA : Modified Smoothing
KF : Kellman Smoothing
The default is "KF" for Kellman Smoothing.
Setting - Include LDPM-Granular :
Default: Off.
LDPM-Granular is the more "raw" form of LDPM that displays the candle-specific result, rather than the smoothened result. This can be toggled on or off, if desired. LDPM granular is helpful for looking at candle-specific
Setting - Place LDPM Standard :
Default: Off.
An additional, single, LDPM line can be placed via this toggle. Settings for this LDPM can be configured directly below toggle.
Setting - Place LDPM-Fib :
Default: On.
LDPM-Fib is a default setting for displaying 5 LDPMs (LDPM-13, LDPM-21, LDPM-34, LDPM-55, and LDPM-89) whose lookbacks are spaced via the Fib sequence. Useful for those who enjoy a static relationship between the different "layers" of LDPM.
Setting - Place LDPM-Reference :
Default: Off.
Since LDPM is time-interval dependent, there may be times when a higher-order timeframe is desired to act as a reference. For instance, suppose you want to go long if the 1-Hour LDPM experiences a bullish crossover, but you want to scalp shorts on the 15-minute timeframe until then. Then you could place the chart on the 15-minute interval for your scalping, and then place a 1-Hour reference LDPM that will show you when the 1-Hour LDPM and price experience a crossover.
Note: The reference must be a higher-order timeframe. So if your chart is on the 15-minute, you can only reference timeframes greater than 15.
Setting - LDPM Box Creation :
Default: On.
Instead of implementing a reference LDPM, it is possible to display the other timeframes in a data table with conditional coloring for if the overall LDPM-Price relationship is bullish or bearish.
Why Chose LDPM
There are no other Liquidity-measuring indicators available to the retail investor. Measuring liquidity often requires the use of expensive data and high-throughput computing to be used in real-time. Neither of these requirements apply to utilizing LDPM.
Additionally, the data are supportive that LDPM provides statistically significant, price-direction-correct outlooks.
ICT Immediate Rebalance Toolkit [LuxAlgo]The ICT Immediate Rebalance Toolkit is a comprehensive suite of tools crafted to aid traders in pinpointing crucial trading zones and patterns within the market.
The ICT Immediate Rebalance, although frequently overlooked, emerges as one of ICT's most influential concepts, particularly when considered within a specific context. The toolkit integrates commonly used price action tools to be utilized in conjunction with the Immediate Rebalance patterns, enriching the capacity to discern context for improved trading decisions.
The ICT Immediate Rebalance Toolkit encompasses the following Price Action components:
ICT Immediate Rebalance
Buyside/Sellside Liquidity
Order Blocks & Breaker Blocks
Liquidity Voids
ICT Macros
🔶 USAGE
🔹 ICT Immediate Rebalance
What is an Immediate Rebalance?
Immediate rebalances, a concept taught by ICT, hold significant importance in decision-making. To comprehend the concept of immediate rebalance, it's essential to grasp the notion of the fair value gap. A fair value gap arises from market inefficiencies or imbalances, whereas an immediate rebalance leaves no gap, no inefficiencies, or no imbalances that the price would need to return to.
Rule of Thumb
After an immediate rebalance, the expectation is for two extension candles to follow; otherwise, the immediate rebalance is considered failed. It's important to highlight that both failed and successful immediate rebalances, when considered within a context, are significant signatures in trading.
Immediate rebalances can occur anywhere and in any timeframe.
🔹 Buyside/Sellside Liquidity
In the context of Inner Circle Trader's teachings, liquidity primarily refers to the presence of stop losses or pending orders, that indicate concentrations of buy or sell orders at specific price levels. Institutional traders, like banks and large financial entities, frequently aim for these liquidity levels or pools to accumulate or distribute their positions.
Buyside liquidity denotes a chart level where short sellers typically position their stops, while Sellside liquidity indicates a level where long-biased traders usually place their stops. These zones often serve as support or resistance levels, presenting potential trading opportunities.
The presentation applied here is the multi-timeframe version of our previously published Buyside-Sellside-Liquidity script.
🔹 Order Blocks & Breaker Blocks
Order Blocks and Breaker Blocks hold significant importance in technical analysis and play a crucial role in shaping market behavior.
Order blocks are fundamental elements of price action analysis used by traders to identify key levels in the market where significant buying or selling activity has occurred. These blocks represent areas on a price chart where institutional traders, banks, or large market participants have placed substantial buy or sell orders, leading to a temporary imbalance in supply and demand.
Breaker blocks, also known as liquidity clusters or pools, complement order blocks by identifying zones where liquidity is concentrated on the price chart. These areas, formed from mitigated order blocks, often act as significant barriers to price movement, potentially leading to price stalls or reversals in the future.
🔹 Liquidity Voids
Liquidity voids are sudden price changes when the price jumps from one level to another. Liquidity voids will appear as a single or a group of candles that are all positioned in the same direction. These candles typically have large real bodies and very short wicks, suggesting very little disagreement between buyers and sellers.
Here is our previously released Liquidity-Voids script.
🔹 ICT Macros
In the context of ICT's teachings, a macro is a small program or set of instructions that unfolds within an algorithm, which influences price movements in the market. These macros operate at specific times and can be related to price runs from one level to another or certain market behaviors during specific time intervals. They help traders anticipate market movements and potential setups during specific time intervals.
Here is our previously released ICT-Macros script.
🔶 SETTINGS
🔹 Immediate Rebalances
Immediate Rebalances: toggles the visibility of the detected immediate rebalance patterns.
Bullish, and Bearish Immediate Rebalances: color customization options.
Wicks 75%, %50, and %25: color customization options of the wick price levels for the detected immediate rebalance.
Ignore Price Gaps: ignores price gaps during calculation.
Confirmation (Bars): specifies the number of bars required to confirm the validation of the detected immediate rebalance.
Immediate Rebalance Icon: allows customization of the size of the icon used to represent the immediate rebalance.
🔹 Buyside/Sellside Liquidity
Buyside/Sellside Liquidity: toggles the visibility of the buy-side/sell-side liquidity levels.
Timeframe: this option is to identify liquidity levels from higher timeframes. If a timeframe lower than the chart's timeframe is selected, calculations will be based on the chart's timeframe.
Detection Length: lookback period used for the detection.
Margin: sets margin/sensitivity for the liquidity levels.
Buyside/Sellside Liquidity Color: color customization option for buy-side/sell-side liquidity levels.
Visible Liquidity Levels: allows customization of the visible buy-side/sell-side liquidity levels.
🔹 Order Blocks & Breaker Blocks
Order Blocks: toggles the visibility of the order blocks.
Breaker Blocks: toggles the visibility of the breaker blocks.
Swing Detection Length: lookback period used for the detection of the swing points used to create order blocks & breaker blocks.
Mitigation Price: allows users to select between the closing price or the wick of the candle.
Use Candle Body in Detection: allows users to use candle bodies as order block areas instead of the full candle range.
Remove Mitigated Order Blocks & Breaker Blocks: toggles the visibility of the mitigated order blocks & breaker blocks.
Order Blocks: Bullish, Bearish Color: color customization option for order blocks.
Breaker Blocks: Bullish, Bearish Color: color customization option for breaker blocks.
Visible Order & Breaker Blocks: allows customization of the visible order & breaker blocks.
Show Order Blocks & Breaker Blocks Labels: toggles the visibility of the order blocks & breaker blocks labels.
🔹 Liquidity Voids
Liquidity Voids: toggles the visibility of the liquidity voids.
Liquidity Voids Width Filter: filtering threshold while detecting liquidity voids.
Ignore Price Gaps: ignores price gaps during calculation.
Remove Mitigated Liquidity Voids: remove mitigated liquidity voids.
Bullish, Bearish, and Mitigated Liquidity Voids: color customization option..
Liquidity Void Labels: toggles the visibility of the liquidity voids labels.
🔹 ICT Macros
London and New York (AM, Launch, and PM): toggles the visibility of specific macros, allowing users to customize macro colors.
Macro Top/Bottom Lines, Extend: toggles the visibility of the macro's pivot high/low lines and allows users to extend the pivot lines.
Macro Mean Line: toggles the visibility of the macro's mean (average) line.
Macro Labels: toggles the visibility of the macro labels, allowing customization of the label size.
🔶 RELATED SCRIPTS
ICT-Killzones-Toolkit
Smart-Money-Concepts
Thanks to our community for recommending this script. For more conceptual scripts and related content, we welcome you to explore by visiting >>> LuxAlgo-Scripts .
M2 Global Liquidity Index
The M2 Global Liquidity Index calculates a composite index reflecting the aggregate liquidity provided by the M2 money supply of five major currencies: Chinese Yuan (CNY), US Dollar (USD), Euro (EUR), Japanese Yen (JPY), and British Pound (GBP). The M2 money supply includes cash, checking deposits, and easily convertible near money. By incorporating exchange rates (CNY/USD, EUR/USD, JPY/USD, GBP/USD), the script adjusts each country's M2 supply to a common base (USD) and sums them up to produce a global liquidity metric. This metric, plotted on a daily timeframe, provides an overview of the total liquidity available in these five significant economies.
Understanding the M2 money supply is crucial for assessing liquidity because it represents the amount of money readily available in an economy for spending and investment. Higher M2 levels generally indicate more liquidity, suggesting easier access to capital for businesses and consumers, potentially leading to economic growth. Conversely, lower M2 levels can signify tighter liquidity conditions, possibly resulting in constrained spending and investment.
Liquidity Grab Zones | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grab Zones Indicator! This indicator finds liquidity grabs in the current ticker and renders buyside & sellside liquidity grab zones. The retests and breakout of the zones are labeled, and you can set up alerts to get notified. For more information, please check the "HOW DOES IT WORK" section.
Features of the new Liquidity Grab Zones Indicator :
Renders Buyside & Sellside Liquidity Grab Zones
Retests & Breaks
Inverse Zones After Broken Feature
Alerts For All Features
Customizable Algorithm
Customizable Styles
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, so you can plann your trades accordingly. This indicator lets you customize the pivot length and the wick-body ratio for liquidity grabs, provide retest & breakout labels, with customized styling and alerts.
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a zone is plotted.
These zones usually indicate areas of high market interest where price action may reverse or accelerate. Identifying these zones can provide traders with critical levels for entering or exiting trades. A breakout of these zones generally mean strong movements are inbound, while failing breakouts make these zones act like support / resistance zones.
The indicator also reverses the type of the zone after an invalidation (can be turned off from the settings). This feature helps traders identify potential reversals more accurately.
The zone width is set to the area from the wick to the body of the candlestick, which can be seen here :
⚙️SETTINGS
1. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
Zone Invalidation -> Select between Wick & Close price for Liquidity Grab Zone Invalidation.
Use these customizable settings to fine-tune the indicator according to your trading strategy and preferences.
Session TimesDescription:
This indicator simply when enabled will draw dashed lines at each of the session openings. This is based on UTC+1 Time. There will be lines at 00:00 & 08:00 (Asian Session), lines at 08:00 & 13:00 (London Session) and finally lines at 13:00 & 00:00 (New York Session).
Potential Use:
There are many ways you could use this indicator to benefit your trading, but the best way I find is that it makes it clear where the previous highs and lows are of a session, which are potential areas you could trade off. Obviously, there are many other ways you can use this to help you.
How The Script Works:
The way the script works isn't too complicated as it is only a short script. Simply it firstly calculates what are the weekdays (Whenever it isn't Saturday or Sunday). Then from there simply finds the times which I mentioned above, and adds a vertical dashed line there.
Future Updates:
In the future I will mainly be looking to make the indicator more customisable. Firstly, I will look to make it so that the user can adjust the times that the lines are drawn at so it still works wherever you are in the world. I would also like to make it so the user can choose the colour of the lines. If you have any other additions you would like added to this, then feel free to message me.
OrderFlow [Probabilities] | FractalystWhat's the indicator's purpose and functionality?
The indicator is designed to incorporate probabilities with buyside and sellside liquidity, as well as premium and discount ranges within the market. It also provides traders with a multi-timeframe functionality for observing liquidity levels and probabilities across two timeframes without the need to manually switch between them.
These levels are often used in smart money trading concepts for identifying key areas of interest, such as potential reversal points, areas of accumulation or distribution, and zones of high liquidity.
----
What's the purpose of these levels? What are the underlying calculations?
1. Understanding Swing highs and Swing Lows
Swing High: A Swing High is formed when there is a high with 2 lower highs to the left and right.
Swing Low: A Swing Low is formed when there is a low with 2 higher lows to the left and right.
2. Understanding the purpose and the underlying calculations behind Buyside , Sellside and Equilibrium levels.
3. Identifying Discount and Premium Zones.
4. Importance of Risk-Reward in Premium and Discount Ranges
----
How does the script calculate probabilities?
The script calculates the probability of each liquidity level individually. Here's the breakdown:
1. Upon the formation of a new range, the script waits for the price to reach and tap into equilibrium or the 50% level. Status: "⏸" - Inactive
2. Once equilibrium is tapped into, the equilibrium status becomes activated and it waits for either liquidity side to be hit. Status: "▶" - Active
3. If the buyside liquidity is hit, the script adds to the count of successful buyside liquidity occurrences. Similarly, if the sellside is tapped, it records successful sellside liquidity occurrences.
5. Finally, the number of successful occurrences for each side is divided by the overall count individually to calculate the range probabilities.
Note: The calculations are performed independently for each directional range. A range is considered bearish if the previous breakout was through a sellside liquidity. Conversely, a range is considered bullish if the most recent breakout was through a buyside liquidity.
----
What does the multi-timeframe functionality offer?
Enabling and selecting a higher timeframe in the indicator's user-input settings allows you to access not only the current range information but also the liquidity sides, status, price levels, and probabilities of a higher timeframe without needing to switch between timeframes and mark up the levels manually.
----
What are the multi-timeframe underlying calculations?
The script uses the same calculations (mentioned above) and requests the data such as price levels, bar time, probabilities and booleans from the user-input timeframe.
Non-repainting Security Function with Lookahead ON
//Function to fetch data for a given timeframe
getHTFData(timeframe_,exp_) =>
request.security(syminfo.tickerid, timeframe_,exp_ ,lookahead = barmerge.lookahead_on)
----
How to use the indicator?
1. Add the indicator to your TradingView chart.
2. Choose the pair you want to analyze/trade.
3. Enable the HTF in user-input settings and choose a timeframe as for your higher timeframe bias.
4. (Important) : Ensure that the probabilities on both timeframes are aligned in one direction. If not, switch between timeframes until you find a pair of timeframes that are in line with each other and have higher probabilities on one liquidity side.
For Swing traders:
Use Hourly timeframes (1H/2H/4H/8H/12H) as your current timeframe and 1D/3D/1W/2W for your higher timeframe (HTF).
Entry: Hourly Equilibrium level. (Limit order)
Stoploss: Place it on the side where the probability is lower than 50%.
Break-even level/TP1: Hourly breakout of the liquidity.
TP2: Target the Higher Timeframe (HTF) liquidity level where the probability is higher than 50%.
2H/1D COINBASE:BTCUSD
For Day traders:
Use minutely timeframes (5m/15m/30m) as your current timeframe and 1H/2H/4H/8H/12H for your higher timeframe (HTF).
Entry: Minutely Equilibrium level. (Limit order)
Stoploss: Place it on the side where the probability is lower than 50%.
Break-even level/TP1: Minutely breakout of the liquidity.
TP2: Target the Higher Timeframe (HTF) liquidity level where the probability is higher than 50%.
1H/5m COINBASE:BTCUSD
----
User-input settings and customizations
----
What makes this indicator original?
1. Real-time calculation of probabilities directly on your charts.
2. Multi-timeframe functionality, enabling effortless observation of liquidity levels and probabilities across two timeframes.
3. Status label for clear identification of whether price has reached equilibrium.
4. All levels are updated only upon candle closure above or below liquidity levels, ensuring it remains a non-repainting indicator.
----
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer.
US Net LiquidityAnalysis of US Net Liquidity: A Comprehensive Overview
Introduction:
The "US Net Liquidity" indicator offers a detailed analysis of liquidity conditions within the United States, drawing insights from critical financial metrics related to the Federal Reserve (FED) and other government accounts. This tool enables economists to assess liquidity dynamics, identify trends, and inform economic decision-making.
Key Metrics and Interpretation:
1. Smoothing Period: This parameter adjusts the level of detail in the analysis by applying a moving average to the liquidity data. A longer smoothing period results in a smoother trend line, useful for identifying broader liquidity patterns over time.
2. Data Source (Timeframe): Specifies the timeframe of the data used for analysis, typically daily (D). Different timeframes can provide varying perspectives on liquidity trends.
3. Data Categories:
- FED Balance Sheet: Represents the assets and liabilities of the Federal Reserve, offering insights into monetary policy and market interventions.
- US Treasury General Account (TGA): Tracks the balance of the US Treasury's general account, reflecting government cash management and financial stability.
- Overnight Reverse Repurchase Agreements (RRP): Highlights short-term borrowing and lending operations between financial institutions and the Federal Reserve, influencing liquidity conditions.
- Earnings Remittances to the Treasury: Indicates revenues transferred to the US Treasury from various sources, impacting government cash flow and liquidity.
4. Moving Average Length: Determines the duration of the moving average applied to the data. A longer moving average length smoothens out short-term fluctuations, emphasizing longer-term liquidity trends.
Variation Lookback Length: Specifies the historical period used to assess changes and variations in liquidity. A longer lookback length captures more extended trends and fluctuations.
Interpretation:
1. Data Retrieval: Real-time data from specified financial instruments (assets) is retrieved to calculate balances for each category (FED, TGA, RRP, Earnings Remittances).
2. Global Balance Calculation: The global liquidity balance is computed by aggregating the balances of individual categories (FED Balance - TGA Balance - RRP Balance - Earnings Remittances Balance). This metric provides a comprehensive view of net liquidity.
3. Smoothed Global Balance (SMA): The Simple Moving Average (SMA) is applied to the global liquidity balance to enhance clarity and identify underlying trends. A rising SMA suggests improving liquidity conditions, while a declining SMA may indicate tightening liquidity.
Insight Generation and Decision-Making:
1. Trend Analysis: By analyzing smoothed liquidity trends over time, economists can identify periods of liquidity surplus or deficit, which can inform monetary policy decisions and market interventions.
2. Forecasting: Understanding liquidity dynamics aids in economic forecasting, particularly in predicting market liquidity, interest rate movements, and financial stability.
3. Policy Implications: Insights derived from this analysis tool can guide policymakers in formulating effective monetary policies, managing government cash flow, and ensuring financial stability.
Conclusion:
The "US Net Liquidity" analysis tool serves as a valuable resource for economists, offering a data-driven approach to understanding liquidity dynamics within the US economy. By interpreting key metrics and trends, economists can make informed decisions and contribute to macroeconomic stability and growth.
Disclaimer: This analysis is based on real-time financial data and should be used for informational purposes only. It is not intended as financial advice or a substitute for professional expertise.
Liquidations [ChartPrime]Liquidations Indicator:
The Liquidations indicator is a powerful tool designed to help traders identify significant liquidation levels in financial markets. By analyzing volume data over a specified lookback period, the indicator highlights potential areas where market participants with high leverage positions may face liquidation, providing valuable insights into market dynamics.
Usage:
Traders can use the Liquidations indicator to:
◈ Identify liquidity grab opportunities: Liquidation levels often attract price action as market participants with leveraged positions face the risk of forced liquidation. Traders can anticipate price movements as the market aims to trigger these stops, potentially leading to rapid price movements or reversals.
◈ Confirm trend strength: A cluster of liquidation levels in the same direction as the prevailing trend may confirm the strength of the trend, while divergences between liquidation levels and price movements may signal potential trend reversals.
Settings:
◈ Previous Value Bars Back: Specifies the number of previous bars used in calculating the liquidation levels.
◈ Show Leverage: Allows users to selectively display liquidation levels for different leverage multiples, including 5x, 10x, 25x, 50x, and 100x.
◈ Liquidation Levels Width: Sets the width of the lines representing liquidation levels on the chart.
◈ Short Liquidations Color: Specifies the color of the lines representing short liquidation levels.
◈ Long Liquidations Color: Specifies the color of the lines representing long liquidation levels.
◈ Bar Color: Sets the color of the background bar when the indicator is active.
Visual Representation:
◈ Liquidation levels are plotted as horizontal lines on the chart, with different colors representing short and long liquidation levels.
◈ Each liquidation level is labeled with the corresponding leverage multiple (e.g., 5x, 10x, etc.).
A dashboard displays the active liquidation levels for each leverage multiple, allowing traders to quickly assess the current market conditions.
◈ Time Window allows users to cut off unnecessary part of the chart and concentrate on a current active part of the chart to make better trading decisions:
Interpretation:
Market participants tend to place stop-loss orders near liquidation levels , creating clusters of pending orders. As price approaches these levels, it may trigger a cascade of stop-loss orders, providing liquidity for market orders and potentially leading to rapid price movements in the opposite direction.
Traders can anticipate price reversals or accelerations as price interacts with liquidation levels, using them as reference points for identifying potential entry or exit opportunities.
Note:
While the Liquidations indicator provides valuable insights into market dynamics, traders should use it in conjunction with other technical analysis tools and risk management strategies to make informed trading decisions.
Volume Delta [hapharmonic]Volume Delta: Volume Delta is an indicator that simplifies how you analyze trading volumes and the percentage of buy-sell activities effortlessly.
As a trader or market analyst, understanding underlying volume and trade flows is critical. The Volume Delta indicator provides thorough insight into both the total volume and the percentage of buying versus selling within the current candlestick. This information is pivotal for those looking to gauge market momentum and sentiment more effectively.
Additionally, the Volume Delta indicator can plot the candlestick colors based on the percentage of the dominant buying or selling volume. The area between the open and close prices of the candlestick is considered 100% and fills with colors corresponding to the predominant volume at that percentage.
Volume Delta also integrates the concept of Net volume. This component is crucial as it reveals the real market sentiment by calculating the difference between the volume of trades executed at an uptick and those at a downtick.
🟠 Overview
This indicator now displays in two layouts. Recently, Tradingview introduced the "force_overlay=true" function in Pine Script , allowing plots to be moved to the main chart. Thus, all displays are from the same indicator.
🟠 USAGE
From the data displayed in 'plot.style_columns' , the peak area represents the entire volume, accounting for 100%. Within this area, there are two color levels indicating volume. If one type of volume, whether buying or selling, exceeds the other, the larger volume will be positioned behind and the smaller in front. This arrangement prevents the scenario where a higher buying volume obscures the smaller selling volume. Therefore, the two colors can be switched between the front and the back as needed.
As you can see, the 12 and 26-day Exponential Moving Averages (EMAs) are used, with the Volume Confirmation Length set at 6. Therefore, the crossing of the EMAs proceeds normally, but it is highlighted with three triangular arrows to indicate a high likelihood of a valid crossover. However, if the volume is insufficient, these markers won't be displayed, although the EMA crossover will still occur as usual. This can be useful for using volume to verify the significance of the EMA crossover.
🟠 Setting
If you enable the label, please be aware that the chart size will shrink, causing the candlestick display to become unclear. Therefore, you might need to select "Logarithmic" at the bottom right of your screen, or for mobile applications, press and hold on the price scale and choose "Logarithmic" to adjust the scale appropriately.
Enjoy!
Smart Money Setup 06 [TradingFinder] Liquidity Sweeps + OB Swing🔵 Introduction
Smart Money, managed by large investors, injects significant capital into financial markets by entering real capital markets.
Capital entering the market by this group of individuals is called smart money. Traders can profit from financial markets by following such individuals.
Therefore, smart money can be considered one of the effective methods for analyzing financial markets.
Sometimes, before a market movement, fluctuation movements that create price movement cause many traders' "Stop Loss" to be triggered. These movements are created in various patterns.
One of these patterns is similar to an "Expanding Triangle", which touches the stop loss of individuals who have placed their stop loss in the cash area in the form of 5 consecutive openings.
To better understand this setup, pay attention to the images below.
Bullish Setup Details :
Bearish Setup Details :
🔵 How to Use
After adding the indicator to the chart, wait for trading opportunities to appear. By changing the "Time Frame" and "Pivot Period", you can see different trading positions.
In general, the smaller the "Time Frame" and "Pivot Period", the more likely trading opportunities will appear.
Bullish Setup Details on Chart :
Bearish Setup Details on Chart :
🔵 Settings
You have access to "Pivot Period", "Order Block Refine", and "Refine Mode" through settings.
By changing the "Pivot Period", you can change the range of zigzag that identifies the setup.
Through "Order Block Refine", you can specify whether you want to refine the width of the order blocks or not. It is set to "On" by default.
Through "Refine Mode", you can specify how to improve order blocks.
If you are "risk-averse", you should set it to "Defensive" mode because in this mode, the width of the order blocks decreases, the number of your trades decreases, and the "reward-to-risk ratio "increases.
If you are on the opposite side and are "risk-taker", you can set it to "Aggressive" mode. In this mode, the width of the order blocks increases, and the likelihood of losing positions decreases.
Unmitigated Liquidity Imbalances [AlgoAlpha]🎉 Introducing the Unmitigated Liquidity Imbalance Indicator by AlgoAlpha! 🎉
Dive into the depths of market analytics with our "Unmitigated Liquidity Imbalance" indicator. This tool harnesses unique algorithms to detect liquidity imbalances between bulls and bears, helping traders spot trends and potential entry and exit points with greater accuracy. 📈🚀
🔍 Key Features:
🌟 Advanced Analysis : Analyses candle direction and length to forecast market peaks and valleys.
🎨 Customizable Visuals : Tailor the chart with your choice of bullish green or bearish red to reflect different market conditions.
🔄 Real-Time Updates : Continuously updates to reflect live market changes.
🔔 Configurable Alerts : Set up alerts for key trading signals such as bullish and bearish reversals, as well as trend shifts.
📐 How to Use:
🛠 Add the Indicator : Add the indicator to your favourites and customize the settings to suite your needs.
📊 Market Analysis : Monitor the oscillator threshold; readings above 0.5 suggest bullish sentiment, while below 0.5 indicate bearish conditions. And reversal signals are displayed to show potential entry points.
🔔 Set Alerts : Enable notifications for reversal conditions or trend changes to seize trading opportunities without constant chart watching.
🧠 How It Works:
The core mechanism of the indicator is based on detecting changes in candlestick size and direction to identify bullish and bearish liquidity levels from the peak & valley indicator's logic. By comparing the length of a current candle to the previous one and checking the change in direction, it pinpoints moments where market sentiment could be shifting, indicating if the liquidity at that point is bullish or bearish. The script then looks at what percentage of the past few unmitigated levels are bullish or bearish based on a customizable lookback and determines the liquidity imbalance which can then be interpreted as trend.
Empower your trading with the Unmitigated Liquidity Imbalance indicator and navigate the markets with confidence and precision. 🌟💹
Happy trading, and may your charts be ever in your favour! 🥳✨
💎 Related Indicator
Volume Profile with Node Detection [LuxAlgo]The Volume Profile with Node Detection is a charting tool that allows visualizing the distribution of traded volume across specific price levels and highlights significant volume nodes or clusters of volume nodes that traders may find relevant in utilizing in their trading strategies.
🔶 USAGE
The volume profile component of the script serves as the foundation for node detection while encompassing all the essential features expected from a volume profile. See the sub-sections below for more detailed information about the indicator components and their usage.
🔹 Peak Volume Node Detection
A volume peak node is identified when the volume profile nodes for the N preceding and N succeeding nodes are lower than that of the evaluated one.
Displaying peak volume nodes along with their surrounding N nodes (Zones or Clusters) helps visualize the range, typically representing consolidation zones in the market. This feature enables traders to identify areas where trading activity has intensified, potentially signaling periods of price consolidation or indecision among market participants.
🔹 Trough Volume Node Detection
A volume trough node is identified when the volume profile nodes for the N preceding and N succeeding nodes are higher than that of the evaluated one.
🔹 Highest and Lowest Volume Nodes
Both the highest and lowest volume areas play significant roles in trading. The highest volume areas typically represent zones of strong price acceptance, where a significant amount of trading activity has occurred. On the other hand, the lowest volume areas signify price levels with minimal trading activity, often indicating zones of price rejection or areas where market participants have shown less interest.
🔹 Volume profile
Volume profile is calculated based on the volume of trades that occur at various price levels within a specified timeframe. It divides the price range into discrete price intervals, typically known as "price buckets" or "price bars," and then calculates the total volume of trades that occur at each price level within those intervals. This information is then presented graphically as a histogram or profile, where the height of each bar represents the volume of trades that occurred at that particular price level.
🔶 SETTINGS
🔹 Volume Nodes
Volume Peaks: Toggles the visibility of either the "Peaks" or "Clusters" on the chart, depending on the specified percentage for detection.
Node Detection Percent %: Specifies the percentage for the Volume Peaks calculation.
Volume Troughs: Toggles the visibility of either the "Troughs" or "Clusters" on the chart, depending on the specified percentage for detection.
Node Detection Percent %: Specifies the percentage for the Volume Troughs calculation.
Volume Node Threshold %: A threshold value specified as a percentage is utilized to detect peak/trough volume nodes. If a value is set, the detection will disregard volume node values lower than the specified threshold.
Highest Volume Nodes: Toggles the visibility of the highest nodes for the specified count.
Lowest Volume Nodes: Toggles the visibility of the lowest nodes for the specified count.
🔹 Volume Profile - Components
Volume Profile: Toggles the visibility of the volume profile with either classical display or gradient display.
Value Area Up / Down: Color customization option for the volume nodes within the value area of the profile.
Profile Up / Down Volume: Color customization option for the volume nodes outside of the value area of the profile.
Point of Control: Toggles the visibility of the point of control, allowing selection between "developing" or "regular" modes. Sets the color and width of the point of control line accordingly.
Value Area High (VAH): Toggles the visibility of the value area high level and allows customization of the line color.
Value Area Low (VAL): Toggles the visibility of the value area low level and allows customization of the line color.
Profile Price Labels: Toggles the visibility of the Profile Price Levels and allows customization of the text size of the levels.
🔹 Volume Profile - Display Settings
Profile Lookback Length: Specifies the length of the profile lookback period.
Value Area (%): Specifies the percentage for calculating the value area.
Profile Placement: Specify where to display the profile.
Profile Number of Rows: Specify the number of rows the profile will have.
Profile Width %: Adjusts the width of the rows in the profile relative to the profile range.
Profile Horizontal Offset: Adjusts the horizontal offset of the profile when it is selected to be displayed on the right side of the chart.
Value Area Background: Toggles the visibility of the value area background and allows customization of the fill color.
Profile Background: Toggles the visibility of the profile background and allows customization of the fill color.
🔶 RELATED SCRIPTS
Supply-Demand-Profiles
Liquidity-Sentiment-Profile
Thanks to our community for recommending this script. For more conceptual scripts and related content, we welcome you to explore by visiting >>> LuxAlgo-Scripts .
Crypto Liquidation Heatmap [LuxAlgo]The Crypto Liquidation Heatmap tool offers real-time insights into the liquidations of the top cryptocurrencies by market capitalization, presenting the current state of the market in a visually accessible format. Assets are sorted in descending order, with those experiencing the highest liquidation values placed at the top of the heatmap.
Additional details, such as the breakdown of long and short liquidation values and the current price of each asset, can be accessed by hovering over individual boxes.
🔶 USAGE
The crypto liquidation heatmap tool provides real-time insights into liquidations across all timeframes for the top 29 cryptocurrencies by market capitalization. The assets are visually represented in descending order, prioritizing assets with the highest liquidation values at the top of the heatmap.
Different colors are used to indicate whether long or short liquidations are dominant for each asset. Green boxes indicate that long liquidations surpass short liquidations, while red boxes indicate the opposite, with short liquidations exceeding long liquidations.
Hovering over each box provides additional details, such as the current price of the asset, the breakdown of long and short liquidation values, and the duration for the calculated liquidation values.
🔶 DETAILS
🔹Crypto Liquidation
Crypto liquidation refers to the process of forcibly closing a trader's positions in the cryptocurrency market. It occurs when a trader's margin account can no longer support their open positions due to significant losses or a lack of sufficient margin to meet the maintenance requirements. Liquidations can be categorized as either a long liquidation or a short liquidation.
A long liquidation occurs when long positions are being liquidated, typically due to a sudden drop in the price of the asset being traded. Traders who were bullish on the asset and had opened long positions will face losses as the market moves against them.
On the other hand, a short liquidation occurs when short positions are being liquidated, often triggered by a sudden spike in the price of the asset. Traders who were bearish on the asset and had opened short positions will face losses as the market moves against them.
🔹Liquidation Data
It's worth noting that liquidation data is not readily available on TradingView. However, we recognize the close correlation between liquidation data, trading volumes, and asset price movements. Therefore, this script analyzes accessible data sources, extracts necessary information, and offers an educated estimation of liquidation data. It's important to emphasize that the presented data doesn't reflect precise quantitative values of liquidations. Traders and analysts should instead focus on observing changes over time and identifying correlations between liquidation data and price movements.
🔶 SETTINGS
🔹Cryptocurrency Asset List
It is highly recommended to select instruments from the same exchange with the same currency to maintain proportional integrity among the chosen assets, as different exchanges may have varying trading volumes.
Supported currencies include USD, USDT, USDC, USDP, and USDD. Remember to use the same currency when selecting assets.
List of Crypto Assets: The default options feature the top 29 cryptocurrencies by market capitalization, currently listed on the Binance Exchange. Please note that only crypto assets are supported; any other asset type will not be processed or displayed. To maximize the utility of this tool, it is crucial to heed the warning message displayed above.
🔹Liquidation Heatmap Settings
Position: Specifies the placement of the liquidation heatmap on the chart.
Size: Determines the size of the liquidation heatmap displayed on the chart.
🔶 RELATED SCRIPTS
Liquidations-Meter
Liquidation-Estimates
Liquidation-Levels
NZTVolumeDESCRIPTION IN ENGLISH
🔶 INTRODUCTION
NZTVolume is an advanced indicator for TradingView , inspired by the mentor Almaz . It is intended to facilitate the analytical work of traders who actively use data on real trading volumes in their analysis. The indicator also has many features that simplify operation and provide great opportunities for analysis , including the key function - identification of effective and ineffective movements, which are described below.
🔶 CONTENT
This tool provides detailed visualization of real volume . Other features such as candlestick color change depending on volume, histogram display percentage change in volume , and display candles that have gained liquidity, but the most unique function is the determination of effective and ineffective movements, alerts for them are built into the indicator, and traders will have a unique opportunity by setting alerts to wait for the first effective movement (its meaning and description below) , all this is implemented through advanced computational algorithms applied in the code.
Key features include Real Volume Histogram, Dynamic Candle Color Change, Average Volume Table, Volume Percent Change, Liquidity taken Candle, Volume Moving Averages, Effective and ineffective movements with their lines, 3 types of customizable Volume Alerts.
🔶 LOGIC
🔹 Dynamic Candle Color Change (Изменять цвет свечей)
Candles change to a contrasting color if their volume exceeds that of the previous candle , differentiated into bullish and bearish , including settings for transparency and colors . Can be configured, enabled of or disabled.
🔹 Real Volume Histogram (Показывать гистограмму объемов)
Automatically retrieves data on volumes and shows it on a chart. Can be configured, enabled of or disabled.
🔹 Liquidity Taken Candle (Показывать свечу собравшую ликвидность)
A candle that has taken/captured liquidity , which is determined in the code by the high and low prices of the candle and the volume it has , is displayed on the histogram . Can be configured, enabled or disabled.
🔹 Percent Change Volume (Показывать гистограмму процентного изменения объема)
Calculates and displays volume percent changes on a histogram. Can be configured, enabled or disabled.
🔹 Effective and Ineffective movement/column (Показывать эффективные и неэффективные движения)
By calculating the average volatility of the last bars, as well as calculating the average volume of the last bars, comparing and contrasting them, we obtain the principle of effective and ineffective movement/column. The code includes alerts that allow you to notify the user when the first effective movement/candle appears, which can significantly improve trading and maintain concentration. Basically it's a specific column on histogram, but is called movement so that's it's easier to understand its logic.
🔹 Line of efficiency and inefficiency (Показывать линии эффективности и неэффективности)
These lines connect all effective and ineffective movements' highs on the histogram, allowing traders to practice, as well as build their trading strategy for the trading day.
🔹 Average Volume Table (Показывать таблицу со средним объемом)
Displays the average volume per bar for selected time intervals with the ability to customize the period . Can be configured, enabled or disabled.
🔹 Volume Moving Averages (Показывать среднюю скользящую объема)
Three lines corresponding to users' set time intervals show the change in volume with color and thickness settings. Can be configured, enabled or disabled.
🔹 Alerts (Во сколько раз объем свечи должен превышать предыдущую для алерта)
Alerts can be triggered by 3 conditions
1. if on the selected timeframe the volume of the current candle exceeds the volume of the previous candle by a user-specified number of times , an alert will be triggered.
2. if a liquidity candle appears on the selected timeframe , an alert is triggered.
3. if an effective column/movement appears on the selected timeframe, an alert is triggered.
It can be configured, enabled or disabled.
🔶 TECHNICAL SPECIFICATION AND UNIQUENESS
At the core of NZTVolume is a series of advanced algorithms that analyze volume data in real-time.
Some of them are:
Calculate average volumes by given time period (in hours).
Candles, that took liquidity - considers high volume and wicks' size.
Percent volume change histogram - calculate percent change of volume for every bar and shows it on graph.
Effective and ineffective movement - calculates by algorithm that considers average volume and average volatility, assuming that big market players will contribute the volume.
🔶 DEMONSTRATION OF HOW THE INDICATOR WORKS ON DIFFERENT ASSETS
NZTLevel + NZTVolume Together
🔶 SETTINGS
🔹 Candles (Свечи)
Enable/disable color changes of candles based on volume . Customize colors of contrasting and standard candles, adjust transparency.
🔹 Histogram Settings (Настройки Гистограммы)
Show volume histogram , show liquidity taken candle, show volume percent change histogram, show effective, ineffective movements, show efficiency/inefficiency line.
🔹 Display settings on the Histogram (Настройки отображения на Гистограмме)
Customizable colors for bullish, bearish, liquidity taken columns as well as for effective and ineffective movement/columns and for lines that connect them.
🔹 Table (Таблица)
Toggle the display of the average volume table, customize the background, and set time ranges (3 parameters, multi-timeframe support). Tables shows "average volume over 24/48/72 hours" in translation
🔹 Lines (Линии)
Option to display/hide average volume lines , select colors and thickness for each of the three lines.
🔹 Alerts (Алерты)
As was said before, there are 3 types of alerts , that can be turned off , there is a parameter can be chosen - How many times volume of the current candle should exceeds the volume of the previous candle to trigger alert
🔶 RECOMMENDATIONS FOR USE
It is recommended to set and save the indicator settings that best match your trading preferences to ensure efficiency and ease of use.
NZTVolume stands out among other indicators for its universal functions, versatility, simplicity of installation and setup, high performance, and extensive customization capabilities, making it an indispensable tool for traders of all levels.
The indicator was developed by Temirlan Tolegenov for NZT Trader Community, April 2024, Prague, Czech Republic
ОПИСАНИЕ НА РУССКОМ ЯЗЫКЕ
🔶 ВСТУПЛЕНИЕ
NZTVolume — это продвинутый индикатор для TradingView , вдохновленный ментором Алмазом . Он предназначен для облегчения аналитической работы трейдеров, которые активно используют данные о реальных объёмах торгов в своем анализе. Индикатор также имеет множество функций, которые упрощают работу и предоставляют большие возможности для анализа , включая ключевую функцию - выявление эффективных и неэффективных движений, которые описаны ниже.
🔶 СОДЕРЖАНИЕ
Индикатор обеспечивает детальную визуализацию реального объема . Другие функции, такие как изменение цвета свечей в зависимости от объема, отображение гистограммы процентное изменение объема и отображение свечи, собравшей ликвидность, но самой уникальной функцией является определение эффективных и неэффективных движений, оповещения по ним встроены в индикатор, и у трейдеров появится уникальная возможность установить оповещения на ожидание первого эффективного движения (его смысл и описание ниже). ) , всё это реализовано посредством продвинутых вычислительных алгоритмов, примененных в коде.
Ключевые функции включают в себя гистограмму реального объема, динамическое изменение цвета свечи, таблицу среднего объема, процентное изменение объема, свечу, взявшую ликвидности, скользящие средние объема, эффективные и неэффективные движения с их линиями, 3 типа настраиваемых параметров. Оповещения об объеме.
🔶 ЛОГИКА
🔹 Динамическое изменение цвета свечей (Изменить цвет свечей)
Свечи меняют цвет на контрастный , если их объем превышает объем предыдущей свечи , дифференцируются на бычьи и медвежьи , включая настройки прозрачности и цвета . Можно настроить, включить или отключить.
🔹 Гистограмма реального объёма (Показывать гистограмму объёмов)
Автоматически извлекает данные по объемам и отображает их на графике. Можно настроить, включить или отключить.
🔹 Свеча, собравшая ликвидность (Показывать свечу собравшую ликвидность)
Свеча, собравшая ликвидность , которая определена в коде максимальной и минимальной ценой свечи и объемом, который она имеет , отображается на гистограмма . Можно настроить, включить или отключить.
🔹 Процентное изменение объема (Показывать гистограмму процентного изменения объема)
Вычисляет и отображает процентные изменения объема на гистограмме. Можно настроить, включить или отключить.
🔹 Эффективные и неэффективные движения(Показать Эффективныеи неэффективные движения)
Рассчитав среднюю волатильность последних баров, а также вычислив средний объем последних баров, сравнивая и противопоставляя их, мы получаем принцип эффективного и неэффективного движения/столбца. В код включены оповещения, которые позволяют оповещать пользователя при появлении первого эффективного движения/свечи, что позволяет существенно улучшить торговлю и сохранить концентрацию. По сути, это отдельный столбец на гистограмме, но он называется движением, потому что так, его логику будет легче понять.
🔹 Линия эффективности и неэффективности (Показывать линии эффективности и неэффективности)
Эти линии соединяют хаи всех эффективных и неэффективных движений на гистограмме, позволяя трейдерам практиковаться, а также строить свою торговую стратегию на торговый день.
🔹 Таблица среднего объема (Показать таблицу со значением определения)
Отображает средний объем на бар для выбранных временных интервалов с возможностью настройки периода . Можно настроить, включить или отключить.
🔹 Скользящие средние объёма (Показать среднюю скользящую объём)
Три линии, соответствующие установленным пользователем временным интервалам , показывают изменение объема с настройками цвета и толщины. Можно настроить, включить или отключить.
🔹 Оповещения (Во сколько раз объем свечи должен превышать предыдущую для оповещения)
Оповещения могут быть вызваны тремя условиями
1. Если на выбранном таймфрейме объем текущей свечи превысит объем предыдущей свечи в заданное пользователем количество раз , сработает оповещение
2. Если на выбранном таймфрейме появляется свеча ликвидности , срабатывает оповещение
3. Если на выбранном таймфрейме появляется эффективный столбец/движение , срабатывает оповещение.
Это можно настроить, включить или отключить.
🔶 ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ И УНИКАЛЬНОСТЬ
В основе NZTVolume лежит серия продвинутых алгоритмов, которые анализируют данные об объемах в режиме реального времени.
Некоторые из них:
Рассчёт средние объёмы за заданный период времени (в часах).
Свечи, снявшие ликвидность - учитывает большой объем и размер шпилей.
Процентное изменение объема на гистограмме — рассчитывает процентное изменение объема для каждого бара и отображает его на графике.
Эффективное и неэффективное движение - рассчитывается по алгоритму, учитывающему средний объем и среднюю волатильность, предполагая, что объем крупных игроков будет сигнализировать о намерении рынка и силе движения.
🔶 НАСТРОЙКИ
🔹 Свечи
Включить/отключить изменение цвета свечей в зависимости от объема . Настройте цвета контрастных и стандартных свечей, настройте прозрачность.
🔹 Настройки гистограммы
Показать гистограмму объема , показать свечу взятой ликвидности, показать гистограмму процентного изменения объема, показать эффективные и неэффективные движения, показать линию эффективности/неэффективности.
🔹 Настройки отображения на гистограмме
Настраиваемые цвета для бычьих, медвежьих, свечей, собравших ликвидность столбцов, а также для эффективных и неэффективных движений/столбцов и линий, которые их соединяют.
🔹 Таблица
Переключайте отображение таблицы среднего объема, настраивайте фон и устанавливайте временные диапазоны (3 параметра, мультитаймфрейм).
🔹 Линии
Возможность отобразить/скрыть линии среднего объема , выбрать цвет и толщину для каждой из трех линий.
🔹 Алерты
Как было сказано ранее, есть 3 типа оповещений , которые можно отключить , можно выбрать параметр — во сколько раз объем текущей свечи должен превышать объем предыдущей свечи, чтобы сработало оповещение.
🔶 РЕКОМЕНДАЦИИ К ИСПОЛЬЗОВАНИЮ
Рекомендуется установить и сохранить настройки индикатора, которые лучше всего соответствуют вашим торговым предпочтениям, чтобы обеспечить эффективность и простоту использования.
NZTVolume выделяется среди других индикаторов своими универсальными функциями, универсальностью, простотой установки и настройки, высокой производительностью и широкими возможностями настройки, что делает его незаменимым инструментом для трейдеров всех уровней.
Индикатор разработан Темирланом Толегеновым для международного сообщества NZT Trader , Апрель 2024, Прага, Чешская Республика.
The indicator is published in accordance and respect to all House Rules of the TradingView platform.
Индикатор опубликован в соответствии и уважением ко всем внутренним правилами платформы TradingView.
Smart Money Interest Index [AlgoAlpha]🌟 Smart Money Interest Index by AlgoAlpha 🌟
Welcome to the innovative Smart Money Interest Index indicator, designed meticulously by AlgoAlpha to revolutionize the way you trade! 📈🧠 This indicator is engineered to decipher the activities of smart money investors relative to the less informed (dumb money) and dynamically display their dominance in the trading landscape through a sophisticated visual index. 🚀💹
🔑 Key Features:
- Smart vs. Dumb Money Analysis: Tracks and compares the movements of smart money (informed investors) and dumb money (general public) within the market to identify potential investment signals.
- Relative Strength Index (RSI) Based Ratios: Utilizes RSI for both smart and dumb money to create a ratio that indicates buying or selling pressures.
- Dynamic Normalization: Employs a long-term peak normalization over a customizable period to ensure the index remains relevant regardless of market conditions.
- Visual Thresholds and Signals: Highlights significant shifts in market dynamics with color-coded thresholds, making it easier to spot changes at a glance.
🛠 How to Use the Smart Money Interest Index:
🔹 🚀 Step 1: Adding the Indicator
- Add the indicator to your favourites.
- Customize the settings according to your analysis needs:
- `Index Period`, `Volume Flow Period`, `Normalization Period`, `High Interest Threshold`
🔹 📊 Step 2: Interpretation of the Index
- Monitor the index plot; a rising index suggests increasing smart money interest, potentially indicating a buying opportunity.
- A value above the high interest threshold (in yellow) highlights significant interest by smart money, suggesting a good time to buy.
🔹 🔔 Step 3: Setting Alerts
- Configure alerts to notify you when the index crosses above the set threshold, enabling you to capitalize on trading opportunities timely and efficiently.
📐 Basic Logic Overview:
The Smart Money Interest Index by AlgoAlpha provides a unique metric that contrasts the investment behaviors of informed (smart money) and general (dumb money) investors. Utilizing the Relative Strength Index (RSI), this indicator evaluates the trading pressure exerted by both groups over specified periods, then forms a ratio of these activities to identify dominance in buying or selling trends. For example, when we see dumb money selling and smart buying, this suggests that the conditions for buying the asset is optimal as smart money is willing to buy the dip. The outputs are normalized against the highest values observed in a user-defined term to maintain consistency through varying market conditions. When the index exceeds a certain threshold, it suggests that smart money presence is particularly strong, possibly indicating that smart money is looking to enter positions on the asset. This tool serves as a sophisticated visual guide to understanding market dynamics and making well-informed trading decisions based on the activities of market-savvy investors. Smart money activity is identified during areas of low volume and the opposite for dumb money, the indicator uses the NVI and PVI metrics as its foundation for smart and dumb money analysis.
📊 Enhance Your Trading Strategy:
Leverage the Smart Money Interest Index to gain deeper insights into market dynamics and enhance your decision-making process with a powerful, data-driven approach. Whether you're looking to identify entry points or set strategic exits, this tool is designed to provide you with the competitive edge you need in the fast-paced world of trading. 🌐✨
Transform your trading with the power of smart money analysis—start using the Smart Money Interest Index today! 🚀🔔
Volume Delta Candles [LuxAlgo]Volume Delta Candles provides insights about Intrabar trading activity in an easy-to-interpret manner. Lower timeframe or real-time data is used for displaying Volume Delta percentage against the total volume as a coloured bar part.
The script also highlights the intrabar price with the maximum trading activity, as well as complementary information.
🔶 USAGE
The tool focuses on intrabar volume to provide more information about the trading activity associated with a candle, without having to use an external volume indicator.
Each indicator components is further explained below:
🔹 Volume Delta
The volume delta is obtained by the difference between buy volume and sell volume, where buy volume is the volume associated with a bullish intrabar candle, and sell volume with a bearish intrabar candle.
Positive volume delta is displayed with a green candle area, while negative delta is displayed with a red candle area.
🔹 Bar Coloring
The script displays VD as a percentage of the whole, or from the candle half, depending on the setting ' Display '.
Bars can be coloured as follows:
Full (100%) when Display is set at ' Full Bar '
Half (50% or 100% of half a bar) when Display is set at ' Half Bar '
A negative VD (more bearish than bullish volume) will fill the bar from the top (or centre) of the bar towards the bottom, and a positive VD will fill a bar from the bottom (or centre) of the bar towards the top.
A negative VD on a green candle will show a red-coloured VD against a green-bordered candle. On the other hand, a positive VD on a red candle will show a green-coloured VD against a red-bordered candle.
Colours for VD sentiment opposite to the candle sentiment can be set differently if desired.
🔹 Highest Volume Price Level
The script displays a white (black on light mode) line highlighting the intrabar price level with the highest volume.
When ' Show Previous Max Volume Price ' is checked, a white (black on light mode) dot is displayed 1 bar to the right.
🔶 DETAILS
🔹 Tick/LTF data
The above example used Lower TimeFrame (LTF) data.
The following example uses real-time tick data ( Settings -> Data From )
Both options, LTF or tick data, will show a vertical dotted line where the data starts.
🔹 LTF settings
When ' Data from ' LTF is chosen and ' Auto ' enabled, the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3 minute LTF
1500 (default): 1 minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
🔹 Notes
Different LTFs give different data, which means different results; this doesn't mean it isn't correct; they are just different data sets.
(LTF is displayed at the top right corner)
To ensure maximum visibility of values, we recommend using Bars from the Bar's style menu.
🔶 SETTINGS
Data from: Lower TimeFrame or real-time Tick data
Resolution: LTF setting
Auto + multiple: Adjusts the initial set resolution
Premium: Enable when your TradingView plan is Premium or higher
🔹 Intrabar Data
Colours
Display: Full/Half bar
Show previous max volume price: White/black dot, showing previous highest volume price level
🔹 Table
Show TF: Show LTF at the top right corner
Colour + table text size
🔹 Details
Show details: label with 'Volume', 'Delta' (VD) and '%'
See USAGE for more information