OPEN-SOURCE SCRIPT
Diupdate

Ghost (Hide System)

302
Ghost System - Gold Specialized Edition
High-Volatility Trend Following System for XAUUSD

🇬🇧 English Description
1. Overview
Ghost System is a high-performance trading indicator engineered specifically for Gold (XAUUSD). Gold is known for its explosive volatility and long-running trends, but also for its "choppy" consolidation periods that destroy accounts. Ghost System is designed to filter out these dangerous ranging markets and pinpoint the exact moment a massive trend begins, utilizing a fusion of Smart Money Concepts (SMC) and advanced volatility analysis.

2. Key Features
🛡️ Gold-Tuned Range Filter (Slope Logic)

Gold often creates "traps" in flat markets. The system calculates the angle (slope) of the Moving Average. If the slope is below a specific threshold (optimized for Gold at 0.3), it effectively blocks all signals, preventing losses during consolidation.

🧠 SMC & Order Block Integration

It automatically identifies institutional trading zones (Order Blocks) and "Change of Character" (CHOCH) patterns. Entries are not random; they align with where smart money enters the market.

🚀 "Ghost" Trailing Exit

Fixed take-profits limit your potential in Gold. This system uses a Dynamic 20-EMA Trailing Stop.

Benefit: As long as the price respects the 20-EMA, the trade stays open. This allows you to capture 100+ pips in a single strong move while automatically closing the position the moment the trend breaks.

💎 Visual Trade Management

Trade Lines: Solid lines connect your entry to your exit point (Blue = Win, Red = Loss), visualizing the trade history directly on the chart.

Result Labels: Displays the exact Pips gained or lost at the closing point (e.g., +50.5 pips), making it easy to review performance.

📊 Real-Time Performance Dashboard

A professional dashboard displays Win Rate, Profit Factor (PF), Total Pips, and Floating Pips (unrealized profit from open positions). It accounts for pyramiding (additional entries), giving you a complete view of your account health.

🇯🇵 日本語解説
1. 概要
Ghost System (ゴースト・システム) は、ゴールド(XAUUSD) 特有の「激しい値動き」を利益に変えるために開発された、完全特化型のトレンドフォロー・インジケーターです。 ゴールド相場で多くのトレーダーが退場する原因となる「レンジ相場(往復ビンタ)」を徹底的に排除し、機関投資家の資金が入る「初動」と「トレンドの伸び」だけを狙い撃ちするよう設計されています。

2. 主な特徴
🛡️ ゴールド専用レンジ・フィルター (傾き判定)

ゴールドのチャートは、動かない時は全く動きません。このシステムは移動平均線の「傾き(Slope)」を常に監視し、傾きが規定値(ゴールドに最適化された0.3)以下の時は、一切のエントリーサインを出しません。 これにより、無駄な損失を劇的に減らします。

🧠 SMC(スマートマネーコンセプト)搭載

機関投資家が意識する**オーダーブロック(OB)**やトレンド転換点(CHOCH)を自動で分析。単なるインジケーターの数値だけでなく、「大口投資家の痕跡」を根拠にサインを点灯させます。

🚀 利益を無限に伸ばす「ゴースト・トレーリング」

チキン利食い(早すぎる利確)を防ぐため、固定利確ではなく**「20EMA追従型」**の決済ロジックを採用しています。

メリット: トレンドが続いている限り、どれだけ価格が伸びてもポジションをホールドし続けます。これにより、ゴールド特有の数百pips級のビッグウェーブを根こそぎ獲得します。逆に、トレンドが崩れた(20EMAを割った)瞬間に即座に撤退し、利益を守ります。

💎 トレードの「見える化」機能

トレードライン: エントリーから決済までを実線(勝ち=青、負け=赤)で結びます。「どこで入り、どこで逃げたか」がチャート上で一目瞭然になります。

結果ラベル: 決済地点に +85.4 pips のように獲得pips数を表示するため、検証作業が非常にスムーズになります。

📊 リアルタイム成績ダッシュボード

チャート右上に**「勝率」「プロフィットファクター(PF)」「獲得Pips総数」**を表示。

さらに、ポジション保有中は**「現在の含み益Pips」**もリアルタイムで変動表示されるため、今どれくらい儲かっているかが瞬時に分かります。

推奨設定 (Recommended Settings)
通貨ペア: XAUUSD (Gold) 専用

時間足: 15分足 (M15) または 1時間足 (H1)

損切り: 固定 20.0 pips(ボラティリティが高い場合は調整可)
Catatan Rilis
Ghost [Balsara Compounding Final] の仕様に基づき、**「ゴールド(XAUUSD)専用の究極のトレードシステム」**として、その機能と特徴を英語と日本語で解説します。

👻 Ghost System - Ultimate Gold Edition
Professional Trend Following & Money Management System for XAUUSD

🇬🇧 English Description
1. Overview
Ghost System is an all-in-one trading powerhouse designed exclusively for Gold (XAUUSD). It integrates institutional trend logic with professional Money Management based on Balsara's Theory of Ruin. It doesn't just give you entry signals; it manages your risk, calculates your lot size, handles compounding growth, and visualizes your trade history—all automatically calibrated for the specific volatility of Gold and the specifications of XM Trading (Kiwami Account).

2. Key Features
💰 Balsara & Compounding Money Management

Auto-Lot Calculation: Simply set your "Account Balance" and "Risk %" (e.g., 2%). The system automatically calculates the optimal lot size to ensure you never risk more than your limit, based on Balsara's Theory of Ruin.

Compounding Engine: The system simulates account growth. As you win, the recommended lot size increases; as you lose, it decreases to protect your capital.

🛡️ Gold-Specific Logic (Slope Filter)

Optimized strictly for Gold's volatility. It monitors the Moving Average slope (Threshold: 0.3). If the market is ranging/flat, signals are blocked to prevent whipsaw losses.

Fixed SL: Uses a standardized 20 pips ($2.0) Stop Loss, proven to be the "Golden Ratio" for this strategy.

🌍 Auto-Session Filter (XM Server Sync)

Automatically detects Summer/Winter time based on New York/XM Server time.

You can filter trades by Tokyo, London, or New York sessions without worrying about manual time adjustments.

📈 4 Custom Moving Averages

In addition to the system's logic, you can overlay 4 fully customizable MAs (SMA/EMA/WMA, etc.) to align with your personal analysis (e.g., 200SMA, 800EMA).

🚀 "Ghost" Trailing Exit

Maximizes profit by trailing a 20-EMA. The trade remains open as long as the trend holds, capturing massive Gold moves, and closes immediately when the structure breaks.

💎 Visual Trade History

Draws solid lines connecting Entry to Exit with result labels (e.g., +50.5 pips / +¥7,500), making it easy to review past performance directly on the chart.

🇯🇵 日本語解説
1. 概要
Ghost Systemは、**ゴールド(XAUUSD)**のトレードを「ギャンブル」から「資産運用」へと昇華させるために開発された、究極のトレンドフォローシステムです。 単なるサインツールではありません。バルサラの破産確率に基づく資金管理機能を内蔵し、**XM Trading(極口座)**の仕様に合わせて「推奨ロット数」を自動算出します。さらに、複利運用シミュレーションにより、資金の増加に合わせてロットを最適化し続けます。

2. 主な特徴
💰 バルサラ理論×複利運用機能(資金管理)

推奨ロット自動算出: 「資金」と「許容リスク(例: 2%)」を入力するだけで、20pipsの損切りにかかっても安全な適正ロット数を瞬時に計算し、BOXに表示します。

複利シミュレーション: トレードで勝って資金が増えれば次のロットを増やし、負ければ減らす。この「複利効果」をチャート上でリアルタイムにシミュレートします。

🛡️ ゴールド完全特化ロジック

ゴールド特有のダマシ(レンジ)を回避するため、移動平均線の「傾き」を厳密に監視(閾値0.3)。トレンドが出ていない時はサインを出しません。

損切りはゴールドのボラティリティに最適化された20pips固定を採用。

🌍 夏時間・冬時間 完全自動対応

XMサーバー時間(NY時間)を基準に、サマータイムの切り替わりを全自動で判別します。

「東京・ロンドン・NY」の各市場時間だけを狙い撃ちするフィルター機能も、時間のズレを気にせず使用可能です。

📈 4本のカスタムMA搭載

システムのサインとは別に、ご自身が信頼する移動平均線(200SMAや800EMAなど)を最大4本まで自由に設定・表示できます。環境認識の補助として強力です。

🚀 20EMAトレーリング決済

「利小損大」を防ぐため、固定利確は行いません。価格が20EMAに乗っている限り利益を伸ばし続け、トレンド終了と同時に決済します。

💎 トレードの可視化と日本円表示

エントリーから決済までをラインで結び、**「獲得Pips」と「日本円での損益」**をチャート上に表示します。どこでエントリーし、いくら儲かったかが一目瞭然です。

推奨設定 (Recommended Settings)
Currency: XAUUSD (Gold) Only

Account Type: XM Trading Kiwami (極) / Standard

Timeframe: 15 Minute (15分足) or 1 Hour (1時間足)

Risk: 2.0% (Conservative) - 5.0% (Aggressive)
Catatan Rilis
👻 Ghost System - Fund Manager Edition (Gold Spec)
Professional Trend Following & Advanced Money Management System

🇬🇧 English Manual
1. Overview
Ghost System (Fund Manager Edition) is an elite trading system optimized exclusively for Gold (XAUUSD) on XM Trading (Kiwami/Standard Account). Unlike standard indicators, this system acts as a "Fund Manager." It calculates the optimal lot size based on Balsara's Theory of Ruin and allows you to manage capital injections/withdrawals up to 10 times. It visualizes your performance period-by-period, separating past results from current progress.

2. Key Features
💰 Advanced Money Management (Balsara Logic)

Auto-Lot Calculation: Automatically calculates the safe lot size based on your Active Capital and Risk %.

Fund Management: You can set up to 10 dates to update your capital (e.g., adding funds). When a date is reached, the system resets the performance tracking and recalculates lots based on the new capital, treating it as a new "Period."

🛡️ Gold-Specific Logic & Filters

Pyramiding: Adds positions (pyramids) when the trend is strong to maximize profits.

Filters: Includes ADX (trend strength) and Slope (range avoidance) filters optimized for Gold's volatility.

Auto-Session: Automatically detects Summer/Winter time (based on NY time) to filter trades for Tokyo, London, or NY sessions.

📈 4 Custom Moving Averages

You can display 4 fully customizable MAs (SMA, EMA, SMMA, WMA, VWMA) with your preferred length and color to assist your analysis.

💎 JPY & Pips Visualizer

XM Kiwami Support: Calculates Profit/Loss in JPY assuming 1 Lot = 100oz.

Visual History: Draws lines connecting Entry to Exit with clear labels showing result Pips and JPY.

3. How to Use (Settings Guide)
Basic Setup:

Currency: XAUUSD (Gold)

Timeframe: 15m or 1H (Recommended)

Account: XM Trading (Kiwami/Standard)

Money Management (Crucial):

Initial Capital: Set your starting balance (e.g., 1,000,000 JPY).

Risk %: Set your risk per trade (Recommended: 2.0%).

Adding Funds (Fund Updates): When you add funds to your account, enable Update 1, set the Date, and enter the New Capital Amount. The system will separate the P&L before and after this date.

Custom MAs:

Go to "Custom MA Settings". Check the box to enable MA1-MA4. Select Type (e.g., EMA) and Length (e.g., 200).

🇯🇵 日本語マニュアル
1. 概要
Ghost System (Fund Manager Edition) は、XM Trading(極・スタンダード口座) の ゴールド(XAUUSD) 取引に完全特化した、プロフェッショナル仕様のトレードシステムです。 最大の特徴は**「ファンドマネージャー機能」です。単なる複利計算ではなく、「資金の追加入金やリセット」を最大10回まで設定可能**で、その都度「推奨ロット」を再計算し、期間ごとの損益を個別に管理・表示します。

2. 主な特徴と機能
💰 資金管理(バルサラの破産確率 × ファンド管理)

推奨ロット自動算出: 「現在の運用資金」と「許容リスク(例: 2%)」に基づき、破産確率を抑えた安全なロット数を自動で算出・表示します。

資金更新機能 (Fund Update): 「〇月〇日に資金を100万円に追加した」といった設定が可能です。設定した日時を過ぎると、システムはそこを「新しいスタート地点」とし、過去の損益とは切り離して計算を開始します。

🛡️ ゴールド特化ロジック & ピラミッティング

追撃機能: トレンドが強い局面では、条件が整い次第「追撃エントリー(買い増し/売り増し)」を行い、利益を最大化します。

ダマシ回避: ADX(トレンド強度)やMAの傾き判定により、レンジ相場での無駄なエントリーを排除します。

📈 4本のカスタムMA搭載

システムのサインとは別に、環境認識用の移動平均線を4本まで自由に表示できます(種類・期間・色を変更可能)。

💎 正確な日本円損益表示

XM極口座の仕様(1Lot=100oz)に合わせ、ドル円レートを自動取得して**「日本円での確定損益・含み益」**をリアルタイム表示します。

PIPS表示もゴールドに合わせて最適化(1/10補正)済みです。

3. 使い方と設定ガイド
チャート設定:

通貨ペア: XAUUSD (Gold)

時間足: 15分足 または 1時間足 推奨

資金管理設定 (パラメータ入力):

初期資金 (円): スタート時の資金を入力します。

許容リスク (%): 1回の損切りで失っても良い資金の割合(推奨 2.0%)。

資金を追加・更新する場合:

設定画面の 「★ 資金追加・更新」 セクションを使います。

更新1 有効化 にチェックを入れます。

日時: 資金を追加/更新した日時を指定します。

新資金: 更新後の口座残高を入力します。

→ これにより、指定日時以降はその新資金を元本としてロットが再計算され、損益表示もリセット(0からスタート)されます。

成績BOXの見方 (右上に表示):

基準資金: 現在の計算基準となっている元本。

推奨Lot: 次のエントリーで張るべき適正ロット数。

期間損益: 直近の資金更新日からの確定損益合計。

含み益: 現在保有中のポジションの評価損益。

⚠️ 免責事項 (Disclaimer)
このシステムは過去のデータに基づいたシミュレーションであり、将来の利益を保証するものではありません。実際のトレードはご自身の判断と責任において行ってください

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.