Use rsia()
----- Original Message -----
From: Infinity Home Loans
To: [email protected]
Sent: August 15, 2010 2:13 AM
Subject: Re: [amibroker] Pair Trading issues [1 Attachment]
[Attachment(s) from Infinity Home Loans included below]
Attachment
--- On Sun, 15/8/10, infynhome <[email protected]> wrote:
From: infynhome <[email protected]>
Subject: [amibroker] Pair Trading issues
To: [email protected]
Date: Sunday, 15 August, 2010, 11:40 AM
I am using the following formula to plot a spread line chart of two
securities:
spread = Close / Foreign( "MSFT", "Close");
Plot( spread, "spread", colorBlack )
However, when I plot RSI in the lower pane... the indicator fails to
respond to the spread movement. RSI is a sensitive indicator and generally
moves up or down with price. But this doesnt seem to be happening and many a
times while spread is moving up, RSI tends to move lower and vice versa.
I have attached a chart and pointed a few discrepancies.
Please suggest what needs to be done. I intend to use indicators
apart from RSI for a spread between 2 different securities / index.
Infinity
Attachment(s) from Infinity Home Loans
1 of 1 File(s)
pair rsi.png