KWAN_CCC
Download scriptThis custom indicator, KWAN_CCC, is a sophisticated technical analysis tool designed for the MetaTrader 5 platform. It combines three distinct market indicators to create a singular, smoothed trend signal, providing traders with a more refined view of price action than any single indicator could offer alone.
Core Logic Overview
The script operates by synthesizing data from three primary sources: Chaikin Money Flow (CMF), the Commodity Channel Index (CCI), and Momentum. Instead of displaying these as separate lines, it merges them into a unified calculation to determine the underlying strength and direction of the market.
How the Integration Works
- Data Synthesis: The script retrieves data from the Chaikin Money Flow (which measures accumulation/distribution), the CCI (which identifies overbought/oversold conditions), and Momentum (which tracks the velocity of price changes).
- The "Kwan" Calculation: The tool performs a specific mathematical operation where it takes the Chaikin Money Flow value and multiplies it by the CCI, then divides that result by the Momentum value. This creates a unique "raw" data point for every candle on the chart.
- Advanced Smoothing (XMA): To prevent the resulting data from being too "noisy" or jumpy, the script applies a specialized smoothing algorithm called XMA. You can choose from various smoothing methods (such as JJMA, VIDYA, or AMA) to tailor how responsive or smooth the final line appears.
- Dynamic Visuals: The indicator is designed to be highly visual:
- Histogram Plot: It renders the final smoothed result as a histogram in a separate window.
- Trend Coloring: It features an automatic color-changing system. By comparing the current value to the previous one, the histogram changes color to visually signal shifts in momentum—typically switching colors when the trend direction flips.
User Customization
The script is highly flexible, allowing you to adjust the "personality" of the indicator through several inputs:
- Sensitivity: You can change the periods for CMF, CCI, and Momentum to make the indicator react faster or slower to price changes.
- Smoothing Style: Users can select different mathematical models (like ParMA or T3) to change how the "noise" of the market is filtered out.
- Visual Shifts: There is an option to shift the entire indicator forward or backward on the chart for better alignment with your specific trading style.
Summary for Traders
Essentially, KWAN_CCC acts as a "filter." It takes the complex relationship between volume, price velocity, and relative strength, collapses them into one value, and then smooths out the erratic movements of the market to highlight the primary trend. It is designed to help traders identify high-probability trend directions while filtering out the minor fluctuations that often trigger false signals in standard indicators.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | K W A N _ C C C . m q 5 |
/ / | C o p y r i g h t © 1 9 9 9 - 2 0 1 7 , M e t a Q u o t e s S o f t w a r e C o r p . |
/ / | h t t p : / / w w w . m e t a q u o t e s . 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 "