Editors' picks
OPEN-SOURCE SCRIPT

Minervini Qualifier

Updated
The Minervini Qualifier indicator calculates the qualifying conditions from Mark Minervini’s book “Trade like a Stock Market Wizard”.

The condition matching is been shown as fill color inside an SMA 20day envelope curve.
If the envelope color is red, current close price is below the SMA20 and when blue, current close price is above the SMA20. The fill color can be transparent (not matching qualifying conditions), yellow (matching all conditions except close is still below SMA50), green (all conditions match, SMA200 trending for at least one month up) or blue (all conditions match, SMA200 trending up for at least 5 months)

As I wanted also to see which of the qualifying conditions match over time, I’ve added add. lines, each representing one conditions. If it matches, line color is blue, or red if not. Use the data windows (right side), so you know what line represents which condition. Can be turned on/off (default:on)

In addition, a relative strength is been calculated, to compare the stock to a reference index. It is just one possible way to calculate it, might be different to what Mark Minervini is using. If the shown value (top right) is above 100, stock performs better compared to reference index (can be set in settings), when below 100, stock performs worse compared to reference index. Can be turned on/off (default:on)

How to use it:
For more details, read Mark’s book and watch his videos.

Limitations:
It gives only useful information on daily timeframe

(No financial advise, for testing purposes only)
Release Notes
New revision:
- added SMA20 (configurable), SMA50, SMA150 and SMA200 lines above the envelope curve.
Color coding: green means close is above SMA, red means close is below SMA. Can be turned on/off.
- some code cleanup
Release Notes
- added some alerts
- when Minervini conditions are met
- when Minervini conditions are not met any longer
- potential buy signal - SMA200 crossover and Minervini conditions (at least light) are met
- strong uptrend signal when close is xx% (setting) above 52week low
- Potential buy signal is drawn as vertical green line (can be switched on/off, default on)
- added label (can be switched on/off, default off) next to the vertical lines for better understanding / identification

- changed default Reference ticker IDs
Release Notes

Typo correction

Known bug: label doesn't stay stable left aligned on the lines below the envelope curve (no idea why this is the case)
Fundamental AnalysisminerviniqualifierssentimentTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer