Expert Advisors

SMA-Cross

Developer: FXCM

The SMA-Cross EA buys and sells depending on the relationship of two Simple Moving Averages: one “fast” and one “slow.”

BUYING LOGIC

When the “fast” Simple Moving Average line crosses above the “slow” a buy trade is opened.

Note: Trades are closed with a stop or a limit, whose price is defined by the user. All trades open at the close of the current candle. Only one trade at a time is opened, regardless of the number of crossovers that occur.

SELLING LOGIC

When the “fast” Simple Moving Average line crosses below the “slow” a sell trade is opened.

Note: Trades are closed with a stop or a limit, whose price is defined by the user. All trades open at the close of the current candle. Only one trade at a time is opened, regardless of the number of crossovers that occur.

INPUTS

The following inputs are available in the EA’s properties window and can be defined by the app user:

  1. Money Management Inputs
    • MagicNumber: A unique identifier that allows the EA to account for and manage its trades
    • LotSize: The number of lots traded
    • MaxDeviation: The maximum slippage allowed (in pips)
    • StopLoss: The stop price, as defined by a number of pips away from the open price
    • TakeProfit: The take profit price, as defined by a number of pips away from the open price
  2. Indicator Inputs
    • SMAFast: The number of periods used to calculate the “fast” Simple Moving Average
    • SMASlow: The number of periods used to calculate the “slow” Simple Moving Average
Risk Disclaimer

The application displayed on this page does not take in to consideration your individual personal circumstances and trading objectives. Therefore it should not be considered as a personal recommendation or investment advice. Past performance is not indicative of future results. There is no guarantee that the systems, trading techniques, trading methods, and/or indicators will result in profits or not result in losses.

Requirements

This Expert Advisor (EA) is only compatible with FXCM MetaTrader 4 software. It does not operate on MetaTrader 4 software provided by any other brokerage. Additionally, an FXCM account is required (including free FXCM demo accounts).