October 15, 2025

Forex Trade Logic

Developing & Testing MT4 & MT5 Trading Indicators & Strategies

Moving Average (MA) Crossover Alert + TP/SL Levels (MT4)

  • Version
  • Download 1490
  • File Size 43.98 KB
  • File Count 1
  • Create Date November 8, 2021
  • Last Updated February 27, 2025

Login is required for indicator downloads. Downloads are free for all basic indicators, simply create a new user account and/or login to an existing user account to download. Zip file contains both MT4 and MT5 versions.

Moving Average (MA) Crossover Alert + TP/SL Levels (MT4)

(Click on image to enlarge)

This custom moving average indicator can be set to the the following moving average method types:

  • Simple Moving Average (SMA) Crossover Arrow Alert Indicator (MT4)

  • Exponential Moving Average (EMA) Crossover Arrow Alert Indicator (MT4)

  • Smoothed Moving Average (SMMA) Crossover Arrow Alert Indicator (MT4)

  • Linear Weighted Averaging Moving Average (LWMA) Crossover Arrow Alert Indicator (MT4)

This indicator uses the 4 different Moving Average methods for both the fast and slow moving average trend lines. This indicator will generate an arrow alert whenever the fast moving average trend line (MA_1) crosses the slow moving average trend line (MA_2). A potential up-trend signal when MA_1 crosses above MA_2 and a potential down-trend signal when MA_1 crosses below MA_2. By default, the MA Methods are set to 'Simple', MA_1 Period is set to '100' and MA_2 Period is set to '200'. The period settings for each moving average trend-line can be changed in the indicator settings.

This indicator also includes an inbuilt TP/SL (Take-profit/Stop-loss) target levels configured using ATR (Average True Range) multipliers and can be adjusted to a specific user preference. This method calculates and positions the suggested ‘TP and SL’ levels according to current price volatility unique to each currency pair. Each TP and SL level is calculated to a standard risk to reward ratio as a default setting and can be adjusted to a specific user preference in the indicator input settings.

This indicator should only be used with or as part of a reliable, consistent working strategy that requires the use of the Moving Average (MA) Indicator.

Notes and recommendations: Works well with trending markets. Avoid using during 15-20 minutes before and after medium/high impact news and opening hour of major market sessions. Should only be used with a reliable strategy, proper market analysis and added confirmations to suggest high probability win trade. Take caution during NFP (Non-farm payroll) week, try to avoid trading during NFP week.

The moving average method will need to be set in the 'Inputs' settings window when attaching to a chart: This is done by selecting the MA method type in the drop-down menu.

You also have the option to choose two different MA methods types for MA_1 and MA_2

Arrow Style Types Table: (Go to Arrow Styles Types page for more details and instructions)


Upgrade to Premium Membership: Go to User Account Page


Share this page:

1 thought on “Moving Average (MA) Crossover Alert + TP/SL Levels (MT4)

Leave a Reply