SC MTF Awesome Oscillator for MT4 with alert
- Indicators
- Krisztian Kenedi
- Version: 5.15
- Updated: 19 February 2026
Freelance programming services, updates, and other TrueTL products are available on my MQL5 profile.
Feedback and reviews are highly appreciated!
What is AO?
The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator that measures market momentum by calculating the difference between a 34-period and 5-period Simple Moving Average (SMA) of the median price (High + Low)/2. This indicator helps identify the general market direction and potential reversal points.
AO oscillates around a zero line. Positive values indicate bullish momentum (the faster SMA is above the slower SMA), while negative values indicate bearish momentum. The histogram representation makes it easy to visualize momentum changes: when the histogram is above zero and rising, bullish momentum is increasing; when below zero and falling, bearish momentum is increasing. Traders often use AO to identify divergences, zero-line crosses, and "twin peaks" or "saucer" patterns as trading signals.
Features:
- Visual signal markers with arrows and vertical lines
- Three independent signal buffers with configurable triggers
- Signal detection options: direction change, level cross, peak/valley
- Configurable alert functions for each signal (email, push, sound, popup)
- Multi-timeframe (MTF) capability with interpolation methods
- Histogram or line drawing mode
- Multiple color modes (simple, direction-based, level-based)
- Custom indicator call (iCustom) buffer access for Expert Advisor (EA) integration
Input Parameters:
- Basic Settings:
- AO bar shift: Offset the line drawing by specified number of bars.
- AO timeframe: Choose timeframe for MTF display.
- MTF Interpolation mode: Select smoothing method (Off, Linear, Smooth, Weighted, Simple Moving Average).
- Note: AO uses fixed periods (Fast: 5, Slow: 34) as defined by Bill Williams.
- Levels Settings:
- Show level: Toggle level line visibility.
- Adjust level value: Set custom level position (default: 0, the zero line).
- Level appearance: Customize color, style, and width.
- Signal Settings:
- Signal 1/2/3 trigger: Configure detection type (direction change, level cross, peak/valley).
- Visual markers: Enable arrows and vertical lines with customizable size, style, and position.
- Arrow customization: Set Wingdings codes and colors for up/down signals.
- Alert Settings:
- Alert timing: Choose when alerts trigger (Off, After close, Before close, Both).
- Alert interval limit: Set minimum minutes between repeated alerts.
- Time range filter: Restrict alerts to specific hours.
- Delivery methods: Enable email, push, popup, and sound notifications.
- Color and Style Settings:
- Color mode: Select from multiple modes (simple, direction-based, level-based).
- Histogram mode: Switch between line and histogram display.
- Line appearance: Customize colors (4 per line), style, and width.
