XCCI_Candle_Vol
Download scriptThe XCCI_Candle_Vol script is a specialized technical analysis tool designed for the MetaTrader 5 platform. It creates a visual overlay that transforms standard price candles into "Volume-Weighted" candles, providing a much deeper perspective on market momentum and price action by integrating volume directly into the candle shapes.
Core Logic and Functionality
The script operates through several distinct layers of calculation to provide a comprehensive view of the market:
1. Multi-Source Price Monitoring Unlike standard indicators that only look at the closing price, this script simultaneously tracks four key data points for every single bar:
- Open Price
- High Price
- Low Price
- Close Price
It calculates a specific "Commodity Channel Index" (CCI) style movement for each of these four individual components independently.
2. Dynamic Volume Integration The primary innovation of this script is how it treats volume. It doesn't just show you how high the price went; it scales the height and depth of the candles based on the actual trading activity (Volume or Tick Volume).
- It calculates a "Volume Multiplier."
- This multiplier is then applied to all four price points (Open, High, Low, Close).
- The result is a candle whose physical size on your chart represents the intensity of the trading volume at that specific moment.
3. Advanced Smoothing & Filtering To ensure the data is readable and not "noisy," the script employs several sophisticated smoothing algorithms (such as T3, Vidya, or Parabolic methods). These filters help identify the underlying trend by removing minor price fluctuations while maintaining the integrity of the volume-weighted data.
4. Dynamic Channel Creation The script automatically generates a dynamic "Channel" around the candles:
- Resistance/Support Levels: It establishes Upper and Lower boundaries based on the volume-adjusted movements.
- Visual Guidance: These are displayed as dashed lines, helping traders see where the "heavy" volume is pushing price boundaries.
5. Intelligent Color Coding The script provides immediate visual feedback through a multi-colored candle system. It analyzes the relationship between the smoothed open and close prices relative to the volume-adjusted high/low levels. Based on these interactions, it assigns specific colors to the candles to represent different types of market sentiment (e.g., bullish strength, bearish weakness, or neutral consolidation).
Summary for Traders
Instead of looking at a standard chart where a large candle might represent little actual trading, this tool ensures that the size of the candle is proportional to the energy behind the move. It allows you to distinguish between "hollow" price movements (low volume) and "heavy" institutional moves (high volume), while simultaneously providing smoothed trend lines and dynamic price channels for better entry and exit visualization.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | X C C I _ C a n d l e _ V o l . m q 5 |
/ / | C o p y r i g h t © 2 0 1 8 , N i k o l a y K o s i t s i n |
/ / | K h a b a r o v s k , f a r r i a @ m a i l . r e d c o m . r u |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | ;O @01>BK 8=48:0B>@0 A;54C5B ?>;>68BL D09; S m o o t h A l g o r i t h m s . m q h |
/ / | 2 ?0?:C ( 48@5:B>@8N) : :0B0;>3_ 40==KE_ B5@<8=0;0\ \ M Q L 5 \ I n c l u d e |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
# p r o p e r t y c o p y r i g h t "