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

Re: [amibroker] Help using ARRAYS



PureBytes Links

Trading Reference Links

Maurice,

It would seem that you donšt have more than 108 bars. You can always test
for barcount(). I don't know for sure, but this *may* have something to do
with visible bars.

input = min(Param( "BAR Number", 1, 0, 400,1) , barcount());
-- 
Terry


From: das300@xxxxxxxxxx
Reply-To: amibroker@xxxxxxxxxxxxxxx
Date: Tue, 26 Oct 2004 13:33:58 -0000
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help using ARRAYS


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);





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

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Yahoo! Groups Sponsor
 
 ADVERTISEMENT
 <http://us.ard.yahoo.com/SIG=129hjdu1f/M=315388.5526708.6599542.3001176/D=g
roups/S=1705632198:HM/EXP=1098884043/A=2372354/R=0/SIG=12id813k2/*https://ww
w.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21004SS>


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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
*  
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/