教育OPEN-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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。