MT4 / MT5Apache-2.0Trade manager取引管理EA

MA Trailing Stop

Test a moving average as a dynamic exit reference for existing positions.

保有ポジションの出口の基準として、移動平均線を使う方法を検証するEAです。

Get source from author原作者のソースを開く ↗

What it does

仕組みと使い道

The EA trails stops using a moving-average value for trades selected by its filters. It includes an on/off chart control.

対象フィルターに一致する取引のストップを移動平均線の値に基づいて追従させます。チャート上で有効・無効を切り替えられます。

Settings to understand first

最初に確認する設定

Review the chosen moving average and target trades. In a demo terminal, confirm that modifications follow the intended line and remain valid for the broker.

選択した移動平均線と対象取引を確認します。デモで更新先が意図する線と一致するか、業者の注文条件を満たすかを確認します。

What to watch out for

注意点と制約

A moving average can lag a fast move and is not a guaranteed execution price. Running another manager on the same position can produce contradictory updates.

移動平均線は急変に遅れて反応します。線の位置での約定を保証するものではありません。同じ建玉に別の管理EAを使う場合は更新の競合に注意します。

Install, inspect, then test

導入から検証まで

  1. Open the original author repository below and read its current LICENSE and installation instructions. Get the matching source folder or repository ZIP from that author; no source package for this item is mirrored by BSV.
  2. In the matching desktop terminal choose File → Open Data Folder. Copy this EA source under MQL4/Experts or MQL5/Experts. Preserve include/folder structure if the author’s package has it.
  3. Open the matching MetaEditor, compile the main source, and resolve errors and missing dependencies. Check the tool-specific notes before enabling any permission. Do not enable DLL or external-web access simply to make an error disappear.
  4. Use Strategy Tester and an isolated demo account with no other positions first. Confirm entries, exits, order filters, costs, restart behavior and failures. Reading source is not a substitute for those checks.
  1. 下の原作者リポジトリで、現行のLICENSEと導入手順を読みます。対応するソースフォルダーまたはリポジトリZIPを原配布元から取得します。この項目のソース一式はBSVでは複製配布していません。
  2. 対応するデスクトップ版で「ファイル→データフォルダを開く」を選び、EAをMQL4/ExpertsまたはMQL5/Expertsへ置きます。作者のパッケージに付属フォルダがある場合は階層を崩しません。
  3. 対応するMetaEditorで本体をコンパイルし、エラーと依存不足を確認します。各ツールの注意点を読み、エラーを消す目的だけでDLLや外部通信を許可しないでください。
  4. まず他のポジションがないテスター・隔離したデモ口座で、新規注文・決済・対象の絞り込み・コスト・再起動・失敗時の処理を確認します。ソースを読むだけではこれらの実行確認の代わりになりません。

Source and license

ソースとライセンス

This is an author-hosted source listing, not a BSV mirror. The author repository is explicitly licensed Apache-2.0. BSV has checked the upstream listing and description, not every file or dependency. No runtime verification is claimed.

原作者が配布するソースの案内で、BSVでの複製配布ではありません。原作者リポジトリのApache-2.0表示と説明を確認していますが、全ファイル・依存関係の個別監査はしていません。実行検証済みとは表示しません。

Read the author’s setup and full documentation原作者の導入手順・全機能を読む
Original author原作者
EarnForex
Licenseライセンス
Apache-2.0
Source version取得対象の版
Author default branch; may change
Checked確認日
2026-10-01
Evidence出典
Original license原作者のライセンス