Traders' Tips from TASC Magazine

Buff Up Your Moving Averages

The Buff Averages, as described by Buff Dormeier, in his article Buff Up Your Moving Averages, can easily be created in MetaStock 6.52 or higher.

To create the indicator select Indicator Builder from the Tools menu, click New and enter the following code:

Name: Buff Averages
Formula:
     X := Input( "Time Periods",1, 500, 25 );
     Sum( V * C, X ) / Sum( V, X )

To plot it locate Buff Averages in MetaStock's Indicator Quicklist.


Contents