Evaluating bids

Expert Advisor Mql5 - Halt on Moving Average

Published on the June 04, 2025 in IT & Programming

About this project

Open

Virtual timeframe
Algorithm that simulates a 30-second candle, based on ticks, called a virtual timeframe, that is, a time frame that
exists only within the algorithm (internally) calculating the moving averages. This 30-second average do not need to
appear on the chart.
  Strategy:
  200 moving average trading signal:
After the last trading price (if available) is equal (it will be necessary to check the last “last price” to verify the
direction) or is higher (buy signal) or lower (sell signal) than the 200 moving average, open a order (by market or buy
limit on MA) in the direction of the signal. A maximum of 3 more entries should be made if Take Profit 1 has been
reached.
  20 and 34 moving average trading signal:
After the last trading price (if available) is higher (buy signal) or lower (sell signal), by the stipulated number of
points, than the 20 or 34 moving average, open a market order (or limit order) in the direction of the signal after the
price returns to the broken average. Open new market orders:
1. After Take Profit 1, perform the Breakeven;
2. After Stop Loss, entry only in the opposite direction;

Project overview

Personal Purpose of backtesting trade strategy usong MT5, based on MQL5.

Category IT & Programming
Subcategory Other
Project size Small
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed

Delivery term: Not specified

Skills needed