Pretzel,
This is based on Tim Tillson's article in TSAC. Note the volume multiplier, 'vol_mult', is a percentage of 1; I use .8 and .7. 'Pers' refers to the number of days in your moving average and 'c' is the close. Finally, 'e' in all the notations refers to an exponential moving average. If you can write formulas in your software then you can translate this.
In last month's "Smoothing techniques for more accurate signals," Tim Tillson described two indicators derived from the concept of digital filter analysis. The
generalized DEMA (GD) and its iterated version (T3) can easily be implemented in Window On WallStreet Day Trader and Window On WallStreet Professional
Investor, 32-bit version.
In Window on WallStreet, begin with any open chart on your screen. Click the System Test button on the toolbar, click New and enter the following formula:
Generalized DEMA (or GD)
Name: Generalized DEMA
Description: Tim Tillson's GD from Technical Analysis of Stocks & Commodities, January 1998.
Variables:
Name: vol_mult
Prompt Text: Enter weighting factor between 0 and 1
Default Value: 0.7
Name: pers
Prompt Text: Enter number of periods for moving average
Default Value: 7
Formula(s):
(1+vol_mult)*mov(c,pers,e) - vol_mult*mov( mov(c,pers,e),pers,e)
T3 (or Iterated GD)
Name: T3
Description: Tim Tillson's T3 from Technical Analysis of Stocks & Commodities, January 1998.
Variables:
Name: vol_mult
Prompt Text: Enter weighting factor between 0 and 1
Default Value: 0.7
Name: pers
Prompt Text: Enter number of periods for moving average
Default Value: 7
Formula(2):
(1+vol_mult)*mov((1+vol_mult)*mov((1+vol_mult)*mov(c,pers,e) - vol_mult*mov(mov(c,pers,e),pers,e),pers,e) - vol_mult*mov(
mov((1+vol_mult)*mov(c,pers,e)-vol_mult*mov(mov(c,pers,e),pers,e),pers,e),pers,e),pers,e) - vol_mult*mov(mov((1+vol_mult)*mov((1+vol_mult)*mov(c,pers,e) -
vol_mult*mov(mov(c,pers,e),pers,e),pers,e) - vol_mult*mov(
mov((1+vol_mult)*mov(c,pers,e)-vol_mult*mov(mov(c,pers,e),pers,e),pers,e),pers,e),pers,e),pers,e)
Bruce