Script to close all trades based on custom indicator

Spécifications

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  

Répondu

1
Développeur 1
Évaluation
(328)
Projets
538
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Gratuit
Publié : 1 code
2
Développeur 2
Évaluation
(56)
Projets
92
62%
Arbitrage
0
En retard
4
4%
Gratuit
3
Développeur 3
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(44)
Projets
58
3%
Arbitrage
7
0% / 57%
En retard
5
9%
Travail
5
Développeur 5
Évaluation
(39)
Projets
50
18%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(29)
Projets
49
22%
Arbitrage
14
29% / 21%
En retard
13
27%
Gratuit
7
Développeur 7
Évaluation
(618)
Projets
1428
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
8
Développeur 8
Évaluation
(55)
Projets
66
58%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(17)
Projets
17
18%
Arbitrage
5
20% / 60%
En retard
2
12%
Travail
10
Développeur 10
Évaluation
(322)
Projets
499
67%
Arbitrage
5
40% / 0%
En retard
4
1%
Gratuit
Publié : 8 codes
11
Développeur 11
Évaluation
(7)
Projets
14
21%
Arbitrage
1
0% / 100%
En retard
3
21%
Gratuit
12
Développeur 12
Évaluation
(1)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
14
Développeur 14
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
15
Développeur 15
Évaluation
(493)
Projets
1022
58%
Arbitrage
30
27% / 23%
En retard
133
13%
Travail
16
Développeur 16
Évaluation
(43)
Projets
66
12%
Arbitrage
12
58% / 42%
En retard
1
2%
Gratuit
17
Développeur 17
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Gratuit
Publié : 6 codes
18
Développeur 18
Évaluation
(549)
Projets
636
33%
Arbitrage
42
40% / 45%
En retard
11
2%
Occupé
19
Développeur 19
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
20
Développeur 20
Évaluation
(2)
Projets
4
50%
Arbitrage
0
En retard
2
50%
Gratuit
21
Développeur 21
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
22
Développeur 22
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
24
Développeur 24
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
(2)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
hello, please take a moment to review my project. It is for Quanttower. it is very detailed in the instructions. Thank you, Just let me know if you can do it and the whats the cost and timeframe
Key Requirements: Source Account: Connect to a Master account using Investor (Read-only) Password. Destination Account: Execute trades on a Live Slave account with full trading access. Currency Focus: The system must handle Currency Pairs accurately, including symbol mapping (e.g., EURUSD to EURUSD.m) between different brokers. Stealth Features: Remove/Disable all trade comments. Assign custom Magic Numbers to the
I need a developer to start robot from scratch based on existing EA that is running live. I do not have the source file as my previous coder did not give it to me. What I do have is the investor password which is running the EA from the coder side but not from my end. I like someone to monitor the account and re create the same system for me
Project Overview: I am looking for a highly experienced MetaTrader 4 (MQL4) developer to build a sophisticated automated trading system. This is not a standard grid bot; it requires complex trade management, dynamic exposure rebalancing, and a custom "Salami" liquidation module for partial loss mitigation . Key Features to Implement: Virtual Grid & Dynamic Trend: Price-action-based grid triggers without pending
We are looking for a professional developer or trader who already has a proven profitable EA or strategy based mainly on price action logic. Important requirements: No Martingale No Grid No Micro-scalping Avoid heavy indicator-based strategies Strategy should be based mainly on price behavior / market structure We are not looking for aggressive systems that promise unrealistic returns. Our focus is on stable
I run an ea it makes good profits bit that one bad grid blows up the account. I want an EA which runs parallel to it which can intelligently close bad trades or grids. It shouldn't close recoverable trades but close very bad entries and grids. It can even close with hedging. The goal recover max and also not blow up the account
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8

Informations sur le projet

Budget
30 - 50 USD