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?”
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.