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

[amibroker] Calculating Pivot Points



PureBytes Links

Trading Reference Links

I need a little clarification on how to derive a single value for the
monthly H, L and C for the previous month. When I use the following
AFL code, I presume that the mh variable is actually an array of daily
H's for the entire month. Is this right?

mh = TimeFrameGetPrice("H", inMonthly, -1);

What I'm looking for is a single value (in this case, the High) for
the entire month without having to use an index into an array.

I'm sure this is quite simple, but I'm not sure I'm getting it right.
Do I need to use the TimeFrameCompress function? Any help would
certainly be appreciated.

Thanks




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/