PureBytes Links
Trading Reference Links
|
Thanks all for responses to my previous AFL coding query. I got to the
bottom of it in the end.
Just to keep you on your toes, I've got another problem!!!
I have a function, with a for...next loop in it.
function Example_Function( array, x)
{
for(i=x;i<BarCount;i++)
{
blah_blah[i] = ......
}
return blah_blah;
}
Now, later in my main code I want to call this function with two
arrays... i.e.
XYZ = HHVBars(High,10);
Temp = Example_Function( High, XYZ);
Now, as XYZ changes, I want to call the function, it iterate through
the loop XYZ times, and return an array (or at least that part of it
that's been altered by the loop calculations).
However, I'm getting an error.. which seems to relate to the fact that
I can't initiate a for...next loop with it's number of iterations
defined by the value of an array.
If I can't, any ideas how I can achieve what I want...???
Many Thanks
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL 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/
|