New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Hey Everyone! Been awhile since I posted here. Read Mark Minervini's newest book and thought I'd post a scan I made based off his filtering criteria (minus the IDB ranking, which you could replace with a SCTR scan):
//Minervini Rules 1, 2, 4, 5
and [today close > [SMA(50, close)]] and [ [SMA(50, close)] > [SMA(150, close) ] ] and [ [SMA(150, close)] > [SMA(200, close) ] ]
//Minervini Rule 6
and [today close > yesterday's daily min(253,low) * 1.3]
//Minervini Rule 7
and [today's close > yesterday's daily max(253,high) * .7]
Enjoy playing with it (I haven't traded off it yet, but am looking into using it).
0
Comments
[group is SP500]
and [PctRelative(20,$spx) > 0]
PctRelative is documented here:
https://stockcharts.com/docs/doku.php?id=scans:functions
This does not say the SLOPE is positive, it only says the per cent change of the symbol is greater than the per cent change for SPX over the number of bars indicated. But maybe that would be useful.
https://stockcharts.com/docs/doku.php?id=scans:advanced_scan_syntax:overlay_scans
and [ Slope(200, sma(200,close)) > 0 ]
This gets 277 hits 4/25 after market close.
[group is SP500]
and [ Slope(200, sma(200,close)) > 0 ]
//Minervini Rules 1, 2, 4, 5
and [today close > [SMA(50, close)]] and [ [SMA(50, close)] > [SMA(150, close) ] ] and [ [SMA(150, close)] > [SMA(200, close) ] ]
//Minervini Rule 6
and [today close > yesterday's daily min(253,low) * 1.3]
//Minervini Rule 7
and [today's close > yesterday's daily max(253,high) * .7]
If not, is it possible to do this in stockcharts? And how would that scan look like in stockcharts?
Please allow one more question. How do I alter the scan to show those stocks which do not qualify for the template?
TIA
//Minervini Rules 1, 2, 4, 5
and [today close > [SMA(50, close)]] and [ [SMA(50, close)] > [SMA(150, close) ] ] and [ [SMA(150, close)] > [SMA(200, close) ] ]
//Minervini Rule 6
and [today close > yesterday's daily min(253,low) * 1.3]
//Minervini Rule 7
and [today's close > yesterday's daily max(253,high) * .7]
// line added based on scan language from question's link
and [Volume > SMA(20,volume)]
The only thing you need to add is your group of securities to scan against as the 1st lines of the code.
With so many variables in the scan code, it wouldn't be easy to determine what didn't pass the test unless you know your full list of securities that you are scanning against. Then you could export your results that passed the scan to CSV and then compare against the full list.