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

[amibroker] Re: Problem Updating Data using AmiQuote



PureBytes Links

Trading Reference Links

Daniel,
Try this one

Plot(C,"C",colorBlack,styleCandle);
MomPer=14;
MOM=100*Close/MA(Close,2*MomPer);
pushing=MOM>Ref(MOM,-1);
Plot(mom,"m",pushing*32+11,2+styleOwnScale);

--- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" <d.adam@xxxx> wrote:
> Dimitris,
> 
> what i´d like to have is a momentum histogram.
> If monday the momentum was strong= a green bar
> Suppose on tuesday the momentum (bar( decreases below the monday 
bar=
> a red bar.
> 
> Sorry and thxs a lot.
> Daniel
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" 
> <TSOKAKIS@xxxx> wrote:
> > You need a 
> > momentum=...
> > pushing=...
> > 
> > momentum  should define your "momentum" array
> > pushing  should define your "pushing" condition
> > Is the 100*(Close/MA(Close,(2*MomPer)+1)-1); your "momentum" ?
> > If positive, then the first line should be
> > momentum=100*(Close/MA(Close,(2*MomPer)+1)-1);
> > What about your pushing condition ? 
> > [I have no idea what you want to use...]
> > Dimitris Tsokakis
> > --- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" <d.adam@xxxx> 
> wrote:
> > > Dimitris, thank you.
> > > I ´m trying with this momentum formula:
> > > 
> > > Plot(C,"C",colorBlack,styleCandle);
> > > MomPer=14;
> > > Graph0=100*(Close/MA(Close,(2*MomPer)+1)-1);
> > > Graph1=0;
> > > 
> > > I cannot get it.
> > > Could you write the entire AFL formula
> > > 
> > > A lot of thxs.   Daniel
> > >  
> > > 
> > > 
> > > --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" 
> > > <TSOKAKIS@xxxx> wrote:
> > > > momentum=your definition here;
> > > > pushing=your condition here;
> > > > Plot(momentum,"m",pushing*colorgreen+NOT(pushing)*colorred,2);
> > > > Dimitris Tsokakis
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" 
<d.adam@xxxx> 
> > > wrote:
> > > > > I´d like to use a momentum histogram with colored bars:
> > > > > green bars = momentum is pushing
> > > > > red bars = momentum has dipped.
> > > > > 
> > > > > Help will be appreciated.  Daniel



------------------------ 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/