StockFetcher Forums · General Discussion · MACD Divergence<< >>Post Follow-up
catalingard
3 posts
msg #141020
Ignore catalingard
1/16/2018 1:24:43 AM

I am trying to find divergences using MACD.Could anyone help please.Thank you very much

pthomas215
1,251 posts
msg #141021
Ignore pthomas215
1/16/2018 4:30:06 AM

this should get your started.

Fetcher[ 10 day slope of fisher transform(2) > .1
10 day slope of close < -.1
draw fisher transform(2) < 0
draw rsi(6) line at 20
draw rsi(6) line at 80
/*rsi(2) < 40 within the last 5 days */
/*draw williams %R(60) crossed above -80*/
close between 2 and 60
Average Volume(30) > 1000000
add column annual dividend yield
sort by column 6 descending
draw MACD Fast Line(12,26,9) and MACD Slow Line(12,26,9)
draw RSI(10)
]



graftonian
1,089 posts
msg #141026
Ignore graftonian
1/16/2018 10:57:29 AM

This code from Kevin is something I copy and paste into many filters. Many other examples in these forums.

Fetcher[
/*CODING FOR DIVERGENCES*/

SET{VAR1_UP, COUNT(MACD(12,26,1) GAINED MORE THAN 3% OVER THE LAST 10 DAYS,1)}
SET{VAR1_DN, COUNT(MACD(12,26,1) DROPPED MORE THAN 3% OVER THE LAST 10 DAYS,1)}

SET{VAR2_UP, COUNT(MA(3) GAINED MORE THAN 3% OVER THE LAST 10 DAYS,1)}
SET{VAR2_DN, COUNT(MA(3) DROPPED MORE THAN 3% OVER THE LAST 10 DAYS,1)}

SET{POS_DIV, VAR1_UP * VAR2_DN}
SET{NEG_DIV, VAR1_DN * VAR2_UP}

ADD COLUMN POS_DIV
ADD COLUMN NEG_DIV
]



StockFetcher Forums · General Discussion · MACD Divergence<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.