Wealth-Lab Wiki

API ChartStyles Community Components Community Indicators IndexDefinitions Knowledge Base Misc Optimizers Pending Deletion PosSizers Providers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos Visualizers
RSS

Navigation


Quick Search
»
Advanced Search »


Acceleration/Deceleration (Bill Williams)

RSS

Syntax


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

Parameter Description

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

Description

Acceleration/Deceleration by Bill Williams measures acceleration and deceleration of the current market trend.

It's the difference between the value of a 5/34-period Awesome Oscillator and its 5-period smoothed version:

Median price = (High+Low) / 2
Awesome Oscillator = SMA(median price, 5)-SMA(median price, 34)
AD = Awesome Oscillator-SMA(Awesome Oscillator, 5)

Interpretation


Example

The following example will plots Acceleration/Deceleration:


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 ADDemo : WealthScript { protected override void Execute() { AccelerationDeceleration ad = AccelerationDeceleration.Series(Bars,5,34,5); HideVolume(); ChartPane pAD = CreatePane( 30, false, false ); PlotSeries( pAD, ad, Color.Red, LineStyle.Histogram, 2 ); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.


ScrewTurn Wiki. Some of the icons created by FamFamFam.