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
(1304)
Projets
1732
49%
Arbitrage
55
67% / 16%
En retard
38
2%
Travail
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
(10)
Projets
13
0%
Arbitrage
23
0% / 78%
En retard
4
31%
Travail
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
20
40% / 20%
En retard
32
22%
Gratuit
18
Développeur 18
Évaluation
(2674)
Projets
3412
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
19
Développeur 19
Évaluation
(61)
Projets
83
45%
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
(612)
Projets
715
33%
Arbitrage
46
48% / 41%
En retard
14
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
What I need: Compilable, fully-commented MQL4 source (.mq4) that I own outright, replicating an existing compiled MT4 EA I already run. It's a straightforward indicator-based scalper with position-averaging and grouped exits. I'll share the full behavioral details, input list, compiled .ex4, and sample trade logs privately with the awarded coder — your version must reproduce the same trades on my sample data, not
Fvg order 50 - 300 USD
Strategy Objective Create a disciplined, rules‑driven trading framework that identifies high‑probability reversals during the Asia session by leveraging levels formed in the final hours of New York. The goal is consistent execution, controlled risk, and scalable automation. Core Approach Track and define the key price extremes set during late New York trading. Monitor Asia session behavior for liquidity sweeps beyond
Requirements Specification GoldV16 V0 – MT5 XAUUSD Netting EA 1. Platform: - MetaTrader 5 - MQL5 - XAUUSD - NETTING account 2. Position rule: - Only ONE XAUUSD position may be open at any time. - Fixed lot only. - No Martingale. - No automatic lot increase. 3. Stop Loss: - Stop Loss must be sent immediately when a trade opens. - Default SL distance: 1.00 USD in gold price. - SL distance must be adjustable in Inputs
MQL5 developer needed to code a macro-driven gold trading Expert Advisor for MetaTrader. Body: We have a documented macro-driven trading strategy for gold that needs to be converted into a working MetaTrader Expert Advisor. Experience integrating external data sources, such as economic calendar events or interest rate and dollar index data, into MQL5 is required. An N.D.A. must be signed before strategy details are
I’m looking for an experienced MQL5 developer to create an MT5 EA similar to Iron Range, mainly for BTCUSD. It should use a range-based entry strategy, support market and pending orders, fixed-lot and percentage-risk sizing, stop loss, take profit, break-even, trailing stop, spread protection, and daily loss or drawdown limits. It should also work with different brokers and include adjustable settings for
MACD + EMA 30 - 100 USD
J’ai fais un indicateur tradingview que j’aimerai adapter à MT5. celui ci indique une flèche pour des achats ou des ventes lorsque le prix atteint un niveau tracé auparavant par l’indicateur également. Les conditions sont les suivantes : timeframe 1 minute Buy Stop / Sell Stop sur le niveau tracé. SL placé sur la EMA 21 au moment du du déclenchement de l’ordre avec possibilité de le modifier. Le TP à 1.5R
I need someone who can create a Trading Bot/AI or Expert Advisor (EA) for MetaTrader 5 (MT5) based on my manual trading strategy. My strategy uses only two indicators: Envelope and Moving Average. What I need is for the EA to accurately follow my manual trading logic and strategy, while also respecting the exact settings and parameters that I use for both indicators. This is not a Martingale strategy or anything
I am looking for a developer experienced in EAs and MT5 optimization to help me optimize my trading robot to operate during the Asian Session as well. Currently, the EA is already optimized for the London and New York sessions. I also have a fully functional version that includes the Asian Session. The strategy and all logic required for Asian Session trading are already implemented. Therefore, there is no need to
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Pro bot 35 - 200 USD
Should be able to trade for me when I need to trade and make few or no loses.should help me trade profitably while on the chart.Tge more profits,the more we play

Informations sur le projet

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