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

Re: [amibroker] Thanks Dimitris & Peter Need more help with Price Indicators



PureBytes Links

Trading Reference Links

May a suggest looking at a 3-period displaced MA of the close on a 
trending stock. It's interesting how well that works on trending 
stocks for helping with getting into and out of turns.

Gordon
--- In amibroker@xxxxxxxxxxxxxxx, "marcinggg" <marcin@xxxx> wrote:
> Hello,
> 
> You can use Ref() function. More:
>  http://www.amibroker.com/guide/afl/afl_view.php?id=122
> 
> 
> as for your needs, it would be: 
> 
> //simple 24-period MA
> Plot(MA(C,24),"ma1",colorRed );
> 
> //displaced 24 periods MA
> Plot(Ref(MA(C,24),-24) ,"displaced",colorBlue );
> 
> 
> best regards
> 
> Marcin Gorzynski
> amibroker.com
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "m_o_t_o2003" <m_o_t_o2003@xxxx> 
> wrote:
> > Hello all
> > 
> > Is it possible to displace a moving average in Amibroker? For 
> > example, if I wanted to have two 24 period ma, but I wanted the 
> > second to start 24 bars after the first. Does anyone have any 
> clues?
> > 
> > Thanks in advance.
> > 
> > Matt



------------------------ 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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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