ICT Judas Swing | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Judas Swing Indicator! This indicator is built around the ICT's "Judas Swing" strategy. The strategy looks for a liquidity grab around NY 9:30 session and a Fair Value Gap for entry confirmation. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Judas Swing :
Implementation of ICT's Judas Swing Strategy
2 Different TP / SL Methods
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The strategy begins by identifying the New York session from 9:30 to 9:45 and marking recent liquidity zones. These liquidity zones are determined by locating high and low pivot points: buyside liquidity zones are identified using high pivots that haven't been invalidated, while sellside liquidity zones are found using low pivots. A break of either buyside or sellside liquidity must occur during the 9:30-9:45 session, which is interpreted as a liquidity grab by smart money. The strategy assumes that after this liquidity grab, the price will reverse and move in the opposite direction. For entry confirmation, a fair value gap (FVG) in the opposite direction of the liquidity grab is required. A buyside liquidity grab calls for a bearish FVG, while a sellside grab requires a bullish FVG. Based on the type of FVG—bullish for buys and bearish for sells—the indicator will then generate a Buy or Sell signal.
After the Buy or Sell signal, the indicator immediately draws the take-profit (TP) and stop-loss (SL) targets. The indicator has three different TP & SL modes, explained in the "Settings" section of this write-up.
You can set up alerts for entry and TP & SL signals, and also check the current performance of the indicator and adjust the settings accordingly to the current ticker using the backtesting dashboard.
🚩 UNIQUENESS
This indicator is an all-in-one suit for the ICT's Judas Swing concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. Three different TP / SL modes are available to suit your needs. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️ SETTINGS
1. General Configuration
Swing Length -> The swing length for pivot detection. Higher settings will result in
FVG Detection Sensitivity -> You may select between Low, Normal, High or Extreme FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
2. TP / SL
TP / SL Method ->
a) Dynamic: The TP / SL zones will be auto-determined by the algorithm based on the Average True Range (ATR) of the current ticker.
b) Fixed : You can adjust the exact TP / SL ratios from the settings below.
Dynamic Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
Pivot points and levels
[Becak] - Swing Point Retracement & Prediction" - Swing Point Retracement & Prediction," is designed to identify swing points in price action, calculate retracement levels, and predict potential future price levels. It's a technical analysis tool that can help traders identify potential support and resistance levels, as well as possible reversal points.
HOW IT WORK
Swing Point Detection:
The indicator uses the ta.pivothigh() and ta.pivotlow() functions to identify swing highs and lows within a specified lookback period.
Retracement Levels:
When a new swing point is detected, the indicator calculates a retracement level based on the user-defined retracement percentage. It draws a dashed blue line at the retracement level, along with a yellow circle and a label showing the price.
Swing Point Labeling:
Swing highs are marked with a green "H" label and the price, and Swing lows are marked with a red "L" label and the price.
Price Prediction:
Based on the most recent swing point, the indicator attempts to predict the next potential high or low. It draws a purple dashed line extending into the future, indicating the predicted price level.
HOW TO USE THIS INDICATOR:
adjust the input parameters:
"Swing Point Lookback": Determines how far back the indicator looks to identify swing points. A larger value will result in fewer, more significant swing points.
"Retracement %": Sets the percentage for calculating retracement levels. 50% is a common Fibonacci retracement level, but you can adjust this based on your trading strategy.
"Prediction Length": Determines how far into the future the prediction line extends.
Interpret the results:
Use the swing point labels (H and L) to quickly identify recent highs and lows. The blue dashed lines and yellow circles indicate potential support or resistance levels based on the retracement percentage. The purple dashed line shows a potential future price target. This can be used to set profit targets or identify potential reversal zones.
Combine with other analysis:
This indicator works best when combined with other forms of analysis, such as trend lines, moving averages, or candlestick patterns.
Use the retracement levels and predictions as potential entry or exit points, but always confirm with other indicators or price action signals.
Volumatic Variable Index Dynamic Average [BigBeluga]The Volumatic VIDYA (Variable Index Dynamic Average) indicator is a trend-following tool that calculates and visualizes both the current trend and the corresponding buy and sell pressure within each trend phase. Using the Variable Index Dynamic Average as the core smoothing technique, this indicator also plots volume levels of lows and highs based on market structure pivot points, providing traders with key insights into price and volume dynamics.
Additionally, it generates delta volume values to help traders evaluate buy-sell pressure balance during each trend, making it a powerful tool for understanding market sentiment shifts.
BTC:
TSLA:
🔵 IDEA
The Volumatic VIDYA indicator's core idea is to provide a dynamic, adaptive smoothing tool that identifies trends while simultaneously calculating the volume pressure behind them. The VIDYA line, based on the Variable Index Dynamic Average, adjusts according to the strength of the price movements, offering a more adaptive response to the market compared to standard moving averages.
By calculating and displaying the buy and sell volume pressure throughout each trend, the indicator provides traders with key insights into market participation. The horizontal lines drawn from the highs and lows of market structure pivots give additional clarity on support and resistance levels, backed by average volume at these points. This dual analysis of trend and volume allows traders to evaluate the strength and potential of market movements more effectively.
🔵 KEY FEATURES & USAGE
VIDYA Calculation:
The Variable Index Dynamic Average (VIDYA) is a special type of moving average that adjusts dynamically to the market’s volatility and momentum. Unlike traditional moving averages that use fixed periods, VIDYA adjusts its smoothing factor based on the relative strength of the price movements, using the Chande Momentum Oscillator (CMO) to capture the magnitude of price changes. When momentum is strong, VIDYA adapts and smooths out price movements quicker, making it more responsive to rapid price changes. This makes VIDYA more adaptable to volatile markets compared to traditional moving averages such as the Simple Moving Average (SMA) or the Exponential Moving Average (EMA), which are less flexible.
// VIDYA (Variable Index Dynamic Average) function
vidya_calc(src, vidya_length, vidya_momentum) =>
float momentum = ta.change(src)
float sum_pos_momentum = math.sum((momentum >= 0) ? momentum : 0.0, vidya_momentum)
float sum_neg_momentum = math.sum((momentum >= 0) ? 0.0 : -momentum, vidya_momentum)
float abs_cmo = math.abs(100 * (sum_pos_momentum - sum_neg_momentum) / (sum_pos_momentum + sum_neg_momentum))
float alpha = 2 / (vidya_length + 1)
var float vidya_value = 0.0
vidya_value := alpha * abs_cmo / 100 * src + (1 - alpha * abs_cmo / 100) * nz(vidya_value )
ta.sma(vidya_value, 15)
When momentum is strong, VIDYA adapts and smooths out price movements quicker, making it more responsive to rapid price changes. This makes VIDYA more adaptable to volatile markets compared to traditional moving averages
Triangle Trend Shift Signals:
The indicator marks trend shifts with up and down triangles, signaling a potential change in direction. These signals appear when the price crosses above a VIDYA during an uptrend or crosses below during a downtrend.
Volume Pressure Calculation:
The Volumatic VIDYA tracks the buy and sell pressure during each trend, calculating the cumulative volume for up and down bars. Positive delta volume occurs during uptrends due to higher buy pressure, while negative delta volume reflects higher sell pressure during downtrends. The delta is displayed in real-time on the chart, offering a quick view of volume imbalances.
Market Structure Pivot Lines with Volume Labels:
The indicator draws horizontal lines based on market structure pivots, which are calculated using the highs and lows of price action. These lines are extended on the chart until price crosses them. The indicator also plots the average volume over a 6-bar range to provide a clearer understanding of volume dynamics at critical points.
🔵 CUSTOMIZATION
VIDYA Length & Momentum: Control the sensitivity of the VIDYA line by adjusting the length and momentum settings, allowing traders to customize the smoothing effect to match their trading style.
Volume Pivot Detection: Set the number of bars to consider for identifying pivots, which influences the calculation of the average volume at key levels.
Band Distance: Adjust the band distance multiplier for controlling how far the upper and lower bands extend from the VIDYA line, based on the ATR (Average True Range).
Support Resistance ImportanceThe Support Resistance Importance indicator is designed to highlight key price levels based on the relationship between fractal occurrences and volume distribution within a given price range. By dividing the range into bins, the indicator calculates the total volume traded at each fractal level and normalizes the values for easy visualization. The normalized values represent an "importance score" for each price range, helping traders identify critical support and resistance levels where price action might react.
Key Features:
Fractal Detection:
The indicator detects Williams Fractals, which are specific price patterns representing potential market reversals. It identifies both upward fractals (potential resistance) and downward fractals (potential support).
Price Range Binning:
The price range is divided into a user-defined number of bins (default is 20). Each bin represents a segment of the total price range, allowing the indicator to bucket price action and track fractal volumes in each bin.
Volume-Based Importance Calculation:
For each bin, the indicator sums up the volume traded at the time a fractal occurred. The volumes are then normalized to reflect their relative importance.
The importance score is calculated as the relative volume in each bin, representing the potential influence of that price range. Higher scores indicate stronger support or resistance levels.
Normalization:
The volume data is normalized to allow for better comparison across bins. This normalization ensures that the highest and lowest volumes are scaled between 0 and 1 for visualization purposes. The smallest volume value is used to scale the rest, ensuring meaningful comparisons.
Visualization:
The indicator provides a table-based visualization showing the price range and the corresponding importance score for each bin.
Each bin is color-coded based on the normalized importance score, with blue or greenish shades indicating higher importance levels. The current price range is highlighted to help traders quickly identify relevant areas of interest.
Trading Utility:
Traders can use the importance scores to identify price levels where significant volume has accumulated at fractals. A higher importance score suggests a stronger likelihood of the price reacting to that level.
If a price moves towards a bin with a high score and the bins above it have much smaller values, it suggests that the price may "pump" up to the next high-scored range, similar to how price drops can occur.
Example Use Case:
Suppose the price approaches a bin with an importance score of 25, and the bins above have much smaller values. This suggests that price may break higher towards the next significant level of resistance, offering traders an opportunity to capitalize on the move by entering long positions or adjusting their stop losses.
This indicator is particularly useful for support and resistance trading, where understanding key levels of price action and volume can improve decision-making in anticipating market reactions.
Support and Resistance HeatmapThe "Support and Resistance Heatmap" indicator is designed to identify key support and resistance levels in the price action by using pivots and ATR (Average True Range) to define the sensitivity of zone detection. The zones are plotted as horizontal lines on the chart, representing areas where the price has shown significant interaction. The indicator features a customizable heatmap to visualize the intensity of these zones, making it a powerful tool for technical analysis.
Features:
Dynamic Support and Resistance Zones:
Identifies potential support and resistance areas based on price pivots.
Zones are defined by ATR-based thresholds, making them adaptive to market volatility.
Customization Options:
Heatmap Visualization: Toggle the heatmap on/off to view the strength of each zone.
Sensitivity Control: Modify the zone sensitivity with the ATR Multiplier to increase or decrease zone detection precision.
Confirmations: Set how many touches a level needs before it is confirmed as a zone.
Extended Zone Visualization:
Option to extend the zones for better long-term visibility.
Ability to limit the number of zones displayed to avoid clutter on the chart.
Color-Coded Zones:
Color-coded zones help differentiate between bullish (support) and bearish (resistance) levels, providing visual clarity for traders.
Heatmap Integration:
Gradient-based color changes on levels show the intensity of touches, helping traders understand which zones are more reliable.
Inputs and Settings:
1. Settings Group:
Length:
Determines the number of bars used for the pivot lookback. This directly affects how frequently new zones are formed.
Sensitivity:
Controls the sensitivity of the zone calculation using ATR (Average True Range). A higher value will result in fewer, larger zones, while a lower value increases the number of detected zones.
Confirmations:
Sets the number of price touches needed before a level is confirmed as a support/resistance zone. Lower values will result in more zones.
2. Visual Group:
Extend Zones:
Option to extend the support and resistance lines across the chart for better visibility over time.
Max Zones to Display (maxZonesToShow):
Limits the maximum number of zones shown on the chart to avoid clutter.
3. Heatmap Group:
Show Heatmap:
Toggle the heatmap display on/off. When enabled, the script visualizes the strength of the zones using color intensity.
Core Logic:
Pivot Calculation:
The script identifies support and resistance zones by using the pivotHigh and pivotLow functions. These pivots are calculated using a lookback period, which defines the number of candles to the left and right of the pivot point.
ATR-Based Threshold:
ATR (Average True Range) is used to create dynamic zones based on volatility. The ATR acts as a buffer around the identified pivot points, creating zones that are more flexible and adaptable to market conditions.
Merging Zones:
If two zones are close to each other (within a certain threshold), they are merged into a single zone. This reduces overlapping zones and gives a cleaner visual representation of significant price levels.
Confirmation Mechanism:
Each time the price touches a zone, the confirmation counter for that zone increases. The more confirmations a zone has, the more reliable it is. Zones are only displayed if they meet the required number of confirmations as specified by the user.
Color Gradient:
Zones are color-coded based on the number of confirmations. A gradient is used to visually represent the strength of each zone, with stronger zones being more vividly colored.
Heatmap Visualization:
When the heatmap is enabled, the color intensity of the zones is adjusted based on the proximity of the price to the zone and the number of touches the zone has received. This helps traders quickly identify which zones are more critical.
How to Use:
Identifying Support and Resistance Zones:
After adding the indicator to your chart, you will see horizontal lines representing key support (bullish) and resistance (bearish) levels. These zones are dynamically updated based on price action and pivots.
Adjusting Zone Sensitivity:
Use the "ATR Multiplier" to fine-tune how sensitive the indicator is to price fluctuations. A higher multiplier will reduce the number of zones, focusing on more significant levels.
Using Confirmations:
The more times a price interacts with a zone, the stronger that zone becomes. Use the "Confirmations" input to filter out weaker zones. This ensures that only zones with enough interaction (touches) are plotted.
Activating the Heatmap:
Enabling the heatmap will provide a color-coded visual representation of the strength of the zones. Zones with more price interactions will appear more vividly, helping you focus on the most significant areas.
Best Practices:
Combine with Other Indicators:
This support and resistance indicator works well when combined with other technical analysis tools, such as oscillators (e.g., RSI, MACD) or moving averages, for better trade confirmations.
Adjust Sensitivity Based on Market Conditions:
In volatile markets, you may want to increase the ATR multiplier to focus on more significant support and resistance zones. In calmer markets, decreasing the multiplier can help you spot smaller, but relevant, levels.
Use in Different Time Frames:
This indicator can be used effectively across different time frames, from intraday charts (e.g., 1-minute or 5-minute charts) to longer-term analysis on daily or weekly charts.
Look for Confluences:
Zones that overlap with other indicators, such as Fibonacci retracements or key moving averages, tend to be more reliable. Use the zones in conjunction with other forms of analysis to increase your confidence in trade setups.
Limitations and Considerations:
False Breakouts:
In highly volatile markets, there may be false breakouts where the price briefly moves through a zone without a sustained trend. Consider combining this indicator with momentum-based tools to avoid false signals.
Sensitivity to ATR Settings:
The ATR multiplier is a key component of this indicator. Adjusting it too high or too low may result in too few or too many zones, respectively. It is important to fine-tune this setting based on your specific trading style and market conditions.
Risk RewardThe Risk Reward indicator, developed by OmegaTools, is a versatile technical tool designed to help traders visualize and evaluate potential reward and risk levels in their trades. By comparing recent price action against moving averages and volatility deviations, it calculates a range-weighted assessment of upside reward and downside risk. It provides a clear, color-coded visual representation of these potential ranges, along with critical support and resistance levels to aid in trade decision-making. This indicator is ideal for traders seeking to optimize their risk-reward ratio and make informed trade management decisions.
Features
Reward and Risk Visualization: Provides a histogram showing the relative potential of upside reward versus downside risk based on current price action.
Dynamic Support and Resistance Levels: Calculates and plots key price levels based on extreme of historical volatility, helping traders to identify important price zones.
Trade Size Customization: Users can adjust the trade size, and the indicator will calculate and display the estimated risk and reward in monetary terms based on the contract value.
Adaptive Volatility Extensions: Automatically adjusts extension lines based on volume, helping traders anticipate future price ranges and potential breakouts or breakdowns.
Customizable Visuals: Allows users to personalize the color scheme for bullish and bearish scenarios, making the chart more intuitive and user-friendly.
User Guide
Trade Size (size): Adjust the trade size in units (default is 1). This parameter impacts the risk and reward calculation shown in the summary table.
Length (lnt): Set the length for the exponential moving average (EMA) and the highest/lowest price calculations. This length determines the sensitivity of the indicator.
Different Visual (down): A boolean input to adjust the method for calculating downside risk. When set to true, it uses a different visual scheme.
Bullish Color (upc): Customize the color of the bullish (upside) histogram and support levels.
Bearish Color (dnc): Customize the color of the bearish (downside) histogram and resistance levels.
Plots
First Probability: Displays a histogram representing the higher value between reward and risk. It is colored according to whether the upside or downside is greater, providing a clear signal for potential trade direction.
Second Probability: A secondary histogram plot that visualizes the lower value between reward and risk, offering an additional perspective on the trade’s risk-reward balance.
Low Level/High Level: Displays dynamic support and resistance levels based on historical price data and volatility deviations.
Extension Lines: Visualize potential future price levels using volatility-adjusted projections. These lines help traders anticipate where price could move based on current conditions.
On-Chart Labels and Risk-Reward Table:
Risk and Reward Calculations: The indicator calculates the monetary value of downside risk and upside reward based on the provided trade size, volatility measures, and price movements.
Risk/Reward Table: Displayed directly on the chart, showing the downside risk and upside reward in easy-to-understand numerical values. This helps traders quickly assess the feasibility of a trade.
How It Works:
Moving Average Comparison: The indicator first calculates the 21-period (default) exponential moving average (EMA). It then compares the current price against this moving average to determine whether the market is in a bullish or bearish phase.
Deviation Calculation: It calculates the average deviation between the price and the EMA for both bullish and bearish movements, which is used to establish dynamic support and resistance levels.
Risk-Reward Calculation: Based on the highest and lowest price levels over the set period and the calculated deviations, it determines the potential upside reward and downside risk. The reward is calculated as the distance between the current price and the upper resistance levels, while the risk is determined as the distance to the lower support levels.
Visual Representation
The indicator plots histograms representing the relative magnitude of potential reward and risk.
Support and resistance levels are dynamically plotted on the chart using circles and lines, helping traders easily spot key areas of interest.
Extension lines are drawn to visualize potential future price levels based on current volatility.
Risk/Reward Table: This feature displays the calculated monetary risk and reward based on the trade size. It updates dynamically with price changes, offering a constant reference point for traders to evaluate their trade setup.
Practical Application
Identify Entry Points: Use the dynamic support and resistance levels to identify ideal trade entry points. The histogram helps determine whether the potential reward justifies the risk.
Risk Management: The calculated downside risk provides traders with an objective view of where to place stop-loss levels, while the upside reward aids in setting profit targets.
Trade Execution: By visually assessing whether reward outweighs risk, traders can make more informed decisions on trade execution, with the risk-reward ratio clearly displayed on the chart.
Best Practices:
Use Alongside Other Indicators: While this indicator offers a powerful standalone tool for assessing risk and reward, it works best when combined with other trend or momentum indicators for confirmation.
Adjust Inputs Based on Market Conditions: Adjust the length and trade size inputs depending on the asset being traded and the time horizon, as different assets may require different sensitivity settings.
2x ATR Horizontal Rays2x ATR Horizontal Rays Indicator
This script plots horizontal rays based on the 2x ATR (Average True Range) of the previous candle. It helps traders visualize key support and resistance levels by extending lines from the last candle's price, calculated with a 2x ATR multiplier. The indicator draws two lines:
Upper ATR Line: Positioned above the previous candle’s close by 2x the ATR value.
Lower ATR Line: Positioned below the previous candle’s close by 2x the ATR value.
Key Features:
Customizable ATR Length: Allows users to input their preferred ATR period to suit different market conditions.
Dynamic Horizontal Lines: The lines update with each new candle, giving traders a clear visual of volatility levels.
Extended Right Lines: The horizontal rays extend to the right, serving as potential zones for price reversals or breakouts.
This indicator is useful for traders looking to gauge market volatility and set target levels or stops based on historical price movements.
How to Use:
Add the indicator to your chart and adjust the ATR length in the settings.
Watch how the price interacts with the upper and lower ATR lines as potential zones for support, resistance, or trend continuation.
Happy trading!
[TTM] ICT Key Levels🌟 Overview 🌟
This tool highlights key price levels, such as highs, lows, and session opens, that can influence market moves. Based on ICT concepts, these levels help traders spot potential areas for market reversals or trend continuations.
🌟 Key Levels 🌟
🔹 Week Open (00:00 EST)
Marks the start of the trading week. This level helps track price direction and is useful for framing the Weekly candle formation using ICT’s Power of 3.
🔹 Midnight Open (00:00 EST)
The Midnight Open (MNOP) marks the start of the new trading day. Price often retraces to this level for liquidity grabs, setting up larger moves in the daily trend. It's also key for framing the Daily Power of 3 and spotting possible market manipulation.
🔹 New York Stock Exchange Open (09:30 EST)
The NYSE Open is a major liquidity event, where price seeks liquidity from earlier in the day, like stop hunts or retracements to the London or Midnight Open. This time often brings reversals or trend continuations as volatility increases.
🔹 Previous Day High/Low
These levels show where liquidity rests, often serving as targets for price revisits, ideal for reversals or continuation trades.
🔹 Previous Week High/Low
Similar to daily levels but on a larger scale. They help identify swing trades and track broader market trends.
🔹 Previous Month High/Low
These monthly levels are important for long-term traders, as price often aims to clear them before setting new trends or market cycles.
Happy Trading!
TheTickMagnet
Magic Touch Line DetectorSummary of the Magic Touch Line Detector Script:
Purpose:
The Magic Touch Line Detector script is designed to identify significant price points in the market by analyzing candlestick wicks and bodies. It plots lines based on the detected wicks, classifying them as either ascending or descending. The script tracks how frequently price touches these lines and highlights the "most touched" lines for both ascending and descending categories. This script is particularly useful for traders looking to identify key price levels and trends over time.
How It Works:
Wick and Body Detection:
The script starts by analyzing the highs and lows of candlestick wicks relative to their bodies over a user-defined lookback period. A significant wick is identified based on a specified wick-to-body ratio and a deviation threshold measured against the Average True Range (ATR).
Line Creation:
Once a significant upper or lower wick is detected, the script calculates unconventional highs and lows (i.e., points that differ from the absolute highs and lows of the lookback period). Lines are then drawn from these unconventional price points using the slope between the detected wick and the current bar, ensuring a smooth extension.
Line Refinement and Touch Tracking:
As new bars are added, the script tracks how often the price touches the previously drawn lines. The number of touches each line receives is counted and updated in real-time, and the script ensures that only the most touched line is highlighted.
Highlighting and Labeling:
For each category (ascending and descending), the most touched line is identified and given special highlighting with thicker lines and different colors. Labels are also generated to show the number of touches that the most touched line has received. Old labels are cleared to avoid clutter.
Explanation of the Settings:
Lookback Period for Highs and Lows:
This sets the number of bars the script will use to detect the highest highs and lowest lows. A larger lookback period gives the script a broader context to work with, potentially identifying more significant price points.
Minimum Wick-to-Body Ratio:
This ratio determines what qualifies as a "significant" wick. It compares the length of the wick to the body of the candle. A higher ratio means that only wicks that are much longer than the candle body will be considered significant.
Price Deviation Threshold (in ATR multiples):
This setting controls how much price deviation from the ATR is required for a wick to be deemed significant. It acts as a filter to reduce noise by ignoring smaller wicks that are within normal price movements.
Line Touch Tolerance Factor (ATR multiple):
When checking if a price touches a line, the script uses this setting to define how close the price must be to the line to count as a "touch." This tolerance is a multiplier of the ATR, allowing for some flexibility in what is considered a touch.
Price Difference Threshold:
This defines the minimum price difference required to plot a line. If the price difference between the high and low of a detected wick is too small, the script can avoid plotting a line for insignificant moves.
Slope Adjustment Multiplier:
This multiplier adjusts the slope of the lines that are drawn from detected price points. It affects the length and angle of the lines, allowing users to control how far and at what angle the lines should extend across the chart.
Customization Options:
Show Ascending/Descending Lines:
These toggles allow users to decide whether ascending (bullish) or descending (bearish) lines should be shown on the chart.
Line Color, Style, and Width (for Ascending and Descending Lines):
These settings give users control over how the lines appear visually. You can customize the color, style (solid, dashed, dotted), and width of both ascending and descending lines.
Most Touched Line Color:
Users can define a different color for the "most touched" line, which is automatically identified by the script. This setting helps highlight the line that has been interacted with the most by the price.
How to Use the Script:
Setup the Lookback Period and Deviation Filters:
Start by setting the lookback period and the filters for wick-to-body ratio and deviation threshold. These settings help control the script's sensitivity to market movements.
Refine the Tolerance and Slope:
Adjust the line touch tolerance and slope adjustment multiplier to control how closely the script tracks price touches and how the lines are extended on the chart.
Customize Visuals:
Once the lines are being drawn, customize the colors, styles, and widths to ensure the lines are easy to read on your chart. You can also decide if you want to display both ascending and descending lines or focus on just one.
By setting up the script based on these inputs and parameters, you can get a real-time view of significant price levels and how often the price interacts with them, helping you make more informed trading decisions.
Elder AutoEnvelope with Overbought/Oversold Levels with LabelsThe **"Elder AutoEnvelope with Overbought/Oversold Levels with Labels"** is a technical analysis tool designed to help identify overbought and oversold levels in the market, as well as potential reversal points. It uses moving averages and price volatility to detect possible price extremes.
### Indicator Description:
- **Center EMA (26)**: Acts as the main trend line.
- **Envelope Channels**: These are constructed around the central EMA using the current price volatility. The main channel lines are determined by multiplying the standard deviation of the price by the chosen multiplier.
- **Additional Overbought/Oversold Levels**: Displayed on the chart with different colors and thicknesses to highlight small, moderate, strong, and very strong levels.
- **Labels**: Show specific levels when the price reaches areas of overbought or oversold conditions.
### How to Apply in Practice:
1. **Identifying Extremes**: The indicator shows areas where the price is considered overbought or oversold relative to the current trend. When the price touches or exceeds these levels, it can indicate a potential reversal or correction.
2. **Entry/Exit Signals**:
- **Entry on Oversold**: If the price reaches the lower Envelope lines (especially at strong or very strong oversold levels), it may be a good buying signal.
- **Exit on Overbought**: If the price touches the upper lines (especially at strong or very strong overbought levels), it signals a potential selling opportunity.
3. **Combining with Other Indicators**: It’s recommended to use this indicator alongside oscillators like RSI or MACD for signal confirmation.
4. **Trend Analysis**: The central EMA (26) helps identify the trend direction. If the price is above it, the trend is considered bullish; if below, bearish.
This indicator is particularly useful in volatile markets and helps detect price movements near highs or lows.
HTF Inversion Fair Value Gap | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Higher Timeframe Inversion Fair Value Gaps (IFVG) indicator! Inversion Fair Value Gaps occur when a Fair Value Gap becomes invalidated. They reverse the role of the original Fair Value Gap, making a bullish zone bearish and vice versa. This indicator finds the latest IFVG in a higher timeframe and renders it in the current chart with it's divergence. For more information about the process, read the "HOW DOES IT WORK" section of the description.
Features of the new Higher Timeframe IFVG Indicator :
Renders The Higher Timeframe IFVG
Invalidation Borders
Variety Of Zone Detection / Sensitivity / Filtering / Invalidation Settings
High Customizability
🚩 UNIQUENESS
This indicator lets you take a look at the bigger picture by rendering the latest IFVG in a higher timeframe. You can see the current IFVG divergence to see how is the price action acting around the IFVG. You also can customize the FVG Filtering method, FVG & IFVG Zone Invalidation, Detection Sensitivity etc. according to your needs to get the best performance from the indicator.
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. An Inversion Fair Value Gap is when a FVG becomes invalidated, thus reversing the direction of the FVG.
This indicator then renders the IFVG in a higher timeframe in your chart like this :
The opaque dashed lines at the top and the bottom of the IFVG indicate the bars that formed the original FVG. The middle dashed line that is semi-transparent shows the candlestick that invalidated the original FVG, thus created the current IFVG. The vertical solid top & bottom wicks indicate the current divergence of the highest & lowest points to the current IFVG.
The IFVGs can act as strong support & resistance points, depending on their creation volume and invalidation volume. Traders can use them for confirmation signals to their positions.
⚙️ SETTINGS
1. General Configuration
Higher Timeframe -> The higher timeframe to detect latest IFVG from. Keep in mind that his setting must be higher than the current timeframe.
IFVG Zone Invalidation -> Select between Wick & Close price for IFVG Zone Invalidation.
2. Fair Value Gaps
FVG Zone Invalidation -> Select between Wick & Close price for FVG Zone Invalidation.
Zone Filtering -> With "Average Range" selected, algorithm will find FVG zones in comparison with average range of last bars in the chart. With the "Volume Threshold" option, you may select a Volume Threshold % to spot FVGs with a larger total volume than average.
FVG Detection -> With the "Same Type" option, all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). If the "All" option is selected, bar types may vary between Bullish / Bearish.
Detection Sensitivity -> You may select between Low, Normal or High FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivities resulting in spotting bigger FVGs, and higher sensitivities resulting in spotting all sizes of FVGs.
3. Dasboard
You can enable / disable the mitigation dashboard and customize it here.
4. Customization
Offset -> The number of candlesticks the IFVG will be rendered to the right of the latest bar.
Width -> The width of the rendered IFVG in candlesticks.
Volatility Breaker Blocks [BigBeluga]The Volatility Breaker Blocks indicator identifies key market levels based on significant volatility at pivot highs and lows. It plots blocks that act as potential support and resistance zones, marked in green (support) and blue (resistance). Even after a breakout, these blocks leave behind shadow boxes that continue to impact price action. The sensitivity of block detection can be adjusted in the settings, allowing traders to customize the identification of volatility breakouts. The blocks print triangle labels (up or down) after breakouts, indicating potential areas of interest.
🔵 IDEA
The Volatility Breaker Blocks indicator is designed to highlight key areas in the market where volatility has created significant price action. These blocks, created at pivot highs and lows with increased volatility, act as potential support and resistance levels.
The idea is that even after price breaks through these blocks, the remaining shadow boxes continue to influence price movements. By focusing on volatility-driven pivot points, traders can better anticipate how price may react when it revisits these areas. The indicator also captures the natural tendency for price to retest broken resistance or support levels.
🔵 KEY FEATURES & USAGE
◉ High Volatility Breaker Blocks:
The indicator identifies areas of high volatility at pivot highs and lows, plotting blocks that represent these zones. Green blocks represent support zones (identified at pivot lows), while blue blocks represent resistance zones (identified at pivot highs).
Support:
Resistance:
◉ Shadow Blocks after Breakouts:
When price breaks through a block, the block doesn't disappear. Instead, it leaves behind a shadow box, which can still influence future price action. These shadow blocks act as secondary support or resistance levels.
If the price crosses these shadow blocks, the block stops extending, and the right edge of the box is fixed at the point where the price crosses it. This feature helps traders monitor important price levels even after the initial breakout has occurred.
◉ Triangle Labels for Breakouts:
After the price breaks through a volatility block, the indicator prints triangle labels (up or down) at the breakout points.
◉ Support and Resistance Retests:
One of the key concepts in this indicator is the retesting of broken blocks. After breaking a resistance block, price often returns to the shadow box, which then acts as support. Similarly, after breaking a support block, price tends to return to the shadow box, which becomes a resistance level. This concept of price retesting and bouncing off these levels is essential for understanding how the indicator can be used to identify potential entries and exits.
The natural tendency of price to retest broken resistance or support levels.
Additionaly indicator can display retest signals of broken support or resistance
◉ Customizable Sensitivity:
The sensitivity of volatility detection can be adjusted in the settings. A higher sensitivity captures fewer but more significant breakouts, while a lower sensitivity captures more frequent volatility breakouts. This flexibility allows traders to adapt the indicator to different trading styles and market conditions.
🔵 CUSTOMIZATION
Calculation Window: Defines the window of bars over which the breaker blocks are calculated. A larger window will capture longer-term levels, while a smaller window focuses on more recent volatility areas.
Volatility Sensitivity: Adjusts the threshold for volatility detection. Lower sensitivity captures smaller breakouts, while higher sensitivity focuses on larger, more significant moves.
Retest Signals: Display or hide retest signals of shadow boxes
Daksh RSI POINT to ShootHere are the key points and features of the Pine Script provided:
### 1. **Indicator Settings**:
- The indicator is named **"POINT and Shoot"** and is set for non-overlay (`overlay=false`) on the chart.
- `max_bars_back=4000` is defined, indicating the maximum number of bars that the script can reference.
### 2. **Input Parameters**:
- `Src` (Source): The price source, default is `close`.
- `rsilen` (RSI Length): The length for calculating RSI, default is 20.
- `linestylei`: Style for the trend lines (`Solid` or `Dashed`).
- `linewidth`: Width of the plotted lines, between 1 and 4.
- `showbroken`: Option to show broken trend lines.
- `extendlines`: Option to extend trend lines.
- `showpivot`: Show pivot points (highs and lows).
- `showema`: Show a weighted moving average (WMA) line.
- `len`: Length for calculating WMA, default is 9.
### 3. **RSI Calculation**:
- Calculates a custom RSI value using relative moving averages (`ta.rma`), and optionally uses On-Balance Volume (`ta.obv`) if `indi` is set differently.
- Plots RSI values as a green or red line depending on its position relative to the WMA.
### 4. **Pivot Points**:
- Utilizes the `ta.pivothigh` and `ta.pivotlow` functions to detect pivot highs and lows over the defined period.
- Stores up to 10 recent pivot points for highs and lows.
### 5. **Trend Line Drawing**:
- Lines are drawn based on pivot highs and lows.
- Calculates potential trend lines using linear interpolation and validates them by checking if subsequent bars break or respect the trend.
- If the trend is broken, and `showbroken` is enabled, it draws dotted lines to represent these broken trends.
### 6. **Line Management**:
- Initializes multiple lines (`l1` to `l20` and `t1` to `t20`) and uses these lines for drawing uptrend and downtrend lines.
- The maximum number of lines is set to 20 for uptrends and 20 for downtrends, due to a limit on the total number of lines that can be displayed on the chart.
### 7. **Line Style and Color**:
- Defines different colors for uptrend lines (`ulcolor = color.red`) and downtrend lines (`dlcolor = color.blue`).
- Line styles are determined by user input (`linestyle`) and use either solid or dashed patterns.
- Broken lines use a dotted style to indicate invalidated trends.
### 8. **Pivot Point Plotting**:
- Plots labels "H" and "L" for pivot highs and lows, respectively, to visually indicate turning points on the chart.
### 9. **Utility Functions**:
- Uses helper functions to get the values and positions of the last 10 pivot points, such as `getloval`, `getlopos`, `gethival`, and `gethipos`.
- The script uses custom logic for line placement based on whether the pivots are lower lows or higher highs, with lines adjusted dynamically based on price movement.
### 10. **Plotting and Visuals**:
- The main RSI line is plotted using a color gradient based on its position relative to the WMA.
- Horizontal lines (`hline1` and `hline2`) are used for visual reference at RSI levels of 60 and 40.
- Filled regions between these horizontal lines provide visual cues for potential overbought or oversold zones.
These are the main highlights of the script, which focuses on trend detection, visualization of pivot points, and dynamic line plotting based on price action.
Aurous - Horizontal Rays Define Pip Size:
Since 1 pip for XAUUSD is usually considered as 0.1, the pip Size is set to 0.1. A 50-pip interval is therefore 50 * 0.1 = 5.0.
Nearest Pip Level Calculation:
We find the nearest 50-pip level based on the current price of XAUUSD. The formula nearestPipLevel = round(close / pipInterval) * pipInterval rounds the current price to the nearest multiple of the 50-pip interval.
Loop for Multiple Lines:
We use a loop that runs from -20 to 20 to plot horizontal ray lines 50 pips above and below the current price. The range (-20 to 20) ensures there are enough lines plotted both above and below the price.
Horizontal Ray Lines:
The line.new function is used to draw the horizontal rays, extending to the right.
Plot Current Price:
We also plot the closing price with a blue line to make it easier to track the price against the horizontal rays.
Strength/Weakness IndicatorThe Strength/Weakness Indicator is a customisable tool designed to help traders identify key areas of market strength and weakness based on the 50% Fibonacci retracement level .
█ Underlying Concept:
The concept behind this indicator draws heavily on the principles of Fibonacci retracement and WD Gann’s market theories , particularly the importance of the 50% level in signalling critical psychological areas of support and resistance. Historically, the 50% retracement level has been regarded as a key marker where markets either find new buyers/sellers or continue a trend. Gann himself placed significant emphasis on the halfway point of a previous market move as a critical level for market strength and reversal.
Strength : When an asset is trading above the 50% retracement level, it suggests that buyers are in control and that the market is showing strength. This is particularly useful for traders aiming to ride the continuation of an uptrend.
Weakness : Conversely, when the price falls below the 50% retracement level, it indicates that sellers are dominating, and the market is showing signs of weakness. This can be an early indication of a potential reversal or further decline.
█ Key Features:
1 — Multi-Timeframe Fibonacci Analysis :
This indicator supports up to two distinct retracement levels, allowing traders to analyse multiple timeframes simultaneously. Customise the look-back periods for each level to track the highest high and lowest low over your chosen period.
The tool is adaptable to short-term, swing trading, and long-term investing, making it useful across different trading styles.
2 — Dynamic Strength/Weakness Labelling :
The script dynamically calculates and displays whether the asset is “STRONG” or “WEAK” based on its position relative to the 50% retracement levels. If the price is above both levels, it is considered "VERY STRONG." Conversely, trading below both levels signals "VERY WEAK" conditions. This real-time feedback helps traders gauge market sentiment with ease.
3 — Customizable Visual Representation :
Both retracement levels are fully customisable, including line colours, styles, and thicknesses. The script offers custom background fills—highlighting areas of strength (green) and weakness (red)—to provide a clear visual aid for identifying key price zones.
Traders can modify the appearance of text labels (size, colour, position) and choose whether to extend lines left, right, both directions, or not at all.
4 — Cross-Timeframe Validation :
Traders can cross-reference price action between two timeframes to confirm trends. If both levels signal strength or weakness, it validates market momentum, increasing confidence in trade decisions.
5 — Strategic Decision-Making Aid :
The indicator aids in identifying support and resistance zones based on the 50% retracement level. Use it to time entries and exits effectively: price above the 50% level suggests potential trend continuation, while falling below may indicate reversal.
█ How It Works:
1 — Defining Custom Timeframes :
The trader selects custom time periods (days, weeks, months, or years) to calculate the highest high and lowest low, allowing precise control over the analysis.
2 — Calculating Strength/Weakness :
Once the 50% retracement level is calculated, the price’s position relative to it determines the market’s condition. Above 50% signals strength, below signals weakness.
3 — Comparing Multiple Timeframes :
Enable a second retracement level to compare different time periods. This feature is useful for spotting divergences between short-term and long-term trends or validating strength across timeframes.
█ How to Use:
1 — Assess Market Conditions :
If price trades above both 50% retracement levels, it indicates strong bullish momentum. Conversely, trading below both levels signals bearish conditions.
2 — Plan Entries/Exits :
Use the 50% level as a reference for support and resistance. Plan to enter when the price bounces off the 50% level, or exit if it breaks down below this critical level.
3 — Cross-Timeframe Analysis :
Validate the market trend by comparing retracement levels across different timeframes. This helps in confirming whether the trend is strong enough to justify holding a position.
█ Why This Indicator is Unique:
Comprehensive Multi-Timeframe Analysis : While most Fibonacci indicators focus on a single period, this tool provides a deeper understanding by allowing traders to compare price action across multiple timeframes.
Customizable and Dynamic : The real-time strength/weakness labeling, customizable background fills, and the ability to analyze two retracement levels simultaneously make this tool adaptable to any trading strategy.
Valuable for All Traders : Whether you are day trading, swing trading, or investing long-term, the Strength/Weakness Indicator offers clarity on key market levels and sentiment, improving decision-making for entries and exits.
Disclaimer : This script is for educational purposes and is not financial advice. Trading involves significant risk, so please consult a professional advisor before making investment decisions. For the best results, use this indicator alongside other technical analysis methods like trend lines or moving averages to help you confirm signals and make more informed decisions.
Psychological Price Level - Prime TradingThis Pine Script is designed for the TradingView platform to display **Psychological Price Levels (PPLs)** on the chart. These levels represent key price zones, such as round numbers (e.g., 1.000, 1.500), which traders often consider as significant support or resistance levels.
### Main Features:
1. **PPL Level Calculation:**
- The script calculates and plots psychological price levels above and below the current price based on the instrument's tick size.
- It can plot multiple levels determined by the user through inputs.
2. **Visual Representation:**
- Each PPL level is shown as a horizontal line, styled according to user preferences (solid, dotted, or dashed), with a customizable color and width.
3. **Highlighting Levels with Boxes:**
- A semi-transparent colored box surrounds each PPL level, highlighting these zones visually.
- The color and size of the box can be adjusted, with a default color close to `#9FA5B8` (a light blue-gray), and 90% transparency to blend into the background.
4. **Customization:**
- Users can customize the number of PPLs plotted, the style of the lines, box color, and line thickness, making the levels adaptable to different chart setups.
In summary, this script helps traders quickly identify key psychological price levels on the chart, aiding decision-making by highlighting these important zones.
Key Zone LocatorThe "Key Locator" indicator identifies important price levels on a chart by analyzing historical data. It does this by:
Counting Touches: It calculates how many times the price touches each level within a specified period. This helps identify levels that the market frequently interacts with, which can indicate significant support or resistance.
Measuring Volume: It also sums up the trading volume at each level during the same period. High volume at a particular level can suggest strong interest or activity, making that level more significant.s based on historical market activity.
By combining these two metrics—touches and volume—the indicator highlights the most important price level on the chart, helping traders make informed decisions based on where the market has shown significant activity in the past.
Level Calculation:
The indicator first identifies the highest and lowest prices over a specified period, which is determined by the length parameter. It then divides this price range into 200 equal segments, creating potential key levels across the chart. Each segment represents a level where the price might show significant activity.
Metric Calculation:
For each of these levels, the indicator calculates two key metrics. First, it counts how many times the price touches or crosses each level during the specified period. Second, it sums up the trading volume associated with these touches at each level. This dual analysis helps in identifying levels that are not only frequently interacted with but also have substantial trading activity.
Normalization:
To facilitate comparison between different levels, the indicator normalizes both the touch count and the volume for each level to a scale from 0 to 10. This involves dividing each metric by its maximum observed value in the period and scaling it accordingly, ensuring that both metrics are on a comparable scale.
Scoring and Balancing:
Each level is assigned a score based on a weighted average of its normalized touch and volume scores. The weight_balance parameter allows users to adjust the emphasis between touches and volume. A higher weight on touches will prioritize levels frequently interacted with, while more emphasis on volume will highlight levels with significant trading activity.
Identify Key Level:
Finally, the indicator identifies the level with the highest combined score as the most significant. This key level is plotted on the chart in red, providing traders with a visual indication of potential areas of support or resistance based on historical data.
This comprehensive approach allows traders to pinpoint where crucial market activity has occurred, aiding them in making strategic decisions based on historical price behavior and trading volumes.
Please note that while the "Key Locator" indicator provides valuable insights based on historical data, it does not guarantee future performance or outcomes. Trading involves risks, and it's important to use this tool in conjunction with other analysis methods and risk management strategies. Always consider your financial situation and consult with a financial advisor if necessary before making trading decisions.
Rolling Straddle PremiumScript is Basically intended to provide insight's on the Rolling Straddle premium for the selected index based on the input settings.
Important thing to consider for the script to work seamlessly:
Specify the LTP in the input field (need not be very accurate)
Specify the Expiry Date for the Option Strike.
Ensure Profile matches to the chart script (Index Script)
Note: Zones marked in Blue, is the max level that indicator can track the option prices. beyond which it may fail to track, during such time consider reloading the indicator with Latest LTP .
Labels on the chart indicate that If i had shorted the Straddle, what would be my current position of that Straddle. however the rational behind shorting is only the pivot high points (not sure if this is right or wrong! )
Note On Labels: Labels are delayed basis the pivot point candles specified in the indicator settings.
EN: Entry Price (Straddle Premium) of the Strike Specified.
Cur: Current Price ( Current Straddle Premium ) of the Strike Specified.
SH: Max Straddle Premium ( Increase in Premium ) since position is active.
SL: Min Straddle Premium ( Premium Erosion ) since position is active.
Ultimate ZonesThe story is simple: I didn't find a support/resistance zones indicator that I actually liked, so I made my own.
Features:
Independent of the chart timeframe (zones don't change if you switch timeframes) - very important for practical use
Live mode (repainting) plus historic mode (non-repainting)
Selectable timeframe for zone calculation (default: daily)
Can adjust how far the indicator looks back into the past (default: 500 days)
Can adjust pivot period to find more or fewer zones
Zone heights are based on long-term ATR (to adapt to the asset's volatility automatically)
Price tolerance multiplier is adjustable
Option to merge zones which are close together into one ("fat zones")
I find that together these options (especially those in the "sensitivity" section) allow me to automatically generate almost all the zones I want to see. Occasionally, I do draw some additional zones to get the perfect image I'm looking for on the chart.
Explanation
We detect pivot points on the selected zone timeframe (taking pivot period and lookback limit into account). Then we combine these pivot points into a zone if they are close enough together in price (here the tolerance parameter comes into play). If "fat zones" is selected, we perform these merges more aggressively even if the resulting zone becomes taller than the standard tolerance.
The ATR used for the tolerance is a 500 period ATR, but if there are less than 500 bars available, we use the average of the bars available so far, so we always have a value to work with.
In order for a zone to be displayed, it must have been touched by at least 2 separate pivot points. We do not distinguish between pivot highs and pivot lows because support is known to turn into resistance and vice versa.
In live mode, we draw the currently active zones as boxes.
In historic mode, we plot the active zones at each bar using "plot" and "fill", so there is no repainting or erasing, and you can see which zones were active at any past date. For practical reasons, we draw a maximum of 15 zones around the current price (i.e. 7-8 zones above and 7-8 zones below the price).
Fibonacci Pivot | SyedFibonacci pivots combine Fibonacci retracement levels with pivot points to provide potential support and resistance levels. This tool is based on the idea that price tends to retrace a predictable portion of a move, after which it often continues in the original direction.
Here’s a breakdown of Fibonacci pivots:
1. Pivot Point (PP)
The central level that acts as the main reference point for support and resistance levels. It’s calculated as the average of the high, low, and close of the previous period (typically a day).
Formula:
𝑃
𝑃
=
(
𝐻
𝑖
𝑔
ℎ
+
𝐿
𝑜
𝑤
+
𝐶
𝑙
𝑜
𝑠
𝑒
)
3
PP=
3
(High+Low+Close)
2. Fibonacci-Based Support and Resistance Levels
These levels are derived by multiplying the range (High - Low) of the previous period with key Fibonacci ratios (23.6%, 38.2%, 61.8%, etc.), then adding or subtracting this result from the Pivot Point.
The Fibonacci ratios used in Fibonacci pivots are typically:
38.2%: A strong retracement level.
61.8%: The golden ratio, a key Fibonacci level that often acts as major support or resistance.
100%: Full retracement from the previous period's high or low.
Fibonacci Support Levels (S1, S2, S3, etc.)
These levels indicate potential areas where the price might find support:
S1 = PP - (Range * 0.382)
S2 = PP - (Range * 0.618)
S3 = PP - (Range * 1)
Fibonacci Resistance Levels (R1, R2, R3, etc.)
These are the areas where price might face resistance:
R1 = PP + (Range * 0.382)
R2 = PP + (Range * 0.618)
R3 = PP + (Range * 1)
Interpretation
R1/R2/R3: Potential resistance levels where price might face selling pressure.
S1/S2/S3: Potential support levels where price might encounter buying interest.
Pivot Point (PP): Acts as the primary level of interest. If the price is above the PP, it suggests bullish sentiment; if below, bearish sentiment.
Example
RSI (Kernel Optimized) | Flux Charts💎 GENERAL OVERVIEW
Introducing our new KDE Optimized RSI Indicator! This indicator adds a new aspect to the well-known RSI indicator, with the help of the KDE (Kernel Density Estimation) algorithm, estimates the probability of a candlestick will be a pivot or not. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Features of the new KDE Optimized RSI Indicator :
A New Approach To Pivot Detection
Customizable KDE Algorithm
Realtime RSI & KDE Dashboard
Alerts For Possible Pivots
Customizable Visuals
❓ HOW TO INTERPRET THE KDE %
The KDE % is a critical metric that reflects how closely the current RSI aligns with the KDE (Kernel Density Estimation) array. In simple terms, it represents the likelihood that the current candlestick is forming a pivot point based on historical data patterns. a low percentage suggests a lower probability of the current candlestick being a pivot point. In these cases, price action is less likely to reverse, and existing trends may continue. At moderate levels, the possibility of a pivot increases, indicating potential trend shifts or consolidations.Traders should start monitoring closely for confirmation signals. An even higher KDE % suggests a strong likelihood that the current candlestick could form a pivot point, which could lead to a reversal or significant price movement. These points often align with overbought or oversold conditions in traditional RSI analysis, making them key moments for potential trade entry or exit.
📌 HOW DOES IT WORK ?
The RSI (Relative Strength Index) is a widely used oscillator among traders. It outputs a value between 0 - 100 and gives a glimpse about the current momentum of the price action. This indicator then calculates the RSI for each candlesticks, and saves them into an array if the candlestick is a pivot. The low & high pivot RSIs' are inserted into two different arrays. Then the a KDE array is calculated for both of the low & high pivot RSI arrays. Explaining the KDE might be too much for this write-up, but for a brief explanation, here are the steps :
1. Define the necessary options for the KDE function. These are : Bandwidth & Nº Steps, Array Range (Array Max - Array Min)
2. After that, create a density range array. The array has (steps * 2 - 1) elements and they are calculated by (arrMin + i * stepCount), i being the index.
3. Then, define a kernel function. This indicator has 3 different kernel distribution modes : Uniform, Gaussian and Sigmoid
4. Then, define a temporary value for the current element of KDE array.
5. For each element E in the pivot RSI array, add "kernel(densityRange.get(i) - E, 1.0 / bandwidth)" to the temporary value.
6. Add 1.0 / arrSize * to the KDE array.
Then the prefix sum array of the KDE array is calculated. For each candlestick, the index closest to it's RSI value in the KDE array is found using binary search. Then for the low pivot KDE calculation, the sum of KDE values from found index to max index is calculated. For the high pivot KDE, the sum of 0 to found index is used. Then if high or low KDE value is greater than the activation threshold determined in the settings, a bearish or bullish arrow is plotted after bar confirmation respectively. The arrows are drawn as long as the KDE value of current candlestick is greater than the threshold. When the KDE value is out of the threshold, a less transparent arrow is drawn, indicating a possible pivot point.
🚩 UNIQUENESS
This indicator combines RSI & KDE Algorithm to get a foresight of possible pivot points. Pivot points are important entry, confirmation and exit points for traders. But to their nature, they can be only detected after more candlesticks are rendered after them. The purpose of this indicator is to alert the traders of possible pivot points using KDE algorithm right away when they are confirmed. The indicator also has a dashboard for realtime view of the current RSI & Bullish or Bearish KDE value. You can fully customize the KDE algorithm and set up alerts for pivot detection.
⚙️ SETTINGS
1. RSI Settings
RSI Length -> The amount of bars taken into account for RSI calculation.
Source -> The source value for RSI calculation.
2. Pivots
Pivot Lengths -> Pivot lengths for both high & low pivots. For example, if this value is set to 21; 21 bars before AND 21 bars after a candlestick must be higher for a candlestick to be a low pivot.
3. KDE
Activation Threshold -> This setting determines the amount of arrows shown. Higher options will result in more arrows being rendered.
Kernel -> The kernel function as explained in the upper section.
Bandwidth -> The bandwidth variable as explained in the upper section. The smoothness of the KDE function is tied to this setting.
Nº Bins -> The Nº Steps variable as explained in the upper section. It determines the precision of the KDE algorithm.
Liquidity Zones [BigBeluga]This indicator is designed to detect liquidity zones on the chart by identifying significant pivot highs and lows filtered by volume strength. It plots these zones as boxes, highlighting areas where liquidity is likely to accumulate. The indicator also draws lines extending from these boxes, marking the levels where price may "grab" this liquidity. The size of these boxes can be dynamic, adjusting based on the volume size, offering a visual representation of market areas where traders might expect significant price reactions.
🔵 IDEA
The idea behind the Liquidity Zones indicator is to help traders identify key market levels where liquidity accumulates. Liquidity zones are areas where there are enough buy or sell orders that can potentially lead to significant price movements. By focusing on pivot points filtered by volume strength, the indicator aims to provide a clearer picture of where large players may have positioned their orders. This insight allows traders to anticipate potential market reactions, such as reversals or breakouts, when the price reaches these zones. The option for dynamic box height further refines the visualization, showing the extent of liquidity based on the volume's intensity.
🔵 KEY FEATURES & USAGE
◉ Volume-Filtered Pivot Highs and Lows:
The indicator scans for pivot highs and lows on the chart, filtering these points based on the volume strength setting (Low, Mid, High). This ensures that only the most significant liquidity zones, backed by notable trading volume, are highlighted. Traders can adjust the filter to focus on different levels of market activity, from small fluctuations to major volume spikes.
Low:
Mid:
High:
◉ Dynamic and Static Liquidity Zones:
Liquidity zones are plotted as boxes around pivot points, with an optional dynamic mode that adjusts the box height based on the normalized volume. This dynamic adjustment reflects the liquidity carried by the volume, making it easier to gauge the significance of each zone. In static mode, the boxes have a fixed height, providing a consistent visual reference for the zones.
◉ Color Intensity Based on Volume:
The indicator adjusts the color intensity of the liquidity zones based on the volume strength. Higher volume zones will be displayed with more intense colors, giving a visual cue to the strength of the liquidity present in that area. This makes it easier to differentiate between zones of varying importance at a glance, allowing traders to quickly identify where the market has the highest concentration of liquidity.
◉ Liquidity Grab Detection and Red Circles:
When the price interacts with a liquidity zone, the indicator detects whether liquidity has been "grabbed" at these levels. If the price moves into a zone and crosses a level, the box label changes to "Liquidity Grabbed," and the line marking the level becomes dashed.
Reversal Points:
The beginning of a trend:
Additionally marks these "liquidity grabs" with red circles, indicating both recent and past liquidity grabs. This feature helps traders identify areas where liquidity has been absorbed by the market, which may signal potential reversals or shifts in market direction.
◉ Dashboard Display:
A dashboard in the upper right corner of the chart provides an overview of the indicator's settings and status. It shows the number of plotted zones, as set in the input settings, and whether the dynamic mode is active. This quick reference helps traders stay informed about the indicator's configuration without needing to open the settings panel.
🔵 CUSTOMIZATION
Length & Zones Amount: Set the length for pivot detection and the maximum number of zones to be displayed on the chart. This allows you to control how many liquidity zones you want to monitor at any given time.
Volume Strength Filter: Adjust the filter to Low, Mid, or High to control the strength of volume required for a pivot to be considered a significant liquidity zone. Higher settings focus on zones with greater volume, indicating stronger liquidity.
Dynamic Distance Mode: Enable or disable the dynamic mode, which adjusts the box height based on the volume size. When dynamic mode is off, the boxes have a fixed height based on the ATR, offering a consistent visualization regardless of the volume size.
The Liquidity Zones indicator is a versatile tool for identifying areas of significant market activity, offering a clear view of where liquidity is likely to reside. By filtering these zones through volume strength and providing dynamic or static visualization options, it equips traders with insights into potential market reaction points, enhancing their ability to anticipate and respond to market movements. The varying color intensity based on volume further aids in quickly recognizing the most critical liquidity zones on the chart.
E9 ASIA Session
*note: Upon updating the script the conversion from V4 to v5 has lost the weekend extended lines and now prints an asia session for each day. It is recommended (esp for crypto) to extend these lines across the weekend like in the chart example above.
The E9 Asia Session Indicator is a valuable tool for traders aiming to track and analyze the Asia trading session on financial charts. This indicator provides insights into price behavior during the Asia session, which is crucial for making informed trading decisions. Here's an overview of its key functionalities and uses:
1. Session Highs and Lows
Purpose:
The indicator calculates and plots the high and low of the Asia session.
It helps identify key levels of support and resistance established during this trading period.
Importance:
These levels can act as significant reference points for future price movements.
Price action that occurs near these levels often provides clues about potential breakouts or reversals.
2. Session Background Color
Purpose:
The indicator can shade the background of the chart during the Asia session.
Importance:
This visual cue helps quickly identify the session's timeframe, enhancing the trader’s ability to observe price behavior within this specific period.
It aids in distinguishing between different trading sessions and understanding their influence on price action.
3. Start of Session Marker
Purpose:
A visual marker (such as a circle) is plotted at the beginning of each Asia session.
Importance:
This marker helps traders visually pinpoint the start of the session, making it easier to analyze how the price reacts from the session's opening.
4. End of Session Marker
Purpose:
A marker is plotted at the end of the Asia session, indicating where the session closes.
Importance:
This marker is useful for tracking the end of the session and observing price behavior around this critical juncture.
It helps in analyzing whether the session's high or low gets revisited or broken in subsequent sessions.
Practical Uses:
Strategic Planning: Traders can use the plotted high and low levels to set their trading strategies, stop-loss orders, and profit targets.
Market Analysis: Understanding how price interacts with the Asia session’s high and low levels can provide insights into market sentiment and potential price movements.
By incorporating the E9 Asia Session Indicator into your trading toolkit, you can gain a deeper understanding of the Asia session's impact on price dynamics, enhancing your overall trading strategy and decision-making process.
Disclaimer: The information contained in this article does not constitute financial advice or a solicitation to buy or sell any securities. All investments involve risk, and past performance does not guarantee future results. Always evaluate your financial circumstances and investment objectives before making trading decisions.