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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。