PROTECTED SOURCE SCRIPT
Mark Minervini Trend Template Candles

📊 Mark Minervini Trend Template (Enhanced)
This script brings Mark Minervini’s famous Trend Template directly onto your TradingView charts — combining candle coloring, moving averages, trend checks, and a live criteria table into one tool.
🔎 What it does:
Candle Coloring: Each bar is colored on a gradient from red → yellow → light green → strong green, depending on how many of the 10 Trend Template rules are satisfied.
Key Moving Averages: Plots the 50-day, 150-day, and 200-day SMAs with distinct colors.
52-Week Context: Checks if the stock is trading near its yearly highs/lows.
Relative Strength vs. S&P 500: Scales performance into a percentile rank (0–100).
Trend Template Table: A neat table appears on the right-hand side of the chart, showing:
Each of the 10 Minervini rules ✅ / ❌
Current values (relative strength, % from 52-week high/low)
Total score out of 10
✅ Benefits:
Quickly spot whether a stock meets Minervini’s strict criteria for strong uptrends.
Use the color-coded candles for fast visual scanning.
Get a transparent checklist (no guesswork) with real-time updates.
📈 Ideal For:
Swing traders & growth investors who follow Mark Minervini’s methodology.
Traders who want a visual, rule-based filter to focus only on the strongest stocks.
This script brings Mark Minervini’s famous Trend Template directly onto your TradingView charts — combining candle coloring, moving averages, trend checks, and a live criteria table into one tool.
🔎 What it does:
Candle Coloring: Each bar is colored on a gradient from red → yellow → light green → strong green, depending on how many of the 10 Trend Template rules are satisfied.
Key Moving Averages: Plots the 50-day, 150-day, and 200-day SMAs with distinct colors.
52-Week Context: Checks if the stock is trading near its yearly highs/lows.
Relative Strength vs. S&P 500: Scales performance into a percentile rank (0–100).
Trend Template Table: A neat table appears on the right-hand side of the chart, showing:
Each of the 10 Minervini rules ✅ / ❌
Current values (relative strength, % from 52-week high/low)
Total score out of 10
✅ Benefits:
Quickly spot whether a stock meets Minervini’s strict criteria for strong uptrends.
Use the color-coded candles for fast visual scanning.
Get a transparent checklist (no guesswork) with real-time updates.
📈 Ideal For:
Swing traders & growth investors who follow Mark Minervini’s methodology.
Traders who want a visual, rule-based filter to focus only on the strongest stocks.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.