StockFetcher Forums · General Discussion · Newby needs help<< >>Post Follow-up
lakeshore
3 posts
msg #144333
Ignore lakeshore
8/7/2018 7:06:23 PM

Hello, I am new this week and am looking for some help. Does anyone have or seen some code that spots MACD divergence from price action.

lakeshore
3 posts
msg #144335
Ignore lakeshore
8/7/2018 8:02:47 PM

Guess more specifics would help, I am looking for prices making/testing the lows of the current trend and the MACD making a higher low on that test. Thanks!

four
5,087 posts
msg #144336
Ignore four
modified
8/7/2018 11:11:25 PM

Try exploring some of the links here... perhaps something will match or help move forward
 https://www.stockfetcher.com/sf/search.php?q=macd%20divergence&filter=&sort=

four
5,087 posts
msg #144337
Ignore four
modified
8/7/2018 11:47:02 PM

Here is something to try with MACD and RSI

Fetcher[
optionable
volume > 123123
close > 10
draw macd(2,3,1) > -.25
/*macd(2,3,1) > macd(2,3,1) 10 days ago*/
macd(2,3,1) 10 days ago < -.5
draw rsi(2) 10 days ago < 8
rsi(2) < 8
]



lakeshore
3 posts
msg #144340
Ignore lakeshore
8/8/2018 8:15:31 AM

Thanks for the help!

graftonian
1,089 posts
msg #144341
Ignore graftonian
8/8/2018 9:13:41 AM

Posted the full version of this in my Guppy Trading thread

Fetcher[
/*CODING FOR DIVERGENCES*/
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
SORT ON COLUMN 5 DESCENDING
ADD COLUMN NEG_DIV and draw NEG_DIV
DRAW MACD
]




StockFetcher Forums · General Discussion · Newby needs help<< >>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.