Positive Divergence detection?
Forums › ProRealTime English forum › ProScreener support › Positive Divergence detection?
- This topic has 8 replies, 2 voices, and was last updated 1 year ago by marco7630.
-
-
03/08/2023 at 2:26 PM #21111303/08/2023 at 5:40 PM #211128
Divergence between what… Price vs. RSI, Price vs. MACD, MACD vs. RSI, etc… ?
03/08/2023 at 5:44 PM #21112903/08/2023 at 6:18 PM #211138There you go:
12345678myDIV = DivergenceRSI[14, 30, 70, 20](close)Signal = 0IF myDIV > 0 THENSignal = 1ELSIF myDiv < 0 THENSignal = 2ENDIFSCREENER[Signal](Signal AS "Div.")1 = bullish Div.
2 = bearish Div.
03/08/2023 at 7:27 PM #21114503/08/2023 at 11:51 PM #211158Sorry, 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.
03/09/2023 at 7:23 AM #211162Hi 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
03/09/2023 at 7:47 AM #211163There you go:
12345678910myDIV = DivergenceRSI[14, 30, 70, 20](close)Signal = 0IF myDIV > 0 THENSignal = 1ELSIF myDiv < 0 THENSignal = 2ENDIFc1 = close > 5c2 = average[10,0](volume) > 500000SCREENER[Signal AND c1 AND c2](Signal AS "Div.")03/09/2023 at 9:54 AM #211178 -
AuthorPosts