Hi All!
Hope you guys are safe 😉
Screener:
The code below works but how can I have an additional colomn “saying” Bull or Bear signal please ??
2 time frames, 2 conditions in each…
Thank you !
REM Condition 1: MACD weekly > 0 and decreasing
TIMEFRAME(weekly)
REM RSIWL = RSI Weekly Long
RSIWL = RSI[5](close)
c1 = (RSIWL > RSIWL[1])
REM RSIWS = RSI Weekly Short
RSIWS = RSI[5](close)
c11 = (RSIWS<RSIWS[1])
TIMEFRAME(daily)
REM RSIDL = RSI Daily Long
RSIDL = RSI[5](close)
c2 = (RSIDL>RSIDL[1])
REM RSIDS = RSI Daily Short
RSIDS = RSI[5](close)
c22 = (RSIDS<RSIDS[1])
SCREENER [(c1 AND c2) OR (c11 AND c22)]
Founded it !
Cheers.
TIMEFRAME(weekly)
REM RSIWL = RSI Weekly Long
RSIWL = RSI[5](close)
c1 = (RSIWL > RSIWL[1])
REM RSIWS = RSI Weekly Short
RSIWS = RSI[5](close)
c3 = (RSIWS<RSIWS[1])
TIMEFRAME(daily)
REM RSIDL = RSI Daily Long
RSIDL = RSI[5](close)
c2 = (RSIDL>RSIDL[1])
REM RSIDS = RSI Daily Short
RSIDS = RSI[5](close)
c4 = (RSIDS<RSIDS[1])
LONG = c1 AND c2
SHORT = c3 AND c4
IF LONG then
Criteria = 1
ELSIF SHORT then
Criteria = -1
ENDIF
SCREENER [(LONG) OR (SHORT)](Criteria as "BULL 1 BEAR -1")
Quick one please.
From the code below,
How can have the boxes “-1” coloured in RED and the “1” in Green please ?
Is this feasable? Thank you 😉
TIMEFRAME(weekly)
REM RSIWL = RSI Weekly Long
RSIWL = RSI[5](close)
c1 = (RSIWL > RSIWL[1])
REM RSIWS = RSI Weekly Short
RSIWS = RSI[5](close)
c3 = (RSIWS<RSIWS[1])
TIMEFRAME(daily)
REM RSIDL = RSI Daily Long
RSIDL = RSI[5](close)
c2 = (RSIDL>RSIDL[1])
REM RSIDS = RSI Daily Short
RSIDS = RSI[5](close)
c4 = (RSIDS<RSIDS[1])
LONG = c1 AND c2
SHORT = c3 AND c4
IF LONG then
Criteria = 1
ELSIF SHORT then
Criteria = -1
ENDIF
SCREENER [(LONG) OR (SHORT)](Criteria as "BULL 1 BEAR -1")
You cannot colour lines differently.
Thank you Roberto. I wasn’t sure. Take care.