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

[amibroker] Re: Value of BarCount



PureBytes Links

Trading Reference Links

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

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