RSI Rotation
Author: giorgos
Creation Date: 1/21/2009 2:43 PM
profile picture

giorgos

#1
I have just started using WL5.1, I want to use the RSI Rotation script to trade ETFs. I want to buy those with the highest RSI reading and I dont want to hold the same symbol more than once. That is if I set to hold 3 symbols they should old be different which is not what happens with the current script. Thanks
profile picture

Eugene

#2
By the way, searching before asking - as well as reading the strategy description - pays off:
Dogs of the Dow (Rotation) WLP 5.1 malfunction?
profile picture

Cone

#3
Not sure that I understand. RSI Rotation will not hold the same position more that once.

Anyway, to keep the ones with the highest RSI, just make this change around line 73:
CODE:
Please log in to see this code.
profile picture

Eugene

#4
QUOTE:
RSI Rotation will not hold the same position more that once.

Just try it the wrong way: in multi-symbol backtest mode ;)
profile picture

Cone

#5
Eugene's trying to tell us that you're doing it the wrong way by selecting the entire DataSet instead of selecting just one symbol in the DataSet (as the Description should tell you to do, but perhaps the author missed that instruction).
profile picture

daeccellent1

#6
Hello Cone and Eugene,

I am new to WLP and I am trying to modify this strategy a little further to only place trades on the last trading day of the month. I have tried adding the date rules in multiple places, but I cannot seem to get this to work properly. Could you please let me know what script I should use and where I should place it? I was trying the following:

CODE:
Please log in to see this code.


My intent with the strategy is to place a sell and buy on the last day of the month, still using the rule that if the current position maintains the highest RSI, I will not place a sell or subsequent buy. If there is already a post on this, I apologize. I tried searching the forum first.

Thank You
profile picture

Eugene

#7
Hello Derek,

You can place a buy/sell at the last bar of month like this:
CODE:
Please log in to see this code.