CHO Chaikin Oscillator Trend Momentum Multi Filter
- Indicatori
- Versione: 1.0
- Attivazioni: 5
CHO Chaikin Oscillator Trend Momentum Multi Filter
Chaikin Oscillator Signal Arrow Multi Filter ATR SL TP
Overview
Chaikin Oscillator Signal Arrow Multi Filter ATR SL TP is a technical analysis indicator developed for the MetaTrader 4 (MT4) platform. It operates in a dedicated oscillator sub-window while projecting directional signal arrows and dynamic Average True Range (ATR) risk-to-reward target levels directly onto the main price chart. The primary objective of this software is to identify shifts in volume-weighted accumulation and distribution momentum and validate those shifts through a modular 15-filter confirmation architecture. Traders can operate the core oscillator as a standalone zero-line crossover tool or selectively activate any combination of trend, momentum, volatility, and price-structure filter modules to align signals with broader market conditions. All signal evaluations are strictly executed on completed candles to ensure historical signal stability and eliminate post-close recalculation.
Technical Operating Principle
The indicator combines classical volume-flow oscillator mathematics with a multi-layered conditional validation engine and volatility-scaled target projection:
- Accumulation/Distribution Foundation: For each historical bar, the indicator computes the Close Location Value using the relationship between the closing price, high, and low, and multiplies this ratio by either tick volume or real exchange volume to maintain a cumulative Accumulation/Distribution (A/D) series.
- Chaikin Oscillator Calculation: The main oscillator line is derived by subtracting a Slow Moving Average of the cumulative A/D line from a Fast Moving Average of the same series, oscillating above and below a central equilibrium level of 0.0.
- Closed-Bar Evaluation and Non-Repainting Behavior: Signal detection is performed exclusively on closed candles (starting from Bar 1, the most recently completed candle). Once a candle closes and a directional arrow is plotted on the chart, that historical signal remains fixed and does not repaint, shift position, or disappear on subsequent ticks.
- Bullish Signal Condition (BUY): A bullish candidate is generated when the closed-bar Chaikin Oscillator value crosses upward from at or below 0.0 into positive territory above 0.0. If one or more confirmation filters are enabled, every active filter module must simultaneously validate bullish alignment on that closed bar before the Buy arrow and alerts are triggered.
- Bearish Signal Condition (SELL): A bearish candidate is generated when the closed-bar Chaikin Oscillator value crosses downward from at or above 0.0 into negative territory below 0.0. All enabled filter modules must simultaneously confirm bearish alignment on that closed bar before the Sell arrow and alerts are triggered.
- Dynamic ATR Target Projection: Upon confirming the most recent valid signal, the indicator samples the ATR value at the signal candle and multiplies it by a user-defined factor to define a 1R volatility risk distance, plotting reference lines for Entry, Stop Loss (SL), and three progressive Take Profit levels (TP1 at 1R, TP2 at 2R, and TP3 at 3R).
Key Features and Modular Filter Suite
The software provides a structured set of analytical and visual capabilities designed for systematic chart observation:
- Dual-Buffer Sub-Window Oscillator: Displays a continuous Chaikin Oscillator line alongside a horizontal zero-line reference while maintaining an internal Accumulation/Distribution calculation buffer.
- Modular 15-Filter Confirmation Framework: Includes 15 independent technical filter modules that can be toggled individually or combined in confluence without modifying source code:
1. RSI Crossover Filter: Validates momentum recovery from oversold territory or rejection from overbought territory using Relative Strength Index threshold crossings.
2. ADX Trend Strength Filter: Requires the Average Directional Index main line to exceed a minimum threshold to avoid low-momentum ranging conditions.
3. Single Moving Average Filter: Confirms directional price positioning above or below a configurable baseline Moving Average.
4. Ichimoku Senkou Span B Filter: Evaluates price location relative to the Ichimoku Kinko Hyo Leading Span B cloud boundary.
5. Long-Period RSI Bias Filter: Uses a macro-period RSI (default 75) relative to the 50.0 midpoint to filter signals against higher-cycle directional bias.
6. Double Moving Average Alignment Filter: Requires a faster Moving Average to remain aligned above or below a slower baseline Moving Average.
7. Awesome Oscillator (AO) Filter: Offers three independent sub-conditions checking AO amplitude thresholds, bar-over-bar histogram slope direction, and zero-line polarity.
8. Parabolic SAR Filter: Confirms that the closing price aligns above or below the Parabolic Stop and Reverse trailing dots.
9. Heiken Ashi Polarity Filter: Computes smoothed synthetic Heiken Ashi candle open and close values internally to confirm bullish or bearish candle body polarity.
10. CCI Trend Filter: Checks Commodity Channel Index positioning above or below the 0.0 equilibrium level over a configurable trend lookback period.
11. CCI Overbought/Oversold Breakout Filter: Validates strong directional momentum when the short-period CCI extends beyond configured upper or lower thresholds.
12. RVI Trend and Signal Line Filters: Evaluates Relative Vigor Index positioning relative to zero as well as main-line versus signal-line crossover alignment.
13. MACD Histogram and Zero-Line Filters: Validates Moving Average Convergence Divergence histogram polarity and optional MACD main-line positioning relative to zero.
14. Swing Support/Resistance and Fibonacci Retracement Filters: Identifies recent swing highs and lows within a defined bar window and checks price proximity to swing zones or ZigZag-anchored Fibonacci retracement intervals.
15. ATR Supertrend Regime Filter: Computes a Wilder ATR-based Supertrend trailing regime internally to ensure signals align with the active trend state.
- Latest-Signal Target Line Manager: Automatically updates and projects Entry, SL, TP1, TP2, and TP3 horizontal trendline segments and price labels strictly for the most recent confirmed signal so the chart remains uncluttered.
- Automatic Object Cleanup: Removes all indicator-created arrows, target lines, and text labels cleanly from the chart upon timeframe changes, parameter resets, or indicator removal.
Visual Interface, Alert System, and Resource Management
- Sub-Window and Main-Chart Graphical Elements: In the separate indicator window, the Chaikin Oscillator plots as a solid DodgerBlue line against a dotted Silver 0.0 reference level. On the main price chart, confirmed Buy signals appear as upward Aqua arrows positioned below the signal candle Low, while confirmed Sell signals appear as downward Red arrows positioned above the signal candle High. When enabled, target levels render for the latest signal using a solid Gold line for Entry, a dashed Red line for SL, a dashed LimeGreen line for TP1 (1R), a dashed MediumSeaGreen line for TP2 (2R), and a dashed DodgerBlue line for TP3 (3R), accompanied by right-aligned text labels showing exact price coordinates.
- Multi-Channel Alert System: The indicator supports four simultaneous notification channels whenever a new closed-bar signal is confirmed: native MetaTrader terminal pop-up alerts displaying signal direction, symbol, timeframe, and closing price; customizable WAV audio playback with separate sound file inputs for Buy and Sell events; mobile push notifications delivered to iOS and Android MetaTrader apps via MetaQuotes ID; and SMTP email alerts configured through the terminal options. An integrated new-bar gating switch ensures alerts trigger only once per completed bar.
- Computational Efficiency and Terminal Performance: Internal filter arrays are updated in a structured single-pass routine, and disabled filter modules are bypassed during bar evaluation to conserve CPU cycles and memory. When attaching the indicator to multiple charts simultaneously, users are advised to activate only the specific filter modules required for their analysis and avoid running an excessive number of open charts on hardware with limited RAM.
Trading Recommendations and Operational Specifications
- Supported Instruments: Suitable for liquid Forex major and minor currency pairs (such as EURUSD, GBPUSD, USDJPY, and AUDUSD), spot metals (such as XAUUSD), major equity indices, and liquid CFDs with consistent tick-volume reporting. Because the Chaikin Oscillator incorporates volume into its Accumulation/Distribution calculation, users should verify the tick-volume feed characteristics and typical spread behavior of each symbol on their broker server.
- Recommended Timeframes: Compatible with all standard MT4 chart timeframes from M1 to MN1. Intraday timeframes (M15, M30, H1) and swing timeframes (H4, D1) generally provide cleaner volume-flow structures than ultra-short charts (M1, M5), where rapid tick fluctuations benefit from enabling trend confirmation filters such as Moving Averages, ADX, or Supertrend.
- Account and Execution Environment: Compatible with both Hedging and Netting MT4 account types. Standard ECN or low-spread accounts are recommended when utilizing the ATR-based 1R to 3R target projections. A Virtual Private Server (VPS) is not mandatory for chart viewing, but it is recommended if the trader relies on uninterrupted 24/5 mobile push or email notifications.
Input Parameters Documentation
All input variables and section headers visible in the MetaTrader 4 Inputs tab are documented below with their default values, technical functions, and measurement units:
Section 1: Chaikin Oscillator (Entry Logic)
- InpSection1 (Default: "=== CHAIKIN OSCILLATOR (ENTRY LOGIC) ===") - Visual section divider header in the Inputs dialog (string label).
- FastPeriod (Default: 3) - Number of bars used to calculate the fast moving average of the Accumulation/Distribution line (unit: bars).
- SlowPeriod (Default: 10) - Number of bars used to calculate the slow moving average of the Accumulation/Distribution line (unit: bars).
- MaMethod (Default: MODE_EMA) - Moving average smoothing method applied to the Accumulation/Distribution series, supporting SMA, EMA, SMMA, and LWMA (enumeration).
- AppliedVolume (Default: VOLUME_TICK) - Volume source used in the Accumulation/Distribution formula, selectable between broker tick volume and exchange real volume (enumeration).
Section 2: ATR and Target Levels (SL/TP)
- InpSection2 (Default: "=== [C] ATR & TARGET LEVELS (SL/TP) ===") - Visual section divider header in the Inputs dialog (string label).
- ShowTargetLines (Default: true) - Enables or disables plotting of the Entry, Stop Loss, and Take Profit reference lines on the main chart (boolean).
- AtrPeriod (Default: 7) - Lookback period in bars for computing the Average True Range volatility value (unit: bars).
- AtrMultiplier (Default: 1.5) - Multiplier applied to the ATR value to establish the Stop Loss distance (1R risk unit) from the signal candle close (unit: multiplier).
- RightExtensionBars (Default: 1) - Number of bars to extend the horizontal target lines and price labels to the right of candle 0 (unit: bars).
- LabelFontSize (Default: 8) - Font size of the text labels attached to the Entry, SL, and TP horizontal lines (unit: font points).
- EntryColor (Default: clrGold) - Color assigned to the solid Entry reference line and label (color).
- SlColor (Default: clrRed) - Color assigned to the Stop Loss line and label (color).
- Tp1Color (Default: clrLimeGreen) - Color assigned to the first Take Profit level at a 1:1 risk-to-reward ratio (color).
- Tp2Color (Default: clrMediumSeaGreen) - Color assigned to the second Take Profit level at a 1:2 risk-to-reward ratio (color).
- Tp3Color (Default: clrDodgerBlue) - Color assigned to the third Take Profit level at a 1:3 risk-to-reward ratio (color).
- TargetLineStyle (Default: STYLE_DASH) - Line pattern style applied to the SL, TP1, TP2, and TP3 horizontal segments (enumeration).
- TargetLineWidth (Default: 1) - Line thickness applied to the Entry, SL, and TP horizontal segments (unit: pixels).
Section 3: Signal Arrows
- InpSection3 (Default: "=== SIGNAL ARROWS ===") - Visual section divider header in the Inputs dialog (string label).
- BuyColor (Default: clrAqua) - Color of the upward arrow plotted beneath the candle Low on confirmed Buy signals (color).
- SellColor (Default: clrRed) - Color of the downward arrow plotted above the candle High on confirmed Sell signals (color).
- ArrowSize (Default: 2) - Visual width scale of the Buy and Sell signal arrows on the chart (unit: scale 1 to 5).
- ArrowOffset (Default: 30) - Vertical spacing between the candle High or Low and the plotted arrow anchor point (unit: points).
- ShowSignal (Default: true) - Master visibility toggle for plotting signal arrows and target levels on the chart (boolean).
Section 4: Alerts and Notifications
- InpSection4 (Default: "=== ALERTS & NOTIFICATIONS ===") - Visual section divider header in the Inputs dialog (string label).
- EnableAlert (Default: true) - Enables or disables the MetaTrader terminal pop-up alert dialog upon signal confirmation (boolean).
- EnableSound (Default: true) - Enables or disables WAV sound playback upon signal confirmation (boolean).
- AlertSoundBuy (Default: "alert.wav") - Filename of the audio alert located in the terminal Sounds directory for Buy signals (string).
- AlertSoundSell (Default: "alert.wav") - Filename of the audio alert located in the terminal Sounds directory for Sell signals (string).
- EnablePush (Default: false) - Enables or disables push notifications sent to the MetaTrader mobile app via MetaQuotes ID (boolean).
- EnableEmail (Default: false) - Enables or disables email notifications sent via the terminal SMTP configuration (boolean).
- AlertOnlyNewBar (Default: true) - Restricts alert dispatch to once per newly closed candle to prevent repeated notifications (boolean).
Section 5: Filter 1 - RSI Cross Filter
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_RSI_Cross_Filter (Default: false) - Enables or disables the RSI threshold crossover confirmation filter (boolean).
- RSI_Length (Default: 14) - Lookback period in bars for calculating the Relative Strength Index (unit: bars).
- RSI_Price_Source (Default: PRICE_CLOSE) - Applied candle price series used in the RSI calculation (enumeration).
- RSI_Oversold (Default: 30.0) - Lower RSI threshold level that the oscillator must cross upward to confirm Buy signals (unit: oscillator level).
- RSI_Overbought (Default: 70.0) - Upper RSI threshold level that the oscillator must cross downward to confirm Sell signals (unit: oscillator level).
Section 6: Filter 2 - ADX Filter
- InpFilter2 (Default: "=== 2. ADX FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_ADX_Filter (Default: false) - Enables or disables the Average Directional Index trend-strength filter (boolean).
- ADX_Period (Default: 10) - Lookback period in bars for computing the ADX indicator (unit: bars).
- ADX_Min_Level (Default: 20.0) - Minimum ADX main-line value required to allow Buy or Sell signal confirmation (unit: index level).
Section 7: Filter 3 - Single MA Filter
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_MA_Filter (Default: false) - Enables or disables the single Moving Average directional trend filter (boolean).
- MA_Period (Default: 50) - Averaging period in bars for the trend Moving Average (unit: bars).
- MA_Method (Default: MODE_SMA) - Smoothing method used for the single Moving Average filter (enumeration).
- MA_Shift (Default: 0) - Horizontal bar offset applied to the Moving Average calculation (unit: bars).
Section 8: Filter 4 - Ichimoku Senkou Span B Filter
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_Ichimoku_Filter (Default: false) - Enables or disables price filtering relative to the Ichimoku Senkou Span B line (boolean).
- Ichimoku_Tenkan (Default: 9) - Tenkan-sen (Conversion Line) calculation period in bars (unit: bars).
- Ichimoku_Kijun (Default: 26) - Kijun-sen (Base Line) calculation period in bars (unit: bars).
- Ichimoku_SenkouB (Default: 52) - Senkou Span B (Leading Span B) calculation period in bars (unit: bars).
Section 9: Filter 5 - RSI 75 Filter
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_RSI75_Filter (Default: false) - Enables or disables the long-period RSI macro-bias filter around the 50.0 midpoint (boolean).
- RSI_Filter_Period (Default: 75) - Lookback period in bars for the macro-trend RSI filter (unit: bars).
Section 10: Filter 6 - Double MA Filter
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_DoubleMA_Filter (Default: false) - Enables or disables the dual Moving Average directional alignment filter (boolean).
- MA_A_Period (Default: 30) - Averaging period in bars for the faster Moving Average A (unit: bars).
- MA_A_Method (Default: MODE_EMA) - Smoothing method for Moving Average A (enumeration).
- MA_A_Applied (Default: PRICE_CLOSE) - Applied candle price for Moving Average A (enumeration).
- MA_A_Shift (Default: 0) - Horizontal bar shift for Moving Average A (unit: bars).
- MA_B_Period (Default: 140) - Averaging period in bars for the slower baseline Moving Average B (unit: bars).
- MA_B_Method (Default: MODE_EMA) - Smoothing method for Moving Average B (enumeration).
- MA_B_Applied (Default: PRICE_CLOSE) - Applied candle price for Moving Average B (enumeration).
- MA_B_Shift (Default: 0) - Horizontal bar shift for Moving Average B (unit: bars).
Section 11: Filter 7 - Awesome Oscillator Filter
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_AO_Filter (Default: false) - Master toggle enabling the Awesome Oscillator momentum filter module (boolean).
- Use_AO_Volume_Filter (Default: false) - Enables minimum/maximum AO amplitude threshold checking (boolean).
- AO_Buy_Min (Default: 4.0) - Minimum positive AO value required for Buy confirmation when amplitude filtering is active (unit: oscillator value).
- AO_Sell_Max (Default: -4.0) - Maximum negative AO value required for Sell confirmation when amplitude filtering is active (unit: oscillator value).
- Use_AO_Color_Filter (Default: false) - Requires bar-over-bar AO histogram slope to rise for Buy or fall for Sell (boolean).
- Use_AO_Zero_Filter (Default: false) - Requires AO value to be above 0.0 with rising slope for Buy, or below 0.0 with falling slope for Sell (boolean).
Section 12: Filter 8 - Parabolic SAR Filter
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_SAR_Filter (Default: false) - Enables or disables price alignment validation against the Parabolic SAR indicator (boolean).
- SAR_Step (Default: 0.02) - Acceleration factor step increment for Parabolic SAR calculation (unit: coefficient).
- SAR_Maximum (Default: 0.2) - Maximum acceleration factor ceiling for Parabolic SAR calculation (unit: coefficient).
Section 13: Filter 9 - Heiken Ashi Filter
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_HeikenAshi_Filter (Default: false) - Enables or disables internal Heiken Ashi candle body polarity confirmation (boolean).
Section 14: Filter 10 - CCI Trend Filter
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_CCI_Filter (Default: false) - Enables or disables the Commodity Channel Index zero-line trend bias filter (boolean).
- CCI_Period (Default: 50) - Lookback period in bars for the CCI trend calculation (unit: bars).
- CCI_Applied (Default: PRICE_CLOSE) - Applied candle price used for the CCI trend calculation (enumeration).
Section 15: Filter 11 - CCI OB and OS Filter
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_CCI_OBOS_Filter (Default: false) - Enables or disables the short-period CCI momentum threshold breakout filter (boolean).
- CCI_OBOS_Period (Default: 14) - Lookback period in bars for the CCI overbought/oversold filter (unit: bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE) - Applied candle price used for the CCI OB/OS calculation (enumeration).
- CCI_Overbought (Default: 100.0) - Upper CCI threshold level required for bullish momentum validation (unit: index level).
- CCI_Oversold (Default: -100.0) - Lower CCI threshold level required for bearish momentum validation (unit: index level).
Section 16: Filter 12 - RVI Filters
- InpFilter12 (Default: "=== 12. RVI FILTERS ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_RVI_Filter (Default: false) - Enables or disables the Relative Vigor Index zero-line bias filter (boolean).
- RVI_Period (Default: 75) - Lookback period in bars for the RVI zero-line bias calculation (unit: bars).
- Use_RVI_Signal_Filter (Default: false) - Enables or disables the RVI main-line versus signal-line directional alignment filter (boolean).
- RVI_Signal_Period (Default: 20) - Lookback period in bars for the RVI main/signal line crossover comparison (unit: bars).
Section 17: Filter 13 - MACD Filters
- InpFilter13 (Default: "=== 13. MACD FILTERS ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_MACD_Filter (Default: false) - Enables or disables the MACD histogram polarity filter (boolean).
- MACD_FastEMA (Default: 12) - Fast Exponential Moving Average period in bars for MACD calculation (unit: bars).
- MACD_SlowEMA (Default: 26) - Slow Exponential Moving Average period in bars for MACD calculation (unit: bars).
- MACD_SignalSMA (Default: 9) - Signal line Simple Moving Average period in bars for MACD calculation (unit: bars).
- MACD_Applied (Default: PRICE_CLOSE) - Applied candle price used in the MACD calculation (enumeration).
- Use_MACD_Zero_Filter (Default: false) - Requires the MACD main line to be above 0.0 for Buy signals or below 0.0 for Sell signals (boolean).
Section 18: Filter 14 - SR and Fibonacci Filters
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_SR_Filter (Default: false) - Enables or disables the historical swing Support and Resistance proximity filter (boolean).
- SR_Period (Default: 50) - Number of prior closed bars scanned to determine recent Support and Resistance boundaries (unit: bars).
- SR_Zone_Points (Default: 80) - Price tolerance band around Support and Resistance levels for touch validation (unit: points).
- Use_Fib_Filter (Default: false) - Enables or disables the ZigZag-anchored Fibonacci retracement zone filter (boolean).
- Fib_Level_1 (Default: 0.382) - First Fibonacci retracement ratio boundary defining the active validation zone (unit: ratio).
- Fib_Level_2 (Default: 0.618) - Second Fibonacci retracement ratio boundary defining the active validation zone (unit: ratio).
- ZigZag_Depth (Default: 12) - Minimum bar depth required to detect swing highs and lows for Fibonacci anchoring (unit: bars).
- ZigZag_Deviation (Default: 5) - Minimum price deviation required to validate a new ZigZag swing point (unit: points).
- ZigZag_Backstep (Default: 3) - Minimum number of bars separating consecutive swing highs or swing lows (unit: bars).
Section 19: Filter 15 - Supertrend Filter
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ===") - Visual filter section divider in the Inputs dialog (string label).
- Use_Supertrend_Filter (Default: false) - Enables or disables the ATR-based Supertrend directional regime filter (boolean).
- ST_AtrPeriod (Default: 10) - Lookback period in bars for the Wilder ATR calculation inside the Supertrend module (unit: bars).
- ST_Factor (Default: 3.0) - Volatility multiplier applied to the ATR to compute the Supertrend trailing bands (unit: multiplier).
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments carries a high level of risk and may not be suitable for all investors. Past performance and historical signal behavior do not guarantee future results. This indicator is an analytical and operational software tool designed solely to assist traders in technical chart analysis and does not constitute financial advice or a guarantee of trading profit. Always test this product thoroughly on a demo account to understand its operational behavior and parameter interactions before considering deployment in live trading environments.
