MetaTrader 5 / エキスパート

LacusTstopandBE - MetaTrader 5のためのエキスパート

Lacus1977
1470
(33)

アイディアの著者: Lacus1977mq5コードの著者: barabashkakvn

エキスパートアドバイザーは、手動取引のためだけに設計されています。EAは損失を止め、現在の銘柄上のポジションと指値注文に対して逆指値と指値を設定します。トレール注文機能と損益分岐点機能も備えています。


入力パラメータ

  • Stop loss - 逆指値
  • Take profit - 指値
  • Close all if profit reached the x percent of balance or - 総利益が収支のx%に達するとすべてのポジションを決済します
  • close all if profit reached the x profit amount in currency - 総収益が預金通貨での指定額に達するとすべてのポジションを決済します
  • Close if profit reached x profit amount - 利益が預金通貨で指定された金額に達すると、ポジションを決済します
  • Trailing Start after reaching x pips - トレール注文開始設定
  • Trailing Stop distance from current price - トレールステップ設定
  • Breakeven Gain after reaching x pips - ポジションが損益分岐点に移されるまでの利益ポイントの数
  • Breakeven x pips locked in profit - 損益分岐点を移すポイントの数
  • Stealth mode for Stoploss and Takeprofit values - 非表示モード


買いポジションは指値や逆指値なしで開かれます。EAは、予め設定された指値や逆指値を設定します。

価格が有利な方向に動き、Breakeven Gain after reaching x pips利益ポイントを作ります。EAはBreakeven x pips locked in profitポイントで損益分岐点を設定します。価格が上昇しEAが価格に従って ストップロスをトレールします。すべてのTrailing Start after reaching x pipsストップロスは、Trailing Stop distance from current priceポイントで追跡されます。

MetaQuotes Ltdによってロシア語から翻訳されました。
元のコード: https://www.mql5.com/ru/code/19776