Script to close all trades based on custom indicator

Tarea técnica

Please I need a script to close all trade when price break below or above moving average and also allows trade to continue in the new direction
For example: buying when price is above moving average, when price go below moving average close all running trades and start selling.. vice versa  

Han respondido

1
Desarrollador 1
Evaluación
(320)
Proyectos
521
66%
Arbitraje
52
21% / 38%
Caducado
165
32%
Trabaja
2
Desarrollador 2
Evaluación
(56)
Proyectos
92
62%
Arbitraje
0
Caducado
4
4%
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(41)
Proyectos
54
4%
Arbitraje
5
0% / 60%
Caducado
4
7%
Libre
5
Desarrollador 5
Evaluación
(39)
Proyectos
50
18%
Arbitraje
5
40% / 40%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(28)
Proyectos
47
23%
Arbitraje
13
31% / 15%
Caducado
12
26%
Libre
7
Desarrollador 7
Evaluación
(548)
Proyectos
1330
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
8
Desarrollador 8
Evaluación
(51)
Proyectos
58
52%
Arbitraje
1
0% / 0%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(17)
Proyectos
17
18%
Arbitraje
5
20% / 60%
Caducado
2
12%
Trabaja
10
Desarrollador 10
Evaluación
(290)
Proyectos
432
64%
Arbitraje
5
40% / 0%
Caducado
4
1%
Trabajando
11
Desarrollador 11
Evaluación
(7)
Proyectos
14
21%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
12
Desarrollador 12
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
14
Desarrollador 14
Evaluación
(568)
Proyectos
641
41%
Arbitraje
21
57% / 29%
Caducado
47
7%
Trabaja
15
Desarrollador 15
Evaluación
(490)
Proyectos
1016
58%
Arbitraje
29
28% / 24%
Caducado
132
13%
Libre
16
Desarrollador 16
Evaluación
(42)
Proyectos
62
8%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
17
Desarrollador 17
Evaluación
(439)
Proyectos
545
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
18
Desarrollador 18
Evaluación
(453)
Proyectos
512
33%
Arbitraje
25
40% / 48%
Caducado
7
1%
Trabajando
19
Desarrollador 19
Evaluación
(56)
Proyectos
176
71%
Arbitraje
4
100% / 0%
Caducado
1
1%
Libre
20
Desarrollador 20
Evaluación
(2)
Proyectos
4
50%
Arbitraje
0
Caducado
2
50%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
24
Desarrollador 24
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(1)
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
I need an experienced programmer to create an automated EA that will open trades based on different candle stick formation strategies and indicators. The EA will first scan the market, find a current market trend and define area of support and resistance. On ranging market the EA doesn’t place trades . (1) EA should use a straddle strategy from either the S/R level, (2) indecision Doji candle from the S/R area, (3)
Requirement Specification : I have an EA that i want to convert from MQ4 to MQ5. I want my EA to be ready as this link says: https://www.mql5.com/en/articles/2555 And I want both EA passes the MQL5 automatic validation, no errors, no warnings, no dll . I need a good and experience programmer that can commit and complete this project. I have an Existing MT4 Expert Advisor and i want to convert to MT5. Exact copy i
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA

Información sobre el proyecto

Presupuesto
30 - 50 USD
Para el ejecutor
27 - 45 USD