- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
The Buff averages, as described by Buff Dormeier in his article "Buff Up Your Moving Averages" in this issue, can easily be recreated in MetaStock 6.52 or higher. To recreate the indicator in MetaStock, select Indicator Builder from the Tools menu, click New, and enter the following code: |
|
Buff Averages X:=Input("Time Periods",1,500,25); Sum(V*C, X) / (Cum(V) - Ref( Cum(V), -X)) |
To plot it, locate Buff Averages in MetaStock's Indicator Quicklist.
--Cheryl C. Abram, Equis International, Inc.
Source / From:--Cheryl C. Abram, Equis International, Inc.
http://www.traders.com