OPEN-SOURCE SCRIPT
EMA and Dow Theory Strategies V3

Overview
EMA and Dow Theory Strategies V3 is a major refinement of V2, focused on three goals: reducing overfitting, filtering out range-bound markets, and simplifying the parameter set from 13 inputs down to just 5.
The core logic remains the same — combining Dow Theory swing structure with EMA trend direction — but V3 replaces the dual-EMA crossover system and OTHERS.D correlation filter with a single EMA slope judgment and an ADX-based range filter. The result is a cleaner, more robust strategy that performs more consistently across different assets and timeframes.
What Changed from V2
Removed:
Added:
Result: Parameters reduced from 13 → 5
Parameters & Recommended Ranges
EMA Period | Default: 50 | Range: 30–100
Shorter for high-volatility assets, longer for stable ones.
ATR Multiplier | Default: 4.0 | Range: 2.5–6.0
Controls TP distance. Higher = wider targets.
Stop Loss (%) | Default: -6.0 | Range: -4 to -10
Wider for volatile assets, tighter for BTC/ETH.
ADX Threshold | Default: 18.0 | Range: 15–28
Higher = stricter range filter, fewer but higher-quality trades.
Swing Detection Period | Default: 4 | Range: 2–14
Smaller = more sensitive to swing highs/lows.
Recommended Settings by Asset Type
Meme coins (DOGE, SHIB, etc.)
EMA: 44–55 / ATR: 3.5–5.0 / SL: -6 to -8% / ADX: 18–22 / Swing: 3–5
Major assets (BTC, ETH)
EMA: 55–80 / ATR: 2.5–4.0 / SL: -4 to -6% / ADX: 20–25 / Swing: 5–10
Mid-cap alts (SOL, SUI, etc.)
EMA: 35–55 / ATR: 4.0–5.5 / SL: -5 to -7% / ADX: 18–23 / Swing: 4–7
Small-cap alts
EMA: 30–50 / ATR: 4.5–6.0 / SL: -7 to -10% / ADX: 18–22 / Swing: 3–5
Recommended Settings by Timeframe
1–5 min: ADX threshold 15–20 (ADX tends to be lower on short timeframes)
15 min – 1 hour: ADX threshold 18–23
2–4 hour: ADX threshold 20–25
Entry Conditions
Long: EMA slope rising AND Dow Theory trend up AND ADX > threshold
Short: EMA slope falling AND Dow Theory trend down AND ADX > threshold
Exit Conditions
Visual Features
This strategy is designed for trend-following on crypto assets, primarily on the 1H–4H timeframe. Always backtest on your target asset before live trading. Past performance does not guarantee future results.
🇯🇵 日本語
EMA and Dow Theory Strategies V3
概要
EMA and Dow Theory Strategies V3 は、V2を大幅に改良したバージョンです。主な改善点は3つ——過学習リスクの低減、横ばい相場のフィルタリング、そしてパラメーター数を13個から5個へのスリム化です。
コアロジックはV2から引き継いでいます。ダウ理論のスイング構造とEMAのトレンド方向を組み合わせてエントリーを判断します。ただしV3では、デュアルEMAクロスとOTHERS.D相関フィルターを廃止し、1本のEMA傾きとADXによるレンジフィルターに置き換えました。結果として、より汎用性が高く、異なる銘柄・時間足でも安定して機能する設計になっています。
V2からの主な変更点
削除したもの:
追加したもの:
結果:パラメーター数を 13個 → 5個 に削減
パラメーターと推奨設定範囲
EMA期間 | デフォルト: 50 | 推奨範囲: 30〜100
ボラが高い銘柄は短め、安定銘柄は長め。
ATR倍率 | デフォルト: 4.0 | 推奨範囲: 2.5〜6.0
TP距離の基準。大きいほど利確ラインが遠くなる。
損切り(%) | デフォルト: -6.0 | 推奨範囲: -4〜-10
ボラが高い銘柄は広め、BTC/ETHはタイトでOK。
ADXしきい値 | デフォルト: 18.0 | 推奨範囲: 15〜28
高いほどレンジ除外が厳しく、トレード数が減り精度が上がる。
スイング検出期間 | デフォルト: 4 | 推奨範囲: 2〜14
小さいほどスイング高値・安値への感度が高くなる。
銘柄タイプ別おすすめ設定
ミーム系(DOGE・SHIBなど)
EMA: 44〜55 / ATR倍率: 3.5〜5.0 / 損切り: -6〜-8% / ADX: 18〜22 / スイング: 3〜5
主要銘柄(BTC・ETH)
EMA: 55〜80 / ATR倍率: 2.5〜4.0 / 損切り: -4〜-6% / ADX: 20〜25 / スイング: 5〜10
中堅アルト(SOL・SUIなど)
EMA: 35〜55 / ATR倍率: 4.0〜5.5 / 損切り: -5〜-7% / ADX: 18〜23 / スイング: 4〜7
小型アルト
EMA: 30〜50 / ATR倍率: 4.5〜6.0 / 損切り: -7〜-10% / ADX: 18〜22 / スイング: 3〜5
時間足別おすすめ設定
1〜5分足:ADXしきい値 15〜20(短期足はADXが低めになる傾向)
15分〜1時間足:ADXしきい値 18〜23
2〜4時間足:ADXしきい値 20〜25
エントリー条件
ロング:EMAが上向き AND ダウ理論トレンドが上昇 AND ADX > しきい値
ショート:EMAが下向き AND ダウ理論トレンドが下降 AND ADX > しきい値
イグジット条件
チャートの見方
このストラテジーは主に1時間〜4時間足の暗号資産トレンドフォローを想定して設計されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。
EMA and Dow Theory Strategies V3 is a major refinement of V2, focused on three goals: reducing overfitting, filtering out range-bound markets, and simplifying the parameter set from 13 inputs down to just 5.
The core logic remains the same — combining Dow Theory swing structure with EMA trend direction — but V3 replaces the dual-EMA crossover system and OTHERS.D correlation filter with a single EMA slope judgment and an ADX-based range filter. The result is a cleaner, more robust strategy that performs more consistently across different assets and timeframes.
What Changed from V2
Removed:
- Fast EMA / Slow EMA crossover → replaced by single EMA slope direction
- Index Fast EMA / Index Slow EMA (OTHERS.D correlation) → removed entirely
- RSI filter (overbought/oversold) → removed (was not functioning effectively)
- Scale adjustment parameter → removed
Added:
- ADX filter (period fixed at 14) → skips entries during sideways/ranging markets
- Single EMA slope judgment → trend direction determined by whether EMA is rising or falling
Result: Parameters reduced from 13 → 5
Parameters & Recommended Ranges
EMA Period | Default: 50 | Range: 30–100
Shorter for high-volatility assets, longer for stable ones.
ATR Multiplier | Default: 4.0 | Range: 2.5–6.0
Controls TP distance. Higher = wider targets.
Stop Loss (%) | Default: -6.0 | Range: -4 to -10
Wider for volatile assets, tighter for BTC/ETH.
ADX Threshold | Default: 18.0 | Range: 15–28
Higher = stricter range filter, fewer but higher-quality trades.
Swing Detection Period | Default: 4 | Range: 2–14
Smaller = more sensitive to swing highs/lows.
Recommended Settings by Asset Type
Meme coins (DOGE, SHIB, etc.)
EMA: 44–55 / ATR: 3.5–5.0 / SL: -6 to -8% / ADX: 18–22 / Swing: 3–5
Major assets (BTC, ETH)
EMA: 55–80 / ATR: 2.5–4.0 / SL: -4 to -6% / ADX: 20–25 / Swing: 5–10
Mid-cap alts (SOL, SUI, etc.)
EMA: 35–55 / ATR: 4.0–5.5 / SL: -5 to -7% / ADX: 18–23 / Swing: 4–7
Small-cap alts
EMA: 30–50 / ATR: 4.5–6.0 / SL: -7 to -10% / ADX: 18–22 / Swing: 3–5
Recommended Settings by Timeframe
1–5 min: ADX threshold 15–20 (ADX tends to be lower on short timeframes)
15 min – 1 hour: ADX threshold 18–23
2–4 hour: ADX threshold 20–25
Entry Conditions
Long: EMA slope rising AND Dow Theory trend up AND ADX > threshold
Short: EMA slope falling AND Dow Theory trend down AND ADX > threshold
Exit Conditions
- TP1: +ATR×1 → close 30%
- TP2: +ATR×2 → close 30%
- TP3: +ATR×3 → close 30%
- Stop Loss: fixed % from entry price → full close
- Trend reversal: Dow Theory swing flip → full close
Visual Features
- EMA line: green when rising, red when falling
- Gray background: ADX below threshold (range-bound zone — no entries)
- Gradient zones: distance from price to swing high/low
- 4H reference: higher timeframe swing levels displayed
This strategy is designed for trend-following on crypto assets, primarily on the 1H–4H timeframe. Always backtest on your target asset before live trading. Past performance does not guarantee future results.
🇯🇵 日本語
EMA and Dow Theory Strategies V3
概要
EMA and Dow Theory Strategies V3 は、V2を大幅に改良したバージョンです。主な改善点は3つ——過学習リスクの低減、横ばい相場のフィルタリング、そしてパラメーター数を13個から5個へのスリム化です。
コアロジックはV2から引き継いでいます。ダウ理論のスイング構造とEMAのトレンド方向を組み合わせてエントリーを判断します。ただしV3では、デュアルEMAクロスとOTHERS.D相関フィルターを廃止し、1本のEMA傾きとADXによるレンジフィルターに置き換えました。結果として、より汎用性が高く、異なる銘柄・時間足でも安定して機能する設計になっています。
V2からの主な変更点
削除したもの:
- Fast EMA / Slow EMA クロス → EMA1本の傾き判断に統合
- Index Fast EMA / Index Slow EMA(OTHERS.D相関)→ 完全削除
- RSIフィルター(過熱・売られすぎ判定)→ 削除(実質機能していなかったため)
- スケール調整パラメーター → 削除
追加したもの:
- ADXフィルター(期間14固定)→ 横ばい相場でのエントリーをスキップ
- EMA傾き判断 → EMAが上向きか下向きかでトレンド方向を判定
結果:パラメーター数を 13個 → 5個 に削減
パラメーターと推奨設定範囲
EMA期間 | デフォルト: 50 | 推奨範囲: 30〜100
ボラが高い銘柄は短め、安定銘柄は長め。
ATR倍率 | デフォルト: 4.0 | 推奨範囲: 2.5〜6.0
TP距離の基準。大きいほど利確ラインが遠くなる。
損切り(%) | デフォルト: -6.0 | 推奨範囲: -4〜-10
ボラが高い銘柄は広め、BTC/ETHはタイトでOK。
ADXしきい値 | デフォルト: 18.0 | 推奨範囲: 15〜28
高いほどレンジ除外が厳しく、トレード数が減り精度が上がる。
スイング検出期間 | デフォルト: 4 | 推奨範囲: 2〜14
小さいほどスイング高値・安値への感度が高くなる。
銘柄タイプ別おすすめ設定
ミーム系(DOGE・SHIBなど)
EMA: 44〜55 / ATR倍率: 3.5〜5.0 / 損切り: -6〜-8% / ADX: 18〜22 / スイング: 3〜5
主要銘柄(BTC・ETH)
EMA: 55〜80 / ATR倍率: 2.5〜4.0 / 損切り: -4〜-6% / ADX: 20〜25 / スイング: 5〜10
中堅アルト(SOL・SUIなど)
EMA: 35〜55 / ATR倍率: 4.0〜5.5 / 損切り: -5〜-7% / ADX: 18〜23 / スイング: 4〜7
小型アルト
EMA: 30〜50 / ATR倍率: 4.5〜6.0 / 損切り: -7〜-10% / ADX: 18〜22 / スイング: 3〜5
時間足別おすすめ設定
1〜5分足:ADXしきい値 15〜20(短期足はADXが低めになる傾向)
15分〜1時間足:ADXしきい値 18〜23
2〜4時間足:ADXしきい値 20〜25
エントリー条件
ロング:EMAが上向き AND ダウ理論トレンドが上昇 AND ADX > しきい値
ショート:EMAが下向き AND ダウ理論トレンドが下降 AND ADX > しきい値
イグジット条件
- TP1:エントリーから +ATR×1 → 30%決済
- TP2:エントリーから +ATR×2 → 30%決済
- TP3:エントリーから +ATR×3 → 30%決済
- 損切り:設定%を超えたら全決済
- トレンド反転:ダウ理論のスイングが逆転したら決済
チャートの見方
- EMAライン:上向きのとき緑、下向きのとき赤に色が変わります
- グレー背景:ADXがしきい値を下回っている横ばいゾーン(このゾーンではエントリーしません)
- グラデーションゾーン:現在値からスイング高値・安値までの距離を視覚化
- 上位足表示:4時間足のスイングレベルを参考表示
このストラテジーは主に1時間〜4時間足の暗号資産トレンドフォローを想定して設計されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。
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.