EMA and Dow Theory Strategies V2 DOGE Current Optimum Value — Strategy by mm_mitsuya

By mm_mitsuya

Performance Metrics

Description

📘 OverviewThese 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 ProtectionRSI prevents entries during extreme overbought/oversold conditions.🔹 6. Dynamic Exit SystemIncludes:Custom stop‑loss (%)Partial take‑profit (TP1/TP2/TP3)Automatic scale‑out when trend color weakens“Color‑change lockout” to prevent immediate re‑entryReal‑time PnL tracking and labels🔹 7. Alerts for All Key EventsEntry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.🔹 8. Visual PnL Labels & Equity TrackingPnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.⚙️ Input ParametersParameter DescriptionFast EMA / Slow EMA EMAs used for symbol trend detectionIndex Fast / Slow EMA EMAs applied to external indexStopLoss (%) Custom stop‑loss thresholdScale‑Out % Portion to exit when trend color weakensRSI Period / Levels Overbought/oversold filtersSwing Detection Length Bars used to detect swing highs/lowsStats 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)について上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。→ 裁量で利確判断や逆張り回避に活用できます。

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView