StockFetcher Forums · General Discussion · MA's pinching filter help?<< 1 2 >>Post Follow-up
Mactheriverrat
3,135 posts
msg #144797
Ignore Mactheriverrat
9/29/2018 2:16:59 AM

Set{cntema4crossaboveema9,count( eMA(4) > eMA(9) ,1)}
draw cntema4crossaboveema9

Set{cntema4crossaboveema9b,count( eMA(4)< EMA(9) ,1)}

draw cntema4crossaboveema9b

Smpoll
72 posts
msg #144802
Ignore Smpoll
9/29/2018 1:35:54 PM

This is the result of this scan?



nibor100
1,010 posts
msg #144803
Ignore nibor100
9/29/2018 5:11:26 PM

@Smpoll,

Yes that chart of AMD is one result of that scan.

If you add

ema(4) > 0
ema(9) > 0
and chart-length is 90 days
offset 47 days

to that same filter you'll see where the new box in the 2nd row of boxes indicates the latest crossover of the ema9 above the ema4 47 days ago.

Which I believe was provided as an example of how to use/see pinch crossovers for you to use as you see fit.

Ed S.



Smpoll
72 posts
msg #144808
Ignore Smpoll
9/30/2018 12:38:35 PM

Thanks Ed.

After tweaking my parameters I've come up with a few charts that are compelling. Please don't flame me when you see how I've butchered your code, I'm not very good at this as you can tell.

Using my parameters and the examples that are working so far, is there anything I can add to the code to fetch more results like these, specifically not looking for crossovers, more of a tightening of MA's?

Thanks-
Scott

Set{cntema16crossaboveema21,count( eMA(16) > eMA(21) > eMA(41) ,1)}
draw cntema21crossaboveema41

ema(16) > 0
ema(21) > 0
ema(41) > 0

and chart-length is 90 days
offset 47 days

price is above 7

average volume is above 50000








nibor100
1,010 posts
msg #144811
Ignore nibor100
9/30/2018 3:14:34 PM

this might give you some promising charts:

Show stocks where the close is touching the MA(16)
and close is touching the MA(21)
and close is touching the MA(41)

Ed S.

Smpoll
72 posts
msg #144812
Ignore Smpoll
9/30/2018 4:03:38 PM

Thanks, I'm going to work on tweaking these as well, appreciate the help.

nibor100
1,010 posts
msg #144837
Ignore nibor100
10/2/2018 11:56:00 AM

@Smpoll,

Here's a filter using the SF 'converging' command, it has your 3 emas stacked in order, mostly in a gradual rise yet coming closer together recently. It finds one of your 2 examples DG but misses ORLY no matter how wide I set the diff%. Needs a little more work.

Fetcher[
Show stocks where the eMA(16) is
converging towards the eMA(41) over the
last 2 weeks
and Show stocks where the eMA(21) is
converging towards the eMA(41) over the
last 2 weeks

close > eMA(16) > eMA(21) > eMA(41)
set{diff, eMA(16) - eMA(41)}
set{diff%, diff/ema(41)}
/*diff < .5*/
diff% < .0575

add column diff
add column diff%
add column eMA(16)
add column eMA(21)
add column eMA(41)
sort by column 6

and chart-length is 6 months
price is above 7
average volume is above 50000
]



Ed S.

Smpoll
72 posts
msg #144842
Ignore Smpoll
10/2/2018 5:12:56 PM

These look VERY nice Ed. Here's a couple that caught my eye with your scan. Thanks!









StockFetcher Forums · General Discussion · MA's pinching filter help?<< 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.