OPEN-SOURCE SCRIPT
ที่อัปเดต: 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.
Release Note
some updates on tables Release Note
table fixedสคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน