OPEN-SOURCE SCRIPT
SmartLevels Pro

**SmartLevels Pro — HTF H/L, VWAP & Trade Box with Trend Strength**
SmartLevels Pro is a comprehensive all-in-one overlay indicator designed for active traders who need clean, high-timeframe structure, dynamic trade management, and real-time trend confirmation — all on a single chart.
**Higher Timeframe Levels**
Automatically plots the previous High and Low for the Daily, Weekly, Monthly, and Yearly timeframes using `request.security()` with no repainting. Each timeframe is color-coded for instant visual clarity:
- Blue — Daily
- Purple — Weekly
- Orange — Monthly
- Red — Yearly
**VWAP**
Session Volume Weighted Average Price plotted in real time. Acts as the primary institutional reference level and feeds directly into the Trend Strength engine.
**Dynamic Trade Box**
Enable the Trade Box from settings to instantly visualize your trade plan on the chart. Set your Profit Target and Stop Loss in points, choose Long or Short direction, and the indicator draws two color-coded boxes — green for your target zone, red for your stop zone — anchored to your entry price and extending forward with every new bar. The target label displays your live Risk-to-Reward ratio automatically.
**Trend Strength Label**
A real-time label appears at the right edge of the chart scoring three confluence factors:
- Price position relative to VWAP
- Fast EMA vs Slow EMA cross (customizable lengths)
- RSI above or below 50
The label displays **Bullish, Bearish, or Neutral** direction, reinforced by ADX to distinguish **Strong** from **Weak** trend conditions. Live RSI and ADX values are shown so you always know exactly where momentum stands.
** Built-In Alerts**
Six alert conditions included:
- VWAP cross up / down
- EMA bullish / bearish cross
- Strong Bull / Bear trend confluence (ADX + multi-factor)
**Performance Optimized**
Built with `calc_on_every_tick = false` for clean bar-close calculations. All higher timeframe data is pulled efficiently via `request.security()` to minimize chart load.
*Designed for futures, forex, and equities traders. Ideal for prop firm evaluation accounts where precision entries and disciplined trade management are critical.*
SmartLevels Pro is a comprehensive all-in-one overlay indicator designed for active traders who need clean, high-timeframe structure, dynamic trade management, and real-time trend confirmation — all on a single chart.
**Higher Timeframe Levels**
Automatically plots the previous High and Low for the Daily, Weekly, Monthly, and Yearly timeframes using `request.security()` with no repainting. Each timeframe is color-coded for instant visual clarity:
- Blue — Daily
- Purple — Weekly
- Orange — Monthly
- Red — Yearly
**VWAP**
Session Volume Weighted Average Price plotted in real time. Acts as the primary institutional reference level and feeds directly into the Trend Strength engine.
**Dynamic Trade Box**
Enable the Trade Box from settings to instantly visualize your trade plan on the chart. Set your Profit Target and Stop Loss in points, choose Long or Short direction, and the indicator draws two color-coded boxes — green for your target zone, red for your stop zone — anchored to your entry price and extending forward with every new bar. The target label displays your live Risk-to-Reward ratio automatically.
**Trend Strength Label**
A real-time label appears at the right edge of the chart scoring three confluence factors:
- Price position relative to VWAP
- Fast EMA vs Slow EMA cross (customizable lengths)
- RSI above or below 50
The label displays **Bullish, Bearish, or Neutral** direction, reinforced by ADX to distinguish **Strong** from **Weak** trend conditions. Live RSI and ADX values are shown so you always know exactly where momentum stands.
** Built-In Alerts**
Six alert conditions included:
- VWAP cross up / down
- EMA bullish / bearish cross
- Strong Bull / Bear trend confluence (ADX + multi-factor)
**Performance Optimized**
Built with `calc_on_every_tick = false` for clean bar-close calculations. All higher timeframe data is pulled efficiently via `request.security()` to minimize chart load.
*Designed for futures, forex, and equities traders. Ideal for prop firm evaluation accounts where precision entries and disciplined trade management are critical.*
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。