OPEN-SOURCE SCRIPT
Long / Short Trade Readiness Dashboard

This script is a **broader trade-readiness dashboard**. It decides whether market conditions generally support a long trade, a short trade, or waiting.
It scores six conditions:
* Price above or below VWAP
* Direction of the 20 EMA
* EMA alignment: **20/50/200**
* Volume above its 20-bar average
* Recent price structure: higher highs/higher lows or lower lows/lower highs
* Price not more than 1.5% from VWAP
The score totals 100 points. A trade bias appears when one side scores at least **75** and exceeds the opposite score:
* **LONG:** bullish conditions dominate
* **SHORT:** bearish conditions dominate
* **WAIT:** neither side qualifies
Unlike the previous **Entry Quality / Trend Exhaustion** dashboard, this one mainly identifies the **overall trend direction and trade permission**. It does not closely evaluate whether the specific entry is late, overextended by ATR, experiencing volume climax, or approaching trend exhaustion.
So the intended workflow is:
**This dashboard:** “Should I be looking long or short?”
**Previous dashboard:** “Is this particular entry still good, or am I entering too late?”
It scores six conditions:
* Price above or below VWAP
* Direction of the 20 EMA
* EMA alignment: **20/50/200**
* Volume above its 20-bar average
* Recent price structure: higher highs/higher lows or lower lows/lower highs
* Price not more than 1.5% from VWAP
The score totals 100 points. A trade bias appears when one side scores at least **75** and exceeds the opposite score:
* **LONG:** bullish conditions dominate
* **SHORT:** bearish conditions dominate
* **WAIT:** neither side qualifies
Unlike the previous **Entry Quality / Trend Exhaustion** dashboard, this one mainly identifies the **overall trend direction and trade permission**. It does not closely evaluate whether the specific entry is late, overextended by ATR, experiencing volume climax, or approaching trend exhaustion.
So the intended workflow is:
**This dashboard:** “Should I be looking long or short?”
**Previous dashboard:** “Is this particular entry still good, or am I entering too late?”
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน