PROTECTED SOURCE SCRIPT

TwP: Mark Minervini Trend Template Criteria

מעודכן
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.
הערות שחרור
The Table header which summarizes the conditions was showing error in certain cases. Corrected it now.
הערות שחרור
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.
הערות שחרור
Added positions - Middle Left, Middle Center and Middle Right for the table.
הערות שחרור
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.
הערות שחרור
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.

תמונת-בזק
markminerviniminerviniMoving AveragesTrend Analysis

סקריפט מוגן

סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.

רוצה להשתמש בסקריפ זה בגרף?


Pro-Setups is meant for Swing and Positional Trading. It is a combination of scripts on TradingView, and a screener Dashboard on web. Whatever you scan on Dashboard, you can see the same on your charts.

For details, please visit pro-setups.com
גם על:

כתב ויתור