Volume weighted MACD

Category: Indicators By: Nicolas Created: October 11, 2015, 7:26 PM
October 11, 2015, 7:26 PM
Indicators
4 Comments

Here is the classical MACD indicator weighted by the Volume. Much more accurated for stock trading.

 

fast=12
slow=26
signal=9
mafast = exponentialaverage[fast](volume*close) / exponentialaverage[fast](volume)
maslow = exponentialaverage[slow](volume*close) / exponentialaverage[slow](volume)
d = mafast - maslow
masignal = exponentialaverage[signal](d)
dm = d-masignal

RETURN dm as "Volume Weighted MACD"

 

Download
Filename: Volume-Weighted-MACD.itf
Downloads: 260
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...