OPEN-SOURCE SCRIPT
已更新

Dow Theory Cockpit [Analytics Pro]

401
1. Overview and Key Features
The core philosophy of this tool is to "Eliminate market noise and pinpoint high-probability trade setups.
 🤖 Triple-Logic Engine: Automatically detects three distinct strategies: Trend Following   
   (Breakout), Retracement (Dip), and Reversal (Sniper).
 🛡️ Ironclad Protection: Features an ATR-based dynamic Stop Loss (SL). It automatically
   positions your SL at levels resistant to "stop hunting" or market noise.
 💰 Automatic Risk Management: The tool calculates and displays the optimal lot size based
   on your SL distance, ensuring your risk amount remains constant regardless of market
   volatility.
 📊 Performance Visualization: Real-time Win Rate panel displaying data for "Today," "This
   Month," "This Year," and "All Time.
 🌍 Global Market Insights: Monitor not just your active chart, but also Gold, JPY, BTC, and
   critical US/JP economic indicators (Interest Rates, Inflation, etc.) simultaneously.

2. Three Entry Signals
The tool automatically toggles between three optimized logics depending on market conditions
Signal    Type     Target & Strategy 🎯
SNIPER   Reversal    Captures "Tops and Bottoms." Detects RSI exhaustion + Bollinger
              Band mean reversion to catch the start of a reversal.
DIP    Trend Following  Captures "Pullbacks." Picks up entries when price touches MAs or
              retraces during a strong uptrend.
BREAK  Trend Following  Captures "Breakouts." Rides the momentum the moment price
              breaks recent Highs or Lows.
  💡 Pro Tip: When multiple conditions align, signals merge (e.g., "SNIPER & DIP") to keep
    your chart clean and highlight high-conviction setups.

3. Dashboard Guide
The dual-panel interface is fully customizable in terms of visibility and placement.

① Main Analysis Panel (Default: Top Right)
In-depth analysis of the current currency pair.
・MAIN: Displays the pair and volatility status (HIGH VOL / NORMAL).
・Target RR: Your target Risk:Reward ratio (e.g., 1:1.5).
・🌊 Trend Monitor: Instantly check trend directions across 15M, 1H, 4H, and Daily timeframes.
 ・Strategic Note: When all timeframes align (Full Alignment), the signal is considered a "high-
  probability" setup.
・📊 Win Rate: Tracks success rates and trade counts across four periods (Day, Mo, Yr, All).
・Risk: Shows current risk settings, spread, and account type.

② Market Scanner Panel (Default: Bottom Right)
Multi-market and fundamental surveillance.
・SCANNER: Constant monitoring of Gold, USDJPY, and Bitcoin. It alerts you immediately when
 a trend or signal forms on these major assets.
・US/JP ECONOMY: Side-by-side comparison of essential fundamental data:
 ・Rate: Policy Interest Rates
 ・Inf%: Inflation (CPI)
 ・GDP: Economic Growth Rate
 ・Job: Unemployment / Payrolls

4. Trading Workflow
Follow these steps for the highest success rate:
1.STEP 1: Wait for SignalWait for the audio alert or the "BUY/SELL" label to appear.
  Important: Never entry while the candle is still moving.
2.STEP 2: Filter ConfirmationJust before the candle closes, verify:
 ・MTF Panel: Are the 1H and 4H colors aligned with the signal? (Green for Buy, Red for Sell)
 ・MA Ribbon: Is the ribbon showing a clean, healthy spread?
3.STEP 3: Execution (At Candle Close)If the signal remains after the candle closes, enter at
  the open of the next candle. Use the "Lot: X.XX" value shown on the blue label—this is your
  safety-calculated lot size.
4.STEP 4: Exit Strategy (TP/SL)Immediately set your orders based on the lines on the chart: 
 ・🟥 Red Line (SL): Positioned at 3x ATR to withstand noise.
 ・🟩 Green Line (TP): Optimized for consistent win rates.

5. Customization
[F. Risk Management]: Set your Risk(%) per trade (Recommended: 1.0–2.0%). Adjust the SL Buffer (Default 3.0) to balance win rate versus lot size.
[J. Panel Display]: Adjust font size (Tiny/Small/Normal) and panel width to fit your screen resolution.
[H. MA Ribbon]: Customize colors and thickness to match your visual preference.
發行說明
1. Concept
"The Trading Cockpit: Eliminate Indecision, Execute with Mechanical Precision."

The primary objective of this indicator is to consolidate everything—from market structure recognition to entry execution, risk management, and trade exits—into a single, unified interface.

You no longer need to clutter your screen with dozens of conflicting indicators. This tool captures every critical market phase: Breakouts (trend origin), Dips/Pushes (retracements), and Sniper (reversals), visualizing only the setups with the highest mathematical expectancy.

2. Main Features
① Four Pillars of Entry Logic
The system automatically identifies and activates the optimal logic based on real-time market conditions:

🎯 SNIPER (Reversal): Precision "Top and Bottom" hunting. It combines Bollinger Bands and RSI to catch the exact moment of trend exhaustion.

🌊 DIP (Deep Retracement): Ideal for picking up "Deep Pullbacks" when moving averages are in a healthy alignment.

⚡ PUSH (Shallow Retracement): Designed to catch "Shallow Pullbacks" during aggressive trends—the perfect spot for high-conviction scaling.

🚀 BREAK (Momentum): Trend-following logic based on Dow Theory, targeting the breakout of recent Highs and Lows.

② Visual Environment Recognition: S/R Box & Auto Fib
Support/Resistance Boxes:

Dark Shading: Strong barriers identified on Higher Timeframes (MTF).

Light Shading: Short-term barriers on the current timeframe.

Note: Using "Zones (Boxes)" instead of thin lines allows for market noise and wick volatility, reducing false signals.

Auto-Fibonacci:

Automatically detects the most recent market waves and plots key levels (38.2%, 50.0%, 61.8%). This provides immediate visual targets for pullback entries.

③ Bulletproof Risk & Trade Management
Automated Lot Size Calculation: The tool displays the exact lot size to trade based on your account balance and risk percentage (%) directly alongside the signal.

Visual SL/TP Lines: Once a signal is confirmed, Green (Take Profit) and Red (Stop Loss) lines appear on the chart for intuitive trade management.

④ 360° Market Surveillance Monitor
Multi-Timeframe (MTF) Analysis: Instantly synchronize and confirm trend directions from 15M to Daily timeframes.

Triple-Asset Scanner: Constant monitoring of Gold, USDJPY, and Bitcoin to ensure you never miss a broader market shift.

Macroeconomic Dashboard: Side-by-side comparison of US vs. JP fundamentals, including Interest Rates, Inflation (CPI), and GDP.

3. Functional Details
■ Main Analysis Panel (Top Right)
This panel consolidates all critical data required for high-level execution:

・Trend Monitor: Displays the trend direction (UP/DN) and color-coding for 15M / 1H / 4H / 1D. When all timeframes align (Full Alignment), the win probability increases significantly.

・Win Rate: Real-time tracking of your performance. View your win percentage and total trade count for "Today," "This Month," "This Year," and "All Time."

・Risk Info: Instant display of your current Risk Percentage (%) and live Spread data.

■ Market Surveillance Panel (Bottom Right)
・SCANNER: A multi-asset tracker that indicates whether major symbols (Gold, USDJPY, BTC) are currently presenting trading opportunities.

・ECONOMY: A fundamental dashboard displaying essential US and Japanese economic indicators, providing a macro-level context for your trades.

■ On-Chart Visuals
・MA Ribbon: Visualizes trend direction and momentum using a dynamic color gradient.

・BUY/SELL Labels: Clear entry signals that include:

 ・Signal Logic Name: (e.g., SNIPER, DIP, etc.)

 ・TP (Take Profit): The recommended price for profit-taking.

 ・SL (Stop Loss): The recommended exit for loss prevention, set within a "Safety Zone" (3x ATR) to avoid being stopped out by market noise.

 ・Lot: The calculated optimal lot size specifically for this setup.

4. Step-by-Step Guide
Follow this "High-Win Rate Trading Routine" to maximize the system's potential.

STEP 1: Initial Setup (First time only)
Open the settings menu to input your Account Balance and Allowable Risk (%).

・Example: Balance: $10,000 | Risk: 2.0%

・Select the panels and lines you wish to display (all are set to "ON" by default).

STEP 2: Signal Wait & Filter Confirmation
Wait for an audio alert or the appearance of a signal label on the chart. Once a signal appears, check the MTF (Multi-Timeframe) Panel.

・For BUY signals: Ensure the 1H and 4H timeframes are showing "Green (UP)."

・Strategic Note: It is wise to skip signals that contradict the trend of the higher timeframes.

STEP 3: Execution (Entry)
Execute the trade at the "Open of the next candle" immediately after the signal candle closes.

・Place your order using the specific Lot Size displayed on the signal label.

STEP 4: Setting Exit Orders (TP/SL)
Input the TP (Take Profit) and SL (Stop Loss) prices shown on the label into your trading platform to set your Limit and Stop orders.

・Once set, no further manual intervention is needed.

・The Green and Red lines on the chart provide a clear visual representation of your risk/reward for that trade.

STEP 5: Review & Performance Tracking
After the trade is closed, the Win Rate (Today/Month) on the panel will automatically update. Use this data to objectively monitor and analyze your performance.
發行說明
SL: Optimized Stop Loss price (Now refined for even greater accuracy to prevent hit-and-run noise).
發行說明
1. Update History
V1 – V6: Logic development and initial bug fixes (Indicator format).

V7 – V10: Strategy format with backtesting features (Discontinued due to high system load).

V11 (Current): Return to Lightweight Indicator Format.

Removed Strategy Tester: Eliminated automated backtesting to prioritize ultra-fast performance.

New Stats Panel: Replaced heavy backtesting with a lightweight on-chart panel for real-time Win Rate and Period P&L tracking.

Optimization: Focused on visual speed while retaining all core aids like S/R Boxes and TP/SL Zones.

2. Current Specifications (現在の仕様)
Format: Indicator (This tool does not use the "Strategy Tester" tab).

Purpose: Discretionary trading assistance, automated market structure recognition, and real-time risk management.

Operation: Visual-only signals and data display (Eliminates heavy background processing for a seamless experience).

3. Key Features & Functions
① Quad-Logic Signals (Entry Labels Only)
Labels appear the moment these specific conditions are met:

SNIPER: Reversal (Top/Bottom picking).

DIP: Trend-following (Deep retracements).

PUSH: Trend-following (Shallow retracements / Scalping).

BREAK: Momentum (High/Low breakouts).

② Visual Market Insights
S/R BOX: Highlights critical price zones as shaded bands.

Auto Fib: Automatically plots Fibonacci levels on the most recent waves.

TP/SL Zones: Once a signal triggers, Green (Target) and Red (Stop) zones are drawn on the chart as visual exit guides.

③ Money Management
Lot Size Display: Automatically calculates and displays the recommended Lot size based on your account balance and Risk %.

Note: This is a decision-support tool; it does not execute orders automatically.

④ Statistics Panel
In place of the Strategy Tester, the top-right panel provides instant metrics:

Trend: Market direction across multiple timeframes.

Win Rate: Recent simplified success rates (Day/Month/Year).

Period P&L: A "virtual" profit/loss estimate for the selected period.

4. How to Use
Since this is an indicator-based system, execution is based on on-chart visual data.

Configuration: Set your Account Balance, Risk %, and History Start Date in the parameters.

The Wait: Watch for the Alert or the "★ BUY / ★ SELL" label on your chart.

Validation:

MTF Panel: Is the higher timeframe direction aligned?

S/R Box: Are there any opposing barriers (opposite colored boxes) nearby?

Manual Execution:

Enter the trade using the Lot size indicated on the label.

Set your Limit/Stop orders using the TP/SL prices provided.

The Exit:

The trade is complete once the price reaches the Green TP Zone or the Red SL Zone.

1. アップデート履歴 (Corrected History)
V1〜V6: ロジックの構築とエラー修正(インジケーター形式)。

V7〜V10: バックテスト機能を搭載したストラテジー形式(動作が重くなったため廃止)。

V11 (現在): 軽量化・インジケーター形式への回帰。

ストラテジーテスター機能(自動売買シミュレーション)を削除。

代わりに、「期間損益」や「勝率」をチャート上のメインパネルで簡易的に確認できるように設計変更。

動作の軽さを最優先しつつ、視覚的な補助機能(レジサポBOX、TP/SLゾーン)は全て搭載。

2. 現在の仕様 (Current Specifications)
形式: インジケーター (Indicator)

※「ストラテジーテスター」タブは使いません。

目的: 裁量トレードの補助、環境認識の自動化、リアルタイムの資金管理。

動作: チャート上にシグナルと情報を表示するのみ(バックグラウンドでの重い計算処理を排除)。

3. 特徴と機能 (Features)
① 4つのエントリーロジック(表示のみ)
以下の条件が揃った瞬間に、チャート上にラベルが表示されます。

SNIPER: 逆張り(天底)

DIP: 順張り(深い押し目)

PUSH: 順張り(浅い押し目・スキャルピング用)

BREAK: 順張り(高値安値更新)

② 視覚的環境認識
レジサポ BOX: 重要な価格帯を「帯」で表示。

Auto Fib: 直近の波にフィボナッチを自動描画。

TP/SL ゾーン: エントリー中(シグナル点灯後)、**「利確目安(緑の帯)」と「損切目安(赤の帯)」**がチャート上に描画されます。

③ 資金管理 (Money Management)
Lot表示: 設定した資金とリスク%に基づき、推奨ロット数をラベルに表示します。

※実際に注文を出すわけではなく、「このロットで打て」という指示出し機能です。

④ パネルによる簡易集計 (Panel Stats)
ストラテジーテスターの代わりに、チャート右上のパネルで状況を把握します。

Trend: 各時間足のトレンド方向。

Win Rate: 直近の簡易的な勝率(Day/Month/Year)。

Period P&L: 設定した期間内での「仮想的な」損益推移(簡易計算)。

4. 正しい使い方 (How to Use)
ストラテジーテスターがないため、「チャート上の表示」を見て判断します。

設定: パラメータで「資金」「リスク」「検証開始日」を設定します。

待機: アラートまたは画面上の「★ BUY / ★ SELL」ラベルを待ちます。

確認:

MTFパネル: 上位足の色と方向が合っているか?

レジサポ: 近くに邪魔な壁(逆色のBOX)がないか?

実行 (手動):

ラベルに書かれた Lot数 でエントリー。

ラベルに書かれた TP/SL 価格に指値を置く。

決済:

チャート上の「緑の帯(TP)」か「赤の帯(SL)」にローソク足が到達したら決済です。
發行說明
1. Evolution History
The system has reached its final form through five distinct development phases:

Phase 1: Logic Development (V1–V6)

Established four core logics: BREAK and DIP (Dow Theory), SNIPER (Reversal), and PUSH (Trend continuation).

Implemented the Multi-Timeframe (MTF) panel and Market Scanner.

Phase 2: Strategy Transition (V7–V9)

Integrated backtesting features, but found the Pine Script calculation load too heavy for real-time charting.

Phase 3: Optimization & Performance (V10–V11)

Prioritized smooth real-time execution by returning to a lightweight indicator format.

Introduced the on-chart stats panel for Win Rate and P&L tracking.

Phase 4: Visual Completion (V12–V13)

High-Vis Fib: Bold orange lines highlighting the Golden Zone (38.2%/61.8%).

Visual Zones: Introduced Green and Red bands for intuitive trade tracking.

Phase 5: Smart Adjust Implementation (V14 - Current)

Barrier Avoidance: Automatically detects nearby Support/Resistance boxes and shortens the TP to secure profits before a potential reversal.

Dynamic RR Optimization: Automatically adjusts the SL in tandem with the shortened TP to maintain a healthy Risk-Reward ratio.

2. Specifications
Name: Dow Theory Cockpit [Smart Adjust V14]

Format: Indicator

Trading Style: Scalping to Day Trading

Timeframes: 5M, 15M (Recommended), 1H

Assets: All pairs (Gold, Crypto, Forex, Indices)

3. Features
① Quad-Logic Entry Signals
🎯 SNIPER: Reversal logic targeting "Tops and Bottoms" when the market is overextended.

🌊 DIP: Trend-following logic for "Deep Pullbacks" with clean Moving Average alignment.

⚡ PUSH: Scalping logic for "Shallow Pullbacks" during high-momentum trends.

🚀 BREAK: Classic Dow Theory momentum entry on recent High/Low breakouts.

② Visual Analysis Tools
S/R BOX: Displays key price levels as shaded zones to account for market noise and wick volatility.

High-Vis Auto Fib: Automatically plots Fibonacci levels, highlighting the Golden Zone with bold lines.

③ Bulletproof Money Management
Calculated Lot Size: Displays the precise lot size based on your account balance and Risk % directly on the signal label.

TP/SL Zones: Dynamic Green and Red bands show exactly where your profit and loss targets lie.

④ Smart Adjust Function (NEW)
Logic: Automatically scans for strong S/R walls near your entry.

Normal Condition: Displays TP/SL at your default Risk-Reward ratio.

Wall Detected: Automatically pulls the TP to the edge of the barrier and tightens the SL to maintain the ratio.

Alert: A "⚠️Adj" warning appears on the label when this adjustment is active.

⑤ Integrated Info Panel
Main Panel: Trends across all timeframes, real-time Win Rate, and Period Net P&L.

Scanner: Constant monitoring of Gold/JPY/BTC and major US/JP economic data.

4. How to Use
Configuration: In the settings under [F. Money Management], input your balance and Risk %. Set your start date in [T. Backtest Period].

Entry Decision: Wait for the "★ BUY" or "★ SELL" label.

"⚠️Adj" displayed: The system has detected a nearby barrier and narrowed the TP/SL for safety. This results in a higher win rate with smaller gains.

No warning: No barriers detected. Targets the default wide Risk-Reward ratio.

Execution: Enter using the exact Lot size on the label. Set your Limit/Stop orders at the provided TP/SL prices.

Exit: The trade concludes when the price reaches the Green or Red zone. Smart Adjust ensures you exit the market before a potential bounce.

1. 大幅なアップデート履歴 (Evolution History)
このシステムは、以下の5つのフェーズを経て完成しました。

フェーズ1:ロジック構築期 (V1〜V6)

ダウ理論に基づく「BREAK」「DIP」に加え、逆張り「SNIPER」、順張り追撃「PUSH」の4つのロジックを搭載。

マルチタイムフレーム(MTF)パネル、市場監視スキャナーの実装。

フェーズ2:ストラテジー化への挑戦 (V7〜V9)

バックテスト機能を搭載したが、Pine Scriptの計算負荷増大によりチャート動作が重くなる問題が発生。

フェーズ3:軽量化と原点回帰 (V10〜V11)

**「実戦での快適さ」**を最優先し、indicator 形式へ戻して超軽量化。

期間損益や勝率を、チャート上のパネルで簡易確認できる仕様に変更。

フェーズ4:視認性の完成 (V12〜V13)

High-Vis Fib: フィボナッチの重要ライン(38.2%/61.8%)を太いオレンジ実線で強調。

Visual Zone: トレード中、チャート上に「緑(利益)/赤(損失)」の帯を表示し、直感的な判断を可能に。

フェーズ5:スマート・アジャスト実装 (V14 - Current)

障害物回避機能: エントリー方向の直近に「逆側のレジサポBOX(壁)」がある場合、TPをその手前に自動短縮し、反発による含み益消滅リスクを回避。

RR自動最適化: TPの短縮に合わせて、最低限のリスクリワード(RR)を維持するようSLも自動調整する機能を搭載。

2. 全体の仕様 (Specifications)
名称: Dow Theory Cockpit [Smart Adjust V14]

形式: インジケーター (Indicator)

※TradingViewの「ストラテジーテスター」タブは使用しません。

推奨スタイル: スキャルピング 〜 デイトレード

推奨時間足: 5分足、15分足(推奨)、1時間足

通貨ペア: 全通貨対応(Gold, Crypto, Forex, Index)

3. 特徴と機能 (Features)
① 4つの「高期待値」エントリーロジック
相場の状況に合わせて最適なサインが点灯します。

🎯 SNIPER: 行き過ぎた相場の反転(天底)を狙う逆張り。

🌊 DIP: 移動平均線の並びが良い状態での「深い押し目」を拾う順張り。

⚡ PUSH: 強いトレンド(ADX上昇中)の「浅い押し目」で飛び乗るスキャルピング用。

🚀 BREAK: ダウ理論の基本、直近高値・安値ブレイクでのエントリー。

② 視覚的環境認識ツール
レジサポ BOX: 重要価格帯を「面(ボックス)」で表示。ヒゲのダマシを許容します。

High-Vis Auto Fib: 直近の波を検知し、38.2%/61.8%(ゴールデンゾーン)を太線で強調表示。

③ 鉄壁の資金管理 (Money Management)
推奨ロット表示: 口座資金と許容リスク(%)に基づき、適正ロット数を自動計算して表示します。

TP/SL ゾーン: エントリー中、チャート上に「利確までの緑の帯」と「損切までの赤の帯」が表示され、価格の進行度合いが一目で分かります。

④ スマート・アジャスト機能 (Smart Adjust) ★NEW
機能: エントリー時、目標地点の手前に「強力なレジサポBOX」があるかを自動検知します。

動作:

通常時: 設定通りのRR(2.5倍など)でTP/SLを表示。

壁がある時: **「壁の手前」**にTPを引き下げ、それに合わせてSLも浅く調整します。

表示: 調整が行われた場合、ラベルに 「⚠️Adj(調整済み)」 と警告が出ます。

⑤ 情報集約パネル
Main Panel: 全時間足のトレンド方向、直近の勝率、期間内の純損益を表示。

Scanner: Gold / JPY / BTC の動向と、日米経済指標を常時監視。

4. 使い方 (How to Use)
STEP 1: 初期設定
インジケーター設定の 【F. 資金管理】 を開き、口座資金 と リスク(%) を入力します。

【T. バックテスト期間】 で損益計算を開始したい日付を設定します。

STEP 2: エントリー判断
チャートに 「★ BUY」 または 「★ SELL」 のラベルが出現するのを待ちます。

ラベルの確認:

「⚠️Adj」 と出ている場合 → 「近くに壁があるため、TP/SLを狭く調整しました」という意味です。勝率は上がりますが、値幅は小さくなります。

何も出ていない場合 → 「障害物なし。通常のRRで大きく狙います」という意味です。

STEP 3: 注文 (Execution)
ラベルの数値を信頼して注文を出します。

Lot: 表示された数量を入力。

TP/SL: 表示された価格に指値・逆指値を置く。

STEP 4: 決済 (Exit)
チャート上の 「緑の帯(TP)」 か 「赤の帯(SL)」 にローソク足が到達したら決済です。

**「スマートアジャスト」により、壁の手前で利確設定されているため、「反発して戻ってくる前に逃げ切る」**ことができます。

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。