Simple script needed - trailing stop triggered by price - MT4

MQL4 Experts Scripts

Job finished

Execution time 19 days

Specification

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

Responded

1
Developer 1
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
2
Developer 2
Rating
(130)
Projects
184
32%
Arbitration
18
28% / 67%
Overdue
27
15%
Free
Published: 1 code
3
Developer 3
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
4
Developer 4
Rating
(1274)
Projects
1694
49%
Arbitration
52
71% / 12%
Overdue
37
2%
Free
5
Developer 5
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
6
Developer 6
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
7
Developer 7
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
8
Developer 8
Rating
(188)
Projects
212
58%
Arbitration
9
11% / 89%
Overdue
8
4%
Free
9
Developer 9
Rating
(12)
Projects
14
29%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(13)
Projects
35
71%
Arbitration
2
0% / 0%
Overdue
11
31%
Working
Published: 1 code
11
Developer 11
Rating
(430)
Projects
606
55%
Arbitration
48
23% / 56%
Overdue
176
29%
Free
12
Developer 12
Rating
(349)
Projects
463
51%
Arbitration
41
24% / 49%
Overdue
149
32%
Free
13
Developer 13
Rating
(12)
Projects
16
31%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
15
Developer 15
Rating
(8)
Projects
12
0%
Arbitration
22
0% / 77%
Overdue
4
33%
Free
16
Developer 16
Rating
(412)
Projects
543
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
17
Developer 17
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Working
18
Developer 18
Rating
(2630)
Projects
3345
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
19
Developer 19
Rating
(59)
Projects
81
43%
Arbitration
27
11% / 70%
Overdue
8
10%
Free
20
Developer 20
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
21
Developer 21
Rating
(16)
Projects
17
29%
Arbitration
1
0% / 100%
Overdue
2
12%
Free
22
Developer 22
Rating
(542)
Projects
624
33%
Arbitration
38
37% / 50%
Overdue
11
2%
Busy
23
Developer 23
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
24
Developer 24
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
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
I need an MQL5 Expert Advisor fixed and compiled. Symbol: XAUUSD Timeframe: M1 Strategy: - Pending order breakout using last 3 candles - Buy Stop +4 points above range - Sell Stop -4 points below range - Lot size: 0.01 fixed - No martingale, no grid, no trailing stop Exits: - Take Profit: 8–10 points - Stop Loss: 10–12 points - Time-based exit: ~75 seconds Risk rules: - Trade only between 09:00 and 17:00 - Max spread
I have been trading manually for years by disciplining myself to follow a rigorous risk management system and using entry and exit strategies crafted from Implied Volatility(IV), Real Volume ,RSI and Moving Average ,but never had I automated the entire system until now . I have just completed the automation of the gold Expert Advisor and the results are astonishing .Below you'll see the graph and a statistics file
Hello budget 30$ I have range breakout expert advisor with pending orders, when the range is complete, the expert sends pending orders, I need to add an option so that when the range is complete, the expert advisor doesn't send pending orders, when the price exceeds the range, the position is opened, executive Orders. I need to make new option True/False True = Executive Orders. False = Pending orders I want the

Project information

Budget
50 - 200 USD
Deadline
to 3 day(s)