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

[amibroker] Re: Relative Strength Question



PureBytes Links

Trading Reference Links

Joe,

The relative strength (as used in FT) IS defined as the ratio of one
price to the other. I just proved that to myself by plotting and
calculating the gain, in Amibroker, of the ratio:

Foreign("RUT-I", "Close") / Foreign("SP-CP", "Close")

and then verifying that the gain is the same for the rel str plotted
in FT.

Bill


--- In amibroker@xxxxxxxxxxxxxxx, "Joseph Landry" <jelandry@xxxx>
wrote:
> I see the native RelativeStrength("NYSE") function in AB that is 
> based on the ticker being displayed over the one specified in the 
> function, however I would like to be more general and 
> calculate the relative strength of two foreign issues, say NASDAQ 
> and NYSE; and use that ratio to base a BUY SELL strategy.
> 
> Simply ratio-ing the two price array does not seem to be the
correct 
> way to calculate relative strength.  
> 
> Can someone provide the formula for how RS is calculated. 
> 
> Say
> CloseNYSE = Foreign("NYSE","C");
> CloseCOMPQX = Foreign("COMPQX","C");
> 
> Relstr =  is ???  
> 
> Thanks in advance
> Joe



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/