Hello,
Is there an easy way to detect assets that show a positive divergence at the moment?
gr Marco
Divergence between what… Price vs. RSI, Price vs. MACD, MACD vs. RSI, etc… ?
There you go:
myDIV = DivergenceRSI[14, 30, 70, 20](close)
Signal = 0
IF myDIV > 0 THEN
Signal = 1
ELSIF myDiv < 0 THEN
Signal = 2
ENDIF
SCREENER[Signal](Signal AS "Div.")
1 = bullish Div.
2 = bearish Div.
Hi Roberto,
Thanks. What do you mean with:
1 = bullish Div.
2 = bearish Div.
And how can i make it only weekly base instead of daily?
gr Marco
Sorry, I missed that it could have been misinterpreted. Div. stands for Divergence.
Bullish means on the uprise or going North, Bearish means on the downside or going South.
1 and 2 are the returned values so you can tell which type is returned.
Apply it to whatever timeframe you need to, be it Weekly or 1 minute.
Hi Roberto,
Thanks. I did know what bullish and bearish is fortunately:-). I was not sure what you meant with the 1 and the 2 but i see there is a colum with 1 and 2’s after running the screener:-)
One last question.
What do i need to add to only see assets with a close >5 and average daily volume > 500000
Gr Marco
There you go:
myDIV = DivergenceRSI[14, 30, 70, 20](close)
Signal = 0
IF myDIV > 0 THEN
Signal = 1
ELSIF myDiv < 0 THEN
Signal = 2
ENDIF
c1 = close > 5
c2 = average[10,0](volume) > 500000
SCREENER[Signal AND c1 AND c2](Signal AS "Div.")