SPY as Equityframe
Forums › ProRealTime English forum › ProScreener support › SPY as Equityframe
- This topic has 7 replies, 3 voices, and was last updated 2 years ago by
fifi743.
-
-
10/23/2022 at 3:12 PM #20294410/24/2022 at 4:53 PM #202986
You have to choose one in pic X (when a name is incorrect, a list should be opened for you to choose from).
10/25/2022 at 5:02 PM #20304810/25/2022 at 5:41 PM #203053If you post your code I may try to find out what that error comes from.
10/25/2022 at 5:45 PM #203055It was actually taken from a code that you shared sometime ago:
TIMEFRAME(daily)
CloseVal = Close
//EQUITYFRAME(“Shares – US (NYSE”, “SPY”)
CloseInd = Close
EQUITYFRAME(default)
Ratio = (CloseVal / CloseInd) *100TIMEFRAME(default)
RelativeStrength = (Ratio – Ratio[1]) *100
MyAvg = average[20,0](RelativeStrength) //Media Semplice a 20 periodi
Cond = 0
IF RelativeStrength CROSSES OVER MyAvg AND (close > 150) THEN
cond = 1
ELSIF RelativeStrength CROSSES UNDER MyAvg AND (close > 150) THEN
cond = 2
ENDIF
SCREENER [Cond](Cond AS “1=↑,2=↓”)//(RelativeStrength AS “RelativeStrength”)10/25/2022 at 6:22 PM #203060It works perfectly, with no modifications.
I only had to select what I was interested in.
10/25/2022 at 6:37 PM #20306710/25/2022 at 7:57 PM #203069 -
AuthorPosts
Find exclusive trading pro-tools on