EA to set SL and TP based on ATR

MQL5 Experts

Tâche terminée

Temps d'exécution 5 heures
Commentaires du client
Fast, efficient. Excellent work.
Commentaires de l'employé
Great customer to work with. Clear requirements from the start, quick responses, and provided helpful feedback during testing. Would gladly work with again. Thank you!

Spécifications

I'd like a very simple EA which automatically sets TP and SL for each new trade opened at the time the trade is opened.  All trades are opened manually.


The TP and SL will be set in relation to the value of the ATR, so the settings will need to include the ATR Period.


When I manually open a trade, the settings in the EA will apply to that trade to set a TP and a SL.  Simple as that.


No trailing stops, no partial closes, just a SL and a TP.


So the only inputs would be:

ATR Period.

TP target - a multiplier of the ATR value.  If the setting is left at zero, then no TP is set.

SL distance  - a multiplier of the ATR value.  If the setting is left at zero, then no SL is set.


The result would be TP and SL values relative to the ATR.


Once set, if I decide to change the TP or SL distance, then I can do so and the EA will not override my changes.  I need manual control.

In other words, the EA sets the TP and SL levels ONLY as a trade is opened.


Important:   The EA needs to be clever enough to determine which market is being traded so that the TP and SL settings are applied sensibly.


For example, USDJPY has a price around 155.00, while EURUSD has a price around 1.17230.  WTI trades at 57.608.  XAUUSD trades at 4320.70.  GER40 (index) trades at 24268.55.  US500 (index) trades at 6868.50.

The scale of all of these prices is different; the EA needs to be able to determine which market is being traded and set SL and TP levels accordingly, without having to change the settings in the EA.


Répondu

1
Développeur 1
Évaluation
(393)
Projets
549
40%
Arbitrage
30
57% / 3%
En retard
57
10%
Travail
Publié : 11 codes
2
Développeur 2
Évaluation
(253)
Projets
316
29%
Arbitrage
34
26% / 65%
En retard
10
3%
Gratuit
3
Développeur 3
Évaluation
(432)
Projets
632
53%
Arbitrage
32
53% / 22%
En retard
6
1%
Chargé
4
Développeur 4
Évaluation
(7)
Projets
9
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
Publié : 1 article
5
Développeur 5
Évaluation
(18)
Projets
22
9%
Arbitrage
6
33% / 50%
En retard
1
5%
Chargé
6
Développeur 6
Évaluation
(509)
Projets
977
74%
Arbitrage
27
19% / 67%
En retard
101
10%
Gratuit
Publié : 1 article, 6 codes
7
Développeur 7
Évaluation
(104)
Projets
169
24%
Arbitrage
23
9% / 78%
En retard
16
9%
Travail
8
Développeur 8
Évaluation
(627)
Projets
989
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Travail
Publié : 6 codes
9
Développeur 9
Évaluation
(47)
Projets
67
37%
Arbitrage
5
40% / 40%
En retard
1
1%
Gratuit
10
Développeur 10
Évaluation
(444)
Projets
701
34%
Arbitrage
34
71% / 9%
En retard
22
3%
Gratuit
11
Développeur 11
Évaluation
(10)
Projets
15
20%
Arbitrage
4
50% / 50%
En retard
1
7%
Gratuit
12
Développeur 12
Évaluation
(43)
Projets
62
23%
Arbitrage
8
25% / 38%
En retard
10
16%
Travail
13
Développeur 13
Évaluation
(142)
Projets
151
41%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
14
Développeur 14
Évaluation
(32)
Projets
33
61%
Arbitrage
1
100% / 0%
En retard
1
3%
Gratuit
Publié : 5 codes
15
Développeur 15
Évaluation
(40)
Projets
47
28%
Arbitrage
14
21% / 64%
En retard
1
2%
Occupé
16
Développeur 16
Évaluation
(17)
Projets
23
39%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
17
Développeur 17
Évaluation
(9)
Projets
13
8%
Arbitrage
3
33% / 67%
En retard
1
8%
Travail
Commandes similaires
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it

Informations sur le projet

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