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. اقرأ المزيد في شروط الاستخدام.