EA of Halt on Moving Averages with 30 seconds Virtual Time Frame

MQL5 Experts

Specification

Virtual timeframe

Algorithm that simulates a 30-second candle, based on ticks (ask and bid tick prices), 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;


Responded

1
Developer 1
Rating
(32)
Projects
55
5%
Arbitration
35
0% / 94%
Overdue
24
44%
Working
2
Developer 2
Rating
(186)
Projects
205
26%
Arbitration
12
25% / 58%
Overdue
39
19%
Free
3
Developer 3
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
30 - 100 USD
Deadline
from 1 to 15 day(s)