Hello Wayne, the status
gives you only a 1 at those bars. Therefore your NumBars gives you 1-1+1 which
is 1 you need
to implement the valuewhen function. Beginx =
valuewhen(begin,barindex()); Begin=Status("firstvisiblebarindex"); End=Status("lastvisiblebarindex"); NumBars=LastValue(Begin-End+1); From: Hi, 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 other support material please check also: http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- [amibroker] Need Help With FirstVisibleBarIndex wlandry01
- RE: [amibroker] Need Help With FirstVisibleBarIndex Thomas Z.
- Re: [amibroker] Need Help With FirstVisibleBarIndex wavemechanic