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

Re: [amibroker] accumulation/distribution moving average



PureBytes Links

Trading Reference Links

On Wednesday 29 of October 2003 21:33, jmbruegge wrote:
> Can anyone assist on showing how to add the 20 and 35 day moving
> average to the accumulation/distribution chart ?? Here is the current
> formula :
> ------
> //--Indicator-End-- -- do not remove this line
> Plot( AccDist(), "Accumulation/Distribution", -8 );
>
> "(Interpretation is not available yet)";

Add below lines ABOVE //--Indicator-End ... comment line

Plot (MA(AccDist(), 20, "MA(A/D)", colorRed, solidLine);
Plot (MA(AccDist(), 35, "MA(A/D)", colorGreen, solidLine);

OR

As New Indicator:

Plot( AccDist(), "Accumulation/Distribution", colorBlue, solidLine);
Plot (MA(AccDist(), 20, "MA(A/D)", colorRed, solidLine);
Plot (MA(AccDist(), 35, "MA(A/D)", colorGreen, solidLine);

I wrote this without checking, but I believe it is ok

Check in Help what is written about //--Indicator-End
-- 
Marek Chlopek
mchlopek@xxxxxxx

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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/