Forex Algo Trader
Sign In Register
Market Resources Tools Autotrading Algo Jobs
1-ONE MA SYSTEM
Resource

1-ONE MA SYSTEM

The "1-ONE MA SYSTEM" is a beginner-friendly, trend-following trading strategy coded in MQL5 for the MetaTrader 5 platform. For new traders, a trend-following strategy means we try to ride the direction of the market—up or down—by using a tool called a Simple Moving Average (SMA). The SMA is like a smooth line that averages past closing prices to help us spot the trend.
Allan Munene Mutiiria Verified
@allan_munene_mutiiria
1 year ago 567 views 0 comments 2 min read

Overview

The "1-ONE MA SYSTEM" is a beginner-friendly, trend-following trading strategy coded in MQL5 for the MetaTrader 5 platform. For new traders, a trend-following strategy means we try to ride the direction of the market—up or down—by using a tool called a Simple Moving Average (SMA). The SMA is like a smooth line that averages past closing prices to help us spot the trend. In this strategy, we use a "21-period SMA", meaning it looks at the last 21 candles (price bars) on your chart to calculate this average. Our goal is to find buy and sell signals based on how the price moves compared to this "SMA" line and whether the "SMA" itself is moving up or down.

Strategy Rules

  • Buy Signal: We enter a buy trade (betting the price will go up) when two things happen:

    1. The "21-period SMA" is rising, meaning the current "SMA" value is higher than the one before it, and that one is higher than the one before that—showing an upward trend over three bars.

    2. The closing price of the previous candle (a candle is a visual block on your chart showing price movement over time) is above the previous "SMA" value, confirming the price is pushing upward.

  • Sell Signal: We enter a sell trade (betting the price will go down) when:

    1. The "21-period SMA" is falling, meaning the current "SMA" value is lower than the previous one, and that one is lower than the one before that—showing a downward trend over three bars.

    2. The closing price of the current candle is below the previous "SMA" value, confirming the price is dropping.

  • Key Components:

    • We rely on a "21-period SMA" calculated from closing prices (the final price of each candle).

    • We check the trend by comparing three "SMA" values in a row.

    • We confirm trades by looking at where the price sits compared to the "SMA".

  • Platform: This runs on MetaTrader 5, a popular trading software, using MQL5, its coding language.

567 views
Discussions 0

No discussions yet

Be the first to share your thoughts on this resource.

Sign in to take part
Sign in or register to comment and report.
0%
Uploading…
Please don’t close this page