Awesome Oscillator (Bill Williams)

Modified on 2009/10/18 12:39 by Eugene — Categorized as: Community Indicators


public AwesomeOscillator(Bars bars, int period1, int period2, string description)
public static AwesomeOscillator Series(Bars bars, int period1, int period2)

Parameter Description

bars A Bars object
period1 First moving average period
period2 Second moving average period


"Awesome" Oscillator by Bill Williams is a MACD-like indicator that measures market momentum of the median price of the last 5 bars, compared to the momentum of the last 34 bars.



The following example will plots Awesome Oscillator:

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using Community.Indicators;

namespace WealthLab.Strategies { public class AODemo : WealthScript { protected override void Execute() { AwesomeOscillator ao = AwesomeOscillator.Series(Bars, 5, 34); HideVolume(); ChartPane pAO = CreatePane( 30, false, false ); PlotSeries( pAO, ao, Color.Blue, LineStyle.Histogram, 2 ); } } }