TradingView
Pro-Setups
Mar 12, 2022 7:45 AM

TwP: Mark Minervini Trend Template Criteria 

Tesla, Inc.NASDAQ

Description

In his book 'Think & Trade Like a Champion', Mark Minervini gave his famous Trend Template Criteria, that he uses for screening stocks. According to that, a stock must meet the following 8 criteria to be deemed in a confirmed Stage 2 uptrend:

1. The current stock price is above both the 150-day (30-week) and the 200-day (40-week) moving average price lines.
2. The 150-day moving average is above the 200-day moving average.
3. The 200-day moving average line is trending up for at least 1 month (preferably 4–5 months minimum in most cases).
4. The 50-day (10-week) moving average is above both the 150-day and 200-day moving averages.
5. The current stock price is trading above the 50-day moving average.
6. The current stock price is at least 25% above its 52-week low (30% as per his book 'Trade Like a Stock Market Wizard').
7. The current stock price is within at least 25% of its 52-week high (the closer to a new high the better).
8. The Relative Strength ranking (RS ranking), as reported in Investor’s Business Daily, is no less than 70.

This script checks if the above-mentioned Mark's Trend Template Criteria is being met or not (except for the last condition #8 ( RS ranking above 70), which cannot be obtained).

Green dot indicates condition met, and Red dot indicates condition not met.

If you want to see only the final result, instead of the status of each condition, you can choose the option of hiding individual conditions from the Settings tab.


You can also change the color & location of the table in the Settings tab.


Using Bar Replay mode, you can also go back on any date historically to check if the said criteria were met on that particular date.

Unfortunately, at present, it is not possible to screen stocks on TradingView that meet Mark Minervini's Trend Template Criteria.

Feel free to use. Click on Add to favorite indicators below to start using the script.

Release Notes

The Table header which summarizes the conditions was showing error in certain cases. Corrected it now.

Release Notes

Don't know how this happened, but on choosing the option to not see the individual conditions, the main result was also not showing up.
Made some changes, and hopefully this error will not occur again.

Release Notes

Added positions - Middle Left, Middle Center and Middle Right for the table.

Release Notes

Added an option to choose the type of moving average in the Settings tab. You can choose either EMA or SMA (default).
The chosen moving average will also appear in the note at the bottom of the table.

Release Notes

Gave the option to change the color of the text in the table. You can match the color of table's border & text with that of your chart template, so that only the green/red dot is visible.

Comments
foreignChart58058
I want to use at first ,but my tradingview can not showing Table.There is only "Top Right Tiny Square Dot point".I have been trying to config for hour.It does not change.
VaibhavTanpure
Thanks a lot for this script. One quick question, When i choose option of hiding individual conditions from the Settings tab i couldnt see final result, am i missing something?
Pro-Setups
@VaibhavTanpure, Hi Vaibhav.. thank you for pointing out this. I don't really know how this happened. But I have made some changes now, and it should work fine now.
VaibhavTanpure
@tradewithpuneet, Thanks a lot Sir.. Now i can see it properly.
suteesan2508
Thank you so much . It is very useful.
shuklakrishna5020
Yes I want to use
starshiptrade
Hi, Is it possible to make it single green light when all conditions are met?
PalanFamily
Thanks - this is Amazing..!!
shekharnene
Dear puneet ji, i have difficulty to differntiate between colors. can you please change the colors of individual conditions to Red and Blue colors ( the round dots)
nishadnowshad143
hi puneet,

May i know how to change it to weekly moving averages as i am not able to change it from settings.
More