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

[amibroker] Re: rate of change/acceleration



PureBytes Links

Trading Reference Links

The Velocity of Close should be
Vc=dC/dt
and the acceleration
g=dVc/dt
The minimum dt for daily data is 1 bar, ie
Vc=dC
g=dVc
In AFL
Vc=C-Ref(C,-1);
g=Vc-Ref(Vc,-1);
Plot(g,"g",1,1);

Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "sidleysh" <steves@xxxx> wrote:
> I am trying to find a way to find out whether, and how much, a 
chart 
> has accelerted over the previous period. This is not ROC, but more 
> true 'rate of change' in a differential calculus sense. 
> 
> IN other words - if diff between close today snd  close yesterday > 
> close yesterday and the day before, then the close prices are 
> ACCELERATING up over the last 3 days.
> 
> Can anyone think up a general way to code this?


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

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