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

Re: [amibroker] Subscript Operator question



PureBytes Links

Trading Reference Links

charts tend to adjust to just what is on the screen to make the
drawing of them quicker. I think if you specify
SetbarsRequired(10000,10000);
it should override this behaviour for that chart.
or else use this instead

title = valuewhen(barindex()==0,C);


On Sun, 30 Jan 2005 17:52:35 -0000, seneca_kw <seneca_kw@xxxxxxxxx> wrote:
> 
> 
> I've finally started to tackle flow control and looping.  For a non-
> programmer, it's brutal.  I'm trying to inch forward one tiny step at
> a time.  My first little project is to understand subscript
> operators.
> 
> In the User's Guide, Tomasz gives this example:
> 
> WriteVal(Close[0]); // prints the first bar of close array
> 
> Simple enough.  I decided to quickly verify by this by displaying the
> value in the IB window:
> 
> Title=WriteVal(Close[0]);
> 
> Sure enough, it displayed the close of the first bar.  But as I
> scrolled to the right in the main window, the value suddenly started
> changing.  Why would it change?  Why doesn't it always display the
> close of the first bar?  I've experimented over and over but can't
> figure out where the changed numbers are coming from or what they
> represent.
> 
> Can someone explain?
> 
> Thanks,
> Wayne
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

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