| sixerwrong@gmail.com 12 posts
 msg #149041
 - Ignore sixerwrong@gmail.com
 | 9/4/2019 6:50:18 PM 
 Hello to all,
 is there a filter that can detect stocks having a divergence?
 
 thanks in advance
 kris
 
 
 | 
| four 5,087 posts
 msg #149042
 - Ignore four
 modified
 | 9/4/2019 8:30:20 PM 
 Which divergence are you looking for:
 divergence between stock price and moving average
 divergence between stock price and rsi -- https://youtu.be/BBJQ8-lGlbE
 divergence between stock price and macd -- https://youtu.be/PsyUHGjVgTY
 divergence between stock price and stochastics -- https://www.youtube.com/watch?v=AAtZF_Pvucg
 divergence between two indicators (price not used)
 
 AND
 
 Bullish or Bearish
 https://www.learningmarkets.com/how-to-trade-bullish-and-bearish-technical-divergences/
 https://www.youtube.com/watch?v=-MHXQ9nCsqc
 
 --
 RSI
 https://www.youtube.com/watch?v=wbz5dvY64MQ
 
 
 
 
 | 
| graftonian 1,089 posts
 msg #149045
 - Ignore graftonian
 | 9/5/2019 3:35:05 PM 
 Kris, This bit of code by Kevin from GA may help.
 
 
 
 
 
 | 
| sixerwrong@gmail.com 12 posts
 msg #149046
 - Ignore sixerwrong@gmail.com
 | 9/5/2019 6:16:01 PM 
 hi guys thank so much for the information that both provided...to answer four question I was looking for a divergence in price vs macd....and will surely look into both info to learn more.
 
 thanks both guys
 
 
 | 
| risjr 230 posts
 msg #149054
 - Ignore risjr
 | 9/6/2019 6:09:39 PM 
 This filter is AWESOME!!
 
 i will post a streamlined version of this.
 
 Looks really good
 
 In 2 days for so
 
 dood
 
 
 | 
| risjr 230 posts
 msg #149066
 - Ignore risjr
 | 9/8/2019 8:50:40 PM 
 HERE TIS
 
 
 /*CODING FOR DIVERGENCES*/
 
 Average Volume(30) > 5000000
 SET{VAR1_UP, COUNT(MACD(12,26,1) GAINED MORE THAN 7% OVER THE LAST 10 DAYS,1)}
 SET{VAR1_DN, COUNT(MACD(12,26,1) DROPPED MORE THAN 7% OVER THE LAST 10 DAYS,1)}
 
 SET{VAR2_UP, COUNT(MA(3) GAINED MORE THAN 7% OVER THE LAST 10 DAYS,1)}
 SET{VAR2_DN, COUNT(MA(3) DROPPED MORE THAN 7% OVER THE LAST 10 DAYS,1)}
 
 SET{POS_DIV, VAR1_UP * VAR2_DN}
 SET{NEG_DIV, VAR1_DN * VAR2_UP}
 
 ADD COLUMN POS_DIV and draw POS_DIV
 ADD COLUMN NEG_DIV and draw NEG_DIV
 /*****************/
 set{macdline, indposition(MACD Fast Line(12,26,9), 20)}
 draw macdline
 set{priceline, indposition(MA(3), 20)}
 draw priceline on plot macdline
 /******************/
 draw MACD Fast Line(12,26,9)
 AND CLOSE ABOVE 2
 AND CLOSE BELOW 5
 
 
 
 
 
 
 | 
| snappyfrog 749 posts
 msg #149067
 - Ignore snappyfrog
 | 9/9/2019 9:59:29 AM 
 Making it clickable.
 
 
 
 
 
 | 
| risjr 230 posts
 msg #149071
 - Ignore risjr
 | 9/9/2019 1:17:26 PM 
 this is how I trade...pls click below!
 
 https://www.swing-trade-stocks.com/rsi-5-day-look-back-for-entry-and-exits.html
 
 confirms are same criteria....but with 1 hr time frame
 
 
 | 
| risjr 230 posts
 msg #149074
 - Ignore risjr
 | 9/9/2019 3:29:21 PM 
 ema 5 and cci 5 help...but  are optional!!
 
 
 | 
| stockfetcher2022 5 posts
 msg #161842
 - Ignore stockfetcher2022
 | 6/1/2025 12:19:35 PM 
 Hi Kris, Four, Graftonian, Risjr, and Snappyfrog,
 I am a newbie in need of help, this thread is close to what i have been searching for.
 
 Is there a way to filter for stocks with the MACD(12,26) below the zero line?  The MACD(12,26) is increasing towards the zero line and has two lows, the second low higher than the first.  The price is falling during this duration.  The duration is 1 to 3 months.
 
 For example, I am looking at LVWR (LiveWire Group Inc), which the filter made clickable by Snappyfrog pulled.  The MACD (12,26) has a low in Feb and a higher low in May.  The price was falling during this timeframe.
 
 Thank you so much for your help, I appreciate it!
 
 
 
 
 
 
 |