PureBytes Links
Trading Reference Links
|
I do a lot of work with alternative timeframes like volume and range.
In the latest Betas (5.03), some AFL statements now get errors that
indicate AB is shifting away from using large negative numbers to
indicate the range or volume bar modes. For instance we must now use
TimeFrameMode(0 to 3) before a TimeFrameSet() operation function.
The AFL documentation seems to be in a state of flux with half the
changes made to reflect this new reality.
The AFL operators also seem to be in this half way state with some
working the old way and some not.
Interval() still returns the old large negative values for the range
and volume modes. I am using this to determine which mode the chart
is in (from the UI) which I need to know for selecting some charting
parameters. I then have to convert the Interval() number into the
two new format numbers. I am concerned that this will also change
and I want to make a clean break now before my charts break on a
future version.
I am in favor of this change over.
However, I have not figured out where I can read the new format
numbers directly. In other words, I want to be able to read the
current TimeFrameMode and TimeFrameSet numbers that are in effect in
the new format. Of course I know what they are if I set them in the
AFL, but I don't know the initial ones that the AFL starts up with
that are set from the UI.
Seems like something I would get from Status() or even returned
from: mode = TimeFrameMode() //--no param.
perhaps a reserved variable somewhere?
Or am I just not seeing the obvious answer?
I would send this directly to support, but I think the answer would
be of general interest.
Best regards,
Dennis
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/
|