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

[amibroker] Help using ARRAYS



PureBytes Links

Trading Reference Links


Im trying to learn arrays. Its been some years so I am trying re 
aquant myself with syntax and rules.
Below function ceases to work when i = 108. I designed a parameter to 
move through 0 - 400 and draw a line at the close[ith] value
eg. close [5] = 6th value in array  of close.
Why does is clap out at 108 ??

regards,
maurice



/* function created tries to work with  arrays returning the close of 
ith value in close */

input = Param( "BAR Number", 1, 0, 400,1);


function detcond( input) 

{
result = Close[input];
return result;
} 

Graph0 = detcond(input);





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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/