Simple script needed - trailing stop triggered by price - MT4

MQL4 Asesores Expertos Sripts

Trabajo finalizado

Plazo de ejecución 19 días

Tarea técnica

Hi there,

Some background to my trading style:

I enter all of my trades manually. I only trade one FX pair at a time. I never have more than 6 trades on at once.

I am newish to MT4 and have so far only used manual trading controls.

My Problem:

I know where my TP is but I want to improve on the TP by replacing it with a trailing stop that is triggered at a price that I set.

The Solution:

I just need a script that I can run that applies to all open trades on the same FX pair that has these parameters:

1. Trigger price that starts the trailing stop.

2. Number of Pips for the trailing stop.


If I can get this to work to start with then there might be more interesting parameters for the trailing stop settings like ATR, or previous close but to begin just simple trailing pips is enough.


Cheers,


J

Han respondido

1
Desarrollador 1
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
Ha publicado: 8 ejemplos
2
Desarrollador 2
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(67)
Proyectos
79
33%
Arbitraje
6
50% / 33%
Caducado
7
9%
Libre
4
Desarrollador 4
Evaluación
(1274)
Proyectos
1694
49%
Arbitraje
52
71% / 12%
Caducado
37
2%
Libre
5
Desarrollador 5
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
6
Desarrollador 6
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
7
Desarrollador 7
Evaluación
(4)
Proyectos
4
0%
Arbitraje
1
0% / 100%
Caducado
1
25%
Libre
8
Desarrollador 8
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
9
Desarrollador 9
Evaluación
(12)
Proyectos
14
29%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(13)
Proyectos
35
71%
Arbitraje
2
0% / 0%
Caducado
11
31%
Trabaja
Ha publicado: 1 ejemplo
11
Desarrollador 11
Evaluación
(430)
Proyectos
606
55%
Arbitraje
48
23% / 56%
Caducado
176
29%
Libre
12
Desarrollador 12
Evaluación
(349)
Proyectos
463
51%
Arbitraje
41
24% / 49%
Caducado
149
32%
Libre
13
Desarrollador 13
Evaluación
(12)
Proyectos
16
31%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
15
Desarrollador 15
Evaluación
(8)
Proyectos
12
0%
Arbitraje
22
0% / 77%
Caducado
4
33%
Libre
16
Desarrollador 16
Evaluación
(412)
Proyectos
543
75%
Arbitraje
9
44% / 0%
Caducado
24
4%
Libre
17
Desarrollador 17
Evaluación
(64)
Proyectos
144
46%
Arbitraje
19
42% / 16%
Caducado
32
22%
Trabaja
18
Desarrollador 18
Evaluación
(2630)
Proyectos
3345
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
19
Desarrollador 19
Evaluación
(59)
Proyectos
81
43%
Arbitraje
27
11% / 70%
Caducado
8
10%
Libre
20
Desarrollador 20
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
21
Desarrollador 21
Evaluación
(16)
Proyectos
17
29%
Arbitraje
1
0% / 100%
Caducado
2
12%
Libre
22
Desarrollador 22
Evaluación
(542)
Proyectos
624
33%
Arbitraje
39
36% / 49%
Caducado
11
2%
Ocupado
23
Desarrollador 23
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
24
Desarrollador 24
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
I have EA available for boom 900 able to make 30$ daily from 100$ . I need investors to partner together and create a substantial capital for greater gains and equitable pooling and distribution
Trade copier 80+ USD
I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size conversion. - Implement symbol mapping for trades. -
Trading Bot 50+ USD
hello great developer I want to develop a trading bot which connects with my Binance account. A bot that can work with tradingview.com where I use trading indicator which is called " TonyUX Ema scalper ". This indicator generates Buy and Sell signal. So i want a bot which can execute trade on binance when it gets a Buy/sell signal on tradingview.com ( see attached picture) Most likely you already have a similar bot
I need an MT5 Expert Advisor based on SMC (Smart Money Concepts) and SCOB pattern. Entry logic (M1 first, must work all TF): 1. Detect OB or FVG. 2. When price touches OB/FVG, wait for SCOB candle confirmation. 3. Enter at close of SCOB. Stop Loss: - SL at the high/low of SCOB candle. Take Profit (Box TP rule): - Use distance between point 1 and point 2 as a box. - TP = 2 × box size. - Same method as drawing box and
Algo Trading Rebot/ EA 30 - 100 USD
I would like someone Who can design an EA for me. I will give him the Required Details and Trading Plan How it should Work. its going to be a Simple EA System Around Moving Averages Crossover. I will Provide Him the Moving Averages Settings and How It should execute trades and Exit them
Hello. I already have a fully working TradingView indicator written in Pine Script. I am NOT asking for a new strategy or indicator to be designed. I need an experienced NinjaTrader (NinjaScript / C#) developer to replicate the same logic and behavior of my existing TradingView indicator so it works on NinjaTrader. Important points: The TradingView indicator does NOT repaint (uses confirmed bars only). This is logic
No jokers copy pasters allowed. If you're proficient in MQL5, have a proven track record with EAs apply. Commissioning the development of a high-performance Expert Advisor (EA) engineered for the MetaTrader 5 (MT5) environment. The objective is to deploy an institutional-grade automated trading system capable of systematic market analysis, precision execution, and strict risk governance within the global forex
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Sniper 30+ USD
Hello, I would like you to develop a trading robot (EA) with the following specifications: The robot should be able to target large moves, ideally 60–100 pips or more per trade. It should use high-precision “sniper” entries, focusing on high-probability setups rather than frequent trades. Once the initial trade reaches breakeven, the robot should be able to add additional positions (scale in) while maintaining strict
True 30+ USD
Hello, I would like to commission the development of a trading robot (EA) designed specifically to pass a prop firm challenge within one week, with a maximum allowable drawdown of 2%. Key requirements: Strict risk management with drawdown hard-limits Controlled lot sizing and position management Strategy focused on high-probability, low-risk entries Full compliance with prop firm rules (daily drawdown, max drawdown

Información sobre el proyecto

Presupuesto
50 - 200 USD
Plazo límite de ejecución
a 3 día(s)