An example of the moving average crossover trading system

This topic contains 2 replies, has 3 voices, and was last updated by  JoshR 2 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #640
    Seer
    Seer
    Keymaster

    Perhaps the simplest of all trading systems, this simple crossover is the basis for many trading systems.

    This trading system uses exponential moving averages (EMA) to reduce the lag in simple moving averages.

    Rules:
    Buy when the short MA crosses above the long MA
    Sell when the long MA crosses below the short MA

     

    #A simple moving average crossover system
    if (not Position) {
      #Only go long if we dont hold a position, and we have a crossover
      BuyOpen if Crossover(EMA(Close,12),EMA(Close,26));
      }
    else {
      #Sell if we have a crossunder
      SellOpen if Crossunder(EMA(Close,12),EMA(Close,26));
      }
    • This topic was modified 6 years, 4 months ago by  jez.
    • This topic was modified 6 years, 4 months ago by Seer Seer.
    • This topic was modified 6 years, 4 months ago by Seer Seer.
    #4817

    Katerina
    Member

    This is rather good trading system, that simplifies trading. I often use EMA indicator while trading.
    There is a good article about it: https://justforex.com/education/forex-articles/exponential-moving-average-on-forex

    #4818

    JoshR
    Member

    Hi Katerina

    I wonder if you can help me? I’ve got a question on adding some bits to a moving average system in the questions section. I wonder if you can help.

    http://www.seertrading.com/topic/time-restraints-on-trading/

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.