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

Re: [amibroker] Help with code



PureBytes Links

Trading Reference Links

yes you just use timeframe functions to get the weekly/monthly
basic bar to bar change
change = (C/ref(c,-1) - 1)*100; //is change in %

On 6/24/05, ct1942 <ct1942@xxxxxxxxxxxxx> wrote:
> Is there a way to scan for how many times a stock had a +/- 5% daily
> change in the last 20 days, a +/- 5% weekly change in the last 20
> weeks and a -/+ 5% monthly change in the last year?
> 
> Any help would be appreciated.
> 
> Regards,
> 
> Cordell
> 
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/