Script to close all trades based on custom indicator

Specification

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  

Responded

1
Developer 1
Rating
(331)
Projects
541
66%
Arbitration
53
21% / 40%
Overdue
169
31%
Working
Published: 1 code
2
Developer 2
Rating
(56)
Projects
92
62%
Arbitration
0
Overdue
4
4%
Free
3
Developer 3
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(44)
Projects
58
3%
Arbitration
6
0% / 67%
Overdue
5
9%
Free
5
Developer 5
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
6
Developer 6
Rating
(29)
Projects
49
22%
Arbitration
14
29% / 21%
Overdue
13
27%
Free
7
Developer 7
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
8
Developer 8
Rating
(55)
Projects
66
58%
Arbitration
1
0% / 0%
Overdue
0
Free
9
Developer 9
Rating
(17)
Projects
17
18%
Arbitration
5
20% / 60%
Overdue
2
12%
Working
10
Developer 10
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
11
Developer 11
Rating
(7)
Projects
14
21%
Arbitration
1
0% / 100%
Overdue
3
21%
Free
12
Developer 12
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
13
Developer 13
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
14
Developer 14
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
15
Developer 15
Rating
(493)
Projects
1022
58%
Arbitration
30
27% / 23%
Overdue
133
13%
Working
16
Developer 16
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
17
Developer 17
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
18
Developer 18
Rating
(596)
Projects
687
33%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
19
Developer 19
Rating
(77)
Projects
244
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
20
Developer 20
Rating
(2)
Projects
4
50%
Arbitration
0
Overdue
2
50%
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
24
Developer 24
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
ALRT 100+ USD
# Project Requirements – Sierra Chart to MT5 Integrated Alerts *Scope:* The project must be a *fully integrated system* including both: 1. *Sierra Chart ACSIL sender* – writes alerts to JSON. 2. *MT5 EA (Listener)* – reads JSON alerts and executes trades in MT5. The system must handle alerts *from Sierra Chart to MT5 execution* completely, not just file sending. *Duplicate Alert Detection:* - Use
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hi,I am looking for an experienced developer specializing in the creation of Expert Advisors (EAs) for trading platforms. I would like to commission the development of an EA based on the open-source LuxAlgo code. The entry strategy will be based, among other things, on Martingale and Grid trading concepts. A detailed specification covering trade management, position sizing, and risk management rules will be provided
Hello, I need a MetaTrader 5 Expert Advisor (EA) for XAUUSD. Place Buy Stop orders above current price every 0.300 distance Place Sell Stop orders below current price every 0.300 distance 10 levels up and 10 levels down Lot size fixed 0.01 No TP/SL required, manual close only No duplicate orders on restart Please confirm if you can build this and your final price and delivery time
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5

Project information

Budget
30 - 50 USD