Simple script needed - trailing stop triggered by price - MT4

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 19 dias

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(590)
Projetos
789
71%
Arbitragem
9
33% / 33%
Expirado
22
3%
Livre
Publicou: 8 códigos
2
Desenvolvedor 2
Classificação
(130)
Projetos
184
32%
Arbitragem
18
28% / 67%
Expirado
27
15%
Livre
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(67)
Projetos
79
33%
Arbitragem
6
50% / 33%
Expirado
7
9%
Livre
4
Desenvolvedor 4
Classificação
(1302)
Projetos
1730
49%
Arbitragem
53
70% / 13%
Expirado
38
2%
Trabalhando
5
Desenvolvedor 5
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
6
Desenvolvedor 6
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
7
Desenvolvedor 7
Classificação
(4)
Projetos
4
0%
Arbitragem
1
0% / 100%
Expirado
1
25%
Livre
8
Desenvolvedor 8
Classificação
(188)
Projetos
212
58%
Arbitragem
9
11% / 89%
Expirado
8
4%
Livre
9
Desenvolvedor 9
Classificação
(12)
Projetos
14
29%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(13)
Projetos
35
71%
Arbitragem
2
0% / 0%
Expirado
11
31%
Trabalhando
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(430)
Projetos
606
55%
Arbitragem
48
23% / 56%
Expirado
176
29%
Livre
12
Desenvolvedor 12
Classificação
(349)
Projetos
463
51%
Arbitragem
41
24% / 49%
Expirado
149
32%
Livre
13
Desenvolvedor 13
Classificação
(12)
Projetos
16
31%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(221)
Projetos
369
66%
Arbitragem
10
50% / 0%
Expirado
46
12%
Livre
15
Desenvolvedor 15
Classificação
(9)
Projetos
13
0%
Arbitragem
23
0% / 78%
Expirado
4
31%
Livre
16
Desenvolvedor 16
Classificação
(412)
Projetos
543
75%
Arbitragem
9
44% / 0%
Expirado
24
4%
Livre
17
Desenvolvedor 17
Classificação
(64)
Projetos
144
46%
Arbitragem
20
40% / 20%
Expirado
32
22%
Livre
18
Desenvolvedor 18
Classificação
(2662)
Projetos
3383
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
19
Desenvolvedor 19
Classificação
(60)
Projetos
82
44%
Arbitragem
27
11% / 70%
Expirado
8
10%
Livre
20
Desenvolvedor 20
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
21
Desenvolvedor 21
Classificação
(16)
Projetos
17
29%
Arbitragem
1
0% / 100%
Expirado
2
12%
Livre
22
Desenvolvedor 22
Classificação
(571)
Projetos
663
32%
Arbitragem
42
45% / 45%
Expirado
12
2%
Carregado
23
Desenvolvedor 23
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
24
Desenvolvedor 24
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
Pedidos semelhantes
Fix ea not start new one mt5. Fix entry tp sl use whole numbers. Fix entry apply ohlc mtf touch retouch 60m 240m 1440m 10080m Fix entry apply hh ll lh hl Touch retouch Check condition from ohlc mtf. Check condition close [1] ohlc mtf. Display Whole number chart 000, 0000, 00000 Fix entry tp sl use 00, 000, 0000 round whole numbers. Add expiration minutes. Add entry look back hh ll lh hl Add entry look back hh Add
Close Vol (%N): Closes half (or any percentage you want) of the lot size of your open positions. For example, if you have five open orders of 0.06 lots and want to close half of each, you simply click it, and it will close the specified volume from each individual order. Close Order (%N): Closes half (or any amount you want) of the total number of your open orders. For example, if you have ten open orders and want to
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with $100. I am willing to pay up to $1500 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
Need an trailing SL manager which can work with my all open trades (trades may be multiple), Put a fix SL based on entry price and then trail my strictly in my favoured direction, Initial SL shud be confiurable via a small dashboard
Pip killer ntt 100+ USD
Create a forex robot especially for sculping using the 3 ema strategy which consists of the following moving average levels of the 15 ma ,30 ema , 60 ema and 90 which enter potentially on a retest into the ema and targets opposite direction after the retest .Potentially bringing into account that the number of retested emas controlls the number of entreis which for eg. retest of the 15 ema single 0.01 trade is
Need to improve logic in existing coding for Range breakout/breakin EA 1) for timing range like 1am-10am Asian Range with max entry per session like London 1-2 times max entry 10-4pm & US session timings 1-2 entry 4pm - 8pm or 2) candle high low range eg 4pm to 4:30pm - entry logic eg mark 30min candle high low range as given in attached picture with buffer if required to show entry , SL & TP in trade/backtest mode
Make a Robot for mt5 using supertrend indicator for entry in trade with period 2 and multiplier 1.1 using Heiken Ashi candle also with martingle of 2 with maximum step for martingle is 15 step until profit reaches double of total loss. Select time frame 1 minute.Always close the previous trade if in loss then take next trade with martingle of 2 of previous lot in loss. All parameter have the option to change it
Robot que combine 2 indicadores en la ejecución automatica: 1 el Gann High Low y el Donchian Channel (DC) ACTIVO: XAU/USD EN UNA HORA PARA EL DC: período DC = 55 velas displacement/shift = 1 Mas Detalles en este video : https://youtu.be/3jI3cZY89T4?si=YEZAkMvWiq9O8-u9
Hello, I need an Expert Advisor for both MT4 and MT5 based on a recovery/grid trading strategy. Strategy Logic: User manually opens either a Buy or Sell market order. Once the first trade is opened, the EA automatically places an opposite pending order at a user-defined distance. If the pending order gets triggered, the EA places another opposite pending order at the original order price. This cycle continues
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity

Informações sobre o projeto

Orçamento
50 - 200 USD
Prazo
para 3 dias