Buff Averages

v10.3
Buff Averages

The indicator “Buff Averages” plots two moving averages based on the candlestick price and volume.

For each bar, the indicator calculates the sum of the volume over a number of bars specified in the ‘fastAVG’ and ‘slowAVG’ parameters, and then it sums the following formula: price multiplied by volume and then divided by the previously calculated sum of volume.

Original idea and code : “BUff Up Your Moving Averages”, Buff Dormeier, S&C Magazine, Traders Tips, 02/2001

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Thomas007 • 08/28/2017 #

    Is there any way to build something similar for FX? I wonder what would be the replacement for volume…

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas
9 years ago
Up on Big Volume
Up on Big Volume
0
Screeners
Nicolas
9 years ago
Nicolas
9 years ago
Denis Bonjour Nicolas, j'ai une question à propos de ce code, il faut que je la pose en anglais ca...
Nicolas En français pas de problème
Lotech123 This Indicator is very useful if the Risk number is altered to suit the time frame, volume o...
Bern error displaying, code must end with RETURN. Any idea hot to fix it?
j102491 how are you applying it to asc trend
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...
Nicolas
10 years ago
Nicolas Just replace the last line with this : RETURN dm as "Volume Weighted MACD", masignal as "Si...
thomas2004ch I happen to read this article. I would say the formel 'd = maslow - mafast' could be inverse...
Nicolas You are right! but still the picture is looking good. The formula is inverted! dunno why :) ...

Top