PureBytes Links
Trading Reference Links
|
You could try this
numTimes = sum( v>3500, 30 );
-
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 20/08/06, tipequity <l3456@xxxxxxxxxx> wrote:
> How can count the occurance of an event over the last x number of bars
> (including todays bar)? for example count the occurance of volume
> being higher that 3500 over 30 bars (including todays volume).
>
> thanks
>
> Cam
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
-
|