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
(328)
Proyectos
538
66%
Arbitraje
53
21% / 40%
Caducado
169
31%
Libre
Ha publicado: 1 ejemplo
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
(43)
Proyectos
56
4%
Arbitraje
7
0% / 57%
Caducado
4
7%
Trabaja
5
Desarrollador 5
Evaluación
(39)
Proyectos
50
18%
Arbitraje
6
33% / 50%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(29)
Proyectos
49
22%
Arbitraje
14
29% / 21%
Caducado
13
27%
Libre
7
Desarrollador 7
Evaluación
(617)
Proyectos
1427
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
8
Desarrollador 8
Evaluación
(55)
Proyectos
66
58%
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
(322)
Proyectos
499
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
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
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
14
Desarrollador 14
Evaluación
(568)
Proyectos
641
41%
Arbitraje
25
48% / 36%
Caducado
46
7%
Trabaja
15
Desarrollador 15
Evaluación
(493)
Proyectos
1022
58%
Arbitraje
30
27% / 23%
Caducado
133
13%
Trabaja
16
Desarrollador 16
Evaluación
(43)
Proyectos
66
12%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
17
Desarrollador 17
Evaluación
(452)
Proyectos
564
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Trabaja
Ha publicado: 6 ejemplos
18
Desarrollador 18
Evaluación
(539)
Proyectos
620
33%
Arbitraje
36
39% / 53%
Caducado
11
2%
Trabajando
19
Desarrollador 19
Evaluación
(77)
Proyectos
241
73%
Arbitraje
7
100% / 0%
Caducado
1
0%
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
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
24
Desarrollador 24
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
GoldTrade EA 30 - 60 USD
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I am looking for someone who has or who can modify the Margin Trader EA by MaryJane preferably the MT5 version by making it pyramid using a fixed lot size addition(preferably 1st trade lot size) instead of using all the margin available to define the lotsize
Create simple EA 30 - 60 USD
Start BUY:- when i click start BUY button new panel should open which should contain bellow points:- Trigger Price Time frame Cross/Close RR ration Trailing Stop ratio Maximum Trade count Risk (percentage or cash) (Option to Increase risk when SL hit) Remove Trigger (True/False ) I will explain above point one by one here bellow •Trigger price :- here we enter price at which when market cross or
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
PrimeFlowEA — v1 Specification Objective: PrimeFlowEA v1 is designed to enforce disciplined, rule-based execution within a single daily trading session. The goal of v1 is correct behavior and execution discipline , not optimization or performance tuning. 1. Market & Time Platform: MetaTrader 5 (MQL5) Symbol(s): User-selectable (single symbol per chart) Execution timeframe: Configurable (default: M5 / M15)
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4

Información sobre el proyecto

Presupuesto
30 - 50 USD