StockFetcher Forums · General Discussion · MACD positive divergence<< 1 2 >>Post Follow-up
cegis
235 posts
msg #31364
Ignore cegis
3/10/2004 8:43:32 PM

Marc,

I believe TxTrapper is right - you need to replace "within the past 0 days" with "0 days ago" after BOTH Fast Line *AND* Slow Line MACD clauses.

I gotto run now. I'll post a corrected filter tomorrow...

C


GI30065
7 posts
msg #31373
Ignore GI30065
3/11/2004 5:21:12 AM

Ok cegis, I don't follow quite well.
But I DO TRUST you :-)
I will try the new filter as well.
Thx.

Regards,
Marc.



GI30065
7 posts
msg #31374
Ignore GI30065
3/11/2004 5:29:15 AM

I almost forgot,

Thank you, txtrapper, for you support in this discussion.
I saw already soooo many posts of you, :-)))))

Regards,
Marc.



cegis
235 posts
msg #31377
Ignore cegis
3/11/2004 10:31:13 AM

Marc,

Here's the corrected version (as promised :->):

Fetcher[set{da,days(MACD fast line(12,26) 3 days ago crossed above MACD slow line(12,26) 3 days ago,60)} MACD fast line(12,26) crossed above MACD slow line(12,26) within the past 0 days and da is greater than 0 and price between 5 and 50 and volume 30 day low is greater than 100000 add column da draw MACD(12,26)]



The only change I made was to add "3 days ago" to the MACD fast line clause in the days() function. My original version was comparing the slow line "3 days ago" to the fast line "today". This version compares them on the same date. (One "side effect", though, is the value of "da" is three days less than the actual number of days prior to today that the cross too place. No real big deal, just something to mention...)

From what I can tell - and read in the online help - "crossed above ... within the past __ days" is valid syntax for what we're trying to do, so I left that part of the filter alone.

Now, just to get those prices!

HTH,

C


GI30065
7 posts
msg #31380
Ignore GI30065
3/11/2004 1:31:28 PM

Wouwwwwww,
Thx cegis.
Gonne do some testing wright now !

Regards,
Marc.



StockFetcher Forums · General Discussion · MACD positive divergence<< 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.