Simple script needed - trailing stop triggered by price - MT4

MQL4 Experts Scripts

Tâche terminée

Temps d'exécution 19 jours

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(590)
Projets
789
71%
Arbitrage
9
33% / 33%
En retard
22
3%
Gratuit
Publié : 8 codes
2
Développeur 2
Évaluation
(130)
Projets
184
32%
Arbitrage
18
28% / 67%
En retard
27
15%
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
(67)
Projets
79
33%
Arbitrage
6
50% / 33%
En retard
7
9%
Gratuit
4
Développeur 4
Évaluation
(1274)
Projets
1694
49%
Arbitrage
52
71% / 12%
En retard
37
2%
Gratuit
5
Développeur 5
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
6
Développeur 6
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
7
Développeur 7
Évaluation
(4)
Projets
4
0%
Arbitrage
1
0% / 100%
En retard
1
25%
Gratuit
8
Développeur 8
Évaluation
(188)
Projets
212
58%
Arbitrage
9
11% / 89%
En retard
8
4%
Gratuit
9
Développeur 9
Évaluation
(12)
Projets
14
29%
Arbitrage
0
En retard
0
Gratuit
10
Développeur 10
Évaluation
(13)
Projets
35
71%
Arbitrage
2
0% / 0%
En retard
11
31%
Travail
Publié : 1 code
11
Développeur 11
Évaluation
(430)
Projets
606
55%
Arbitrage
48
23% / 56%
En retard
176
29%
Gratuit
12
Développeur 12
Évaluation
(349)
Projets
463
51%
Arbitrage
41
24% / 49%
En retard
149
32%
Gratuit
13
Développeur 13
Évaluation
(12)
Projets
16
31%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
15
Développeur 15
Évaluation
(8)
Projets
12
0%
Arbitrage
22
0% / 77%
En retard
4
33%
Gratuit
16
Développeur 16
Évaluation
(412)
Projets
543
75%
Arbitrage
9
44% / 0%
En retard
24
4%
Gratuit
17
Développeur 17
Évaluation
(64)
Projets
144
46%
Arbitrage
19
42% / 16%
En retard
32
22%
Travail
18
Développeur 18
Évaluation
(2630)
Projets
3345
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
19
Développeur 19
Évaluation
(59)
Projets
81
43%
Arbitrage
27
11% / 70%
En retard
8
10%
Gratuit
20
Développeur 20
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
21
Développeur 21
Évaluation
(16)
Projets
17
29%
Arbitrage
1
0% / 100%
En retard
2
12%
Gratuit
22
Développeur 22
Évaluation
(542)
Projets
624
33%
Arbitrage
39
36% / 49%
En retard
11
2%
Occupé
23
Développeur 23
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
24
Développeur 24
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
Commandes similaires
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
Create an ea that exit buy trades when red smiley face appear,exit sell trades when blue smiley face appear.in this case you need to better use the Smiley face signals which are 4 for BUY (blue smiley face)and 5 For SELL( red smiley face)
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
I want you to help me and create a sniper entry robot and with proper risk management that follow trend and when is not going to the direction it exit

Informations sur le projet

Budget
50 - 200 USD
Délais
à 3 jour(s)