Hello everybody,

good to see such an active Amibroker group users here! I was looking 
to create a fonction for adding the TWS executed trades to a chart, 
till I found there already exists code about it at:
http://www.amibroker.com/library/detail.php?id=457

but when I tried to run it, it gave me the same error as mentionned 
there:

for( b = Firstvisiblebar; b < Lastvisiblebar; b++)
{
TDN = VarGet("TradeDate"+TradeNum);
if( TDN == DN[b] )

Error 10.
Subscript out of range
You must not access array elements outside 0 .. (BarCount-1) range

do you experience the same? How could this be solved, any advice? I 
would appreciate a lot all feedback...

have a wonderfull weekend.









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

 
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:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to