Dow Theory Market Structure [Levels]Theory and User Guide for "Dow Theory Market Structure " Indicator
Theoretical Background
The indicator applies the core principles of Dow Theory in a modern context, suitable for any market (stocks, indices, crypto, forex). Developed by Charles Dow in the late 19th century, Dow Theory is the foundation of trend analysis. Its key tenets implemented in the indicator are:
1. Trend Defined by Successive Peaks and Troughs
Bullish Uptrend – each new high is higher than the previous one (Higher High, HH), and each new low is higher than the previous (Higher Low, HL).
Bearish Downtrend – each new high is lower (Lower High, LH), and each new low is lower (Lower Low, LL).
A violation of this structure signals a potential trend reversal.
2. Support and Resistance Levels
Previous significant highs and lows become future support (former highs after breakout) and resistance (former lows after breakout). The indicator automatically draws horizontal lines from each confirmed pivot and extends them until price closes beyond the level.
3. Volume Confirmation
Volume should expand in the direction of the primary trend and contract during corrections. The indicator uses directional volume:
In an uptrend, average volume on up‑bars (close > open) must exceed average volume on down‑bars.
In a downtrend, down‑bar volume must exceed up‑bar volume.
4. Inter‑Market Confirmation
Two key indices (e.g., Industrials and Transports) must confirm each other. The indicator allows selecting a confirming asset (an index or correlated instrument). The trend is considered confirmed when the confirming asset’s trend direction matches the main chart.
5. BOS (Break of Structure) and CHoCH (Change of Character)
Modern interpretation of Dow’s reversal signals:
BOS – continuation of the current trend when an extreme is renewed in its direction.
CHoCH – first reversal signal when price breaks the last opposing extreme (e.g., a new high after a series of lower highs). For strict Dow compliance, the indicator offers Strict Dow CHoCH: the signal appears only when both index and volume confirmations are satisfied (if active).
User Guide
Purpose
Visualize Dow market structure, auto‑plot key levels, determine the current trend, and generate continuation/reversal signals with optional strict confirmation.
Main Chart Elements
HH / HL / LH / LL Labels at each confirmed pivot.
Horizontal Levels – lines drawn from HH (resistance), HL (support), LH (resistance), LL (support). Levels are automatically deleted when price closes beyond them (or on a wick touch, depending on settings).
ZigZag Lines connecting consecutive highs and lows.
BOS ▲ / BOS ▼ Labels – trend continuation.
CHoCH ▲ / CHoCH ▼ Labels – potential reversal.
Info Panel (bottom‑right) – shows current trend, number of active levels, index and volume confirmation status.
Settings
Organized into functional groups:
⚙️ Main Parameters
Swing Length (bars) – number of bars left/right to confirm an extreme. Smaller values give micro‑structure; larger values capture the main trend.
📐 Levels (Horizontal Lines)
Customize visibility, color, line style, width, and break conditions (close vs. wick).
Limit the maximum number of displayed levels per type.
〰️ ZigZag
Color and thickness for up and down segments.
🏷️ HH/HL/LH/LL Labels
Size, color of labels and text.
🔔 BOS / CHoCH
Toggle BOS/CHoCH display, colors, label size.
📊 Confirmation (Dow Theory)
Use Confirming Asset – enable inter‑market confirmation.
Confirming Asset Symbol – ticker of the confirming instrument.
Confirming Swing Length – swing period for the confirming asset.
Confirming Asset Timeframe – timeframe (empty = current).
Volume Confirms Trend – enable directional volume check.
Volume Lookback Period – averaging period for volume.
Strict Dow CHoCH (require confirmations) – when on, a CHoCH appears only if the index trend matches and volume supports the new direction (when those confirmations are active).
Signal Interpretation
Trend Identification:
Check the info panel («Trend: ▲ Bullish Uptrend» or «▼ Bearish Downtrend»).
Visually: rising price makes HH and HL; falling price makes LH and LL.
Levels:
Use horizontal lines as potential support/resistance zones.
When a level is broken, it disappears – price “confirms” beyond it.
BOS:
BOS ▲ – price makes a new high in an uptrend, signaling strength.
BOS ▼ – new low in a downtrend, continuation of weakness.
CHoCH:
CHoCH ▲ – price exceeds the previous high after a series of lower highs (LH). Possible upward reversal.
CHoCH ▼ – price breaks the previous low after a series of higher lows (HL). Possible downward reversal.
When Strict Dow CHoCH is active, the signal will only appear if the index trend already aligns and volume supports the new direction.
Index Confirmation:
The panel shows «✓ Confirmed» – trends align; «✗ Divergence» – discrepancy (caution); «Waiting…» – not enough data.
Volume Confirmation:
«✓ Volume confirms» – directional volume agrees with the trend.
«✗ Volume weak» – volume does not support the move (potential weakness).
Usage Recommendations
Start with default settings. For long‑term analysis, increase Swing Length to 20–50.
For strict Dow Theory compliance, activate both confirmations and enable «Strict Dow CHoCH».
Choose a confirming asset correlated with the main chart (e.g., SPX for stocks, TOTAL for crypto).
Note: with strict filtering, CHoCH signals will be rare but more reliable. Indicator

NORN WEAVE | URUZ Overview
NORN WEAVE ᚢ URUZ is the second version of NORN WEAVE ᚠ FEHU. The core logic — EMA slope, Dow Theory swing structure, ADX trend confirmation — is unchanged. What changed is the settings.
FEHU had too many parameters to configure manually. URUZ reduces that friction in three ways.
Focus Level replaces the raw EMA period with a single knob. Set the swing detection period, and the EMA scales automatically. One number instead of two.
Auto Calibration computes the ADX threshold, ATR factor, and Stop Loss directly from the chart's volatility data. When enabled, you don't need to touch those values at all.
Break Even Stop now has a single parameter: how far price must move before the stop activates. The stop is always placed at entry price — no buffer to configure, no edge cases.
The philosophy hasn't changed. Survival first, profit second.
Entry Conditions
- Long: EMA rising AND Dow Theory trend up AND ADX above threshold AND Footprint Delta bullish (if filter enabled)
- Short: EMA falling AND Dow Theory trend down AND ADX above threshold AND Footprint Delta bearish (if filter enabled)
Exit Conditions
- TP1 — ATR × Factor × 1 → closes 30% of position
- TP2 — ATR × Factor × 2 → closes another 30%
- TP3 — ATR × Factor × 3 → closes a further 30%
- Stop Loss — fixed % from entry → closes full position
- Break Even Stop — once floating profit reaches the BE trigger %, stop moves to entry price and closes on pullback
- Trend Reversal — when Dow Theory swing flips → closes full position
Focus Level & Auto Calibration
Focus Level is the primary control knob. It sets the swing detection period, and the EMA period is derived automatically (Focus Level × EMA Scale Ratio, default ×5). Adjust Focus Level first when applying to a new symbol or timeframe — everything else follows.
Auto Calibration computes three values from the chart's own data:
- ADX Threshold — 50th percentile of ADX over 300 bars. The strategy only enters when the current ADX exceeds its own historical median, filtering weak trends automatically.
- ATR Factor — shifts based on current volatility vs. the 200-bar average. High volatility → tighter targets. Low volatility → wider targets.
- Stop Loss — 50-bar smoothed ATR × 3.5, clamped between -5% and -20%.
When Auto Calibration is off, the Manual Tune group values are used instead.
Break Even Stop
Once price moves the BE Trigger % from entry, the stop is placed exactly at the entry price. The position closes if price returns to break-even. One parameter to set — how far price must travel before the stop activates. The stop position is always entry.
Footprint Delta Filter (Premium plan required)
Uses BTC or ETH footprint delta (buy volume − sell volume) as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction. Meaningful reduction in false signals during ranging and choppy markets.
Parameters
- Focus Level (default 13) — Main knob. Controls swing detection and EMA scaling. Adjust first when changing asset or timeframe.
- EMA Scale Ratio (default 5) — EMA length = Focus Level × this value. Default gives EMA 65.
- Auto Calibration (default ON) — Computes ADX threshold, ATR factor, and SL from chart data automatically.
- BE Trigger % (default 5.5%) — How far price must move from entry before the BE stop activates. Recommended: 50–70% of |SL|.
- ATR Factor — active when Auto Calibration is OFF. Controls TP distance. Default 3.8.
- Stop Loss % — active when Auto Calibration is OFF. Default -10.0%.
- ADX Threshold — active when Auto Calibration is OFF. Default 20.5.
- Footprint SMA Period (default 21) — Smoothing period for delta signal.
Recommended Settings
- Meme coins (DOGE, SHIB): Focus 10–15, Auto Calibration ON, BE trigger 6–10%
- Major assets (BTC, ETH): Focus 13–18, Auto Calibration ON, BE trigger 4–7%
- Mid-cap alts (SOL, SUI, ADA): Focus 12–16, Auto Calibration ON, BE trigger 5–8%
For timeframe selection, ADX threshold 15–20 suits 1–5 min charts, 18–23 for 15 min–1H, and 20–25 for 2–4H charts. Default settings are optimized for the 2H timeframe.
Visual Guide
- EMA line — 3-layer glow effect. Teal when rising, red when falling.
- Dow Theory zones — gradient fill from the current swing level to the current price.
- TP lines — semi-transparent. TP1 faintest, TP3 most visible.
- BE Stop line — gold, appears only when the break even stop is active.
- Gray background — ADX below threshold. No entries occur in this zone.
- Orange background — Footprint Delta Filter is blocking entry.
- Orange warning bar — Auto Calibration is OFF. Manual mode is in effect.
- Status table — real-time display of all conditions, current parameter values, and mode. Japanese/English toggle included.
概要
NORN WEAVE ᚢ URUZ は、NORN WEAVE ᚠ FEHU の第2バージョンです。エントリーのコアロジック——EMAの傾き・ダウ理論のスイング構造・ADXトレンド確認——は変わっていません。変わったのは設定です。
FEHUは手動で調整するパラメーターが多すぎました。URUZはその煩わしさを3つの形で減らしています。
フォーカスレベル は、EMA期間という直感的でない数値を一本のノブに置き換えます。スイング検出期間を設定するだけで、EMAが自動的にスケールします。2つの数値が1つになりました。
オートキャリブレーション をONにすると、ADXしきい値・ATR倍率・ストップロスがチャートのボラティリティデータから自動算出されます。有効にしていれば、これらの値に触れる必要はありません。
ブレークイーブンストップ の設定項目は一つになりました——「何%動いたら発動するか」だけです。ストップ位置は常に建値(エントリー価格)で固定。バッファーの設定も、落とし穴もありません。
哲学は変わっていません。 まず生き残る、利益はその次。
エントリー条件
- ロング: EMA上向き AND ダウ理論上昇トレンド AND ADXしきい値以上 AND フットプリントデルタ買い優勢(フィルター有効時)
- ショート: EMA下向き AND ダウ理論下降トレンド AND ADXしきい値以上 AND フットプリントデルタ売り優勢(フィルター有効時)
イグジット条件
- TP1 — ATR×倍率×1 → ポジションの30%を決済
- TP2 — ATR×倍率×2 → さらに30%を決済
- TP3 — ATR×倍率×3 → さらに30%を決済
- ストップロス — エントリーから設定%に達したらポジションを全決済
- ブレークイーブンストップ — 含み益がBE発動しきい値%に達したら、ストップが建値に移動。価格が戻ったら全決済
- トレンド反転 — ダウ理論のスイングが逆転した時点でポジションを全決済
フォーカスレベルとオートキャリブレーション
フォーカスレベル は主軸の操作ノブです。スイング検出期間を設定し、EMA期間はフォーカスレベル×EMAスケール倍率(デフォルト×5)で自動決定されます。新しい銘柄・時間足に適用するときは、まずここを調整してください。
オートキャリブレーション はチャート自身のATR履歴を読み取り、3つの値をリアルタイムで算出します。
- ADXしきい値 — 過去300本のADXの50パーセンタイル(中央値)から算出。現在のADXが過去の中央値を超えているときのみエントリー。
- ATR倍率 — 現在のボラティリティを200本平均と比較して動的に変化。高ボラ時はTPを短く、低ボラ時はTPを長く。
- ストップロス — 50本平滑ATR×3.5で算出し、-5%〜-20%の範囲にクランプ。
オートキャリブレーションをOFFにすると、マニュアルチューングループの値が使われます。
ブレークイーブンストップ
エントリーからBE発動しきい値%以上動いたら、ストップがエントリー価格(建値)に設定されます。価格が建値まで戻った時点でポジションが決済されます。設定項目は一つ——「何%動いたら発動するか」だけ。ストップ位置は常に建値です。
フットプリント・デルタフィルター (Premiumプラン以上が必要)
BTCまたはETHのフットプリント・デルタ(買い出来高から売り出来高を引いた値)を方向性確認フィルターとして使用します。オーダーフローがトレードの方向と逆行しているときはエントリーをブロックします。横ばい・荒れた相場でのだましシグナルを大幅に削減します。
パラメーター
- フォーカスレベル(デフォルト13)— 主軸ノブ。銘柄・時間足変更時はここを最初に調整。
- EMAスケール倍率(デフォルト5)— EMA期間 = フォーカスレベル × この値。デフォルトでEMA65。
- オートキャリブレーション(デフォルトON)— ADXしきい値・ATR倍率・SLをチャートデータから自動算出。
- BE発動しきい値%(デフォルト5.5%)— エントリーからこの%動いたらBEストップが発動。推奨:|SL|の50〜70%。
- ATR倍率(手動)— オートキャリブレーションOFF時に有効。デフォルト3.8。
- 損切り%(手動)— オートキャリブレーションOFF時に有効。デフォルト-10.0%。
- ADXしきい値(手動)— オートキャリブレーションOFF時に有効。デフォルト20.5。
- フットプリントSMA期間(デフォルト21)— デルタシグナルの平滑化期間。
銘柄タイプ別おすすめ設定
- ミーム系(DOGE・SHIB): フォーカス10〜15、オートキャリブレーションON、BE発動6〜10%
- 主要銘柄(BTC・ETH): フォーカス13〜18、オートキャリブレーションON、BE発動4〜7%
- 中堅アルト(SOL・SUI・ADA): フォーカス12〜16、オートキャリブレーションON、BE発動5〜8%
時間足については、1〜5分足ではADXしきい値15〜20、15分〜1時間足では18〜23、2〜4時間足では20〜25を推奨します。デフォルト設定はADA 2時間足向けに最適化されています。
チャートの見方
- EMAライン — 3層グロー効果。上向きはティール、下向きはレッド。
- ダウ理論ゾーン — 現在のスイングレベルから現在価格へのグラデーション。
- TPライン — 半透明。TP1が最も薄く、TP3が最も濃い。
- BEストップライン — ゴールド。BEストップが発動している間のみ表示。
- グレー背景 — ADXがしきい値以下。このゾーンではエントリーが発生しない。
- オレンジ背景 — フットプリント・デルタフィルターがエントリーをブロック中。
- オレンジ警告 — オートキャリブレーションがOFF。手動モードが有効。
- ステータステーブル — 全エントリー条件・現在のパラメーター値・モードをリアルタイム表示。日本語・英語切り替え対応。
Strategy

NORN WEAVE | FEHUOverview
NORN WEAVE ᚠ FEHU is a trend-following strategy built around one philosophy: survival first, profit second.
The core logic is three filters in sequence — EMA slope, Dow Theory swing structure, and ADX trend confirmation. All three must align before an entry is taken. If the market is ranging, the strategy stands aside.
What defines NORN WEAVE is how it protects what it earns. The Break Even Stop automatically moves the stop to entry price once floating profit reaches a threshold. The Footprint Delta Filter adds a second layer, blocking entries when BTC or ETH order flow contradicts the trade direction. Fewer trades. Fewer unnecessary losses. A drawdown profile that stays flat even across five years of volatile crypto markets.
This is not a strategy designed to make you rich overnight. It is designed to keep you in the game.
Performance Highlights (DOGE / 2H / 2021–2026)
Backtested on DOGE 2H from January 2021 to March 2026, with 0.055% commission included. Net profit +25.4%, max drawdown 1.71%, win rate 70.7%, profit factor 1.80, total trades 557.
Always backtest on your target asset before live trading.
Entry Conditions
Long: EMA rising AND Dow Theory trend up AND ADX above threshold.
Short: EMA falling AND Dow Theory trend down AND ADX above threshold.
Exit Conditions
TP1 triggers at ATR × Factor × 1, closing 30% of the position. TP2 at × 2, closing another 30%. TP3 at × 3, closing a further 30%. The Stop Loss closes the full position at a fixed percentage from entry. The Break Even Stop automatically triggers once floating profit reaches the BE threshold, closing the full position at entry price. A Trend Reversal — when Dow Theory swing flips — also closes the full position.
Footprint Delta Filter (Premium plan required)
Uses BTC or ETH footprint delta (buy volume − sell volume) as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction. Meaningful reduction in false signals during ranging markets.
Parameters
EMA Period defaults to 58, recommended range 30–100. Use shorter values for high-volatility assets, longer for stable ones.
ATR Factor defaults to 3.8, recommended range 2.5–6.0. Controls TP distance — higher means wider targets.
Stop Loss defaults to -5.0%, recommended range -4 to -10%. Wider for volatile assets, tighter for BTC/ETH.
ADX Threshold defaults to 20.5, recommended range 15–28. Higher values produce fewer but cleaner trades.
Swing Length defaults to 13, recommended range 2–20. Larger values reduce sensitivity to minor swings.
BE Trigger defaults to 9.0%, recommended range 3–15%. Set below TP1 distance to protect profits before TP1 is reached.
Footprint Delta SMA defaults to 21, recommended range 1–50. Controls smoothing of the delta signal.
Recommended Settings
For meme coins such as DOGE and SHIB: EMA 44–58, ATR 3.5–5.0, stop loss -5 to -8%, ADX 18–22, BE trigger 7–10%.
For major assets such as BTC and ETH: EMA 55–80, ATR 2.5–4.0, stop loss -4 to -6%, ADX 20–25, BE trigger 5–8%.
For mid-cap alts such as SOL and SUI: EMA 35–55, ATR 4.0–5.5, stop loss -5 to -7%, ADX 18–23, BE trigger 6–10%.
For timeframe selection, an ADX threshold of 15–20 suits 1–5 minute charts. 18–23 suits 15 minutes to 1 hour. 20–25 suits 2–4 hour charts. Default settings are optimized for the 2H timeframe.
Visual Guide
The EMA line uses a 3-layer glow effect — teal when rising, red when falling. Dow Theory zones show a gradient from the current swing level to the current price. TP lines are semi-transparent, with TP1 the faintest and TP3 the most visible. The BE Stop line appears in gold only when the break even stop is active. A gray background indicates ADX is below the threshold — the strategy does not enter trades in this zone. An orange background means the Footprint Delta Filter is blocking entry. The status table shows all entry conditions and current state in real time, with a Japanese/English toggle.
概要
NORN WEAVE ᚠ FEHU は、「まず生き残る、利益はその次」 という一つの哲学から作られたトレンドフォロー型ストラテジーです。
エントリー条件はシンプルな3つのフィルターで構成されています——EMAの傾き、ダウ理論のスイング構造、ADXトレンドフィルター。この3つが同時に揃ったときだけエントリーします。レンジ相場と判断されたときは、何もせずに待ちます。
NORN WEAVEを特徴づけているのは、稼いだ利益をどう守るかという設計です。ブレークイーブンストップは、含み益が一定の閾値に達した瞬間に損切りラインをエントリー価格へ自動移動します。フットプリント・デルタフィルターはBTCまたはETHのオーダーフローを確認し、トレードの方向と逆行している場合はエントリーをブロックします。結果としてトレード数は絞られ、不要な損失が減り、ドローダウンが5年間の荒れた暗号資産市場でも極めて小さく抑えられています。
一夜にして資産を増やすストラテジーではありません。長くゲームに居続けるためのストラテジーです。
バックテスト結果
DOGEの2時間足、2021年1月から2026年3月まで、手数料0.055%を含む条件でバックテストを実施しています。総損益は+25.4%、最大ドローダウンは1.71%、勝率は70.7%、プロフィットファクターは1.80、トレード総数は557件です。
実運用の前に必ずご自身の対象銘柄でバックテストを行ってください。
エントリー条件
ロングエントリーはEMAが上向き、ダウ理論トレンドが上昇、ADXがしきい値以上の3条件が揃ったときに発動します。ショートエントリーはEMAが下向き、ダウ理論トレンドが下降、ADXがしきい値以上の3条件が揃ったときに発動します。
イグジット条件
TP1はエントリーからATR×倍率×1の地点でポジションの30%を決済します。TP2は×2の地点でさらに30%、TP3は×3の地点でさらに30%を決済します。損切りは設定した%を超えた時点でポジションを全決済します。ブレークイーブンストップは含み益がしきい値%に達した瞬間に自動発動し、エントリー価格でポジションを全決済します。ダウ理論のスイングが逆転したトレンド反転時も、ポジションを全決済します。
フットプリント・デルタフィルター(Premiumプラン以上が必要)
BTCまたはETHのフットプリント・デルタ(買い出来高から売り出来高を引いた値)を方向性確認フィルターとして使用します。オーダーフローがトレードの方向と逆行しているときはエントリーをブロックします。横ばい相場でのだましシグナルを大幅に削減します。
パラメーター
EMA期間のデフォルトは58で、推奨範囲は30〜100です。ボラティリティが高い銘柄は短め、安定した銘柄は長めに設定します。
ATR倍率のデフォルトは3.8で、推奨範囲は2.5〜6.0です。TP距離の基準となる値で、大きいほど利確ラインが遠くなります。
損切りのデフォルトは-5.0%で、推奨範囲は-4〜-10%です。ボラティリティが高い銘柄は広め、BTC・ETHなどはタイトに設定します。
ADXしきい値のデフォルトは20.5で、推奨範囲は15〜28です。高いほどトレード数が減り、精度が上がります。
スイング検出期間のデフォルトは13で、推奨範囲は2〜20です。大きいほど小さなスイングに反応しにくくなります。
BE発動しきい値のデフォルトは9.0%で、推奨範囲は3〜15%です。TP1到達距離より低めに設定することで、TP1到達前に元本を保護できます。
フットプリントSMA期間のデフォルトは21で、推奨範囲は1〜50です。デルタシグナルの平滑化期間です。
銘柄タイプ別おすすめ設定
ミーム系銘柄(DOGE・SHIBなど)ではEMAを44〜58、ATR倍率を3.5〜5.0、損切りを-5〜-8%、ADXしきい値を18〜22、BEトリガーを7〜10%に設定することを推奨します。
主要銘柄(BTC・ETH)ではEMAを55〜80、ATR倍率を2.5〜4.0、損切りを-4〜-6%、ADXしきい値を20〜25、BEトリガーを5〜8%に設定することを推奨します。
中堅アルト(SOL・SUIなど)ではEMAを35〜55、ATR倍率を4.0〜5.5、損切りを-5〜-7%、ADXしきい値を18〜23、BEトリガーを6〜10%に設定することを推奨します。
時間足については、1〜5分足ではADXしきい値を15〜20、15分〜1時間足では18〜23、2〜4時間足では20〜25に設定することを推奨します。デフォルト設定はDOGEの2時間足向けに最適化されています。
チャートの見方
EMAラインは3層のグロー効果で描画されます。上向きのときはティール、下向きのときはレッドで表示されます。ダウ理論ゾーンは現在のスイングレベルから現在価格へ向かうグラデーションで表示されます。TPラインは半透明で、TP1が最も薄く、TP3が最も濃く表示されます。BEストップラインはブレークイーブンストップが発動している間のみゴールドのラインで表示されます。グレーの背景はADXがしきい値以下の横ばいゾーンを示しており、このゾーンではエントリーは発生しません。オレンジの背景はフットプリント・デルタフィルターがエントリーをブロックしていることを示します。ステータステーブルは全エントリー条件と現在の状態をリアルタイムで表示し、日本語・英語の切り替えに対応しています。
デフォルト設定はDOGEの2時間足向けに最適化されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。
NORN WEAVEは今後も継続的にアップデートされます。ただし、コアコンセプト——生き残ること——は変わりません。
Strategy

EMA and Dow Theory Strategies V4━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Overview
EMA and Dow Theory Strategies V4 is a refinement of V3, focused on one core problem: protecting profits on trades that moved in your favor but reversed before reaching the take-profit levels.
The entry logic is unchanged from V3 — EMA slope direction, Dow Theory swing structure, and ADX trend filter. V4 adds a Break Even Stop mechanism that automatically moves the stop-loss to the entry price once floating profit reaches a defined threshold. This single addition meaningfully improves the risk-adjusted performance without sacrificing the strategy's core edge.
The visual interface has also been fully redesigned — gradient Dow Theory zones, a neon EMA glow effect, minimal trade labels, and a real-time status table showing all entry conditions at a glance.
──────────────────────────────
What Changed from V3
Added:
- Break Even Stop (BE Stop) — When floating profit reaches the BE Trigger % threshold, the stop-loss automatically moves to entry price (+ 0.1% buffer for fees). Trades that previously resulted in a loss after being in profit now exit at breakeven instead.
- Real-time Status Table — Displays EMA direction, Dow Theory trend, ADX value, position status, and BE state. Supports Japanese / English toggle.
- Per-element display toggles — Each visual element can be shown or hidden independently via checkboxes.
- Higher TF swing repainting fix — Rebuilt using lookahead_off and confirmed pivot bars to reduce repainting. Note: the higher timeframe swing lines have always been display-only and were never used in entry conditions, so this change does not affect strategy logic.
- Bilingual support — Full Japanese / English language toggle.
Redesigned:
- EMA line now uses a 3-layer glow effect (neon teal / neon red)
- Dow Theory gradient zones simplified from 5 layers to 2 layers
- TP lines changed to semi-transparent lines (TP1 faint → TP3 visible)
- Trade labels now show only final exit results
- Higher TF swing lines thinned and made semi-transparent as reference-only
──────────────────────────────
Parameters & Recommended Ranges
EMA Period — Default: 58 — Range: 30–100
Shorter for high-volatility assets, longer for stable ones.
ATR Factor — Default: 3.8 — Range: 2.5–6.0
Controls TP distance. Higher = wider targets.
Stop Loss (%) — Default: -5.0 — Range: -4 to -10
Wider for volatile assets, tighter for BTC/ETH.
ADX Threshold — Default: 20.5 — Range: 15–28
Higher = stricter range filter, fewer but higher-quality trades.
Swing Length — Default: 13 — Range: 2–20
Larger = less sensitive to minor swings.
BE Trigger (%) — Default: 9.0 — Range: 3.0–15.0
Set below TP1 distance for protection before TP1 is reached.
──────────────────────────────
Recommended Settings by Asset Type
Meme coins (DOGE, SHIB, etc.)
EMA: 44–58 / ATR: 3.5–5.0 / SL: -5 to -8% / ADX: 18–22 / Swing: 10–15 / BE: 7–10%
Major assets (BTC, ETH)
EMA: 55–80 / ATR: 2.5–4.0 / SL: -4 to -6% / ADX: 20–25 / Swing: 8–15 / BE: 5–8%
Mid-cap alts (SOL, SUI, etc.)
EMA: 35–55 / ATR: 4.0–5.5 / SL: -5 to -7% / ADX: 18–23 / Swing: 8–15 / BE: 6–10%
Small-cap alts
EMA: 30–50 / ATR: 4.5–6.0 / SL: -7 to -10% / ADX: 18–22 / Swing: 5–12 / BE: 8–12%
──────────────────────────────
Recommended Settings by Timeframe
1–5 min: ADX threshold 15–20
15 min – 1 hour: ADX threshold 18–23
2–4 hour: ADX threshold 20–25 (default settings optimized for 2H)
──────────────────────────────
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: Entry + ATR x Factor x 1 → close 30%
TP2: Entry + ATR x Factor x 2 → close 30%
TP3: Entry + ATR x Factor x 3 → close 30%
Stop Loss: Fixed % from entry → full close
Break Even Stop: Triggered once profit >= BE Trigger % → full close at entry price
Trend Reversal: Dow Theory swing flip → full close
──────────────────────────────
Visual Features
EMA line: 3-layer neon glow — teal when rising, red when falling
Dow Theory zones: 2-layer gradient from swing high/low to current price
Swing lines: Horizontal support/resistance at current swing high/low
TP lines: Semi-transparent lines, TP1 faint to TP3 visible
BE Stop line: Gold line shown when BE is active
Higher TF swing: Thin reference lines from the 4H timeframe
Gray background: ADX below threshold (range-bound zone, no entries)
Status Table: Real-time display of all entry conditions and current state
This strategy is designed for trend-following on crypto assets, primarily on the 1H–4H timeframe. Default settings are optimized for DOGE on the 2H chart. Always backtest on your target asset before live trading. Past performance does not guarantee future results.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
概要
EMA and Dow Theory Strategies V4 は、V3をベースに改良したバージョンです。解決した課題は一つ——含み益が出ていたにもかかわらず、TP到達前に相場が反転して損失になるトレードを減らすことです。
エントリーロジックはV3から変わっていません。EMAの傾き、ダウ理論のスイング構造、ADXトレンドフィルターの3条件です。V4ではこれにブレークイーブンストップを追加しました。含み益が設定したしきい値%に達すると、損切りラインが自動的にエントリー価格に移動します。このシンプルな追加一つで、ストラテジーの本質的なエッジを損なわずにリスク調整後のパフォーマンスが改善されています。
また、チャートの視覚表現も全面的に刷新しました。ダウ理論ゾーンのグラデーション、EMAのネオングロー効果、すっきりしたトレードラベル、そしてエントリー条件をひと目で確認できるステータステーブルを追加しています。
──────────────────────────────
V3からの主な変更点
追加したもの:
- ブレークイーブンストップ(BE Stop) — 含み益がBE発動しきい値%に達すると、損切りラインがエントリー価格(+手数料分0.1%バッファ)に自動移動。以前は「プラスになったのに最終的にマイナス」で終わっていたトレードがブレークイーブン撤退になります。
- ステータステーブル — EMA方向・ダウ理論トレンド・ADX値・ポジション状態・BEの状態をリアルタイムで一覧表示。日本語・英語の切り替えに対応。
- 描画要素の個別ON/OFF — 各表示要素をチェックボックスで個別に切り替え可能。
- 上位足スイングラインの再描画修正 — lookahead_off と確定済みピボットバーを使用して再描画を低減。なお、上位足スイングラインはもともとエントリー条件には使用しておらず、あくまで参考表示のみです。この修正はストラテジーのロジックに影響しません。
- 日英バイリンガル対応 — ステータステーブルと表示ラベルの日本語・英語切り替えに対応。
刷新したもの:
- EMAラインが3層グロー効果(ネオンティール / ネオンレッド)に
- ダウ理論グラデーションゾーンを5層→2層に簡略化
- TPラインを半透明ラインに変更(TP1が最も薄く、TP3が最も濃い)
- トレードラベルは最終決済時のみ表示(部分利確のラベルは非表示)
- 上位足スイングラインを細く・半透明にして参考表示に
──────────────────────────────
パラメーターと推奨設定範囲
EMA期間 — デフォルト: 58 — 推奨範囲: 30〜100
ボラが高い銘柄は短め、安定銘柄は長め。
ATR倍率 — デフォルト: 3.8 — 推奨範囲: 2.5〜6.0
TP距離の基準。大きいほど利確ラインが遠くなる。
損切り(%) — デフォルト: -5.0 — 推奨範囲: -4〜-10
ボラが高い銘柄は広め、BTC/ETHはタイトでOK。
ADXしきい値 — デフォルト: 20.5 — 推奨範囲: 15〜28
高いほどレンジ除外が厳しく、トレード数が減り精度が上がる。
スイング検出期間 — デフォルト: 13 — 推奨範囲: 2〜20
大きいほど小さなスイングに反応しにくくなる。
BE発動しきい値(%) — デフォルト: 9.0 — 推奨範囲: 3.0〜15.0
TP1到達距離より低めに設定すると、TP1到達前に元本を守れる。
──────────────────────────────
銘柄タイプ別おすすめ設定
ミーム系(DOGE・SHIBなど)
EMA: 44〜58 / ATR倍率: 3.5〜5.0 / 損切り: -5〜-8% / ADX: 18〜22 / スイング: 10〜15 / BE: 7〜10%
主要銘柄(BTC・ETH)
EMA: 55〜80 / ATR倍率: 2.5〜4.0 / 損切り: -4〜-6% / ADX: 20〜25 / スイング: 8〜15 / BE: 5〜8%
中堅アルト(SOL・SUIなど)
EMA: 35〜55 / ATR倍率: 4.0〜5.5 / 損切り: -5〜-7% / ADX: 18〜23 / スイング: 8〜15 / BE: 6〜10%
小型アルト
EMA: 30〜50 / ATR倍率: 4.5〜6.0 / 損切り: -7〜-10% / ADX: 18〜22 / スイング: 5〜12 / BE: 8〜12%
──────────────────────────────
時間足別おすすめ設定
1〜5分足: ADXしきい値 15〜20
15分〜1時間足: ADXしきい値 18〜23
2〜4時間足: ADXしきい値 20〜25(デフォルト設定は2時間足向けに最適化)
──────────────────────────────
エントリー条件
ロング: EMAが上向き AND ダウ理論トレンドが上昇 AND ADX > しきい値
ショート: EMAが下向き AND ダウ理論トレンドが下降 AND ADX > しきい値
──────────────────────────────
イグジット条件
TP1: エントリーから +ATR×倍率×1 → 30%決済
TP2: エントリーから +ATR×倍率×2 → 30%決済
TP3: エントリーから +ATR×倍率×3 → 30%決済
損切り: 設定%を超えたら全決済
BEストップ: 含み益がBE発動しきい値%以上になると自動発動 → エントリー価格で全決済
トレンド反転: ダウ理論のスイングが逆転したら全決済
──────────────────────────────
チャートの見方
EMAライン: 3層グローエフェクト。上向きのときネオンティール、下向きのときネオンレッド
ダウ理論ゾーン: スイング高値・安値から現在価格までの2層グラデーション
スイングライン: 現在のサポート・レジスタンス水平線
TPライン: 半透明ライン。TP1が最も薄く、TP3が最も濃い
BEストップライン: BE発動中にゴールドのラインで表示
上位足スイング: 4時間足のスイングレベルを参考表示(細い半透明ライン)
グレー背景: ADXがしきい値以下の横ばいゾーン(このゾーンではエントリーしません)
ステータステーブル: 全エントリー条件と現在の状態をリアルタイム表示
このストラテジーは主に1時間〜4時間足の暗号資産トレンドフォローを想定して設計されています。デフォルト設定はDOGEの2時間足で最適化されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。 Strategy

EMA and Dow Theory Strategies V3Overview
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時間足の暗号資産トレンドフォローを想定して設計されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。 Strategy

MTF Trend Panel [Dow/SMC]■ 概要
複数の時間足(マルチタイムフレーム:MTF)のトレンド方向をひとつのチャート上で一目で確認できるパネル型インジケーターです。トレンドの判定基準として、「ダウ理論(Dow)」と「スマートマネーコンセプト(SMC)」の2種類のロジックからお好みのものを選択できます。
■ 主な特徴
2種類のトレンド判定ロジック:
Dow(ダウ理論モード): 直近2つのピボットハイ(高値)とピボットロー(安値)を比較し、高値・安値の切り上げで「上昇トレンド」、切り下げで「下降トレンド」と判定します。
SMC(スマートマネーコンセプトモード): ローソク足の終値が直近のピボットハイ、またはピボットローをブレイク(BOS / CHoCH)した方向に基づいてトレンドを判定します。
最大6つの時間足を監視:
月足、週足、日足、4時間足、1時間足、15分足など、監視したい時間足を最大6つまで任意に設定可能です。
カスタマイズ可能なUI:
パネルの表示位置(四隅)や、文字のサイズをチャート環境に合わせて自由に変更できます。
■ 設定項目
判定ロジック設定: ロジックの切り替え(Dow / SMC)、ピボット判定に用いる左右のバー数(Left/Right Bars)
タイムフレーム設定: パネルに表示する6つの時間足(Timeframe 1 ~ 6)
パネル設定: 表示位置(Top Right, Bottom Leftなど)、文字サイズ
----------------------------------------------------------------------------------------
■ Overview
This indicator provides a multi-timeframe (MTF) panel that allows you to check the current trend direction across up to 6 different timeframes at a glance. You can seamlessly switch between two distinct logic modes for trend detection: Dow Theory and Smart Money Concepts (SMC).
■ Key Features
Two Trend Detection Logics:
Dow Mode: Uses classic Dow Theory. It compares the last two Pivot Highs and Pivot Lows. An uptrend is identified by higher highs and higher lows, while a downtrend is identified by lower highs and lower lows.
SMC Mode: Based on Smart Money Concepts. The trend is determined by the closing price breaking the most recent Pivot High or Pivot Low (BOS / CHoCH).
Monitor Up to 6 Timeframes:
Fully customizable. You can set up to 6 timeframes to monitor simultaneously (e.g., 1M, 1W, D, 4H, 1H, 15m).
Customizable UI:
Easily adjust the panel's position on the chart (top-right, bottom-left, etc.) and text size to fit your trading setup.
■ Settings
Logic Settings: Choose between 'Dow' and 'SMC'. Adjust Left/Right bars for Pivot calculations.
Timeframe Settings: Select 6 specific timeframes to display on the panel.
Panel Settings: Select screen position and text size. Indicator

EMA and Dow Theory Strategies V2 DOGE Current Optimum Value
📘 Overview
These are the current optimal values for DOGE.
They are intended for use on the 2‑hour timeframe.
This script requires complex configuration, but there is an optimal set of values somewhere.
Here, I’m sharing the settings that I personally use at the moment.
Turning Take Profit off can lead to higher profits, but it also increases risks such as a lower win rate.
With Take Profit on, you can adjust the settings by increasing the values.
I have been trading using Dow Theory for many years.
Trading with Dow Theory and EMA has been my main strategy.
Although it has been profitable, I have long struggled with its low win rate.
The issue lies in the immaturity of the exit strategy, and I’m currently experimenting to see if I can solve that.
In V2, I added three take‑profit lines, securing 30% of the profit at each level to ensure a minimum level of gain.
Additionally, when the trend weakens, half of the position is closed.
In all scenarios, the remaining position is held until the trend reverses.
The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance.
🧠 Key Features
🔹 1. Dual‑EMA Trend Logic (Symbol + External Index)
Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias.
🔹 2. Dow Theory Swing Detection (Real‑time)
The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone.
🔹 3. Gradient Trend Zones (Visual Trend Strength)
When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive.
🔹 4. Higher‑Timeframe Swing Trend (htfTrend)
Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries.
🔹 5. RSI‑Based Entry Protection
RSI prevents entries during extreme overbought/oversold conditions.
🔹 6. Dynamic Exit System
Includes:
Custom stop‑loss (%)
Partial take‑profit (TP1/TP2/TP3)
Automatic scale‑out when trend color weakens
“Color‑change lockout” to prevent immediate re‑entry
Real‑time PnL tracking and labels
🔹 7. Alerts for All Key Events
Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.
🔹 8. Visual PnL Labels & Equity Tracking
PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.
⚙️ Input Parameters
Parameter Description
Fast EMA / Slow EMA EMAs used for symbol trend detection
Index Fast / Slow EMA EMAs applied to external index
StopLoss (%) Custom stop‑loss threshold
Scale‑Out % Portion to exit when trend color weakens
RSI Period / Levels Overbought/oversold filters
Swing Detection Length Bars used to detect swing highs/lows
Stats Display Position of statistics table
🧭 About htfTrend (Higher Timeframe Trend)
The higher‑timeframe swing trend is displayed visually but not used for entry logic.
Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness.
Use it as a contextual guide, not a constraint.
📘 概要
DOGEの現在の最適値です。
2時間足での使用を想定しています。
このスクリプトは複雑な設定が必要ですが、どこかに最適値が存在します。
今回は現在私が個人的に使っている設定値の公開です。
Take ProfitをOFFにするとさらなる利益が望めますが、勝率が下がるなどのリスクが上がります。
ONにした状態で数値を上げることによって調整することが可能です。
私はダウ理論を使ったトレードを長年続けてきました。
ダウ理論とEMAを使ったトレードが私の主力です。
しかし利益は出るものの、長年その勝率の低さに悩んでいました。
問題は出口戦略が未熟なためで、現在はそれらの解決ができないかと試行錯誤を続けています。
V2では3本の利益確定ラインを引き、それぞれ30%ずつ利益を確定し、最低限の利益がでるようにしました。
それ以外にはトレンドが弱まったタイミングで半分の利益確定をし、どのパターンでも残ったポジションはトレンド転換まで持ち続けます。
🧠 主な機能
🔹 1. 銘柄+外部インデックスの EMA クロス判定
対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。
🔹 2. ダウ理論に基づくスイング高値・安値の自動検出
スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。
🔹 3. グラデーション背景によるトレンド強度の可視化
スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。
🔹 4. 上位足スイングトレンド(htfTrend)の表示
4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。
🔹 5. RSI による過熱・売られすぎフィルター
極端な RSI 状態でのエントリーを防止。
🔹 6. 動的イグジットシステム
カスタム損切り(%)
TP1/TP2/TP3 の段階的利確
トレンド色の弱まりによる自動スケールアウト
色変化後の再エントリー制限(waitForColorChange)
リアルタイム PnL の追跡とラベル表示
🔹 7. アラート完備(JSON 形式)
エントリー、損切り、部分利確、トレンド反転などすべてに対応。
🔹 8. 損益ラベル・統計表示
直近トレードの損益をチャート上に表示し、視覚的に把握できます。
⚙️ 設定項目
設定項目名 説明
Fast / Slow EMA 銘柄の EMA 設定
Index Fast / Slow EMA 外部インデックスの EMA 設定
損切り(%) カスタム損切りライン
部分利確割合 トレンド弱化時のスケールアウト割合
RSI 期間・水準 過熱/売られすぎフィルター
スイング検出期間 スイング高値・安値の検出に使用
統計表示位置 テーブルの表示位置
🧭 上位足トレンド(htfTrend)について
上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。
理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。
本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。
→ 裁量で利確判断や逆張り回避に活用できます。 Strategy

EMA and Dow Theory Strategies V2📘 Overview
This strategy is an advanced evolution of the original EMA × Dow Theory hybrid model. V2 introduces true swing‑based trend detection, gradient trend‑zones, higher‑timeframe swing overlays, and dynamic exit logic designed for intraday to short‑term trading across crypto, forex, stocks, and indices.
The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance.
🧠 Key Features
🔹 1. Dual‑EMA Trend Logic (Symbol + External Index)
Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias.
🔹 2. Dow Theory Swing Detection (Real‑time)
The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone.
🔹 3. Gradient Trend Zones (Visual Trend Strength)
When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive.
🔹 4. Higher‑Timeframe Swing Trend (htfTrend)
Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries.
🔹 5. RSI‑Based Entry Protection
RSI prevents entries during extreme overbought/oversold conditions.
🔹 6. Dynamic Exit System
Includes:
Custom stop‑loss (%)
Partial take‑profit (TP1/TP2/TP3)
Automatic scale‑out when trend color weakens
“Color‑change lockout” to prevent immediate re‑entry
Real‑time PnL tracking and labels
🔹 7. Alerts for All Key Events
Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.
🔹 8. Visual PnL Labels & Equity Tracking
PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.
⚙️ Input Parameters
Parameter Description
Fast EMA / Slow EMA EMAs used for symbol trend detection
Index Fast / Slow EMA EMAs applied to external index
StopLoss (%) Custom stop‑loss threshold
Scale‑Out % Portion to exit when trend color weakens
RSI Period / Levels Overbought/oversold filters
Swing Detection Length Bars used to detect swing highs/lows
Stats Display Position of statistics table
🧭 About htfTrend (Higher Timeframe Trend)
The higher‑timeframe swing trend is displayed visually but not used for entry logic.
Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness.
Use it as a contextual guide, not a constraint.
📘 概要
本ストラテジーは、V1 を大幅に拡張した EMA × ダウ理論 × スイング構造 × 上位足トレンド可視化 の複合型モデルです。 短期〜デイトレード向けに最適化されており、仮想通貨・FX・株式・指数など幅広いアセットで利用できます。
V2 では、スイング構造の自動検出、グラデーションによるトレンド強度の可視化、上位足スイングライン、動的な利確/損切りロジック が追加され、視覚的にもロジック的にも大幅に強化されています。
🧠 主な機能
🔹 1. 銘柄+外部インデックスの EMA クロス判定
対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。
🔹 2. ダウ理論に基づくスイング高値・安値の自動検出
スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。
🔹 3. グラデーション背景によるトレンド強度の可視化
スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。
🔹 4. 上位足スイングトレンド(htfTrend)の表示
4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。
🔹 5. RSI による過熱・売られすぎフィルター
極端な RSI 状態でのエントリーを防止。
🔹 6. 動的イグジットシステム
カスタム損切り(%)
TP1/TP2/TP3 の段階的利確
トレンド色の弱まりによる自動スケールアウト
色変化後の再エントリー制限(waitForColorChange)
リアルタイム PnL の追跡とラベル表示
🔹 7. アラート完備(JSON 形式)
エントリー、損切り、部分利確、トレンド反転などすべてに対応。
🔹 8. 損益ラベル・統計表示
直近トレードの損益をチャート上に表示し、視覚的に把握できます。
⚙️ 設定項目
設定項目名 説明
Fast / Slow EMA 銘柄の EMA 設定
Index Fast / Slow EMA 外部インデックスの EMA 設定
損切り(%) カスタム損切りライン
部分利確割合 トレンド弱化時のスケールアウト割合
RSI 期間・水準 過熱/売られすぎフィルター
スイング検出期間 スイング高値・安値の検出に使用
統計表示位置 テーブルの表示位置
🧭 上位足トレンド(htfTrend)について
上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。
理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。
本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。
→ 裁量で利確判断や逆張り回避に活用できます。
Strategy

Swing High-Low Line ConnectorSwing High-Low Line Connector is a simple and intuitive tool that automatically detects swing highs and swing lows using fractal-style pivot logic and connects them with clean, continuous lines. This indicator helps traders visualize market structure, trend shifts, and swing-based support/resistance levels at a glance.
The script identifies each confirmed swing point based on a user-defined lookback window (left/right bars). When a new swing is confirmed, the indicator updates the previous leg or creates a new one, effectively drawing the classic “zigzag-style” connections used in discretionary trading and price-action analysis.
A dynamic tail extension is included to show the most recent swing extending toward the current price. By default, the tail follows a ZigZag-style logic—extending upward after a swing low and downward after a swing high—but users can also anchor it to Close, High, Low, or HL2.
Features
Automatic detection of swing highs and swing lows
Clean line connections between swings (similar to discretionary market-structure mapping)
Proper consolidation handling: weaker highs/lows are ignored
Optional ZigZag-style dynamic tail extension
Fully customizable lookback window, line color, and line width
Works on any market and timeframe
Use Cases
Identifying market structure (HH, HL, LH, LL)
Visualizing trend transitions
Spotting breakout levels and swing-based support/resistance
Aiding discretionary swing trading, trend following, or pattern recognition
This indicator keeps the logic simple and visual—ideal for traders who prefer clean chart structure without unnecessary noise. Indicator

EMA and Dow Theory Strategies🌐 Strategy Description
📘 Overview
This is a hybrid strategy that combines EMA crossovers, Dow Theory swing logic, and multi-timeframe trend overlays. It is suitable for intraday to short-term trading on any asset class: crypto, forex, stocks, and indices.
The strategy provides precise entry/exit signals, dynamic stop-loss and scale-out, and highly visual trade guidance.
🧠 Key Features
・Dual EMA crossover system (applied to both symbol and external index)
・Dow Theory-based swing high/low detection for trend confirmation
・Visual overlay of higher timeframe swing trend (htfTrend)
・RSI filter to avoid overbought/oversold entries
・Dynamic partial take-profit when trend weakens
・Custom stop-loss (%) control
・Visualized trade PnL labels directly on chart
・Alerts for entry, stop-loss, partial exit
・Gradient background zones for swing zones and trend visualization
・Auto-tracked metrics: APR, drawdown, win rate, equity curve
⚙️ Input Parameters
| Parameter | Description |
| ------------------------- | -------------------------------------------------------- |
| Fast EMA / Slow EMA | Periods for detecting local trend via EMAs |
| Index Fast EMA / Slow EMA | EMAs applied to external reference index |
| StopLoss | Maximum loss threshold in % |
| ScaleOut Threshold | Scale-out percentage when trend changes color |
| RSI Period / Levels | RSI period and overbought/oversold levels |
| Swing Detection Length | Number of bars used to detect swing highs/lows |
| Stats Display Options | Toggle PnL labels and position of statistics table |
🧭 About htfTrend (Higher Timeframe Trend)
The script includes a higher timeframe trend (htfTrend) calculated using Dow Theory (pivot highs/lows).
This trend is only used for visual guidance, not for actual entry conditions.
Why? Strictly filtering trades by higher timeframe often leads to missed opportunities and low frequency.
By keeping htfTrend visual-only, traders can still refer to macro structure but retain trade flexibility.
Use it as a contextual tool, not a constraint.
ストラテジー説明
📘 概要
本ストラテジーは、EMAクロスオーバー、ダウ理論によるスイング判定、**上位足トレンドの視覚表示(htfTrend)**を組み合わせた複合型の短期トレーディング戦略です。
仮想通貨・FX・株式・指数など幅広いアセットに対応し、デイトレード〜スキャルピング用途に適しています。
動的な利確/損切り、視覚的にわかりやすいエントリー/イグジット、統計表示を搭載しています。
🧠 主な機能
・対象銘柄+外部インデックスのEMAクロスによるトレンド判定
・ダウ理論に基づいたスイング高値・安値検出とトレンド判断
・上位足スイングトレンド(htfTrend)の視覚表示
・RSIフィルターによる過熱・売られすぎの回避
・トレンドの弱まりに応じた部分利確(スケールアウト)
・**損切り閾値(%)**をカスタマイズ可能
・チャート上に損益ラベル表示
・アラート完備(エントリー・決済・部分利確)
・トレンドゾーンを可視化する背景グラデーション
・勝率・ドローダウン・APR・資産増加率などの自動表示
| 設定項目名 | 説明内容 |
| --------------------- | -------------------------- |
| Fast EMA / Slow EMA | 銘柄に対して使用するEMAの期間設定 |
| Index Fast / Slow EMA | 外部インデックスのEMA設定 |
| 損切り(StopLoss) | 損切りラインのしきい値(%で指定) |
| 部分利確しきい値 | トレンド弱化時にスケールアウトする割合(%) |
| RSI期間・水準 | RSI計算期間と、過熱・売られすぎレベル設定 |
| スイング検出期間 | スイング高値・安値の検出に使用するバー数 |
| 統計表示の切り替え | 損益ラベルや統計テーブルの表示/非表示選択 |
🧭 上位足トレンド(htfTrend)について
本スクリプトには、上位足でのスイング高値・安値の更新に基づく**htfTrend(トレンド判定)が含まれています。
これは視覚的な参考情報であり、エントリーやイグジットには直接使用されていません。**
その理由は、上位足を厳密にロジックに組み込むと、トレード機会の損失が増えるためです。
このスクリプトでは、**判断の補助材料として「表示のみに留める」**設計を採用しています。
→ 裁量で「利確を早める」「逆張りを避ける」判断に活用可能です。
Strategy

Dow Theory Trend StrategyDow Theory Trend Strategy (Pine Script)
Overview
This Pine Script implements a trading strategy based on the core principles of Dow Theory. It visually identifies trends (uptrend, downtrend) by analyzing pivot highs and lows and executes trades when the trend direction changes. This script is an improved version that features refined trend determination logic and strategy implementation.
Core Concept: Dow Theory
The script uses a fundamental Dow Theory concept for trend identification:
Uptrend: Characterized by a series of Higher Highs (HH) and Higher Lows (HL).
Downtrend: Characterized by a series of Lower Highs (LH) and Lower Lows (LL).
How it Works
Pivot Point Detection:
It uses the built-in ta.pivothigh() and ta.pivotlow() functions to identify significant swing points (potential highs and lows) in the price action.
The pivotLookback input determines the number of bars to the left and right required to confirm a pivot. Note that this introduces a natural lag (equal to pivotLookback bars) before a pivot is confirmed.
Improved Trend Determination:
The script stores the last two confirmed pivot highs and the last two confirmed pivot lows.
An Uptrend (trendDirection = 1) is confirmed only when the latest pivot high is higher than the previous one (HH) AND the latest pivot low is higher than the previous one (HL).
A Downtrend (trendDirection = -1) is confirmed only when the latest pivot high is lower than the previous one (LH) AND the latest pivot low is lower than the previous one (LL).
Key Improvement: If neither a clear uptrend nor a clear downtrend is confirmed based on the latest pivots, the script maintains the previous trend state (trendDirection := trendDirection ). This differs from simpler implementations that might switch to a neutral/range state (e.g., trendDirection = 0) more frequently. This approach aims for smoother trend following, acknowledging that trends often persist through periods without immediate new HH/HL or LH/LL confirmations.
Trend Change Detection:
The script monitors changes in the trendDirection variable.
changedToUp becomes true when the trend shifts to an Uptrend (from Downtrend or initial state).
changedToDown becomes true when the trend shifts to a Downtrend (from Uptrend or initial state).
Visualizations
Background Color: The chart background is colored to reflect the currently identified trend:
Blue: Uptrend (trendDirection == 1)
Red: Downtrend (trendDirection == -1)
Gray: Initial state or undetermined (trendDirection == 0)
Pivot Points (Optional): Small triangles (shape.triangledown/shape.triangleup) can be displayed above pivot highs and below pivot lows if showPivotPoints is enabled.
Trend Change Signals (Optional): Labels ("▲ UP" / "▼ DOWN") can be displayed when a trend change is confirmed (changedToUp / changedToDown) if showTrendChange is enabled. These visually mark the potential entry points for the strategy.
Strategy Logic
Entry Conditions:
Enters a long position (strategy.long) using strategy.entry("L", ...) when changedToUp becomes true.
Enters a short position (strategy.short) using strategy.entry("S", ...) when changedToDown becomes true.
Position Management: The script uses strategy.entry(), which automatically handles position reversal. If the strategy is long and a short signal occurs, strategy.entry() will close the long position and open a new short one (and vice-versa).
Inputs
pivotLookback: The number of bars on each side to confirm a pivot high/low. Higher values mean pivots are confirmed later but may be more significant.
showPivotPoints: Toggle visibility of pivot point markers.
showTrendChange: Toggle visibility of the trend change labels ("▲ UP" / "▼ DOWN").
Key Improvements from Original
Smoother Trend Logic: The trend state persists unless a confirmed reversal pattern (opposite HH/HL or LH/LL) occurs, reducing potential whipsaws in choppy markets compared to logic that frequently resets to neutral.
Strategy Implementation: Converted from a pure indicator to a strategy capable of executing backtests and potentially live trades based on the Dow Theory trend changes.
Disclaimer
Dow Theory signals are inherently lagging due to the nature of pivot confirmation.
The effectiveness of the strategy depends heavily on the market conditions and the chosen pivotLookback setting.
This script serves as a basic template. Always perform thorough backtesting and implement proper risk management (e.g., stop-loss, take-profit, position sizing) before considering any live trading. Strategy

Strategy

MarketStructureLibrary "MarketStructure"
This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them.
f_simpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
It doesn't have to be "the" high, so don't be confused.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for stops, I want them all, not just the ones that alternate in strict order.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Simple Low/High, and ints for the bar_index of that Low/High.
f_localLowHigh()
This function finds Local Lows and Highs, in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate, and in this function they do.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Local Low/High, and ints for the bar_index of that Low/High.
f_enhancedSimpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for trailing stops, I want them all, not just the ones that alternate in strict order.
The difference between this function and f_simpleLowHigh() is that it also tracks the lowest/highest recent level. This level can be useful for trailing stops.
In effect, these are like more "normal" highs and lows that you would pick by eye, but confirmed faster in many cases than by waiting for the low/high of that particular candle to be taken out on close,
because they are instead confirmed by ANY subsequent candle having its low/high exceeded. Hence, I call these Enhanced Simple Lows/Highs.
The levels are taken from the extreme highs/lows, but the bar indexes are given for the candles that were actually used to confirm the Low/High.
This is by design, because it might be misleading to label the extreme, since we didn't use that candle to confirm the Low/High..
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
f_trueLowHigh()
This function finds True Lows and Highs.
A True High is the candle with the highest recent high, which then has its low taken out on close by a subsequent candle (and vice-versa for True Lows).
The difference between this and an Enhanced High is that confirmation requires not just any Simple High, but confirmation of the very candle that has the highest high.
Because of this, confirmation is often later, and multiple Simple Highs and Lows can develop within ranges formed by a single big candle without any of them being confirmed. This is by design.
A True High looks like the intuitive "real high" when you look at the chart. True Lows and Highs must alternate.
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias Library

Trend From Volume And Price (TFVAP)Indicator that indicates buying and selling times based on price and volume and who is imposed of the two (VAP).
It uses the trends of the Dow theory (primary: 365 days/1 year, secondary: 90 days/3 months and tertiary: 21 days/3 weeks) and the identification of Elliot waves, both impulse and correction, based on the Fibonacci retracements (23.61% , 38.2%, etc.).
- Purple line is the evolution in percentage of the price in the primary trend
- Blue line is the evolution in percentage of the volume in the primary trend
- White line is the evolution in percentage of the (volume % - price %) in the primary trend, if white line > 0
- Green triangleup is time of start to buy
- Green square is time of stop to buy
- Red triangledown is time of sell
To understand it better:
If the purple line goes up it indicates that the price is rising, if it goes down, that the price is down.
If the blue line is greater than 0 it indicates that there are more purchases than sales, if the blue line is less than 0 it indicates that there are more sales than purchases.
If the white line is greater than 0 there is a high volume of purchases or low sales for the price that there is, it is likely that the price will rise.
If the white line is less than 0 there is a low volume of purchases or high sales for the price that there is, it is likely that the price will go down.
PD: Ignore the chart drawings, the indicator script is only represented at the bottom Indicator

Indicator

Indicator

Storm Trading System This script is inspired by the following :
Fractal Dow RSI Support and Resistance ;
Moving Average Clouds ;
Let's start.
This command is based on a fun description of where we are.
Technical analysis methods are likened to a storm.
Clouds as moving average,risk factor as lightning,
fractals were taken as green and red rain.
In this system:
4 Exponential Moving Averages, ( EMA15, EMA30 , EMA45 , EMA60 ),
interpretation of my own work, Dow Factor RSI, as Fractal Support and Resistance,
interpretation of my own work , DVOG Risk Factor : with changeable background and bar color.
Fractal support resistance level codes do not belong to me.
So I'm not putting a license.
But the other codes are my labor.
Consider the risk factor not as a stop, but as a region of high attention.
It is a warning before hard movements.
And watch out for turbulence in the clouds :)
The regions above and below the clouds are major trend zones, which may take a long time.
Guide the fractals in these areas.
It allows you to comment on this and tons of similar things.
And you see where you are in the big trade from a different perspective.
Repaint issue :
Firstly our source is close . Repaint will only cause the following issue and solution:
There may be a time difference between countries as the dow factor depends on the indexes.
Do not use a low graph time frame in stocks.
Indicator

Indicator

Indicator

REAL STRATEGY : Dow_Factor_MFI/RSI_DVOG_StrategyI'm actually one of those who think it's more important to extract clues from indicators than strategy, but I wanted to test the data about the probability and dow factor I've shared for a long time.
Usually, Bitcoin is used as an eye stain for strategy success, since the graph has increased significantly from the beginning.
To prevent this, I used a commission and in the last lines of document I shared Bitmex's Bitcoin and Ethereum 1W test results.
I don't think there's a factor to repaint. ( Warn me if u see or observe )
I considered Bitcoin because I found working with liquid parities much more realistic.
Ethereum and Bitmex have been featured as a spot and may soon find a place at the CME , so I've evaluated the Ethereum .
But since the Ethereum Bitmex was also spot new, I deleted results that were less than 10 closed trades.
Since the Dow Theory also looks at the harmony in the indices, just try it in the Cryptocurrency market.
Use as indicator in other markets. Support with channels, trend lines with big periods and other supportive indicators.
And my personal suggestion : Use this script and indicator TF : 4H and above.
Specifications :
Commission. ( % 0.125 )
Switchable Methods ( Relative Strength Index / Money Flow Index )
Alarms. (Buy / Sell )
Position closure when horizontal market rates weighs.
Progressive gradual buy/sell alarms.
Clean code layout that will not cause repaint. (Caution : source = close )
Switchable barcolor option (I / 0 )
*****Test results :*****
drive.google.com
Summary:
It was a realistic test.
It has achieved great success in some markets, but as I mentioned earlier, use it only to gain insight into the price movements of cryptos.
Use as indicator in other markets.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository : github.com
Stay tuned ! Noldo. Strategy

Dow Factor Relative Strength IndexThis script was written to create a new, rapid relative strength index inspired by the Dow Theory.
More info about Dow Theory : www.investopedia.com
According to the Dow Theory, volume should confirm market trends.
The correlation coefficient between prices and volume is negative in weakening trends and negative trends , positive in strengthening or positive trends.a factor was formed based on the correlation coefficient between volume and prices.
This factor was added to the relative strength index.
Period 5 is selected because the volume is very volatile and can be slow.
You can use the period you want, but I recommend the period as a minimum of 5.
It is suitable for all instruments and timeframes and thanks to its design, it provides control over gradual buying and selling points.
I haven't fully tested it, it's open to updates. For now, just use it to create ideas.
If I find it necessary,
I'll update after the tests.
If you have suggestions on these issues,
Leave your comments in the comment window.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned , best regards. Indicator

Dependent Variable Odd Generator For Machine Learning TechniquesCAUTION : Not suitable for strategy, open to development.
If can we separate the stagnant market from other markets, can we be so much more accurate?
This project was written to research it. It is just the tiny part of the begining.
And this is a very necessary but very small side function in the main function. Lets start :
Hi users, I had this idea in my mind for a long time but I had a hard time finding the parameters that would make the market stagnant. This idea is my first original command system. Although it is very difficult to make sense of the stagnant market, I think that this command system can achieve realistic proportions. With 's money flow index, I opened the track to determine the level. On the other hand, the prices were also using a money flow index, and it forced me to make the limitations between the levels in a logical way. But the good thing is that since the bollinger bandwidth uses a larger period, we are able to print normal values at extreme buy and sell values.
In terms of price, we can define excessive purchase and sale values as the period is smaller. I have repeatedly looked at the limit values that determine the bull, bear, and bollinger bandwidth (mfi), and I think this is the right one. Then I have included these values in the probability set.
The bull and bear market did not form the intersection of the cluster, and because there are connected events, the stagnant market, which is the intersection, will be added to the other markets with the same venn diagram logic and the sum of the probability set will be 1. is equal to. I hope that we can renew the number generators in the very important parameters of machine learning such as Markov Process with generators dependent on dependent variables, which bring us closer to reality. This function is open to development and can be made of various ideas on machine learning. Best wishes.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com Indicator

Indicator
