| 
 PureBytes Links 
Trading Reference Links 
 | 
disp=Param("displacement",0,-20,20);
allows displacement both forward and backward.
/JS
--- In amibroker@xxxxxxxxxxxxxxx, "johanskatt" <johanskatt@xxxx> 
wrote:
> 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 ---------------------~-->
Buy Toner for Your Printer or Fax at LaserTonerSuperstore.com-Save 55%!
We have your brand: HP, IBM, Canon, Xerox, Apple and many more for less!
http://www.LaserTonerSuperstore.com
http://us.click.yahoo.com/YmQqWC/qicGAA/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/ 
 |