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

Re: [amibroker] Re: Value of BarCount



PureBytes Links

Trading Reference Links

Hello,

Answer: QuickAFL, interpretation will usually use just small
portion of available bars (smaller than chart, as it is only
interested in seeing bars "upto" mouse point, not further).
Please read this:
http://www.amibroker.com/kb/2008/07/03/quickafl/

BarCount is NOT the total number of quotes or bars available,
but number of elements in array in CURRENT EXECUTION,
that may (and will) vary all the time.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "mmike8090" <mmike8090@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 30, 2008 9:47 AM
Subject: [amibroker] Re: Value of BarCount


Hi,

allow me one more try to get an answere. Hope my English is not too bad.

I want to show in the interpretation window how many bars the current
stock that is shown in the chart has.

Therefore I add "writeval(barcount);" to the charts formula.
But instead of a constant number I get variable results.

I can´t explain this results. So I appreciate your help. Why are there
different results in barcount?????

Thaks a lot!
Best regards
mmike


e.g.:
My MRK Ticker has 9,720.OOO Bars. If I Click on the Chart for example
on 1.1.2003 then I get 66.000 as result of barcount. If I click
1.1.1970 I get 35.000.

If I add "WriteVal( BeginValue( DateTime() ), formatDateTime );" to the
formula then I get the right 9,720.000 bars independent where in the
chart I click.






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

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




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

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/