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

[amibroker] Re: Displaced Moving Average



PureBytes Links

Trading Reference Links

Plot(C,"",colorBlack,styleBar);
period=Param("period",10,1,21);
disp=Param("displacement",10,0,20);
m=MA(C,period);
Plot(IIf(Cum(1)<1+LastValue(Cum(1))-disp,Ref
(m,disp),Null),"",colorOrange,styleLine);

/JS


--- In amibroker@xxxxxxxxxxxxxxx, "klal25" <lal@xxxx> wrote:
> Has anyone developed a formula for Displaced Moving Average?  Had 
a 
> look at the archives but found no reference to it.  Grateful for 
any 
> help/pointers.
> 
> Thanks,
> Lal


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/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/