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

[amibroker] Displaying forward displaced MA



PureBytes Links

Trading Reference Links

Hi all,

I've searched the message archive (YAHOO's search engine isn't much 
help), and the discussion boards at the AB site, but I haven't found 
the answer to this. I wonder if it's even possible.

Does AB allow one to display a forward displaced MA beyond (i.e., to 
the right of) the last price bar on the chart? I would really like to 
see where a displaced MA will be tomorrow, or three days from now, or 
next week, etc. Here's the code I'm using:


MA1 = Param ("MA1 length", 3, 2, 99, 1);
D1 = Param ("MA1 displacement", -3, -9, 9, 1);
MA2 = Param ("MA2 length", 7, 4, 199, 1);
D2 = Param ("MA2 displacement", -5, -9, 9, 1);
MA3 = Param ("MA3 length", 25, 8, 299, 1);
D3 = Param ("MA3 displacement", -5, -9, 9, 1);
Plot (Ref (MA (C, MA1), D1), "DMA1", 42);
Plot (Ref (MA (C, MA2), D2), "DMA2", 25);
Plot (Ref (MA (C, MA3), D3), "DMA3", 32);



Anyone out there care to point me toward the AFL function I missed? I 
hope this can be coded; if not now, perhaps in a future version.

Thanks,

DC




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/