Mongoose Market Tracker
**Mongoose Market Tracker**
The **Mongoose Market Sentinel** script is a custom indicator designed to help traders identify unusual market activity that may indicate potential manipulation. This script uses dynamic volume and price action analysis to highlight areas where sudden spikes in volume or irregular candle structures occur.
### Features:
- **Volume Spike Detection**: Flags areas where trading volume significantly deviates from the average, potentially signaling manipulation or abnormal market behavior.
- **Wick-to-Body Ratio Analysis**: Detects candles with disproportionate wicks compared to their bodies, which may indicate price manipulation or liquidity hunting.
- **Auto-Adjusting Thresholds**: Automatically optimizes detection parameters based on the selected time frame, making it suitable for both short-term and long-term analysis.
- **Visual Alerts**: Highlights suspicious activity directly on the chart with clear labels and background coloring, designed for easy readability in dark mode.
- **Customizable Alerts**: Allows users to set notifications for flagged events, ensuring timely awareness of potential risks.
### Intended Use:
This script is a tool for monitoring market behavior and is not a standalone trading strategy. Traders should use it as a supplementary analysis tool alongside other indicators and market knowledge. Always conduct your own research and practice risk management when making trading decisions.
成交量
High Volume Support and Resistance Levels2مؤشر "High Volume Support and Resistance Levels" هو أداة تحليل تقني تهدف إلى مساعدة المتداولين في تحديد مستويات الدعم والمقاومة الأكثر أهمية بناءً على أحجام التداول العالية. يعتمد المؤشر على فكرة أن المستويات التي تحدث عندها أحجام تداول كبيرة هي نقاط مهمة حيث يكون للسعر احتمالية كبيرة للتوقف أو الارتداد أو حتى الكسر.
فوائد استخدام المؤشر:
يتم تحديد مستويات الدعم والمقاومة بناءً على النشاط الكبير في السوق، مما يعكس أهمية هذه المستويات بالنسبة للمتداولين الآخرين هذه المستويات تعتبر نقاط رئيسية لاتخاذ قرارات التداول.
تحليل البيانات بسهولة بدلاً من الاعتماد على تحليل يدوي أو تخمين مستويات الدعم والمقاومة، يقوم المؤشر بمعالجة البيانات تلقائيًا لتوفير مستويات دقيقة.
يساعد المؤشر على التعرف على كسر الدعم أو المقاومة، وهو أمر يمكن أن يكون إشارة لبداية اتجاه جديد أو تغيير في الزخم.
تخصيص كامل حسب احتياجات المتداول:
القدرة على تحديد عدد المستويات المطلوبة (1 إلى 6 مستويات).
إمكانية اختيار ألوان الخطوط وسمكها لتتناسب مع التفضيلات الشخصية.
تنبيهات للكسر:
يرسل المؤشر تنبيهًا عندما يتجاوز السعر مستوى مقاومة أو دعم رئيسي. هذا التنبيه يمكن أن يساعد في اتخاذ قرارات سريعة للتداول.
الدقة:
المؤشر يقوم بتحليل أحجام التداول خلال فترة محددة (مثل 500 شمعة) مما يجعل نتائجه قائمة على بيانات دقيقة وموثوقة.
كيف يعمل المؤشر؟
تحليل الشموع السابقة:
المؤشر يقوم بمراجعة عدد معين من الشموع السابقة (الفترة الزمنية تُحدد في الإعدادات).
يتم اختيار الشموع ذات أحجام التداول الأعلى.
رسم خطوط الدعم والمقاومة:
يتم رسم خطوط أفقية على الرسم البياني عند أعلى وأدنى سعر للشموع ذات أحجام التداول العالية.
الخطوط تمثل مستويات الدعم والمقاومة الرئيسية.
التنبيه عند الكسر:
إذا تجاوز السعر أعلى مستوى مقاومة، يعتبر ذلك إشارة إلى كسر صعودي (Breakout).
إذا انخفض السعر أسفل مستوى الدعم، يعتبر ذلك إشارة إلى كسر هبوطي.
تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
Introduction to the indicator:
The "High Volume Support and Resistance Levels" indicator is a technical analysis tool that aims to help traders identify the most important support and resistance levels based on high trading volumes. The indicator is based on the idea that levels at which high trading volumes occur are important points where the price has a high probability of stopping, rebounding or even breaking.
Benefits of using the indicator:
Support and resistance levels are determined based on high market activity, reflecting the importance of these levels to other traders. These levels are key points for making trading decisions.
Easily analyze data Instead of relying on manual analysis or guessing support and resistance levels, the indicator automatically processes the data to provide accurate levels.
The indicator helps identify a break of support or resistance, which can be a signal of the beginning of a new trend or a change in momentum.
Fully customizable to the needs of the trader:
Ability to specify the number of levels required (1 to 6 levels).
Possibility to choose the colors and thickness of the lines to suit personal preferences.
Break Alerts:
The indicator sends an alert when the price breaks a major resistance or support level. This alert can help in making quick trading decisions.
Accuracy:
The indicator analyzes the trading volumes over a specific period (such as 500 candles) making its results based on accurate and reliable data.
How does the indicator work?
Previous candle analysis:
The indicator reviews a certain number of previous candles (the time period is specified in the settings).
Candles with the highest trading volumes are selected.
Drawing support and resistance lines:
Horizontal lines are drawn on the chart at the highest and lowest prices of candles with high trading volumes.
The lines represent the main support and resistance levels.
Breakout alert:
If the price exceeds the highest resistance level, this is a signal for an upward breakout.
If the price drops below the support level, this is a signal for a downward breakout.
Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis to achieve the best results.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.
ML Trading Bot with Advanced FilteringOverview
The Enhanced ML Trading Bot is a sophisticated trading strategy designed to leverage multiple technical filters—ranging from GMAs (Geometric Moving Averages) and ATR-based volatility checks, to volume thresholds, choppiness index, and even real-world event scoring—to pinpoint optimal entry and exit points. By combining advanced technical signals with external event awareness, this script aims to identify high-probability trades while filtering out low-liquidity and choppy market conditions.
Key Features
1. Dual GMAs (Geometric Moving Averages)
Long & Short Calculation
Employs two separate GMAs (long vs. short) derived from the log of price data, revealing market trends with enhanced smoothness.
Directional Bias
Confirms uptrends by ensuring the “long” GMA is above the “short” GMA, and downtrends by the reverse, helping traders stay aligned with prevailing market momentum.
2. Hugging Filter for Entry Confirmation
Precision Entry Check
Uses a “hugging threshold” to assess how closely recent prices have “hugged” the GMA or an entry price, indicating potential breakouts or reversals.
Adaptive Window
Dynamically adjusts around the entry price with a user-defined percentage window, filtering out half-hearted price tests.
3. Volatility & Risk Management
ATR Multipliers
Incorporates an Average True Range–based “ATR Multiplier” to ensure entries happen in normal or beneficial volatility conditions (avoiding noise and extreme swings).
Stop-Loss & Take-Profit
Auto-sets protective exit parameters based on the entry price, refined by ATR or hugging conditions.
4. Volume & Choppiness Index (CI) Filters
Volume Threshold
Checks that daily or recent volume meets a minimum requirement, reducing trades in low-liquidity conditions.
Choppiness Index
Gauges whether the market is ranging or trending. Avoids whipsaw trades by restricting entries if the market is extremely choppy or too trendless.
5. Advanced Time-Based Filtering
Session Hours
Allows traders to specify exact UTC start/end hours for trading, mitigating overnight or low-volume sessions.
News-Driven Event Scoring
Dynamically incorporates upcoming BTC halving dates, Fed meetings, and election cycles—along with a user-defined sentiment input—adding a real-world fundamental dimension to a purely technical system.
6. Overtrading Prevention
Minimum Bar Gap
Ensures a set number of bars between consecutive trades, preventing high-frequency whipsaws and preserving capital.
How the Strategy Works
Geometric Moving Averages
The script calculates two GMAs (long and short) from logged prices, helping identify trend direction and potential reversals.
Hugging & ATR-Based Validation
The hugging filter checks how closely recent price bars have stayed within a specified band around the entry price.
The ATR multiplier then confirms that current volatility conditions are suitable for a reliable trade.
Volume and CI Screening
Volume Threshold ensures there is sufficient liquidity to avoid slippage.
Choppiness Index confirms the market is either trending or shows enough directional bias.
Time & Event Constraints
Trades are only triggered within defined session hours for optimal market participation.
Event Scoring can skew the strategy to be bullish or bearish depending on upcoming major events (BTC halving, Fed meetings, etc.).
Entry/Exit Logic
Long Trades: Triggered when the long GMA > short GMA, price is below the long GMA, and hugging/ATR checks pass, etc.
Short Trades: Triggered when short GMA > long GMA, price is above the short GMA, and hugging/ATR checks pass, etc.
Stop-Loss & Take-Profit: Automatically set around the entry price, aiming for positive risk-reward scenarios.
Setup and Configuration
Add the Strategy
Apply the Enhanced ML Trading Bot to your chart from the TradingView Indicators/Strategies panel.
Select Symbol & Timeframe
Works well on liquid crypto pairs (e.g., ETH/USDT).
Its logic can apply to various timeframes; many traders prefer 1-minute for frequent signals.
Adjust Inputs
Fine-tune parameters such as GMA lengths, ATR multipliers, volume thresholds, session hours, and event sentiment to match your personal trading style and risk tolerance.
Backtesting Recommendations
Extended Backtest Window
To gather enough trades for meaningful statistics, backtest at least 3 months of data—particularly if you’re on lower timeframes like 1-minute.
Statistical Reliability
Aim for 100+ closed trades in your backtest to better gauge win rate, drawdowns, and net profit.
By combining geometric moving averages, hugging filters, volume/choppiness checks, and real-world event weighting, this strategy seeks to capitalize on short-term price swings while maintaining disciplined risk management.
Line StratThis indicator provides a comprehensive visualization of key price levels and trends.
It plots lines for the premarket high and low, prior day high and low, current day high and low, and the market open, each with corresponding labels displayed at the current bar for easy reference.
It features six customizable moving average (MA) lines, with options to switch between EMA, SMA, WMA, VWMA, and HMA.
The indicator also includes the Volume Weighted Average Price (VWAP), providing a dynamic benchmark for price activity throughout the session.
All lines and moving averages are clearly labeled at the current bar for enhanced clarity.
NSE & BSE Option Chain - Auto Option Data InputDefinition
An options chain is a list of all available option contracts for a specific security, organized by expiration date and strike price.
What Is an Options Chain ?
Understanding how to read and analyze options chains is crucial for investors venturing into options trading. These display all available option contracts for a particular security, typically in a table format that organizes contracts by expiration date and strike price. The tool provides a wealth of information at a glance, including present prices, trading volume, and implied volatility (IV) for both call and put options.
While the long list of prices and other information can look at first to be overly complicated, learning to navigate an options chain will significantly improve your ability to trade in these derivatives and identify prospects in the market. As options continue to gain popularity among retail investors, mastering the intricacies of the options chain has become an essential skill for those looking to expand their trading strategies beyond traditional stock investments.
Key Takeaways
An options chain displays all available option contracts for a security, organized by expiration date and strike price.
Options chains typically show each contract's bid price, ask price, volume, open interest, and implied volatility (IV).
Options chains can be used to identify trading prospects, such as mispriced options or favorable risk-reward scenarios.
Understanding Options Chains
Option chains list all available option contracts for a particular underlying security. For traders, they provide a snapshot of crucial information about each contract, including strike prices, expiration dates, and market prices.
Typically organized in a table, options chains have separate sections for call and put options. The rows represent different strike prices, while the columns show various data points for each contract. This lets traders quickly compare options with different characteristics to make informed decisions.
Decoding Options Chains
The columns of an option chain, as seen in the example chart above, include the following:
Strike price: The price the option holder can buy (for calls) or sell (for puts) the underlying asset.
Expiration date: The last day the option contract is valid.
1
Bid price: The highest price a buyer is willing to pay for the option.
Ask price: The lowest price a seller is willing to accept for the option.
Last price: The most recent trading price for the option.
Percentage change: The net change column reflects the direction (up, down, or flat) for the underlying asset, as well as the amount of the price shift.
Volume: The number of contracts traded during the current session.
2
Open interest: The total of outstanding contracts.
Mastering the art of reading options chains is essential for any serious options trader. It's where market sentiment, price inefficiencies, and trading prospects all come together.
In options trading, information is power. A well-analyzed option chain can reveal market inefficiencies that savvy traders can exploit. For example, comparing the bid-ask spread across different strike prices can help identify more liquid options, while analyzing open interest can help you understand market sentiment.
A skilled user can quickly decipher an options chain for what it says about price moves and where there are high and low levels of liquidity. For the best trades, this is critical information. For those not quite there yet, let's break down other parts of the options chain tables into manageable parts:
Calls vs. puts: Option chains typically separate call options (the right to buy) from put options (the right to sell). This division allows traders to focus straightaway on bullish or bearish strategies.
Filters and customization: Most trading platforms enable you to customize your options chain view. You can quickly filter by expiration date, strike price range, or specific Greek values to focus on the most relevant contracts.
The Bottom Line
The options chain is indispensable for options traders, providing a comprehensive view of all available contracts for a given security. By learning to read and analyze options chains, you can gain greater clarity about market sentiment, identify trading prospects, and make more informed decisions for your options strategies.
While it takes a bit of time to become proficient in interpreting all the data presented, mastering the options chain is crucial for those looking to leverage the full potential of options trading in their investment approaches.
Fully Auto Option Data Input for All Currently Available NSE Indices and Stock & BSE Sensex Indices
SuperTrend Volume [BigBeluga]SuperTrend Volume is an advanced trend-following indicator that combines the traditional SuperTrend method with a normalized volume visualization inside trend bands, offering enhanced insight into market dynamics and volume activity.
🔵 Key Features:
Dynamic Trend Bands: The indicator uses the SuperTrend methodology to plot upper and lower trend bands, which adapt dynamically to price movements. Green bands indicate an uptrend, while purple bands indicate a downtrend.
Normalized Volume Visualization:
Inside the trend bands, normalized volume is displayed to highlight the intensity of market participation during trends.
Users can choose between two visualization types:
Bars: Displays volume as vertical bars within the bands.
Area: Represents volume as a shaded area for a smoother look.
Color-Coded Trends: Trend direction is color-coded:
Green for bullish trends.
Purple for bearish trends.
Volume Labels: Each bar or area has a label showing the normalized volume value 0-4 for easier interpretation.
Trend Change Detection: Automatically identifies trend reversals by recalculating the SuperTrend levels and adjusting volume visualization accordingly.
🔵 Usage:
Trend Identification: Use the color-coded trend bands to confirm the current market direction and identify potential reversals.
Volume Confirmation: Assess the strength of trends using normalized volume inside the bands. Higher normalized volume indicates stronger market conviction.
Peak Volume can be a signal of the mean reversion of price
Customization: Adjust the visualization type (bars or area) based on personal preference or analysis needs.
Dynamic Updates: Use volume labels and trend bands to stay updated on market shifts and trading opportunities in real time.
SuperTrend Volume is a versatile tool suitable for traders who want to combine trend analysis with volume dynamics for a more comprehensive view of the market. It is ideal for identifying trend strength, detecting reversals, and gauging the participation of market players during directional moves.
Order Blocks - VK TradingOrder Blocks - VK Trading
This script in Pine Script identifies and highlights Order Blocks, key tools in institutional trading. Designed for traders of all levels, it provides clear and customizable visualization, helping you anticipate market movements with greater accuracy.
Key Features:
Order Block Visualization: Highlights relevant bullish and bearish zones directly on the chart.
Customizable Settings: Adjust sensitivity, colors, and other parameters to suit your analysis needs.
Dual Block Detection: Uses two independent settings to cover different market perspectives.
Visual Alerts: Automatic line drawing for key levels.
Automatic Clearing: Dynamic clearing of already invalidated blocks.
User Benefits:
Clear Visual Analysis: Identifies key supply and demand points used by institutions.
Improved Trading Decisions: Anticipate entry and exit zones more accurately.
Time Saver: Automates level plotting, allowing you to focus on strategy and execution.
Strategy Adaptability: Compatible with Smart Money, Wyckoff, and Price Action approaches.
Disclaimer:
This script is an educational and analytical tool. It does not guarantee specific results or eliminate trading risk. Trading in the financial markets involves significant risks; use this script at your own risk.
Volume & Range Spike DiamondVolume & Range Spike Diamond
Detect significant volume and price range breakouts directly on your chart with this intuitive indicator.
This TradingView indicator highlights bullish and bearish breakout opportunities by analyzing both volume and price range spikes. Perfect for identifying strong market movements in real-time.
Key Features:
Volume Increase Threshold (%): Customize the percentage increase in volume required to trigger a spike.
Price Range Increase Threshold (%): Define the percentage increase in the price range for additional precision.
Volume Lookback Period: Set the number of bars to calculate the average volume for comparison.
Bullish and Bearish Signals: Highlights bullish spikes below bars and bearish spikes above bars using colored diamonds.
Detailed Labels: Optionally display labels with percentage increases for volume and range.
Alerts Integration: Receive notifications for bullish and bearish breakout conditions.
How It Works:
The indicator compares the current bar's volume to the average volume of previous bars over the specified lookback period.
It also evaluates the price range (high - low) of the current bar against the previous bar.
If both volume and price range exceed their respective thresholds, a breakout condition is flagged.
Bullish spikes are displayed with upward-pointing diamonds below the bars, while bearish spikes use downward-pointing diamonds above the bars.
Optional labels show detailed percentage increases for both metrics.
Customization Options:
// Inputs
volumeIncreaseThreshold = input.float(50, "Volume Increase Threshold (%)", minval=0, step=5)
rangeIncreaseThreshold = input.float(200, "Price Range Increase Threshold (%)", minval=0, step=5)
lookbackPeriod = input.int(5, "Volume Lookback Period", minval=1, maxval=50)
showLastLabel = input.bool(false, "Show Only Last Label")
Alerts Configuration:
Bullish Volume Breakout: Triggered when a bullish spike is detected.
Bearish Volume Breakout: Triggered when a bearish spike is detected.
Enhance your trading strategy by detecting high-probability breakout opportunities with this reliable indicator!
RSI and CMF V 1.0
Introduction: RSI and CMF
The Relative Strength Index (RSI) and Chaikin Money Flow (CMF) are two powerful tools for analyzing market behavior. Each serves a unique purpose and provides insights into different aspects of price action.
The RSI measures the speed and magnitude of price movements. By comparing recent gains to losses over a chosen period, it identifies overbought and oversold conditions in the market. RSI focuses solely on price and offers traders a quick glance at whether an asset is trending too high or too low relative to its recent performance.
On the other hand, the CMF evaluates market behavior by integrating both price and volume. It measures money flow to determine whether an asset is being accumulated (bullish) or distributed (bearish). Positive CMF values indicate buying pressure, while negative values signal selling pressure, making it an essential tool for volume-based analysis.
Our Innovation
Traditionally, indicators like the RSI and CMF are analyzed in separate panels, limiting their connection to the price chart itself. We’ve developed an innovative solution that combines the power of these two indicators, enabling traders to simultaneously measure both price movements and volume flow in a unified visualization. By mapping the RSI and CMF directly onto the price chart, our indicator provides a seamless way to observe and analyze how price momentum and money flow interact with the actual price action.
This integration of volume, price, and momentum into a single chart offers traders a comprehensive tool for deeper market insights and faster decision-making.
__________________________________________________________________________
Simple Settings Panel with Tooltips
Our indicator comes with an intuitive and user-friendly settings panel, designed for ease of use and full customization. Each input is accompanied by a tooltip to guide users through the settings and ensure clear understanding of their purpose.
Settings Overview
1. Enable RSI over Price:
Tooltip: "Toggle this option to enable or disable the RSI plotted on the price chart."
This setting allows users to control whether the RSI is displayed directly over the price chart.
2. RSI Length:
Default Value: 14
Tooltip: "Set the period for RSI calculation. Typical value is 14."
Adjusts the time period used for RSI calculations, affecting its sensitivity to price changes.
3. RSI Source:
Default Value: Close
Tooltip: "Choose the data source for RSI calculation, usually the closing price."
Allows users to specify which price data (e.g., close, open, high, low) is used in the RSI calculation.
4. Enable CMF over Price:
Tooltip: "Toggle this option to enable or disable the CMF mapped onto the price chart."
Controls the visibility of the CMF line on the price chart.
5. CMF Length:
Default Value: 20
Tooltip: "Set the period for CMF calculation. Typical value is 20."
Adjusts the time period used to compute the CMF, determining the volume-weighted money flow sensitivity.
Description of RSI and CMF Settings
RSI Settings:
The RSI Length determines how many periods are included in the RSI calculation. Shorter lengths make the RSI more reactive to price changes, while longer lengths smooth out fluctuations. The RSI Source provides flexibility in selecting the price input for calculation, which is typically the closing price by default.
CMF Settings:
The CMF Length defines how many periods are used to calculate the Chaikin Money Flow, enabling users to focus on short-term or long-term trends in money flow. Enabling the CMF over price ensures the relationship between volume and price action is visually evident on the price chart.
The Style Settings
panel allows users to customize the visual appearance of the indicator, ensuring clarity and alignment with their preferences. Users can independently adjust the line colors for RSI and CMF, with default settings of green for RSI and red for CMF, enabling a clear distinction between the two.
Additionally, the Fill between RSI and CMF option provides two customizable colors (Color 0 and Color 1) to represent the dynamic fill. This fill visually highlights the relationship between the RSI and CMF, enhancing the interpretability of their interaction on the price chart. The settings also include options to toggle precision, labels on the price scale, and values in the status line for added flexibility.
_______________________________________________________________________________
How to Analyze with RSI and CMF V 1.0
The RSI and CMF V 1.0 indicator provides an intuitive and integrated approach to analyzing market trends, combining momentum and volume dynamics directly on the price chart. Its innovative mapping of RSI and CMF makes it easy to spot key trends and reversals with unmatched clarity.
Key Insights:
1. Dynamic Relationship Between RSI and CMF:
The indicator maps RSI (momentum-based) and CMF (volume-based) values onto the price chart. This makes it easier to analyze how price momentum aligns with money flow.
The color-coded fill highlights the strength of their relationship:
- Blue Fill: RSI is stronger than CMF, indicating price momentum leads the movement.
- Red Fill: CMF dominates RSI, reflecting the strength of volume flow.
2. Spotting Trends:
Uptrends: Consistent blue fills paired with RSI and CMF rising together suggest bullish momentum backed by strong volume.
Downtrends: Red fills with declining RSI and CMF signal bearish pressure driven by selling volume.
3. Reversals and Divergences:
Divergences between price action and the mapped RSI/CMF lines can signal potential reversals.
For instance, if price is rising but RSI and CMF are both falling, it could indicate weakening bullish momentum.
Ease of Use:
Color Coding: The dynamic fills (blue and red) allow for immediate visual identification of trend strength and direction, reducing analysis time.
Overlay on Price: By plotting directly on the price chart, traders don’t need to switch between multiple panels, ensuring the context remains clear.
Customizable Settings: Inputs for length, source, and enable/disable toggles make it adaptable for all trading styles and timeframes.
In conclusion, this indicator offers a visually clear and easy-to-understand way to combine momentum and volume analysis, empowering traders with actionable insights at a glance.
Weighted Volumetric PressureThis indicator measures the balance of buying and selling pressure in the market by analyzing price action, trading activity, and market volatility. It dynamically adjusts to changing conditions, highlighting areas of potential strength or weakness in price movements while remaining sensitive to shifts in market momentum and participation.
Please change the "Pressure Length" to your desired length. Different input lengths work better on certain timeframes and securities.
How to use:
When the blue line (Weighted Pressure) reaches the bottom line (Bottom Line), the indicator indicates that the security is oversold or at a bottom.
When the blue line (Weighted Volumetric Pressure) reaches the top line (Top Line), the indicator indicates that the security is overbought or at a high.
Waddah Attar Explosion V6 [Enhanced]Modified from the original @LazyBear code, with the following improvements:
* updated for Pine Script v6
* added customization for input values, including bar color
* added normalisation for all values to provide scale consistency
* added signal markers
* added alert code
The Waddah Attar Explosion (WAE), second panel from top, is a technical analysis indicator that combines trend detection, momentum, and volatility to identify potential trading opportunities. The main components of this indicator are:
1. Trend Component (t1):
Calculated using the difference between two EMAs (fast and slow)
Shows trend direction and strength
Positive values indicate uptrend, negative values indicate downtrend
The sensitivity multiplier amplifies these movements
2. Explosion Component (e1):
Based on Bollinger Bands width (difference between upper and lower bands)
Measures market volatility
Wider bands indicate higher volatility
Used to gauge potential for significant price movements
3. Dead Zone:
Calculated using moving average of True Range
Acts as a noise filter
Helps eliminate false signals in low-volatility periods
The visual elements are explained as follows:
A. Green/Red Columns:
Green columns: Upward trend movement (t1 > 0)
Red columns: Downward trend movement (t1 < 0)
Height indicates strength of the movement
B. Yellow Line (Explosion Line):
Shows the volatility component (e1)
Higher values suggest increased market volatility
Used to confirm signal strength
C. Blue Cross (Dead Zone):
Filters out weak signals
Signals should exceed this level to be considered valid
Buy Signals occur when:
* Green column is increasing
* Movement exceeds dead zone
* Momentum strength is above threshold
* Indicates potential upward price movement
Sell Signals occur when:
* Red column is increasing
* Movement exceeds dead zone
* Momentum strength is above threshold
* Indicates potential downward price movement
Key Features of this Version compared to the @LazyBear code:
Normalization Options:
Can normalize values between 0-1
Helps compare across different timeframes/instruments
Option for fixed or adaptive maximum values
Momentum Calculation:
Based on trend strength relative to volatility
Scaled based on explosion line range
Helps confirm signal strength
Signal Visualization:
Triangle markers for buy/sell signals
Labels showing momentum strength
Helps identify key trading opportunities
Usage Tips:
Signal Confirmation:
Wait for columns to exceed dead zone
Check explosion line for volatility confirmation
Verify momentum strength
Consider multiple timeframe analysis
Parameter Adjustment:
Adjust sensitivity based on trading style
Modify EMA lengths for different timeframes
Fine-tune dead zone multiplier for noise filtering
Risk Management:
Use with other indicators for confirmation
Consider market conditions and volatility
Don't rely solely on indicator signals
The WAE indicator is particularly useful for:
* Identifying trend reversals
* Measuring trend strength
* Filtering out noise
* Confirming breakout movements
* Gauging market volatility
Smart Moving Average Trend IndicatorThe Smart Moving Average Trend Indicator is designed to provide traders with a comprehensive analysis of market trends, confirmations, and potential reversals. Here’s a detailed description of its technical features:
Technical Features
Moving Average Calculation:
Simple Moving Average (SMA): The indicator calculates a simple moving average over a user-defined period (default is 14 bars). This average helps smooth out price fluctuations and identify the overall direction of the trend.
Trend Detection:
Primary Trend: Identifies long-term trends (weeks to months) based on price movement above or below the SMA.
Secondary Trend: Tracks short-term corrections or retracements against the primary trend.
Minor Trend: Monitors short-term fluctuations, providing insights into immediate market movements.
Volume Confirmation:
The indicator assesses whether the current volume exceeds a threshold (default is 1.5 times the SMA of volume). A price increase accompanied by higher volume indicates stronger trend validity.
Trendline Detection:
The script draws trendlines for primary, secondary, and minor trends, visually assisting traders in identifying potential support and resistance levels. These trendlines help visualize the overall market structure.
Trend Reversal Signals:
The indicator highlights potential trend reversals based on specific conditions (e.g., lower troughs or peaks). This feature allows traders to anticipate changes in trend direction, increasing the likelihood of capturing significant price moves.
Alerts:
Alert Conditions: The indicator includes alert conditions for potential trend reversals and volume confirmations. Traders can set up alerts to be notified when these conditions are met, facilitating timely decision-making.
Visual Indications:
Background Color: Changes the background color to red when a potential trend reversal is detected, providing a clear visual cue.
Volume Confirmation Markers: Displays small upward labels below bars when volume confirmation is present, indicating significant trading activity accompanying price movements.
Overall Benefits
Multi-Faceted Analysis: The combination of trend detection, volume analysis, and reversal signals provides a holistic view of market dynamics.
Enhanced Decision-Making: With alerts and visual cues, traders can make more informed decisions, potentially increasing their success in identifying entry and exit points.
Flexibility: Users can customize the moving average length and volume threshold, allowing the indicator to adapt to different trading strategies and timeframes.
This Smart Moving Average Trend Indicator is particularly useful for traders looking to capture trends while minimizing noise and false signals, making it a valuable tool in technical analysis.
Twiggs Money FlowTwiggs Money Flow (TMF)
This indicator is an implementation of the Twiggs Money Flow (TMF), a volume-based tool designed to measure buying and selling pressure over a specified period. TMF is an enhancement of Chaikin Money Flow (CMF), utilizing more sophisticated smoothing techniques for improved accuracy and reduced noise. This version is highly customizable and includes advanced features for both new and experienced traders.
What is Twiggs Money Flow?
Twiggs Money Flow was developed by Colin Twiggs to provide a clearer picture of market momentum and the balance between buyers and sellers. It uses a combination of price action, trading volume, and range calculations to assess whether a market is under buying or selling pressure.
Unlike traditional volume indicators, TMF incorporates Weighted Moving Averages (WMA) by default but allows for other moving average types (SMA, EMA, VWMA) for added flexibility. This makes it adaptable to various trading styles and market conditions.
Features of This Script:
Customizable Moving Average Types:
Select from SMA , EMA , WMA , or VWMA to smooth volume and price-based calculations.
Tailor the indicator to align with your trading strategy or the asset's behavior.
Optional HMA Smoothing:
Apply Hull Moving Average (HMA) smoothing for a cleaner, faster-reacting TMF line.
Perfect for traders who want to reduce lag and capture trends earlier.
Dynamic Thresholds for Signal Filtering:
Set user-defined thresholds for Long (LT) and Short (ST) signals to highlight significant momentum.
Focus on actionable trends by ignoring noise around neutral levels.
Bar Coloring for Visual Clarity:
Automatically colors your chart bars based on TMF values:
Aqua for strong bullish signals (above the long threshold).
Fuchsia for strong bearish signals (below the short threshold).
Gray for neutral or undecided market conditions.
Ensures that trend direction and strength are visually intuitive.
Configurable Lookback Period:
Adjust the sensitivity of TMF by customizing the length of the lookback period to suit different timeframes and market conditions.
How It Works:
True Range Calculation: The script determines the high, low, and close range to calculate buying and selling pressure.
Adjusted Volume: Incorporates the relationship between price and volume to gauge whether trading activity is favoring buyers or sellers.
Weighted Moving Averages (WMAs): Smooths both volume and adjusted volume values to eliminate erratic fluctuations.
TMF Line: Computes the ratio of adjusted volume to total volume, representing the net buying/selling pressure as a percentage.
HMA Option (if enabled): Smooths the TMF line further to reduce lag and enhance trend identification.
Bar Coloring Logic:
Bars are colored dynamically based on TMF values, thresholds, and smoothing preferences.
Provides an at-a-glance understanding of market conditions.
Input Parameters:
Lookback Period: Defines the number of bars used to calculate TMF (default: 21).
Use HMA Smoothing: Toggle Hull Moving Average smoothing (default: true).
HMA Smoothing Length: Length of the HMA smoothing period (default: 14).
Moving Average Type: Select SMA, EMA, WMA, or VWMA (default: WMA).
Long Threshold (LT): Threshold value above which a long signal is considered (default: 0).
Short Threshold (ST): Threshold value below which a short signal is considered (default: 0).
How to Use It:
Confirm Trends: TMF can validate trends by identifying periods of sustained buying or selling pressure.
Divergence Signals: Watch for divergences between price and TMF to anticipate potential reversals.
Filter Trades: Use the thresholds to ignore weak signals and focus on strong trends.
Combine with Other Indicators: Pair TMF with trend-following or momentum indicators (e.g., RSI, Bollinger Bands) for a comprehensive trading strategy.
Example Use Cases:
Spotting breakouts when TMF crosses above the long threshold.
Identifying sell-offs when TMF dips below the short threshold.
Avoiding sideways markets by ignoring neutral (gray) bars.
Notes:
This indicator is highly customizable, making it versatile across different assets (e.g., stocks, crypto, forex).
While the default settings are robust, tweaking the lookback period, moving average type, and thresholds is recommended for different trading instruments or strategies.
Always backtest thoroughly before applying the indicator to live trading.
This version of Twiggs Money Flow goes beyond standard implementations by offering advanced smoothing, custom thresholds, and enhanced visual feedback to give traders a competitive edge.
Add it to your charts and experience the power of volume-driven analysis!
MERCURY-PRO by DrAbhiramSivprasd“MERCURYPRO”
The MERCURYPRO indicator is a custom technical analysis tool designed to provide dynamic trend signals based on a combination of the Chande Momentum Oscillator (CMO) and Standard Deviation (StDev). This indicator helps traders identify trend reversals or continuation based on the behavior of the price and momentum.
Key Features:
• Source Input: The indicator works with any price data, with the default set to close, which represents the closing price of each bar.
• Length Input: A period (default value 9) is used to determine the calculation window for the Chande Momentum Oscillator and Standard Deviation.
• Fixed CMO Length Option: Users can choose whether to use a fixed CMO length of 9 or adjust the length to the user-defined pds value.
• Calculation Method: The indicator allows switching between using the Chande Momentum Oscillator (CMO) or Standard Deviation (StDev) for the momentum calculation.
• Alpha: The smoothing factor used in the calculation of the MERCURYPRO value, which is based on the length of the period input (pds).
Core Calculation:
1. Momentum Calculation: The script calculates the momentum by determining the change in the source price (e.g., close) from one period to the next.
2. Chande Momentum Oscillator (CMO): The positive and negative momentum components are calculated and then summed over the specified period. This value is normalized to a percentage to determine the momentum strength.
3. K Value Calculation: The script selects either the CMO or Standard Deviation (depending on the user setting) to calculate the k value, which represents the dynamic price momentum.
4. MERCURYPRO Line: The final output of the indicator, MERCURYPRO, is computed using a weighted average of the k value and the previous MERCURYPRO value. The line is smoothed using the Alpha parameter.
Plot and Signal Generation:
• Color Coding: The line is color-coded based on the direction of MERCURYPRO:
• Blue: The trend is bullish (MERCURYPRO is rising).
• Maroon: The trend is bearish (MERCURYPRO is falling).
• Default Blue: Neutral or sideways market conditions.
• Plotting: The MERCURYPRO line is plotted with varying colors depending on the trend direction.
Alerts:
• Color Change Alert: The indicator has an alert condition based on when the MERCURYPRO line crosses its previous value. This helps traders stay informed about potential trend reversals or continuation signals.
Use Case:
• Trend Confirmation: Traders can use the MERCURYPRO indicator to identify whether the market is in a strong trend or not.
• Signal for Entries/Exits: The color change and crossovers of the MERCURYPRO line can be used as entry or exit signals, depending on the trader’s strategy.
Overall Purpose:
The MERCURYPRO indicator combines momentum analysis with smoothing techniques to offer a dynamic, responsive tool for identifying market trends and potential reversals. It is particularly useful in conjunction with other technical indicators to provide confirmation for trade setups.
How to Use the MERCURYPRO Indicator:
The MERCURYPRO indicator is designed to help traders identify trend reversals and market conditions. Here are a few ways you can use it:
1. Trend Confirmation (Bullish or Bearish)
• Bullish Trend: When the MERCURYPRO line is colored Blue, it indicates a rising trend, suggesting that the market is bullish.
• Action: You can consider entering long positions when the line turns blue, or holding your existing positions if you’re already long.
• Bearish Trend: When the MERCURYPRO line is colored Maroon, it signals a downward trend, indicating a bearish market.
• Action: You may consider entering short positions or closing any long positions when the line turns maroon.
2. Trend Reversal Alerts
• Color Change: The MERCURYPRO indicator changes color when there’s a trend reversal. The alert condition triggers when the MERCURYPRO crosses above or below its previous value, signaling a potential shift in the trend.
• Action: You can use this alert as a signal to monitor potential entry or exit points for trades. For example, a crossover from maroon to blue could indicate a potential buying opportunity, while a crossover from blue to maroon could suggest a selling opportunity.
3. Use with Other Indicators for Confirmation
• While the MERCURYPRO provides valuable trend insights, it’s often more effective when used in combination with other indicators like RSI (Relative Strength Index), MACD, or moving averages to confirm signals.
• Example: If MERCURYPRO turns blue and RSI is above 50, it may signal a strong bullish trend, enhancing the confidence to enter a long trade.
4. Divergence
• Watch for divergence between the MERCURYPRO line and the price chart:
• Bullish Divergence: If the price makes new lows while MERCURYPRO is showing higher lows, it suggests a potential bullish reversal.
• Bearish Divergence: If the price makes new highs while MERCURYPRO is showing lower highs, it suggests a potential bearish reversal.
Example of Use:
• Example 1: If the MERCURYPRO line changes from maroon to blue, you might enter a long position. After the MERCURYPRO line turns blue, use an alert to monitor the price action. If other indicators (like RSI) also suggest strength, your confidence in the trade will increase.
• Example 2: If the MERCURYPRO line shifts from blue to maroon, it could be a signal to close long positions and consider shorting the market if other conditions align (e.g., moving averages also turn bearish).
Warning for Using the MERCURYPRO Indicator:
1. Lagging Indicator:
• The MERCURYPRO is a lagging indicator, meaning it responds to price changes after they have occurred. This may delay entry and exit signals, and it’s crucial to combine it with other leading indicators to get timely information.
2. False Signals in Range-bound Markets:
• In choppy or sideways markets, the MERCURYPRO line can produce false signals, flipping between blue and maroon frequently without showing a clear trend. It’s important to avoid trading based on these false signals when the market is not trending.
3. Overreliance on One Indicator:
• Relying solely on MERCURYPRO can be risky. Always confirm signals with additional tools like volume analysis, price action, or other indicators to increase the accuracy of your trades.
4. Market Conditions Matter:
• The indicator may work well in trending markets, but in highly volatile or news-driven environments, it may provide misleading signals. Ensure that you take market fundamentals and external news events into consideration before acting on the indicator’s signals.
5. Risk Management:
• As with any technical indicator, MERCURYPRO is not infallible. Always use appropriate risk management techniques such as stop-loss orders to protect your capital. Never risk more than you can afford to lose on a trade.
6. Backtest First:
• Before implementing MERCURYPRO in live trading, make sure to backtest it on historical data. Test the strategy with various market conditions to assess its effectiveness and identify any potential weaknesses.
By considering these guidelines and warnings, you can use the MERCURYPRO indicator more effectively and mitigate potential risks in your trading strategy.
Average Trading Volume per Minute & Suitable Position SizeDescription:
This indicator calculates an average trading volume per minute for the specified lookback period (default 377 bars). It then estimates a suitable position size in USD (or contracts on specific exchanges) by multiplying the average volume by a user-defined percentage (default 8%). The script discards extreme data points (top and bottom 20%) before finding the median, so it provides a more robust measure of typical volume.
How It Works:
1. Each bar’s volume is converted to a USD-based figure, either by taking volume directly (if the exchange quotes in USD) or multiplying volume by the midpoint price.
2. Values are stored in an array, which is then sorted to remove the most extreme 40% (20% from each tail). The remaining 60% is used to calculate a median.
3. You enter a position size percentage (e.g. 8%), and the script multiplies the median volume-per-minute by this percentage to get your recommended position size.
4. For certain exchanges like BitMEX/Deribit, the script adapts how it treats volume (in quotes vs. base), so it can display the final position size properly (USD or contracts).
5. The script displays the result in a small table on the chart, showing the recommended position size in USD (or, for some perpetual contracts, in contract units). If no valid data is available, it indicates “Data Invalid.”
Usage Tips:
• The default Position Size Percentage is 8%. You can adjust it higher for more aggressive trading or lower for smaller exposure.
• The default lookback (Average Calculation Period) is 377 bars. Experiment with different values (e.g. 200 or 500) to capture more or fewer historical bars.
• On certain exchanges and symbols (e.g. BitMEX or Deribit’s “.P” pairs), the script automatically switches how it calculates volume (USD vs. coin-based).
• If you see “Data Invalid,” it likely means the current symbol or timeframe lacks sufficient volume info, or you’re running it on a symbol like BTC.D.
Why This Helps:
• Many traders size positions by guesswork or a fixed fraction of their account. This script instead ties position size to actual average trading volume, ensuring your position is neither too large (risk of poor fills) nor too small (wasting leverage potential).
• Removing top/bottom outliers and using the median aims to give a stable volume measure—less influenced by sudden spikes or extremely quiet bars.
Feel free to tweak the inputs and experiment with different timeframes or pairs. By aligning your position size with typical market liquidity, you can potentially improve overall trade execution and manage risk more effectively.
Chaikin Oscillator with StdDev MarkersJust a Chaikin Oscillator slightly tuned to show extreme changes in A/D momentum.
- Red histogram means the fast EMA is way above the slow EMA (strong distribution).
- Green histogram means the fast EMA is way below the slow EMA (strong accumulation).
Divergences are also easy to identify. When the price pushes more than the histogram, hidden selling could be taking place near tops, and when the price drops but the histogram doesn't follow, accumulation could be taking place.
This, coupled with VSA analysis, is all you'll ever need to understand price action.
Breadth of Volatility The Breadth of Volatility (BoV) is an indicator designed to help traders understand the activity and volatility of the market. It focuses on analyzing how fast prices are moving and how much trading volume is driving those movements. By combining these two factors—price speed and volume strength—the BoV provides a single value that reflects the current level of market activity. This can help traders identify when the market is particularly active or calm, which is useful for planning trading strategies.
The speed component of the BoV measures how quickly prices are moving compared to their recent average. This is done by using a metric called the Average True Range (ATR), which calculates the typical size of price movements over a specific period. The BoV compares the current price change to this average, showing whether the market is moving faster or slower than usual. Faster price movements generally indicate higher volatility, which might signal opportunities for active traders.
The strength component focuses on the role of trading volume in price changes. It multiplies the trading volume by the size of the price movement to create a value called volume strength. This value is then compared to the highest volume strength seen over a recent period, which helps gauge whether the current price action is being strongly supported by trading activity. When the strength value is high, it suggests that market participants are actively trading and supporting the price movement.
These two components—speed and strength—are averaged to calculate the Breadth of Volatility value. While the formula also includes a placeholder for a third component (related to fundamental analysis), it is currently inactive and does not influence the final value. The BoV is displayed as a line on a chart, with a zero line for reference. Positive BoV values indicate heightened market activity and volatility, while values near zero suggest a quieter market. This indicator is particularly helpful for new traders to monitor market conditions and adjust their strategies accordingly, whether they’re focusing on trend-following or waiting for calmer periods for more conservative trades.
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 or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. 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 and consult with a licensed financial professional 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 and possibly paper trading before applying them in live trading scenarios.
Abnormal Delta Volume HistogramThis indicator can help traders spot potential turning points or heightened volatility and provides a dynamic measure of unusual market behavior by focusing on shifts in “delta volume.” Delta volume is approximated by assigning all of a bar’s volume to the bullish side if the close is higher than the open and to the bearish side if the close is lower. The result is a net volume measure that can hint at which side—buyers or sellers—has the upper hand. By comparing this delta volume to its historical averages and measuring how far current readings deviate in terms of standard deviations, the indicator can highlight bars that reflect significantly stronger than normal buying or selling pressure.
A histogram visualizes these delta volume values on a bar-by-bar basis, while additional reference lines for the mean and threshold boundaries allow traders to quickly identify abnormal conditions. When the histogram bars extend beyond the threshold lines, and are colored differently to signal abnormality, it can draw the trader’s eye to periods when market participation or sentiment may be shifting rapidly. This can be used as an early warning signal, prompting further investigation into price action, external news, or significant events that may be driving unusual volume patterns.
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 or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. 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 and consult with a licensed financial professional 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 and possibly paper trading before applying them in live trading scenarios.
Multi SMA EMA VWAP1. Moving Average Crossover
This is one of the most common strategies with moving averages, and it involves observing crossovers between EMAs and SMAs to determine buy or sell signals.
Buy signal: When a faster EMA (like a short-term EMA) crosses above a slower SMA, it can indicate a potential upward movement.
Sell signal: When a faster EMA crosses below a slower SMA, it can indicate a potential downward movement.
With 4 EMAs and 5 SMAs, you can set up crossovers between different combinations, such as:
EMA(9) crosses above SMA(50) → buy.
EMA(9) crosses below SMA(50) → sell.
2. Divergence Confirmation Between EMAs and SMAs
Divergence between the EMAs and SMAs can offer additional confirmation. If the EMAs are pointing in one direction and the SMAs are still in the opposite direction, it is a sign that the movement could be stronger and continue in the same direction.
Positive divergence: If the EMAs are making new highs while the SMAs are still below, it could be a sign that the market is in a strong trend.
Negative divergence: If the EMAs are making new lows and the SMAs are still above, you might consider that the market is in a downtrend or correction.
3. Using EMAs as Dynamic Support and Resistance
EMAs can act as dynamic support and resistance in strong trends. If the price approaches a faster EMA from above and doesn’t break it, it could be a good entry point for a long position (buy). If the price approaches a slower EMA from below and doesn't break it, it could be a good point to sell (short).
Buy: If the price is above all EMAs and approaches the fastest EMA (e.g., EMA(9)), it could be a good buy point if the price bounces upward.
Sell: If the price is below all EMAs and approaches the fastest EMA, it could be a good sell point if the price bounces downward.
4. Combining SMAs and EMAs to Filter Signals
SMAs can serve as a trend filter to avoid trading in sideways markets. For example:
Bullish trend condition: If the longer-term SMAs (such as SMA(100) or SMA(200)) are below the price, and the shorter EMAs are aligned upward, you can look for buy signals.
Bearish trend condition: If the longer-term SMAs are above the price and the shorter EMAs are aligned downward, you can look for sell signals.
5. Consolidation Zone Between EMAs and SMAs
When the price moves between EMAs and SMAs without a clear trend (consolidation zone), you can expect a breakout. In this case, you can use the EMAs and SMAs to identify the direction of the breakout:
If the price is in a narrow range between the EMAs and SMAs and then breaks above the fastest EMA, it’s a sign that an upward trend may begin.
If the price breaks below the fastest EMA, it could indicate a potential downward trend.
6. "Golden Cross" and "Death Cross" Strategy
These are classic strategies based on crossovers between moving averages of different periods.
Golden Cross: Occurs when a faster EMA (e.g., EMA(50)) crosses above a slower SMA (e.g., SMA(200)), which suggests a potential bullish trend.
Death Cross: Occurs when a faster EMA crosses below a slower SMA, which suggests a potential bearish trend.
Additional Recommendations:
Combining with other indicators: You can combine EMA and SMA signals with other indicators like the RSI (Relative Strength Index) or MACD (Moving Average Convergence/Divergence) for confirmation and to avoid false signals.
Risk management: Always use stop-loss and take-profit orders to protect your capital. Moving averages are trend-following indicators but don’t guarantee that the price will move in the same direction.
Timeframe analysis: It’s recommended to use different timeframes to confirm the trend (e.g., use EMAs on hourly charts along with SMAs on daily charts).
VWAP
1. VWAP + EMAs for Trend Confirmation
VWAP can act as a trend filter, confirming the direction provided by the EMAs.
Buy Signal: If the price is above the VWAP and the EMAs are aligned in an uptrend (e.g., short-term EMAs are above longer-term EMAs), this indicates that the trend is bullish and you can look for buy opportunities.
Sell Signal: If the price is below the VWAP and the EMAs are aligned in a downtrend (e.g., short-term EMAs are below longer-term EMAs), this suggests a bearish trend and you can look for sell opportunities.
In this case, VWAP is used to confirm the overall trend. For example:
Bullish: Price above VWAP, EMAs aligned to the upside (e.g., EMA(9) > EMA(50) > EMA(200)), buy.
Bearish: Price below VWAP, EMAs aligned to the downside (e.g., EMA(9) < EMA(50) < EMA(200)), sell.
2. VWAP as Dynamic Support and Resistance
VWAP can act as a dynamic support or resistance level during the day. Combining this with EMAs and SMAs helps you refine your entry and exit points.
Support: If the price is above VWAP and starts pulling back to VWAP, it could act as support. If the price bounces off the VWAP and aligns with bullish EMAs (e.g., EMA(9) crossing above EMA(50)), you can consider entering a buy position.
Resistance: If the price is below VWAP and approaches VWAP from below, it can act as resistance. If the price fails to break through VWAP and aligns with bearish EMAs (e.g., EMA(9) crossing below EMA(50)), it could be a good signal for a sell.
Magic Candles PRO [MW]The Magic Candles indicator provides users with low risk/high reward entries on small candles with big volume. It uses calculations that uniquely define high volume/low price movement (volume hammer) candles and engulfing pattern candles. In theory, measuring a volume hammer candle seems relatively simple, but it is in the definition of high and low with respect to volume and price movement, and with respect to each other that requires a novel method of defining the relationship. The definition that is ultimately used gives users the ability to identify candles that typically precede large price movements, because the volume necessary to drive the price exists by definition even though it is not reflected in the size of the current candle.
Similarly, engulfing candle patterns are useful because they show an acceleration of price movement from the previous candle. The difficulty in calculating engulfing candles, as with volume hammer candles, is in the interpretation of candle size, or “engulfing”. In many cases, engulfing simply means that a candle has reversed direction from the previous candle, and the body of the previous candle sits between the open and close of the new candle. Sometimes wicks are used, sometimes they aren’t. Our differentiation is that we allow the user to change “engulfing” to their preference, so that it can include candle bodies, full candles, dojis, and candle patterns where the body of the previous candle is not necessarily in between the open and close of the new candle. It also uses a double stochastic calculation on ATRs that filter out engulfing candles that may not be as meaningful.
Settings
Volume Hammer Candles
ATR Period: The ATR period that is used to compare the candle size against. (Default: 5)
Candle Portion to Use: The candle size can be defined as just the body, or the entire candle. (Default: Candle Body)
Volume Absorption Threshold: The threshold for the volume ratio relative to the candle size ratio. (Default: 4.5)
Volume ATR Period: The ATR period that is used to compare the volume against. (Default: 3)
3 Consecutive Volume increases and 3 Bullish Candles: (Default: ON)
3 Consecutive Volume Increases and 3 Bearish Candles: (Default: ON)
2 Consecutive Volume increases Prior to Current Candle: (Default: ON)
Engulfing Pattern Candles
Show Engulfing Candles: (Default: ON)
Include Candle Wicks in Calculation: (Default: ON)
Show Bullish Candles: (Default: ON)
Show Bearish Candles: (Default: ON)
Use Dojis for Reversed Candles: Typically engulfing candles are compared against candles that are in the opposite direction of the new candle. However, dojis, or candles with small candle bodies and relatively large wicks, can be optionally used to measure against. (Default: OFF)
ATR Period 1: We use 2 levels of stochastic calculation to compare against in order to determine if an engulfing candle is valid. This is the shorter period ATR. (Default: 14)
ATR Period 2: The 2nd of 2 ATR periods used in a 2-level stochastic calculation that’s used to evaluate valid engulfing candles. (Default: 21)
Stochastic Period: The Stochastic Period used for both levels of ATR calculations. (Default: 14)
Smoothing: The period used to “smooth” the stochastic curves. (Default: 3)
Calculations
This indicator uses a comparison between relative volume (raw volume compared to its average true range) and relative price action as determined by candle size (specifically, candle size compared to the average true range of the candle size). The ratio between the relative volume and relative price action are compared as a ratio. Once that ratio hits a defined threshold a signal is generated in the form of a bright yellow bar, which we refer to as a “volume hammer”, because of the heavy volume acting on an unmoving object (price).
The indicator also identifies engulfing candle patterns by
Determining the candle body size or full candle size.
Checking to see if there was a reversal of direction, or checking to see if the first candle was a doji (small body with relatively large wicks).
Calculating the stochastic ATR patterns across two periods in order to normalize the ATR behavior for comparison.
Calculating the delta between those stochastic ATRs
Calculating the stochastic patterns of the delta between the stochastic ATRs to add further sensitivity to the comparison between candles.
How to Use
Volume Hammer
When a bright yellow bar appears in the lower window it means that the ratio of relative volume to relative price movement is very high, which indicates that a volatile move will occur within the next candle or so. In this scenario using a small risk that is not much larger than the candle itself can be paired with a large reward/risk ratio when setting a take profit target.
For example, if the body of a candle has a range of less than $0.02 and the full candle is less than $0.10 in range, then a $0.10 stop can be used with the expectation that the large volume will generate a volatile move in one direction or the other. The expected move is generally 3x the size of the full candle, but typically more.
Sometimes, however, that 3x move will reverse and turn into even a larger move in the opposite direction if a key support or resistance level is hit. So, it is very useful to use this indicator with a tool that can identify key support/demand zones and resistance/supply zones such as the Magic Order Blocks or QQQ and SPY Price Levels for equities based on the NASDAQ and S&P 500. It can also be combined with indicators that provide upper and lower bounds like Magic Linear Regression Channel , ATR Bands (Keltner Channel) Wick and SRSI Signals , and/or Bollinger Band Wick and SRSI Signals .
Additionally, the bright yellow candles have color-coded indicators that reflect the behavior of preceding volume behavior.
- Orange Dot - 3 consecutive candles of increasing volume
- Green Dot - 3 consecutive candles of increasing volume with a bullish candle pattern
- Red Dot - 3 consecutive candles of increasing volume with a bearish candle pattern
- Blue Dot - 2 consecutive candles of increasing volume followed by a candle with volume that is greater than the starting candle.
These only reflect the volume and candle pattern. They can provide insight, but should not be used as buy or sell signals, especially when encountered at key price levels.
Engulfing Candle Pattern
Frequently, the bright yellow bar in the lower window will be followed by an engulfing candle in the main chart. Engulfing candle patterns can themselves be useful on their own in a market that is not highly volatile. They tend to be indicative of price reversals, or trend continuations following consolidation. Following an engulfing candle, risk can be set at the “far end” of the candle with the expectation that if it does accurately define the direction, then the price will be less likely to go back to the candle’s starting price.
Other Usage Notes and Limitations
Occasionally a large gray bar will appear that is above the relative volume to relative candle size threshold. This indicates that although there is little price movement when compared to the volume, the actual volume is trailing off. This could lead to a quick move in a bullish or bearish direction, but it potentially would not be as sustained as in the case where volume has been consistently rising.
There are also faded yellow bars that appear when volume is increasing when the relative price movement is small. However, when the ratio of the relative volume is not large enough when compared to the price movement (i.e. it does not meet the threshold requirement) its color remains a dim yellow color.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
Pattern Pro VPOCSummary:
This indicator combines multi-timeframe pattern detection (triangles and wedges), Volume Point of Control (VPOC) visualization, predictive volume modeling, and a swing-based VWAP. It provides traders with a detailed view of key trading patterns, high-volume levels, and entry/exit opportunities, all integrated into one powerful tool.
How This Script is Unique:
Multi-Timeframe Pattern Analysis:
Identifies chart patterns like triangles and wedges across multiple timeframes, enhancing the trader's ability to spot actionable opportunities.
Dynamically tracks pivot points and projected trendlines to visualize ongoing and potential patterns.
Volume Point of Control (VPOC):
Automatically calculates and plots the VPOC for detected patterns, highlighting the price level with the highest traded volume.
Helps identify strong support/resistance levels within patterns.
Predictive Volume Modeling:
Predicts high-volume trading times based on historical averages, allowing traders to anticipate periods of increased market activity.
Bars are color-coded to reflect projected volume activity.
Swing-Based VWAP:
Incorporates swing highs and lows into VWAP calculations, making it adaptive to current market conditions.
Offers a more dynamic view compared to traditional static VWAP indicators.
Trade Management Features:
Visualizes stop-loss (SL) and take-profit (TP) levels directly on the chart.
Tracks active trades and peak performance, enabling effective trade management.
Customizability:
Offers user-defined settings for timeframe selection, risk management, and volume modeling, making it adaptable to various trading strategies.
How to Use:
Pattern Detection:
The script automatically identifies triangle and wedge patterns. No manual input is needed for detection.
Patterns are displayed with top and bottom trendlines and the associated VPOC.
Volume Modeling:
Enable "Use Predictive Volume" under the Predictive Volume settings to highlight periods of projected high activity.
Customize the moving average period and date range for better precision.
Swing-Based VWAP:
Enable "Use VWAP" and configure the anchor period to suit your trading timeframe (e.g., Session, Week, Month).
The VWAP adapts dynamically to swings for precise insights.
Risk Management:
Adjust initial risk, multiplier, and drawdown limits under Risk Management settings.
Visual SL and TP boxes make it easy to monitor trade progress.
Alerts:
Enable "Pattern Alert" to receive notifications for detected patterns.
Use "Trade Alert" to get notified of potential entry opportunities.
Custom Inputs:
Customize "Lookback Bars for VPOC" to define how far back the indicator searches for volume data.
Modify "Row Size" and "POC Settings" for precise VPOC plotting.
Related Links:
Swing-Based VWAP
Intraday Predictive High-Volume Activity Sessions
Trade Settings:
Pattern Timeframe Input:
Select the timeframe used for detecting patterns (e.g., Chart, 15m, 1H).
Use: Helps identify patterns specific to the selected timeframe.
Bars to Entry:
Defines the number of bars within which a trade should be entered after a pattern is detected.
Use: Ensures timely entries based on identified patterns.
Plot Peak Profit:
Toggles the visualization of the peak profit level for trades.
Use: Helps monitor the maximum potential profit from a trade.
Use Close of Candle Above/Below Top/Bottom Line:
When enabled, the script uses the close of the candle instead of wicks to determine line breakouts.
Use: Ensures more precise break detection for pattern confirmation.
Pattern VPOC Settings:
Lookback Bars for VPOC:
Specifies the number of bars to analyze for calculating the Volume Point of Control (VPOC).
Use: Adjusts the depth of data analyzed for VPOC determination.
Row Size:
Determines the granularity of VPOC calculations. Higher values result in finer divisions.
Use: Fine-tune VPOC plotting for greater precision.
Pattern VPOC Color:
Sets the color of the VPOC line on the chart.
Use: Customize chart aesthetics for better visibility.
Width:
Adjusts the thickness of the VPOC line.
Use: Makes the line more prominent on the chart.
Risk Management:
Initial Risk:
Specifies the base risk amount for each trade.
Use: Helps determine the trade size based on risk tolerance.
Risk Increment Type:
Selects whether risk increments are linear or exponential after consecutive losses.
Use: Adjusts risk dynamically to manage losses effectively.
Multiplier:
Multiplies the risk in exponential mode to calculate the next risk value after a loss.
Use: Defines the growth factor for exponential risk.
Max Drawdown:
Sets the maximum drawdown value before halting trading.
Use: Protects against significant capital depletion.
Initial Capital:
Specifies the starting capital for performance calculations.
Use: Helps measure performance and calculate drawdown percentages.
Alert Settings:
Trade Alert:
Enables alerts for detected trade setups.
Use: Keeps the user notified about potential trade opportunities.
Pattern Alert:
Enables alerts for detected patterns.
Use: Provides immediate notification when a pattern is identified.
Predictive Volume:
Use Predictive Volume:
Toggles the predictive volume modeling feature.
Use: Highlights projected high-volume periods for better timing.
Select Timeframe for Predictive Volume:
Defines the timeframe for predictive volume analysis.
Use: Allows predictive modeling to align with the user's trading style.
MA Average Periods:
Sets the moving average length for volume prediction.
Use: Smoother or more responsive predictive models based on user preference.
Date Range:
Specifies the historical range used for volume analysis.
Use: Limits the scope of volume data for calculations.
VWAP Settings:
Use VWAP:
Toggles the VWAP calculation and plotting.
Use: Tracks the average price weighted by volume to find key price levels.
Hide VWAP on 1D or Above:
Hides VWAP plots on daily or higher timeframes.
Use: Avoids clutter on charts with higher timeframes.
Anchor Period:
Sets the anchor period for VWAP calculation (e.g., Session, Week, Month).
Use: Aligns VWAP with the selected timeframe.
Source:
Defines the price source for VWAP calculation (default: hlc3).
Use: Adjusts VWAP based on the preferred price type.
Offset:
Adjusts the VWAP line's placement by the specified number of bars.
Use: Moves the VWAP line forward or backward for better visual alignment.
Swing Size:
Defines the sensitivity for detecting swing highs and lows in VWAP calculations.
Use: Refines VWAP calculations to match market swings.
Swing-Based VWAPSwing-Based VWAP
Summary:
The "Swing-Based VWAP" indicator enhances traditional VWAP calculations by incorporating swing-based logic. It dynamically adapts to market conditions by identifying key swing highs and lows and calculating VWAP levels around these pivot points. This makes it a versatile tool for traders seeking actionable price insights.
Explanation:
What is Swing-Based VWAP?
The Swing-Based VWAP is a modified version of the Volume-Weighted Average Price (VWAP). It calculates VWAP not only for a chosen timeframe (e.g., session, week) but also adapts dynamically to market swings. By identifying swing highs and lows, it offers more precise levels for potential price action.
Unique Features:
1. Dynamic Swing Integration:
- Uses pivot points to determine significant price levels.
- Calculates VWAP based on these points to adapt to market trends.
2. User-Friendly Settings:
- Includes options to hide VWAP on higher timeframes for chart clarity.
- Flexible swing size input for adjusting sensitivity.
How to Use:
1. Configuring Swing Settings:
- Use the "Swing Setting" input to determine the sensitivity of swing detection.
- Higher values identify broader swings, while smaller values capture more granular movements.
2. Enabling/Disabling VWAP:
- Toggle VWAP visibility using the "Use VWAP" option.
- The "Hide VWAP on 1D or Above" setting lets you control visibility on higher timeframes.
3. Anchor Period:
- Select your preferred anchoring period (e.g., session, week) to match your trading style.
4. Adjusting the Data Source:
- Use the "Source" input to select the price source (default: HLC3).
5. Visualizing Swing-Based VWAP:
- The script plots a dynamic VWAP line based on detected swing points.
- This line highlights average price levels weighted by volume and swing pivots.
Directional Volume IndexDirectional Volume Index (DVI) (buying/selling pressure)
This index is adapted from the Directional Movement Index (DMI), but based on volume instead of price movements. The idea is to detect building directional volume indicating a growing amount of orders that will eventually cause the price to follow. (DVI is not displayed by default)
The rough algorithm for the Positive Directional Volume Index (green bar):
calculate the delta to the previous green bar's volume
if the delta is positive (growing buying pressure) add it to an SMA, else add 0 (also for red bars)
divide these average deltas by the average volume
the result is the Positive Directional Volume Index (DVI+) (vice versa for DVI-)
Differential Directional Volume Index (DDVI) (relative pressure)
Creating the difference of both Directional Volume Indexes (DVI+ - DVI-) creates the Differential Directional Volume Index (DDVI) with rising values indicating a growing buying pressure, falling values a growing selling pressure. (DDVI is displayed by default, smoothed by a custom moving average)
Average Directional Volume Index (ADVX) (pressure strength)
Putting the relative pressure (DDVI) in relation to the total pressure (DVI+ + DVI-) we can determine the strength and duration of the currently building volume change / trend. For the DMI/ADX usually 20 is an indicator for a strong trend, values above 50 suggesting exhaustion and approaching reversals. (ADVX is not displayed by default, smoothed by a custom moving average)
Divergences of the Differential Directional Volume Index (DDVI) (imbalances)
By detecting divergences we can detect situations where e.g. bullish volume starts to build while price is in a downtrend, suggesting that there is growing buying pressure indicating an imminent bullish pullback/order block or reversal. (strong and hidden divergences are displayed by default)
Divergences Overview:
strong bull: higher lows on volume, lower lows on price
medium bull: higher lows on volume, equal lows on price
weak bull: equal lows on volume, lower lows on price
hidden bull: lower lows on volume, higher lows on price
strong bear: lower highs on volume, higher highs on price
medium bear: lower highs on volume, equal highs on price
weak bear: equal highs on volume, higher highs on price
hidden bear: higher highs on volume, lower highs on price
DDVI Bands (dynamic overbought/oversold levels)
Using Bollinger Bands with DDVI as source we receive an averaged relative pressure with stdev band offsets. This can be used as dynamic overbought/oversold levels indicating reversals on sharp crossovers.
Alerts
As of now there are no alerts built in, but all internal data is exposed via plot and plotshape functions, so it can be used for custom crossover conditions in the alert dialog. This is still a personal research project, so if you find good setups, please let me know.