The Expert Advisor places pending Buy Stop and Sell Stop orders at a distance of Initial indentation. The Max spread parameters is also taken into account: if the current spread exceeds Max spread, the pending orders will not be placed. After that pending orders are constantly modified (using Trailing Stop with Trailing Step), expecting the order to trigger at a sudden sharp price movement. Pending orders are modified every Pause seconds.
Positions are controlled by Equity profit and Equity loss levels. Once profit reaches Equity profit, all positions are closed to fix the profit. If loss reaches Equity loss, all positions are closed and loss is fixed.
Results from 2018.01.08 to 2018.02.05 at the M1 timeframe:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19936
Opening positions randomly after a certain time interval.TrailingTakeProfit
This non-trading Expert Advisor is designed for the simple trailing of take profit orders of open positions.
A trading system based on two indicators: iSAR (Parabolic SAR) and iRSI (Relative Strength Index, RSI). Lot calculation based on the risk value as a percentage of free margin.EMA Cross Contest Hedged
A trading system based on three indicators: two iMAs (Moving Average) and iMACD (Moving Average Convergence/Divergence, MACD).