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

[amibroker] RelStrength



PureBytes Links

Trading Reference Links

I am trying to compare the current symbol's RelStrength to other 
symbols. I have written the code below. The problem I have is that 
the second RelStrength call is getting the RelStrength of the 
current symbol and not sym2. I have verified that sym2 does exist.

Am I doing something wrong? Is there a way to do this?

Thanks,
Cey

list = CategoryGetSymbols( categoryWatchlist , 4);
rsx = RelStrength("SP-500");

    for( j = 0; ( sym2 = StrExtract( list, j ) ) != ""; j++ ) 
    { 
       SetForeign(sym2); 

       rsxT = RelStrength("SP-500");
       _TRACE(sym2 + ":" + rsxT);

       RestorePriceArrays();
    } 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
GFT Forex Trading Accounts As low as $250 with up to 400:1 Leverage. Free Demo.
http://us.click.yahoo.com/lpv1TA/jlQNAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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