FormazioneOPEN-SOURCE SCRIPT
Execution Discipline

EXECUTION DISCIPLINE – HOW TO USE (Jeff Sun Inspired)
This indicator is a real-time execution filter, not a buy/sell signal system. It is designed to help you decide when NOT to trade and when conditions are aligned for high-quality setups.
The table shows three columns:
RULE – the condition being checked
VALUE – the live market value of that condition
STATUS – whether the rule is satisfied (OK) or violated (NO)
The FINAL row is the most important:
If FINAL = VALID → all conditions are satisfied and trading is allowed
If FINAL = NO TRADE → even one rule is broken and you should not enter a trade
RULES EXPLAINED:
LoD Distance (Low of Day risk)
Measures how far price is from the intraday low in ATR terms.
Prevents buying weak or unstable price action.
Rule: must be within 0.6 ATR from Low of Day.
Distance from 50 Moving Average
Prevents chasing extended moves.
Rule: price must be within 4 ATR of the 50 MA.
RVOL (Relative Volume)
Measures institutional participation.
Higher RVOL = stronger conviction and breakout strength.
Rule: must be above the set threshold (default 1.5).
200 MA Trend Filter
Ensures trades are taken only in supportive higher timeframe trend.
Rule: 200 MA must be flat or rising.
Time Filter
Avoids early market noise and unstable opening volatility.
Rule: no trades in first 30 minutes after market open.
HOW TO USE IT:
Step 1: Scan your watchlist during the trading session
Step 2: Wait for FINAL = VALID
Step 3: Only consider entries when all rules are OK
Step 4: If any rule is NO, skip the trade completely
IMPORTANT:
This indicator does not predict direction. It only enforces discipline and filters low-quality trades. It is meant to improve consistency, not increase trade frequency.
CORE PRINCIPLE:
If it is not VALID, it is not a trade.
This indicator is a real-time execution filter, not a buy/sell signal system. It is designed to help you decide when NOT to trade and when conditions are aligned for high-quality setups.
The table shows three columns:
RULE – the condition being checked
VALUE – the live market value of that condition
STATUS – whether the rule is satisfied (OK) or violated (NO)
The FINAL row is the most important:
If FINAL = VALID → all conditions are satisfied and trading is allowed
If FINAL = NO TRADE → even one rule is broken and you should not enter a trade
RULES EXPLAINED:
LoD Distance (Low of Day risk)
Measures how far price is from the intraday low in ATR terms.
Prevents buying weak or unstable price action.
Rule: must be within 0.6 ATR from Low of Day.
Distance from 50 Moving Average
Prevents chasing extended moves.
Rule: price must be within 4 ATR of the 50 MA.
RVOL (Relative Volume)
Measures institutional participation.
Higher RVOL = stronger conviction and breakout strength.
Rule: must be above the set threshold (default 1.5).
200 MA Trend Filter
Ensures trades are taken only in supportive higher timeframe trend.
Rule: 200 MA must be flat or rising.
Time Filter
Avoids early market noise and unstable opening volatility.
Rule: no trades in first 30 minutes after market open.
HOW TO USE IT:
Step 1: Scan your watchlist during the trading session
Step 2: Wait for FINAL = VALID
Step 3: Only consider entries when all rules are OK
Step 4: If any rule is NO, skip the trade completely
IMPORTANT:
This indicator does not predict direction. It only enforces discipline and filters low-quality trades. It is meant to improve consistency, not increase trade frequency.
CORE PRINCIPLE:
If it is not VALID, it is not a trade.
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.