MA Cross Strategy EA

The MA Cross strategy takes trades based on moving average cross overs in the direction of the fast moving average. Most reliable on daily candles and has been tested from January 2012 to May 2017 on USDJPY and will work on any currency pair. Comes with an indicator to allow visual representation of how the EA is working. Will work on brokers with 3 or 5 decimal places but pip based settings are always 2 or 4 decimal depending on the currency pair.


Expert Advisor Settings

*** Order Settings ***

MagicOrderNumber – Number to identify the EA Trades.

Lots – Lot size when MoneyManagement is set to false.

SlippagePips – Number of slippage pips allowed when placing a trade.

MoneyManagement – Enables fraction risk of account balance and profit lock.

MoneyManagementRisk – Fraction of account balance to risk per trade.

AllowNewTrades – Allows new trades.

AccountProfitLock – Fraction of account to lock profit and stop trading in the event of an excessive draw down.


*** Entry Settings ***

TimeFrame – Select the time frame that the EA uses to trade.

MaxSpread – Maximum spread in pips that the EA will trade.

TakeProfit – Take profit in pips, zero to disable.

MAMode – Select the moving average mode.

SlowMAPeriod – The slow moving average period.

FastMAPeriod – The fast moving average period.


*** Exit Settings ***

StopLoss – The stop loss in pips.

RSIExit – Exits if the RSI returns from an extreme.

RSIPeriod – The RSI period.

TrailingTimeExit – Time based trailing stop loss.

TrailingTimeAcceleration – The acceleration of the stop loss in the direction of the trade.

BreakEven – Perform break even.

BreakEvenPips – Number of pips to set stop loss in profit.

BreakEvenTriggerPips – Number of pips of profit before break even is performed.

BreakEvenTimeDelaySeconds – Number of seconds to delay break even.

TrailingStopLoss – Perform trailing stop loss.

TrailingStopLossPercentage – Percentage from original stop loss to move.

TrailingStopLossPipIncrements – Increments in pips of trailing stop loss to reduce number of order modifications.