Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
This expert advisor is simple, and works with pending orders.
1 - Remove BE function.
2 - Correct the trailing function. This function is currently not working.
Example:
Use Trailing - true
Start trail - 100
Step - 10
When the price moves 100 in favor, SL is in the entry price. Every 10 points that the price moves, the SL moves along.
3 – Include filter day and hour.
After the end time, cancel the pending orders.
4 - Include the candle filter.
Sell only in positive candle. (True / false)
Buy only in negative candle. (True / false)
5 - Include the operations filter per day.
Only open and closed orders count as transactions. And not the pending orders.
6 - Cancel pending orders after a number of candles.
7 - Include moving average filters.
Above moving average, BUY orders.
Below the moving average, SELL orders.
Fast moving average (true / false)
Slow moving average (true / false)
If both moving average, for true. To place BUY order, the price must be above the two moving average. To place SELL order, the price must be below the two moving average.
8 – Include Magic Number.