
The Expert Advisor uses indicator iMA (Moving Average, MA). It has many settings:
- Only one position – only one position can be held in the market
- Reverse – the reversal of trading signals
- Close opposite – forcedly closing opposite positions when receiving a trading signal
Generating trading signals, where all parameters are set by default:
The current ASK price is higher than the indicator value on bar #1 -> a signal to open a BUY position
The current BID price is lower than the indicator value on bar #1 -> a signal to open a SELL position
And how it looks in the MQL5 code:
if(m_symbol.Ask()>ma[1]) m_need_open_buy=true; else if(m_symbol.Bid()<ma[1]) m_need_open_sell=true;
A sample of how it works where parameters of Only one position are false and true:
MT5 Indicators – Download Instructions
MA Trend MT5 Indicator is a Metatrader 5 (MT5) indicator and the essence of this technical indicator is to transform the accumulated history data.
MA Trend MT5 Indicator provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.
Based on this information, traders can assume further price movement and adjust their strategy accordingly. Click here for MT5 Strategies
Recommended Forex MetaTrader 5 Trading Platform
- Free $50 To Start Trading Instantly! (Withdrawable Profit)
- Deposit Bonus up to $5,000
- Unlimited Loyalty Program
- Award Winning Forex Broker
- Additional Exclusive Bonuses Throughout The Year

How to install MA Trend MT5 Indicator.mq5 to your MetaTrader 5 Chart?
- Download MA Trend MT5 Indicator.mq5
- Copy MA Trend MT5 Indicator.mq5 to your Metatrader 5 Directory / experts / indicators /
- Start or restart your Metatrader 5 Client
- Select Chart and Timeframe where you want to test your mt5 indicator
- Search “Custom Indicators” in your Navigator mostly left in your Metatrader 5 Client
- Right click on MA Trend MT5 Indicator.mq5
- Attach to a chart
- Modify settings or press ok
- Indicator MA Trend MT5 Indicator.mq4 is available on your Chart
How to remove MA Trend MT5 Indicator.mq5 from your Metatrader 5 Chart?
- Select the Chart where is the Indicator running in your Metatrader 5 Client
- Right click into the Chart
- “Indicators list”
- Select the Indicator and delete
MA Trend MT5 Indicator (Free Download)
Click here below to download:
Download Now