Divergence screening
Forums › ProRealTime English forum › ProScreener support › Divergence screening
- This topic has 15 replies, 5 voices, and was last updated 6 years ago by Nicolas.
-
-
06/18/2016 at 11:38 PM #9550
Hi,
when trying to setup a screening of shares based on the indicators MACD-/CCI- and RSI-divergence I just get a message that these indicators are not available in Probuilder language. I have tried to search in the forum for an answer without success. Can I create a screening via manual coding instead? The screening should ideally find shares with divergence in minimum 2 out of the 3 indicators on a daily basis.
many thanks in advance!
06/19/2016 at 9:52 AM #955506/19/2016 at 10:02 PM #9570Hi Nicolas,
I took another search for Divergence in the forum but did not find exactly what I am looking for. If you have a few links you think answer my request please let me know. Since I am not so familiar with prorealcoding, I wonder if you maybe could help me putting together a coding that screens for all three divergence indicators (MACD, CCI and RSI) at the same time and return the shares that have divergence in at least 2 out of the 3 indicators – on a particular day?
06/20/2016 at 11:14 AM #9581I found 2 divergences indicators :
RSX(similar to RSI) :
http://www.prorealcode.com/prorealtime-indicators/divergences-rsx/
and the recent one I made for MACD zerolag:
http://www.prorealcode.com/prorealtime-indicators/macd-divergences-from-price/
You can refer to this indicator with CALL instruction in your stock screener.
But, I don’t think that 3 divergences of 3 different indicators can occur at the same time.
06/21/2016 at 9:11 PM #9646Thanks a lot! I changed the periods from P=20 to P=10 for your RSX indicator and ran it with comparison to the default RSI divergence indicator. They dont provide the same results, why?
Please see attached picture.
Divergence on 3 different indicators at the same time happens from time to time depending on the values of the parameters. The signal seems to be pretty solid thats why I wanted to have it on my screener. Do you also the CCI divergence indicator coded?
thanks
Lasse
06/21/2016 at 9:37 PM #9649These 2 indicators gave not similar results because there are different ones. The code from the divergence RSI indicator embedded in the platform is not available, the RSX one is just an attempt to recreate it from scratch.
About the CCI one, not available here, but I can make it later this week or next one.06/21/2016 at 9:44 PM #965006/29/2016 at 9:09 PM #1000306/30/2016 at 4:07 PM #10038Hello,
Please find attached the CCI Divergence indicator for prorealtime. This one is the RSI one quickly adapted to CCI indicator. I add a “filterperiod” parameter to get more or less signals because the CCI is more “noisy” than RSI with the same default period (14).
07/04/2016 at 10:12 PM #1021007/05/2016 at 8:27 AM #10213Hi, I don’t know, never used it before. At least the same period? Please also consider that this code is a attempt to catch divergences without doing loop in the past or by knowing in advance the history, like the PRT original version. So differences between these 2 indicators are normal.
08/20/2017 at 11:12 AM #44245Hi Nicholas
this is my first post.
You are great and continue to provide awesome ideas and prorealcodes.
Would you please check if this version of CCI divergence is okay with some changes? just add arrows to apply to price directly instesad of indicator in different window
appreciate your kind feedback
thank you so much
giuseppe
09/11/2017 at 11:16 PM #45975Hello everyone!!
I’ve tried the RSI DIVERGENCE open source, but I think it doesn’t work as I wonder…
The default one that exists on prorealtime works very well, but it is unusefull if I want to use it with an automatic trading system…(I can’t)
Does anyone can create it as the one set for default?
I wish it can consider at max 3 or 4 candels to get the divergence…not like this one that calculate the divergences even with the last 10 bars……
can anyone please help me?
09/11/2017 at 11:18 PM #45977p.s. I use RSI set in 2 periods
02/14/2018 at 12:27 AM #62673Hello Nicolas,
Looking at your version of the divergence screener for various oscillators, I think understanding that you use the crossing of the zero line to spot the previous highs/lows, which is a catch to avoid having to use arrays. Is that correct?
Because in my opinion, a divergence is only valid if the higher low (or lower high) of the oscillator is made after it has first cross the zero line, as you can see in the snapshot in attachment (us stock Clovis Oncology on daily TF). So do you think it’s technically feasible to adapt the screener to my additional condition (a cross of the zero line between two extremes)?
-
AuthorPosts