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

[amibroker] AFL quickie



PureBytes Links

Trading Reference Links

Hey,

I've got a question for all you hard core AFLers out there - how to 
code the following:

a = HHV(from today to x) - LLV(from today to x)

x = Most recent date going backwards in time from today when CCI(30) 
changed from below zero to above zero
(eg: Date today = 18th Sept 08 ; CCI = 40
CCI changed from -40 to +5 on 10th Sept 08 and has been above 0 since 
10th Sept 08, so x = 10th Sept 08)


Result = a / (Number of days from date today to date of x)


Thanks!
Alex





------------------------------------

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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