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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.