I am trying to trade a stock based on the RSI of an external spread. Basically, I short if the RSI of the spread is over 70 and go long below 30. All this between 9:32 and 9:37. Then I close the trades when the same RSI trigs on the other side.
The RSI does not seem to trigger well. If I use the RSI of the stock, the EFS works so it seems to have something to do with the definition of the spread RSI. I do the following.
if(studyx == null) studyx = rsi(10, sym("3 * XOM - ( USO + SPY ),50"));
I honestly dont really understand the 50.
I'm trying to use a RSI(10) of the spread on 20 days of minutes data.
An example of a bad trigger is today, july 22 2008. The system short at 9:33 as it should but it does not cover @ 11:07 when the RSI cross below 30. I've also seen some missed triggers for opening trades.
Any idea someone. The file is attached.
The RSI does not seem to trigger well. If I use the RSI of the stock, the EFS works so it seems to have something to do with the definition of the spread RSI. I do the following.
if(studyx == null) studyx = rsi(10, sym("3 * XOM - ( USO + SPY ),50"));
I honestly dont really understand the 50.
I'm trying to use a RSI(10) of the spread on 20 days of minutes data.
An example of a bad trigger is today, july 22 2008. The system short at 9:33 as it should but it does not cover @ 11:07 when the RSI cross below 30. I've also seen some missed triggers for opening trades.
Any idea someone. The file is attached.
Comment