OPEN-SOURCE SCRIPT
Aggiornato AVS VWAP EMA Pullback Pro

AVS VWAP EMA Pullback Pro is a trend‑following intraday system that only looks for trades when price, trend, and volatility all align.
How it works (logic)
Uses VWAP + EMAs to define trend: only longs when price is above VWAP and fast EMA > slow EMA, only shorts when price is below VWAP and fast EMA < slow EMA.
Waits for a pullback to VWAP/EMA zone, then a reclaim (for longs) or rejection (for shorts) plus RSI confirmation, so you buy dips / sell rallies instead of chasing.
Filters out chop with ADX/DMI so trades only trigger when trend strength is above a minimum threshold.
Enforces a time session (e.g., 07:00–20:00) so it avoids low‑liquidity hours.
Uses ATR‑based stop and two profit targets: partial take‑profit at TP1 and a runner to TP2, via two strategy.exit orders with different qty_percent.
How to use it (practically)
Apply it as a strategy on an intraday chart (e.g., 15m ETH/BTC) and keep the chart interval intraday so VWAP and session logic behave correctly.
In settings, start with Trading Session = 0700‑2000, Minimum ADX ≈ 18–22, and default pullback/ATR values, then use the Strategy Tester to see trades, profit factor, and drawdown.
If it overtrades or chops, tighten session window and raise ADX minimum; if it undertrades, widen the session or slightly loosen ADX / pullback thresholds.
How it works (logic)
Uses VWAP + EMAs to define trend: only longs when price is above VWAP and fast EMA > slow EMA, only shorts when price is below VWAP and fast EMA < slow EMA.
Waits for a pullback to VWAP/EMA zone, then a reclaim (for longs) or rejection (for shorts) plus RSI confirmation, so you buy dips / sell rallies instead of chasing.
Filters out chop with ADX/DMI so trades only trigger when trend strength is above a minimum threshold.
Enforces a time session (e.g., 07:00–20:00) so it avoids low‑liquidity hours.
Uses ATR‑based stop and two profit targets: partial take‑profit at TP1 and a runner to TP2, via two strategy.exit orders with different qty_percent.
How to use it (practically)
Apply it as a strategy on an intraday chart (e.g., 15m ETH/BTC) and keep the chart interval intraday so VWAP and session logic behave correctly.
In settings, start with Trading Session = 0700‑2000, Minimum ADX ≈ 18–22, and default pullback/ATR values, then use the Strategy Tester to see trades, profit factor, and drawdown.
If it overtrades or chops, tighten session window and raise ADX minimum; if it undertrades, widen the session or slightly loosen ADX / pullback thresholds.
Note di rilascio
some updates on tables Note di rilascio
table fixedScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.