Would anyone know how to plot the formula for the spread between two companies using RSI within Amibroker?
Below is how I've attempted the formula.
I'm attempting to compare the RSI of the Dow vs other stocks.
The R2 line of the formula below appears incorrect.
_SECTION_BEGIN("RSISpread");
R1 = RSI(14); // company RSI
R2 = Foreign( "DJ", "R1 "); // Foreign stock RSI
R3 = R1 - R2;
_SECTION_END();
Below is how I've attempted the formula.
I'm attempting to compare the RSI of the Dow vs other stocks.
The R2 line of the formula below appears incorrect.
_SECTION_BEGIN("RSISpread");
R1 = RSI(14); // company RSI
R2 = Foreign( "DJ", "R1 "); // Foreign stock RSI
R3 = R1 - R2;
_SECTION_END();