StockFetcher Forums · General Discussion · Weekly and Daily MACD combined please ?<< 1 2 >>Post Follow-up
rollers8877
3 posts
msg #95547
Ignore rollers8877
8/9/2010 10:47:27 PM

MACD Fast Line(10,30,10) crossed above MACD Slow Line(10,30,10)
and Average Volume(90) gained more than 10 Percent over the last 2 Days
and Chaikins Money Flow(21) gained more than 5 Percent over the last 2 Days


Totally new to the website and need some assistance please .I managed to muddle through and create the above filter however i would like to add exactly the same MACD filter but on a weekly basis too .Is this possible please ....

The idea is to only ever see daily crosses of MACD that have already been screened as weekly crosses .

Any help appreciated thanks

four
5,087 posts
msg #95548
Ignore four
modified
8/9/2010 11:05:05 PM


- Welcome to stockfetcher

rollers8877
3 posts
msg #95550
Ignore rollers8877
8/9/2010 11:08:23 PM

Terrific thank you sir

four
5,087 posts
msg #95551
Ignore four
modified
8/9/2010 11:10:26 PM

I edited previous message.

Had an error (took out my attempt in the previous message). Perhaps someone will get you an answer before I do ?

I can offer

Fetcher[


weekly MACD Fast Line(10,30,10) crossed above weekly MACD Slow Line(10,30,10)

]



rollers8877
3 posts
msg #95556
Ignore rollers8877
8/10/2010 12:17:07 AM

Thanks very much ,i'm getting a better grip of what i can do now and your help much appreciated

Kevin_in_GA
4,599 posts
msg #95566
Ignore Kevin_in_GA
8/10/2010 1:39:35 PM

MACD Fast Line(10,30,10) crossed above MACD Slow Line(10,30,10)
and Average Volume(90) gained more than 10 Percent over the last 2 Days
and Chaikins Money Flow(21) gained more than 5 Percent over the last 2 Days

+++++++

1. You can just write "MACD Histogram(10,30,10) crossed above 0"
2. This is unlikely to happen - the 90 day average volume will not simply jump up 10% in 2 days unless there is a massive increase in volume. Is this what you mean to say? Perhaps a different metric is needed here - "volume 300% above average volume(90)" might work.
3. "CMF(21) more than 5% above CMF(21) 2 days ago"
4. I would add some basic volume and price limits "close above 1" and "average volume(30) above 100000" might do it.

Putting these statements together -

Fetcher[

close above 1
average volume(30) above 100000

MACD Histogram(10,30,10) crossed above 0
volume 300% above average volume(90)
CMF(21) more than 5% above CMF(21) 2 days ago
]



This filter gives me 7 hits over the past 5 trading sessions. Nothing today, though.

snappyfrog
731 posts
msg #154345
Ignore snappyfrog
10/16/2020 2:53:56 PM

ToS has a WeeklyandDailyMACD. Here is the code. Surely this can be done in SF.

input weeklyFastLength = 60;
input weeklySlowLength = 130;
input dailyFastLength = 12;
input dailySlowLength = 26;

plot WeeklyMACD = ExpAverage(close, weeklyFastLength) - ExpAverage(close, weeklySlowLength);
plot DailyMACD = ExpAverage(close, dailyFastLength) - ExpAverage(close, dailySlowLength);
plot WeeklyAndDailyMACD = DailyMACD + WeeklyMACD;
plot ZeroLine = 0;


xarlor
587 posts
msg #154347
Ignore xarlor
10/16/2020 10:26:21 PM

Fetcher[
symlist(spy)
set{wk1,cema(close,60)}
set{wk2,cema(close,130)}
set{Weekly_MACD,wk1 - wk2}

set{dy1,cema(close,12)}
set{dy2,cema(close,26)}
set{Daily_MACD,dy1 - dy2}

set{Weekly_and_Daily_MACD,Weekly_MACD + Daily_MACD}

draw Weekly_and_Daily_MACD
draw Weekly_MACD on plot Weekly_and_Daily_MACD
draw Weekly_and_Daily_MACD line at 0

chart-time 1 year
]



snappyfrog
731 posts
msg #154351
Ignore snappyfrog
10/17/2020 7:36:50 AM

Perfect. Thanks Xarlor

snappyfrog
731 posts
msg #154352
Ignore snappyfrog
10/17/2020 8:24:15 AM

xarlor,

Thanks again. I have now morphed this into a Daily_MACD coming off of the 22 day low (much like my PVI 22 day low filter).

Now, I just have to work on entry points.

Fetcher[
set{wk1,cema(close,60)}
set{wk2,cema(close,130)}
set{Weekly_MACD,wk1 - wk2}

set{dy1,cema(close,12)}
set{dy2,cema(close,26)}
set{Daily_MACD,dy1 - dy2}

set{Weekly_and_Daily_MACD,Weekly_MACD + Daily_MACD}

draw Weekly_and_Daily_MACD
draw Weekly_MACD on plot Weekly_and_Daily_MACD
draw Weekly_and_Daily_MACD line at 0


market is not otcbb
market is not etf
price > 3
and Average Volume(30) > 1000000
optionable
draw pvi 22 day low on plot pvi
draw Daily_MACD 22 day low on plot Daily_MACD
and Daily_MACD 1 day ago equals Daily_MACD 22 day low
and Daily_MACD > Daily_MACD 22 day low
]





StockFetcher Forums · General Discussion · Weekly and Daily MACD combined please ?<< 1 2 >>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.