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 open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.