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

[amibroker] HOW do I writeval a dynamic variable instead of manual type .. ??



PureBytes Links

Trading Reference Links


HI Im playing with DYNAMIC vARIABLES-

How do I dynamically display in viwer rather than write manually 
every variable ??
I tried incorporating Writeval(C+i);  but i get error

ANy HINTS??

// BELOW is my code ===============================

for( i = 1; i < 10; i++ ) 
{ 
VarSet( "C"+i, Ref( C, -i ) ); 
} 


for( i = 1; i < 10; i++ ) 
{ 
Plot( VarGet( "C"+i ), "C"+i, 1+i ); 

}

// writing manually to test 
WriteVal(C1);
WriteVal(C2);
WriteVal(C3);





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