Scalping long-shortThe Scalping long-short indicator is a comprehensive system for analyzing candle patterns and trading volume, designed for use in a scalping strategy. The main purpose of the indicator is to identify the key points of changing market sentiment and provide the trader with accurate signals for entering a trade.
The main components of the indicator:
1. Candle Pattern Analysis:
The indicator analyzes four main candle patterns:
-A Bullish Hammer is a candle with a small body and a long lower tail, which indicates the possible completion of a downward movement and the beginning of an uptrend.
-Bearish Hanging Man is a candle similar to a bullish hammer, but it appears after an upward movement, signaling the possible beginning of a downtrend.
-Bullish Engulfing is a candle with a large body that completely covers the body of the previous candle, showing strong buyer interest.
-Bearish Engulfing is the reverse situation, when a large bearish candle absorbs the previous bullish candle, indicating the predominance of sellers.
-Doji is a candle with almost identical opening and closing prices, indicating market indecision.
For each of these patterns, the indicator sets certain threshold values that the user can adjust to their preferences and features of the trading instrument.
2. Volume analysis:
The volume is an important confirmation of the strength of the signal. The indicator compares the current volume with the average value for the user-selected period (length parameter) multiplied by the volumeMultiplier coefficient. If the current volume exceeds this indicator, the signal is considered confirmed.
3. Visual indication:
Graphical elements corresponding to each type of signal are displayed on the price chart.:
-The green triangle down is a buy signal (bullish hammer or bullish takeover).
-The red triangle up is a sell signal (bearish hanging or bearish engulfing).
-The yellow diamond is a neutral state (doji).
These visual cues help you quickly assess the current market situation without having to analyze each candle manually in depth.
4. Alerts:
The indicator supports setting alerts that can be sent via the TradingView platform or other supporting systems. This allows the trader to receive notifications about the occurrence of new signals even outside the workplace.
Settings:
The user can change the following settings:
-Length is the period for calculating the average volume.
-Multiplier is a multiplier for the thresholds of candle patterns.
-HammerThreshold, HangingManThreshold, EngulfingThreshold, DojiThreshold are Thresholds for recognizing specific candlestick patterns.
-VolumeMultiplier is a coefficient for comparing the current volume with the average value.
These parameters allow you to adapt the indicator to various trading instruments and time intervals, making it a universal tool for a wide range of traders.
Conclusion:
The Scalping long-short indicator combines powerful analytical tools to identify key points in the market, providing the trader with clear and timely signals for making trading decisions. Its flexibility and fine-tuning capability make it useful for both beginners and experienced market participants.
Volume
VPSA-VTDDear Sir/Madam,
I am pleased to present the next iteration of my indicator concept, which, in my opinion, serves as a highly useful tool for analyzing markets using the Volume Spread Analysis (VSA) method or the Wyckoff methodology.
The VPSA (Volume-Price Spread Analysis), the latest version in the family of scripts I’ve developed, appears to perform its task effectively. The combination of visualizing normalized data alongside their significance, achieved through the application of Z-Score standardization, proved to be a sound solution. Therefore, I decided to take it a step further and expand my project with a complementary approach to the existing one.
Theory
At the outset, I want to acknowledge that I’m aware of the existence of other probabilistic models used in financial markets, which may describe these phenomena more accurately. However, in line with Occam's Razor, I aimed to maintain simplicity in the analysis and interpretation of the concepts below. For this reason, I focused on describing the data using the Gaussian distribution.
The data I read from the chart — primarily the closing price, the high-low price difference (spread), and volume — exhibit cyclical patterns. These cycles are described by Wyckoff's methodology, while VSA complements and presents them from a different perspective. I will refrain from explaining these methods in depth due to their complexity and broad scope. What matters is that within these cycles, various events occur, described by candles or bars in distinct ways, characterized by different spreads and volumes. When observing the chart, I notice periods of lower volatility, often accompanied by lower volumes, as well as periods of high volatility and significant volumes. It’s important to find harmony within this apparent chaos. I think that chart interpretation cannot happen without considering the broader context, but the more variables I include in the analytical process, the more challenges arise. For instance, how can I determine if something is large (wide) or small (narrow)? For elements like volume or spread, my script provides a partial answer to this question. Now, let’s get to the point.
Technical Overview
The first technique I applied is Min-Max Normalization. With its help, the script adjusts volume and spread values to a range between 0 and 1. This allows for a comparable bar chart, where a wide bar represents volume, and a narrow one represents spread. Without normalization, visually comparing values that differ by several orders of magnitude would be inconvenient. If the indicator shows that one bar has a unit spread value while another has half that value, it means the first bar is twice as large. The ratio is preserved.
The second technique I used is Z-Score Standardization. This concept is based on the normal distribution, characterized by variables such as the mean and standard deviation, which measures data dispersion around the mean. The Z-Score indicates how many standard deviations a given value deviates from the population mean. The higher the Z-Score, the more the examined object deviates from the mean. If an object has a Z-Score of 3, it falls within 0.1% of the population, making it a rare occurrence or even an anomaly. In the context of chart analysis, such strong deviations are events like climaxes, which often signal the end of a trend, though not always. In my script, I assigned specific colors to frequently occurring Z-Score values:
Below 1 – Blue
Above 1 – Green
Above 2 – Red
Above 3 – Fuchsia
These colors are applied to both spread and volume, allowing for quick visual interpretation of data.
Volume Trend Detector (VTD)
The above forms the foundation of VPSA. However, I have extended the script with a Volume Trend Detector (VTD). The idea is that when I consider market structure - by market structure, I mean the overall chart, support and resistance levels, candles, and patterns typical of spread and volume analysis as well as Wyckoff patterns - I look for price ranges where there is a lack of supply, demand, or clues left behind by Smart Money or the market's enigmatic identity known as the Composite Man. This is essential because, as these clues and behaviors of market participants — expressed through the chart’s dynamics - reflect the actions, decisions, and emotions of all players. These behaviors can help interpret the bull-bear battle and estimate the probability of their next moves, which is one of the key factors for a trader relying on technical analysis to make a trade decision.
I enhanced the script with a Volume Trend Detector, which operates in two modes:
Step-by-Step Logic
The detector identifies expected volume dynamics. For instance, when looking for signs of a lack of bullish interest, I focus on setups with decreasing volatility and volume, particularly for bullish candles. These setups are referred to as No Demand patterns, according to Tom Williams' methodology.
Simple Moving Average (SMA)
The detector can also operate based on a simple moving average, helping to identify systematic trends in declining volume, indicating potential imbalances in market forces.
I’ve designed the program to allow the selection of candle types and volume characteristics to which the script will pay particular attention and notify me of specific market conditions.
Advantages and Disadvantages
Advantages:
Unified visualization of normalized spread and volume, saving time and improving efficiency.
The use of Z-Score as a consistent and repeatable relative mechanism for marking examined values.
The use of colors in visualization as a reference to Z-Score values.
The possibility to set up a continuous alert system that monitors the market in real time.
The use of EMA (Exponential Moving Average) as a moving average for Z-Score.
The goal of these features is to save my time, which is the only truly invaluable resource.
Disadvantages:
The assumption that the data follows a normal distribution, which may lead to inaccurate interpretations.
A fixed analysis period, which may not be perfectly suited to changing market conditions.
The use of EMA as a moving average for Z-Score, listed both as an advantage and a disadvantage depending on market context.
I have included comments within the code to explain the logic behind each part. For those who seek detailed mathematical formulas, I invite you to explore the code itself.
Defining Program Parameters:
Numerical Conditions:
VPSA Period for Analysis – The number of candles analyzed.
Normalized Spread Alert Threshold – The expected normalized spread value; defines how large or small the spread should be, with a range of 0-1.00.
Normalized Volume Alert Threshold – The expected normalized volume value; defines how large or small the volume should be, with a range of 0-1.00.
Spread Z-SCORE Alert Threshold – The Z-SCORE value for the spread; determines how much the spread deviates from the average, with a range of 0-4 (a higher value can be entered, but from a logical standpoint, exceeding 4 is unnecessary).
Volume Z-SCORE Alert Threshold – The Z-SCORE value for volume; determines how much the volume deviates from the average, with a range of 0-4 (the same logical note as above applies).
Logical Conditions:
Logical conditions describe whether the expected value should be less than or equal to or greater than or equal to the numerical condition.
All four parameters accept two possibilities and are analogous to the numerical conditions.
Volume Trend Detector:
Volume Trend Detector Period for Analysis – The analysis period, indicating the number of candles examined.
Method of Trend Determination – The method used to determine the trend. Possible values: Step by Step or SMA.
Trend Direction – The expected trend direction. Possible values: Upward or Downward.
Candle Type – The type of candle taken into account. Possible values: Bullish, Bearish, or Any.
The last available setting is the option to enable a joint alert for VPSA and VTD.
When enabled, VPSA will trigger on the last closed candle, regardless of the VTD analysis period.
Example Use Cases (Labels Visible in the Script Window Indicate Triggered Alerts):
The provided labels in the chart window mark where specific conditions were met and alerts were triggered.
Summary and Reflections
The program I present is a strong tool in the ongoing "game" with the Composite Man.
However, it requires familiarity and understanding of the underlying methodologies to fully utilize its potential.
Of course, like any technical analysis tool, it is not without flaws. There is no indicator that serves as a perfect Grail, accurately signaling Buy or Sell in every case.
I would like to thank those who have read through my thoughts to the end and are willing to take a closer look at my work by using this script.
If you encounter any errors or have suggestions for improvement, please feel free to contact me.
I wish you good health and accurately interpreted market structures, leading to successful trades!
CatTheTrader
Binance Perp Premium/DiscountThis TradingView Pine Script indicator calculates and displays the premium or discount percentage between a cryptocurrency's spot price and its corresponding perpetual futures (perp) price on Binance. It automatically detects whether the current chart symbol represents a spot or perp market by checking for the ".P" suffix. The script then retrieves the closing prices for both the spot and perp symbols using the request.security function. If valid data is available for both markets, it computes the premium or discount as a percentage and visualizes this difference as a histogram below the main chart. Green bars indicate a premium (perp price above spot), while red bars signify a discount (perp price below spot). The indicator includes error handling to display 'n/a' when data for the required symbols is unavailable, ensuring robustness across various chart applications.
Daily Volume Tracker with Percentage ComparisonThis script displays key daily volume metrics directly on your chart, helping traders analyze trading activity with ease. By default, it shows the Daily Volume, but additional metrics such as Yesterday's Volume, Average Volume, and Daily Volume % can be enabled as needed through input options.
Key Features:
Daily Volume: Displays the total volume traded so far for the current day.
Yesterday's Volume: Shows the total volume traded in the previous day (optional).
Average Volume: Displays the average daily volume over a customizable period (optional).
Daily Volume %: Calculates and displays the percentage of the current day's volume compared to the average daily volume (optional).
Customizable Display: Enable or disable metrics based on your preference.
Intraday Option: Choose to hide the table on timeframes ≥ 1D for a cleaner chart.
How to Use:
Add the script to your chart.
By default, only the Daily Volume % is shown.
Use the input options to enable additional metrics or customize the average calculation period.
This script is perfect for intraday and swing traders looking to gauge market participation and compare current volume trends against historical averages.
Volume 2x Average This script helps traders identify stocks or instruments experiencing unusually high trading volume compared to their average volume over a user-defined period. The key features include:
1. Volume 2x Average Filter:
Highlights bars where the current volume is greater than twice the average volume for the selected period.
2. Dynamic Average Period:
Allows users to specify the period for calculating the average volume (e.g., 1 day, 5 days, etc.).
3. Color-Coded Bars:
• Green Bars: Indicate bullish candlesticks where the closing price is higher than the
opening price.
• Red Bars: Indicate bearish candlesticks where the closing price is lower than the
opening price.
4. Optional Bar Visibility:
Users can toggle the visibility of the highlighted volume bars, providing flexibility for clean chart analysis.
5. Average Volume Line:
Plots the average volume as a blue line for reference.
Use Case:
This script is ideal for traders looking to identify potential breakouts, reversals, or key market movements driven by significant volume spikes. By dynamically adjusting the average period and toggling bar visibility, users can tailor the script to fit various trading strategies and timeframes.
Inputs:
1. Show 2x Volume Bars:
• Toggle to enable or disable the display of the highlighted volume bars.
2. Average Volume Period:
• Specify the number of periods (e.g., 1 for 1 day, 5 for 5 days) to calculate the average
volume.
Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Use it alongside your analysis and trading strategy.
BullBear with Volume-Percentile TP - Strategy [presentTrading] Happy New Year, everyone! I hope we have a fantastic year ahead.
It's been a while since I published an open script, but it's time to return.
This strategy introduces an indicator called Bull Bear Power, combined with an advanced take-profit system, which is the main innovative and educational aspect of this script. I hope all of you find some useful insights here. Welcome to engage in meaningful exchanges. This is a versatile tool suitable for both novice and experienced traders.
█ Introduction and How it is Different
Unlike traditional strategies that rely solely on price or volume indicators, this approach combines Bull Bear Power (BBP) with volume percentile analysis to identify optimal entry and exit points. It features a dynamic take-profit mechanism based on ATR (Average True Range) multipliers adjusted by volume and percentile factors, ensuring adaptability to diverse market conditions. This multifaceted strategy not only improves signal accuracy but also optimizes risk management, distinguishing it from conventional trading methods.
BTCUSD 6hr performance
Disable the visualization of Bull Bear Power (BBP) to clearly view the Z-Score.
█ Strategy, How it Works: Detailed Explanation
The BBP Strategy with Volume-Percentile TP utilizes several interconnected components to analyze market data and generate trading signals. Here's an overview with essential equations:
🔶 Core Indicators and Calculations
1. Exponential Moving Average (EMA):
- **Purpose:** Smoothens price data to identify trends.
- **Formula:**
EMA_t = (Close_t * (2 / (lengthInput + 1))) + (EMA_(t-1) * (1 - (2 / (lengthInput + 1))))
- Usage: Baseline for Bull and Bear Power.
2. Bull and Bear Power:
- Bull Power: `BullPower = High_t - EMA_t`
- Bear Power: `BearPower = Low_t - EMA_t`
- BBP:** `BBP = BullPower + BearPower`
- Interpretation: Positive BBP indicates bullish strength, negative indicates bearish.
3. Z-Score Calculation:
- Purpose: Normalizes BBP to assess deviation from the mean.
- Formula:
Z-Score = (BBP_t - bbp_mean) / bbp_std
- Components:
- `bbp_mean` = SMA of BBP over `zLength` periods.
- `bbp_std` = Standard deviation of BBP over `zLength` periods.
- Usage: Identifies overbought or oversold conditions based on thresholds.
🔶 Volume Analysis
1. Volume Moving Average (`vol_sma`):
vol_sma = (Volume_1 + Volume_2 + ... + Volume_vol_period) / vol_period
2. Volume Multiplier (`vol_mult`):
vol_mult = Current Volume / vol_sma
- Thresholds:
- High Volume: `vol_mult > 2.0`
- Medium Volume: `1.5 < vol_mult ≤ 2.0`
- Low Volume: `1.0 < vol_mult ≤ 1.5`
🔶 Percentile Analysis
1. Percentile Calculation (`calcPercentile`):
Percentile = (Number of values ≤ Current Value / perc_period) * 100
2. Thresholds:
- High Percentile: >90%
- Medium Percentile: >80%
- Low Percentile: >70%
🔶 Dynamic Take-Profit Mechanism
1. ATR-Based Targets:
TP1 Price = Entry Price ± (ATR * atrMult1 * TP_Factor)
TP2 Price = Entry Price ± (ATR * atrMult2 * TP_Factor)
TP3 Price = Entry Price ± (ATR * atrMult3 * TP_Factor)
- ATR Calculation:
ATR_t = (True Range_1 + True Range_2 + ... + True Range_baseAtrLength) / baseAtrLength
2. Adjustment Factors:
TP_Factor = (vol_score + price_score) / 2
- **vol_score** and **price_score** are based on current volume and price percentiles.
Local performance
🔶 Entry and Exit Logic
1. Long Entry: If Z-Score crosses above 1.618, then Enter Long.
2. Short Entry: If Z-Score crosses below -1.618, then Enter Short.
3. Exiting Positions:
If Long and Z-Score crosses below 0:
Exit Long
If Short and Z-Score crosses above 0:
Exit Short
4. Take-Profit Execution:
- Set multiple exit orders at dynamically calculated TP levels based on ATR and adjusted by `TP_Factor`.
█ Trade Direction
The strategy determines trade direction using the Z-Score from the BBP indicator:
- Long Positions:
- Condition: Z-Score crosses above 1.618.
- Short Positions:
- Condition: Z-Score crosses below -1.618.
- Exiting Trades:
- Long Exit: Z-Score drops below 0.
- Short Exit: Z-Score rises above 0.
This approach aligns trades with prevailing market trends, increasing the likelihood of successful outcomes.
█ Usage
Implementing the BBP Strategy with Volume-Percentile TP in TradingView involves:
1. Adding the Strategy:
- Copy the Pine Script code.
- Paste it into TradingView's Pine Editor.
- Save and apply the strategy to your chart.
2. Configuring Settings:
- Adjust parameters like EMA length, Z-Score thresholds, ATR multipliers, volume periods, and percentile settings to match your trading preferences and asset behavior.
3. Backtesting:
- Use TradingView’s backtesting tools to evaluate historical performance.
- Analyze metrics such as profit factor, drawdown, and win rate.
4. Optimization:
- Fine-tune parameters based on backtesting results.
- Test across different assets and timeframes to enhance adaptability.
5. Deployment:
- Apply the strategy in a live trading environment.
- Continuously monitor and adjust settings as market conditions change.
█ Default Settings
The BBP Strategy with Volume-Percentile TP includes default parameters designed for balanced performance across various markets. Understanding these settings and their impact is essential for optimizing strategy performance:
Bull Bear Power Settings:
- EMA Length (`lengthInput`): 21
- **Effect:** Balances sensitivity and trend identification; shorter lengths respond quicker but may generate false signals.
- Z-Score Length (`zLength`): 252
- **Effect:** Long period for stable mean and standard deviation, reducing false signals but less responsive to recent changes.
- Z-Score Threshold (`zThreshold`): 1.618
- **Effect:** Higher threshold filters out weaker signals, focusing on significant market moves.
Take Profit Settings:
- Use Take Profit (`useTP`): Enabled (`true`)
- **Effect:** Activates dynamic profit-taking, enhancing profitability and risk management.
- ATR Period (`baseAtrLength`): 20
- **Effect:** Shorter period for sensitive volatility measurement, allowing tighter profit targets.
- ATR Multipliers:
- **Effect:** Define conservative to aggressive profit targets based on volatility.
- Position Sizes:
- **Effect:** Diversifies profit-taking across multiple levels, balancing risk and reward.
Volume Analysis Settings:
- Volume MA Period (`vol_period`): 100
- **Effect:** Longer period for stable volume average, reducing the impact of short-term spikes.
- Volume Multipliers:
- **Effect:** Determines volume conditions affecting take-profit adjustments.
- Volume Factors:
- **Effect:** Adjusts ATR multipliers based on volume strength.
Percentile Analysis Settings:
- Percentile Period (`perc_period`): 100
- **Effect:** Balances historical context with responsiveness to recent data.
- Percentile Thresholds:
- **Effect:** Defines price and volume percentile levels influencing take-profit adjustments.
- Percentile Factors:
- **Effect:** Modulates ATR multipliers based on price percentile strength.
Impact on Performance:
- EMA Length: Shorter EMAs increase sensitivity but may cause more false signals; longer EMAs provide stability but react slower to market changes.
- Z-Score Parameters:*Longer Z-Score periods create more stable signals, while higher thresholds reduce trade frequency but increase signal reliability.
- ATR Multipliers and Position Sizes: Higher multipliers allow for larger profit targets with increased risk, while diversified position sizes help in securing profits at multiple levels.
- Volume and Percentile Settings: These adjustments ensure that take-profit targets adapt to current market conditions, enhancing flexibility and performance across different volatility environments.
- Commission and Slippage: Accurate settings prevent overestimation of profitability and ensure the strategy remains viable after accounting for trading costs.
Conclusion
The BBP Strategy with Volume-Percentile TP offers a robust framework by combining BBP indicators with volume and percentile analyses. Its dynamic take-profit mechanism, tailored through ATR adjustments, ensures that traders can effectively capture profits while managing risks in varying market conditions.
Trend Heuristics (+Signals)Trend Heuristics - Enhanced Rolling VWAP with Smart Signals
This indicator is an enhanced version of the Rolling VWAP (RVWAP) concept, originally based on PineCoders' ConditionalAverages library. It combines volume-weighted average price analysis with advanced signal detection for both sweeps and breakouts.
Core Features
1. Rolling VWAP System
- Implements a dynamic rolling VWAP that adapts to different timeframes
- Includes standard deviation bands for volatility measurement
- Offers flexible time period settings (fixed or auto-adjusting)
- Provides customizable visual elements including bands and fills
2. Dual Signal System
Sweep Signals
Detects high-probability reversal points with these conditions:
- Bullish Sweep:
- Opens above upper band
- Tests below upper band (low)
- Closes above upper band
- Shows stronger lower wick
- Closes above previous high
- Has favorable close position (upper 50% of candle)
- Bearish Sweep:
- Opens below lower band
- Tests above lower band (high)
- Closes below lower band
- Shows stronger upper wick
- Closes below previous low
- Has favorable close position (lower 50% of candle)
Breakout Signals
Identifies potential trend changes with these conditions:
- Bullish Breakout:
- Opens below VWAP
- Closes above upper band
- Indicates strong momentum shift upward
- Bearish Breakout:
- Opens above VWAP
- Closes below lower band
- Indicates strong momentum shift downward
Technical Details
Base Components
- Built upon PineCoders' ConditionalAverages library
- Incorporates custom alert system via CustomAlertLib
- Uses standard deviation for band calculations
Customization Options
- Adjustable standard deviation multiplier
- Flexible time period settings
- Independent controls for sweep and breakout signals
- Customizable visual elements (colors, sizes, positions)
- Custom alert message formatting
Use Cases
1. Trend Following:
- Use VWAP as dynamic support/resistance
- Monitor breakout signals for trend changes
2. Mean Reversion:
- Use sweep signals for counter-trend opportunities
- Standard deviation bands for range identification
3. Volume Analysis:
- VWAP provides volume-weighted price levels
- Helps identify significant price levels
Notes
- Best performed on liquid instruments with consistent volume
- Most effective on timeframes from 1hours to 4 hours and 1D, anything greater isn't very good
- Recommended to use in conjunction with other technical analysis tools
- Signals can be filtered based on higher timeframe trends
Credits
- Original Rolling VWAP concept by PineCoders
Distribution & Follow-Through Day MarkerMarks D or F on candles based on IBD rule.
Distribution day: The loss must be at least -0.2%; the volume is higher than prior trading day.
Follow through day: The gain must be at least 1.2%; the volume is higher than prior trading day.
CDVDThis script calculates and visualizes the Cumulative Delta Volume Divergence (CDVD) with the MACD indicator. It combines volume-based market analysis with MACD-style momentum to help identify false signals with divergences, trends or potential reversals.
The cumulative delta volume divergence is derived by summing up the differences between uptick volume (volume during price increases) and downtick volume (volume during price decreases) over time.
A Fast EMA and Slow EMA are calculated from the cumulative delta volume to smooth the data.
The difference between these EMAs forms the MACD Line.
A Signal Line is created by applying another EMA to the MACD Line.
The difference between the MACD Line and the Signal Line forms the Histogram:
This indicator helps traders:
Identify false signals with divergences unseen on MACD and Price Action.
Identify bullish or bearish momentum in market volume.
Spot potential trend reversals based on changes in cumulative delta volume dynamics.
Analyze the interplay between price momentum and volume flow.
It’s especially useful for traders who focus on volume-based market dynamics.
Snapshot: Use in conjunction with MACD to identify true divergences.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research.
Disclaimer:
Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data before applying them in live trading scenarios.
Dashed DMI by Cryptos RocketThe Directional Movement Index (DMI) is a well-known indicator in technical analysis, created by J. Welles Wilder. It is designed to identify the strength of a trend in a given market, providing traders with insights into both the direction and momentum of price movements. This script is a custom implementation of the DMI that plots the ADX (Average Directional Index), +DI (Positive Directional Indicator), and -DI (Negative Directional Indicator).
Dashed DMI Key Features:
1. Directional Movement Indicators:
- The ADX line, shown in orange, helps determine the strength of the trend without indicating its direction. Values above 25 suggest a strong trend, while values below 20 indicate a weak trend.
- The +DI line, shown in green, measures the strength of upward movement in the price. It identifies if the market is experiencing a strong uptrend.
- The -DI line, shown in red, measures the strength of downward price movement. It signals when there is a strong downtrend.
2. Customizable Dashed Line:
- The script includes a customizable dashed line, which represents a critical level on the chart that traders can use as a reference. The dashed line is adjustable through the script’s settings, allowing the trader to set a desired level, color, style, and thickness. The default level is set to 30, a common threshold in trend-following systems, but users can change it according to their preferences.
- The dashed line’s transparency and visibility can be toggled using the input settings, making it adaptable to different trading strategies or visual preferences.
3. Alerts:
- The script provides customizable alert conditions based on the relationship between the ADX, +DI, and -DI lines with the dashed line. These alerts include:
- When ADX crosses above or below the dashed line, signaling a shift in trend strength.
- When +DI or -DI cross the dashed line, indicating a change in the trend's directionality (bullish or bearish).
- Alerts for crossovers (when one line crosses another) and crossunders (when one line falls below another), which provide key entry or exit signals for traders.
4. Customizable Visual Parameters:
- The script is designed with flexibility in mind. The user can modify the line styles, thickness, and colors. The ADX is plotted in orange with a thickness of 2, the +DI is plotted in green, and the -DI is plotted in red. These lines’ thicknesses can be customized, ensuring that they remain visible regardless of the timeframe or chart zoom level.
- The script also provides options to adjust the dashed line’s color and style (solid, dotted, or dashed), enabling a fully customized charting experience that suits individual preferences.
Understanding the Components of the DMI
1. ADX (Average Directional Index):
The ADX is a smoothed version of the difference between the +DI and -DI lines, used to measure the strength of a trend. It does not provide any directional indication but simply quantifies whether the trend is strong or weak.
- Strength Indicators: A rising ADX indicates a strengthening trend, while a falling ADX signals weakening trend strength. Traders often consider an ADX reading above 25 as an indication of a strong trend, either up or down, and readings below 20 as suggesting a lack of trend or a sideways market.
- The ADX is plotted in the script using an orange color, making it easy for traders to distinguish it from the directional lines.
2. +DI (Positive Directional Indicator):
The +DI line measures the strength of upward price movement. It rises when the market’s upward movement is stronger than its downward movement.
- A rising +DI is a signal that the market is moving in a bullish direction. When +DI crosses above the -DI, it can indicate the start of an uptrend.
- The +DI is plotted in green, representing bullish momentum.
3. -DI (Negative Directional Indicator):
The -DI line tracks the strength of downward price movement. It rises when the market’s downward movement is stronger than its upward movement.
- A rising -DI suggests bearish momentum, and when the -DI crosses above the +DI, it can signal the beginning of a downtrend.
- The -DI is plotted in red, symbolizing bearish momentum.
Customizable Inputs and Settings
This DMI script allows traders to adjust several parameters based on their preferences:
- ADX Smoothing (lensig): This setting controls the smoothing of the ADX line, with values ranging from 1 to 50. A larger smoothing value can help reduce noise in the ADX and make trends clearer, while a smaller value reacts more quickly to price changes.
- DI Length (len): This input controls the period used for calculating the +DI and -DI lines. A shorter period results in a more sensitive indicator, whereas a longer period produces smoother, more stable signals.
- Dashed Line Settings: Traders can choose to show or hide the dashed line and can adjust its level, color, thickness, and style. This customization allows traders to adapt the indicator to their specific strategies and charting preferences.
Alerts and Signals
With the alert conditions set up in the script, traders can receive notifications when critical events occur, such as:
- ADX Crossing Above/Below the Dashed Line: This is typically a signal of an emerging trend.
- +DI and -DI Crossovers and Crossunders: These are valuable signals for identifying potential entry and exit points in trending markets.
Conclusion
This custom DMI Pine Script provides traders with a powerful tool to analyze market trends in real-time. By visualizing the ADX, +DI, and -DI indicators with customizable inputs, this script enables traders to gauge the strength and direction of a trend and make informed decisions about their trading strategies. The ability to set alerts based on specific conditions adds another layer of automation, ensuring that traders never miss an important signal. The script’s flexibility allows it to be adapted for various trading styles and market conditions, making it an invaluable addition to any trader’s toolkit.
Mehul Nifty PositionalDon't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access. Don't Try to Access.
Zone Master By SUWFYZThis Pine Script indicator is a comprehensive tool designed for advanced technical analysis and trading decisions. It combines several features to identify high-probability trading opportunities by analyzing key market dynamics. The indicator uses a combination of price action, trend analysis, volume, and other filters to generate buy and sell signals. This description details the core concepts and calculations used within the indicator.
Key Features :
Supply and Demand Zones:
Automatically detects and plots potential supply and demand zones based on price action patterns. Zones are categorized as "fresh" (untouched) or "tested" (previously interacted with). The script uses a combination of swing high/low identification and price retracement to identify these areas. The visualization dynamically removes invalidated zones to maintain chart clarity.
Breakout Detection:
Identifies breakouts using a configurable method chosen by the user: Average True Range (ATR), Standard Deviation, or Linear Regression. Breakouts are confirmed when price moves beyond a defined threshold based on the selected method. Users can customize the sensitivity of the breakout detection through parameters like slope multiplier and lookback period. Alerts can be enabled for both upward and downward breakouts.
Trend Analysis:
Employs Exponential Moving Average (EMA) crossovers to determine the prevailing trend. The script supports multi-timeframe EMA confirmation, allowing users to verify trend alignment across different timeframes. Consolidation periods are identified using an ATR-based filter, which measures price volatility. Low volatility periods are flagged as potential consolidation zones.
Multi-Timeframe Analysis: Analyzes trends across up to five user-selectable timeframes. A gradient visualization on the price bars represents the strength and direction of the trend on the current timeframe. A dashboard table displays the trend direction for each selected timeframe, providing a quick overview of the market's overall bias.
Candlestick Patterns: Recognizes specific candlestick patterns to confirm potential reversals or continuations.}
Technical Indicators: Includes optional filters based on RSI, MACD, Bollinger Bands, ADX. The specific calculations for these indicators are standard implementations and to ignore false signals during consolidation period
Time-Based Filtering: Filters signals during potential consolidation periods and outside of user-defined active trading sessions.
Delay Confirmation: Implements a delay confirmation logic to reduce false signals.
Buy/Sell Signals: Generates buy and sell signals based on the confluence of the above factors. The user can customize the signal logic by enabling or disabling specific filters and adjusting their parameters.
Delta Volume Analysis: Calculates and visualizes delta volume (the difference between buying and selling volume) on the chart. This provides insight into the relative strength of buyers and sellers and trader can take definitive decision based on this.
Visualization Enhancements: Features gradient-based candle coloring to visually represent trend direction and strength, a watermark for easy identification, and an interactive trend dashboard.
Customizable Settings:
The script offers extensive customization options, including:
Supply/Demand zone colors and styles.
Breakout and trendline settings (slope calculation method, line colors, widths).
Filter and indicator on/off toggles and parameter adjustments.
Multi-timeframe selection (up to five timeframes).
Use Case Scenarios :
This indicator can be used for various trading strategies:
Intraday Trading: Utilizing supply/demand zones and breakout signals for precise entries and exits.
Swing Trading: Analyzing multi-timeframe trends for alignment with higher timeframe market conditions.
Scalping: For quick decision-making based on short-term price action.
Volume Analysis: Identifying periods of high buyer/seller activity using delta volume.
How to Use:
Add the indicator to your TradingView chart.
Configure the inputs according to your trading strategy.
Analyze the plotted supply/demand zones.
Use the gradient candles and trend dashboard to determine directional bias.
Enable desired filters to refine signals.
Set up alerts for timely action.
Volume Standard Deviation Alert GusPurpose
The script detects and alerts traders when the volume of a trading asset significantly exceeds a calculated threshold based on the standard deviation of volume over a specified lookback period. It optionally filters these alerts based on whether the price action is bullish or bearish.
Key Components
Inputs
lookback (default: 20)
The number of bars to consider when calculating the moving average and standard deviation of volume.
stdDevFactor (default: 2.0)
The multiplier for the standard deviation to determine the threshold for a volume spike.
alertOnClose (default: true)
Determines whether alerts should only be triggered after the bar has closed.
checkBullBear (default: false)
Enables filtering of alerts based on the bullishness or bearishness of the bar.
Calculations
volSMA
The simple moving average (SMA) of the volume over the lookback period.
volStd
The standard deviation of the volume over the lookback period.
threshold
The alert threshold is calculated as:
Threshold
=
volSMA
+
(
stdDevFactor
×
volStd
)
Threshold=volSMA+(stdDevFactor×volStd)
isBullish & isBearish
Determines whether the current bar is bullish (close > open) or bearish (close < open).
volumeSpikeCondition
A condition that triggers when the current volume exceeds the calculated threshold.
bullishCondition & bearishCondition
Refines the spike condition by requiring the bar to be bullish or bearish when checkBullBear is enabled.
finalCondition
The ultimate alert condition based on the user’s preference for bullish/bearish filtering.
finalTrigger
Ensures the alert only triggers at bar close if alertOnClose is set to true.
Visualization
Plots the SMA of the volume (volSMA) and the threshold line (threshold), helping traders visually understand the conditions.
Histograms the current volume and colors the bars:
Red: Volume exceeds the threshold.
Blue: Volume is below the threshold.
Alerts
The script generates an alert message when the finalTrigger condition is met:
"Bullish Volume Spike!" if the bar is bullish.
"Bearish Volume Spike!" if the bar is bearish.
"High Volume Spike!" if no bull/bear filter is applied.
Alerts are sent using alert() with the message and set to trigger once per bar close.
Usage
Traders can use this script to identify unusual volume activity, which often precedes significant price movements.
Customizability allows traders to tune the lookback period, standard deviation multiplier, and whether to filter for bullish/bearish spikes.
Visual and audible cues help in identifying important market events in real time.
This indicator is particularly useful for spotting market breakouts or breakdowns driven by high trading activity.
Liquitive Buy/Sell Dollar AveragerLiquitive Buy/Sell Dollar Averager Indicator
The "Liquitive Buy/Sell Dollar Averager" is a versatile trading tool designed for intraday and multi-timeframe analysis, combining advanced range-bound calculations, RSI normalization, volume spikes, and candle pattern recognition to identify optimal buy and sell conditions. This indicator is particularly suitable for traders employing strategies that focus on dollar-cost averaging, position scaling, and systematic buy/sell decision-making.
Key Features:
Adaptive RSI-Based Levels:
Dynamically calculates inner bounds (IB) and outer bounds (OB) using RSI and price ranges, helping to identify overbought and oversold conditions relative to the price action.
Normalizes RSI values to the price range for seamless visualization overlaid on the chart.
Volume and Candle Analysis:
Detects significant volume spikes relative to a moving average, signaling increased market activity.
Identifies spiking green/red candles to capture momentum-driven price movements.
Dynamic Support and Resistance:
Calculates and plots support and resistance levels based on recent swing highs and lows.
Median and boundary lines help visualize key price levels for decision-making.
Profitability Check:
Buy and Sell Signals:
Checks profitability thresholds based on percentage gains/losses.
Incorporates logic for "time to buy" and "time to sell" using target profit margins.
Implements average move percentage to define realistic thresholds for buy/sell actions.
Time-Based Trading Restrictions:
Configures trading logic to disallow trades after a specific time (e.g., 3:40 PM for intraday sessions).
Ensures logical entry and exit decisions are only made within active trading hours.
Color-Coded Visualization:
Background colors dynamically shift between green (bullish), red (bearish), and neutral, depending on RSI and price position relative to the inner bounds.
Opacity of the background adjusts based on normalized RSI differences to provide a visual cue of market strength.
Customizable Parameters:
Allows user input for key settings like lookback periods, RSI length, percent ranges, volume thresholds, and transparency levels, enabling flexible configuration tailored to individual strategies.
Actionable Alerts and Signals:
Plots "Open Position", "Add to Position", and "Close Position" markers directly on the chart, making it easy to follow systematic trading rules.
How It Works:
Buy Signals:
Triggered when price conditions, volume spikes, and RSI-based thresholds align with profitability metrics.
Designed for dollar-cost averaging, identifying opportunities to add to long positions or open new positions.
Sell Signals:
Evaluates profitability conditions to identify when to close or scale out of positions.
Incorporates real-time evaluation of market momentum and profitability.
Buy Sell PressureThis is an indicator that collects sales and purchases data, after which it summarizes and compares them with each other, as well as summarizes the results recorded in the last 20, 10, and 5 candles. Its use is very useful when breaking or rejecting trend lines, as well as breaking or rejecting resistance and support lines. For example, if the trend line is crossed upwards and the twentieth number of the buy bar of the table shows a green, lime, or blue sign (it is better if it is green), a strong uptrend is expected. If the trend line is crossed downwards and the twentieth number of the sell bar of the table shows a red, orange, or yellow sign (it is better if it is red), a strong downtrend is expected. Also, during a rejection, if the candle fails to break the trend line upwards and shows a red sign in the twentieth number of the Sell bar of the chart, a decline is expected and vice versa.
ReversionXReversionX is a cutting-edge mean reversion strategy designed to identify high-probability turning points in the market. By leveraging advanced algorithms and dynamic levels, this tool pinpoints moments when price deviates significantly from its equilibrium, offering opportunities for precision entries and exits. Whether you’re trading trends or counter-trends, ReversionX adapts seamlessly to provide actionable insights.
Features include:
Dynamic Levels: Visualize key zones where reversals are likely to occur.
Customizable Parameters: Tailor the strategy to your trading style and market preferences.
Multi-Market Application: Works effectively across forex, stocks, crypto, and more.
Built-In Risk Management: Optimize trade potential with integrated stop loss and take profit logic.
Designed for traders seeking clarity in a chaotic market, ReversionX is your ultimate companion for navigating reversals with confidence.
Previous Candle Sweep IndicatorThis script identifies candlesticks where the current candle's high is higher than the previous candle's high, and the current candle's low is lower than the previous candle's low. If both conditions are met, the candle's body is highlighted in blue on the chart, allowing traders to quickly spot these patterns.
Features:
Highlights candles with both higher highs and lower lows.
Uses clear visual cues (blue body) for easy identification.
Ideal for traders looking to identify specific volatility patterns or reversals.
Multi-Timeframe VWAP Strategy [JARUTIR]Multi-Timeframe VWAP with Price Above VWAP Marker
This indicator allows you to view the Volume-Weighted Average Price (VWAP) across multiple timeframes on a single chart. The VWAP is a popular technical analysis tool used by traders to determine the average price of an asset weighted by volume. It helps identify the overall market trend and is especially useful for intraday trading.
Key Features :
Multiple Timeframes: Choose from 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, and 1-day VWAPs. You can enable or disable the VWAP for any timeframe based on your preference.
Customizable: Easily toggle on/off the VWAP for each timeframe via checkboxes in the settings.
Price Above VWAP Marker: A clear green up arrow is displayed above the price bar whenever the price is above the current VWAP, helping you quickly spot potential bullish signals.
Flexible & Easy to Use: Adjust the settings for any timeframe and see the VWAPs on your chart without clutter. Whether you are trading in the short term or analyzing longer-term trends, this tool provides you with the flexibility you need.
How to Use :
VWAP as Trend Indicator: The VWAP is commonly used to identify whether the price is trending above or below the average price for the session. Price above the VWAP generally signals bullish momentum, while price below the VWAP can indicate bearish pressure.
Price Above VWAP Marker: The green up arrow is your signal for when the price is above the VWAP, which can be used as a potential entry point for long trades.
Customize Timeframes: Whether you're focusing on ultra-short-term movements (like 1-min or 5-min) or need a broader view (like 1-hour or 1-day), this indicator lets you tailor the analysis to your preferred time horizon.
Ideal For :
Intraday Traders looking for quick signals on different timeframes.
Swing Traders who want to track the overall market trend with multiple VWAP levels.
Scalpers needing to monitor fast price movements alongside volume-weighted averages
High Volume Levels with 9 EMAThe script looks back 30 candles and determine highest volume candle in last 30 candles.
High and Low of these candles acts as support and resistance.
Typically price is rising above 9 ema and breaks out of high of the volume candle is bullish.
Similarly, if price is below 9ema and breaking the low of volume candle its bearish.
OBV with Buy/Sell Areas and VolumeCertainly! Here’s a short description you can use for this indicator:
---
### **OBV with Buy/Sell Areas and Volume Indicator**
This custom indicator combines the On-Balance Volume (OBV) with volume data and visual cues to help traders identify periods of buying and selling control. The indicator does the following:
1. **OBV Line**: The On-Balance Volume (OBV) is calculated and displayed, showing the cumulative volume flow based on price movement. A rising OBV indicates buying pressure, while a falling OBV suggests selling pressure.
2. **OBV Oscillator**: The difference between the OBV line and its Exponential Moving Average (EMA) is plotted to provide insight into short-term changes in buying or selling momentum.
3. **Buy/Sell Areas**: When the OBV Oscillator exceeds a predefined threshold, it signals **buying control** with a green background. Conversely, when it falls below a negative threshold, it indicates **selling control** with a red background.
4. **Volume Plot**: The actual trading volume is displayed as a histogram, providing a visual correlation between volume and OBV shifts, helping you gauge market sentiment.
This indicator is useful for confirming trends and spotting potential buy or sell signals based on volume and momentum.
---
Feel free to adjust or modify it based on your preferences or any additional features you'd like to highlight!
VVAمؤشر *VVA** (المعدل الديناميكي ذو المؤشر المتغير) هو أداة تتبع الاتجاه تُستخدم لتحديد الاتجاه الحالي بصريًا وتحليل ضغط الشراء والبيع المصاحب لكل مرحلة من مراحل الاتجاه. يعتمد هذا المؤشر على تقنية التنعيم الأساسية المستمدة من المعدل الديناميكي ذو المؤشر المتغير (VVA)، كما يعرض مستويات الحجم المرتبطة بالقاع والقمة بناءً على نقاط محورية في هيكل السوق، مما يمنح المتداولين رؤى مهمة حول ديناميكيات الأسعار والأحجام.
بالإضافة إلى ذلك، يقوم المؤشر بحساب قيم حجم التداول التفاضلي (Delta Volume) لمساعدة المتداولين على تقييم توازن ضغط الشراء والبيع خلال كل اتجاه، مما يجعله أداة قوية لفهم تغيرات معنويات السوق.
### الفكرة الأساسية
تركز فكرة مؤشر **VVA** على توفير أداة تنعيم ديناميكية وتكيفية تساعد في تحديد الاتجاهات، مع تحليل ضغط الأحجام المرافق لها. تعتمد الخطوط المرسومة بواسطة VVAعلى المعدل الديناميكي ذو المؤشر المتغير، حيث تتكيف استنادًا إلى قوة تحركات الأسعار، مما يجعل المؤشر أكثر استجابة لحركة السوق مقارنة بالمتوسطات المتحركة التقليدية.
من خلال حساب وإظهار ضغط الشراء والبيع خلال الاتجاهات المختلفة، يمنح المؤشر المتداولين رؤى دقيقة حول مدى مشاركة السوق. كما أن الخطوط الأفقية المرسومة من قمم وقيعان هيكل السوق تضيف وضوحًا إضافيًا لمستويات الدعم والمقاومة، مدعومة ببيانات متوسط الحجم عند هذه النقاط. هذا التحليل المزدوج للاتجاه والحجم يساعد المتداولين على تقييم قوة واتجاه حركة السوق بشكل أكثر فاعلية.
### الميزات الرئيسية والاستخدام
يُعتبر المعدل الديناميكي ذو المؤشر المتغير (VVA) نوعًا خاصًا من المتوسطات المتحركة، حيث يتكيف ديناميكيًا مع تقلبات السوق وزخم الأسعار. على عكس المتوسطات المتحركة التقليدية التي تعتمد على فترات ثابتة، يُعدل VVA عامل التنعيم الخاص به بناءً على قوة حركة الأسعار النسبية باستخدام مؤشر زخم شاندي (CMO) لقياس مدى تغير الأسعار.
عندما يكون الزخم قويًا، يتكيف VVA لتنعيم الحركات السعرية بشكل أسرع، مما يجعله أكثر استجابة للتغيرات السريعة. لذلك، يعتبر VVA أكثر قدرة على التكيف مع الأسواق المتقلبة مقارنة بالمتوسطات المتحركة التقليدية مثل المتوسط المتحرك البسيط (SMA) أو المتوسط المتحرك الأسي (EMA)، التي تُظهر مرونة أقل في الاستجابة.
MSTR Bitcoin Holdings Overlay (MSTR BTC Treasury)This TradingView overlay displays MicroStrategy's (MSTR) Bitcoin holdings as a simple line chart on a separate axis. The data used in this script is based on publicly available information about MSTR's Bitcoin acquisitions up to January 2, 2025.
Key Points:
- All data points (timestamps and Bitcoin holdings) included in this script represent actual historical records available up to January 2, 2025.
- No future projections or speculative estimates are included.
This script is static and does not fetch or update data dynamically. If there are new Bitcoin acquisitions or updates after January 2, 2025, they will not appear on the chart unless manually added.
Transparency and Accuracy:
- The script uses an array-based structure to map exact timestamps to corresponding Bitcoin holdings.
Each timestamp aligns with known dates when MSTR disclosed its Bitcoin purchases.
Money Flow ExtendedMoney Flow Extended (MF)
Definition
The Money Flow Extended (MF) indicator brings together the functionality of the Money Flow Index indicator (MFI) , a tool created by Gene Quong and Avrum Soudack and used in technical analysis for measuring buying and selling pressure, and The Relative Strength Index (RSI) , a well versed momentum based oscillator created by J.Welles Wilder Jr., which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
History
As the Money Flow Index (MFI) is quite similar to The Relative Strength Index (RSI), essentially the RSI with the added aspect of volume, adding a Moving Average, divergence calculation, oversold and overbought gradients, facilitates the transition from RSI, making the use of MFI pretty similar.
What to look for
Overbought/Oversold
When momentum and price rise fast enough, at a high enough level, eventual the security will be considered overbought. The opposite is also true. When price and momentum fall far enough, they can be considered oversold. Traditional overbought territory starts above 80 and oversold territory starts below 20. These values are subjective however, and a technical analyst can set whichever thresholds they choose.
Divergence
MF Divergence occurs when there is a difference between what the price action is indicating and what MF is indicating. These differences can be interpreted as an impending reversal. Specifically, there are two types of divergences, bearish and bullish.
Bullish MFI Divergence – When price makes a new low but MF makes a higher low.
Bearish MFI Divergence – When price makes a new high but MF makes a lower high.
Failure Swings
Failure swings are another occurrence which can lead to a price reversal. One thing to keep in mind about failure swings is that they are completely independent of price and rely solely on MF. Failure swings consist of four steps and are considered to be either Bullish (buying opportunity) or Bearish (selling opportunity).
Bullish Failure Swing
MF drops below 20 (considered oversold).
MF bounces back above 20.
MF pulls back but remains above 20 (remains above oversold)
MF breaks out above its previous high.
Bearish Failure Swing
MF rises above 80 (considered overbought)
MF drops back below 80
MF rises slightly but remains below 80 (remains below overbought)
MF drops lower than its previous low.
Summary
The Money Flow Extended (MF) can be a very valuable technical analysis tool. Of course, MF should not be used alone as the sole source for a trader’s signals or setups. MF can be combined with additional indicators or chart pattern analysis to increase its effectiveness.
Inputs
Length
The time period to be used in calculating the MF. 14 is the default.
Pivot Loopback
After how many bars you want the divergence to show, on the scale of 1-5. 5 is the default.
Calculate Divergence
Calculating divergences is needed in order for divergence alerts to fire.
Moving Average section
You can learn more about the inputs in the "Moving Average" section in this Help Center article .
Style
MF
Can toggle the visibility of the MF as well as the visibility of a price line showing the actual current value of the MF. Can also select the MF Line's color, line thickness and visual style.
MF-based MA
Can toggle the visibility of the MF-based MA as well as the visibility of a price line showing the actual current MA value. Can also select its color, line thickness and line style.
MF Upper Band
Can toggle the visibility of the Upper Band as well as sets the boundary, on the scale of 1-100, for the Upper Band (80 is the default). The color, line thickness and line style can also be determined.
MF Middle Band
Can toggle the visibility of the Middle Band as well as sets the boundary, on the scale of 1-100, for the Middle Band (50 is the default). The color, line thickness and line style can also be determined.
MF Lower Band
Can toggle the visibility of the Lower Band as well as sets the boundary, on the scale of 1-100, for the Lower Band (20 is the default). The color, line thickness and line style can also be determined.
MF Background Fill
Toggles the visibility of a Background color within the MF's boundaries. Can also change the Color itself as well as the opacity.
Overbought Gradient Fill
Can toggle the visibility of the Overbought Gradient Fill. Can also select its colors combination.
Oversold Gradient Fill
Can toggle the visibility of the Oversold Gradient Fill. Can also select its colors combination.
Precision
Sets the number of decimal places to be left on the indicator's value before rounding up. The higher this number, the more decimal points will be on the indicator's value.