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

[amibroker] It should work, right? ....Varget



PureBytes Links

Trading Reference Links

This seems straght forward too me but it doesn't work.  I am trying 
to retrieve the highest and lowest values in a watchlist for further 
calculations.  There are no errors in the AFL but it doesn't do 
anything either.  Can Varget() be nested to return the array values I 
want?


list = GetCategorySymbols( categoryWatchlist, 18); my atc WL


for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ ) 
{
SetForeign(sym);
VarSet("MyInd"+i,Open);// Info is stored in the open field

}
Highiwroc=HHV(VarGet("MyInd"),1);// I want the highest value in WL
Lowiwroc=LLV(VarGet("MyInd"),1);// I want the lowest value in WL
RestorePriceArrays();// To get out the influence of the set foreign


If anyone has an opinion I would be grateful>

Jim Wiehe




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