Registered User Joined: 10/9/2007 Posts: 18
|
thx for the post to the video on channeling stocks i will try to build that this week. i would like to create a scan for two conditions: i want to look for stocks with rsi > 50 and price > 50 day ema and vice versa for the short. can you helpw/ this thx again s/d
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (guru7306) i would like to create a scan for two conditions: i want to look for stocks with rsi > 50 and price > 50 day ema...
If you Drag and Drop RSI and the Moving Average into the Code tab of the RealCode Editor, it should create something similar to the first two lines of the following RealCode Rule:
'# RSI = indicator.RelativeStrengthIndex(RSI)
'# MA = indicator.MovingAverage
If RSI.Value > 50 AndAlso _
Price.Last > MA.Value Then Pass
QUOTE (guru7306) ...and vice versa for the short.
If you Drag and Drop RSI and the Moving Average into the Code tab of the RealCode Editor, it should create something similar to the first two lines of the following RealCode Rule:
'# RSI = indicator.RelativeStrengthIndex(RSI)
'# MA = indicator.MovingAverage
If RSI.Value < 50 AndAlso _
Price.Last < MA.Value Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|