[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Volume-weighted MACD



PureBytes Links

Trading Reference Links

Thanks, Anthony. I appreciate it.

Harold

harold@xxxx

-----Original Message-----
From: Anthony Faragasso [mailto:ajf1111@x...] 
Sent: Friday, September 27, 2002 9:20 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Volume-weighted MACD


/******* These variables can be changed ****/
fast = 14;
slow = 28;

pds=5; // EMA moving average variable
signl=9; // Signal line /********************************************/

wfast = Sum( Close * Volume, fast )/Sum( Volume, fast );
wfast2=EMA(wfast,pds); // EMA of wfast

wslow = Sum( Close * Volume, slow )/Sum( Volume, slow );
wslow2=EMA(wslow,pds); // EMA of wslow

wmacd = wfast2 - wslow2;
wsignal = EMA( wmacd, signl );
Histo= wmacd - wsignal;

Plot(wmacd,"WMACD",4,1);
Plot(wsignal,"SIGNAL",6,1);
Plot(Histo,"HISTO",1,2);


Harold Harper wrote:

> Does anyone have an AFL formula for the Volume-weighted MACD?
>
> Thanks in advance!
>
> Harold Harper
> harold@xxxx
>
>
> Yahoo! Groups Sponsor
ADVERTISEMENT


>
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
> page: http://groups.yahoo.com/group/amiquote/messages/)
>
> Check group FAQ at: 
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/