EA to set SL and TP based on ATR

MQL5 Experts

Job finished

Execution time 5 hours
Feedback from customer
Fast, efficient. Excellent work.
Feedback from employee
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!

Specification

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.


Responded

1
Developer 1
Rating
(394)
Projects
552
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
2
Developer 2
Rating
(258)
Projects
322
30%
Arbitration
34
26% / 65%
Overdue
10
3%
Free
3
Developer 3
Rating
(434)
Projects
635
54%
Arbitration
32
56% / 22%
Overdue
6
1%
Working
4
Developer 4
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
5
Developer 5
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
6
Developer 6
Rating
(509)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
101
10%
Free
Published: 1 article, 6 codes
7
Developer 7
Rating
(107)
Projects
174
25%
Arbitration
23
9% / 78%
Overdue
16
9%
Working
8
Developer 8
Rating
(633)
Projects
1001
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Free
Published: 6 codes
9
Developer 9
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
10
Developer 10
Rating
(453)
Projects
715
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
11
Developer 11
Rating
(10)
Projects
15
20%
Arbitration
5
40% / 40%
Overdue
1
7%
Working
12
Developer 12
Rating
(43)
Projects
62
23%
Arbitration
9
22% / 33%
Overdue
10
16%
Loaded
13
Developer 13
Rating
(158)
Projects
168
43%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
14
Developer 14
Rating
(40)
Projects
43
58%
Arbitration
1
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
15
Developer 15
Rating
(47)
Projects
55
33%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
16
Developer 16
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
17
Developer 17
Rating
(10)
Projects
17
18%
Arbitration
3
33% / 67%
Overdue
3
18%
Free
Similar orders
Labouchere System has many series and can transfer the Units to any other Series when needed (this function is very important). The coders who really knows this cancellation sytem can apply. Also the coder should have practical usage of phyton language to translate this strategy into phyton to use it in crypto markets. No indicator or chart issues , but it has many mathematical functions and calculations . the code
Hello everyone, I’m looking for someone who can help me develop an Expert Advisor (EA) for Boom and Crash markets. I need a developer who has proven experience and has already developed at least 10–15 EAs for Boom and Crash. This will help save both your time and my time when filtering developers. The EA will include: EMA crossover strategy Different time filters Additional custom conditions and logic I’m also
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Overview: I would like to create a robot in MT5 (what I use) that when the price or candle touches a moving average it auto- matically gets me into a trade. Details or features I need: 1 a way to tell it how much to trade 0.10 or ten cents per pip or more or do I set this in MT5? 2 a way to limit the number of trades per candle or set it to two or three trades (if the price crosses over the moving average ten times I
Candle bot 30+ USD
A dual-direction breakout stacking EA using previous candle highs/lows as triggers with rolling pending orders and fixed micro take profits. It is suitable for: automation EA development trend capture with repeated entries recovery-style trade management
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I am looking to buy a ready-made automated trading robot / EA that works on the Tradovate platform and is proven to pass prop firm challenges for Apex Trader Funding, Tradeify, and Lucid Trading.Key Requirements (must be ready-made or very close to plug-and-play):Fully functional on Tradovate (native or via stable bridge/copier/webhook/API integration – MT5 EA + Tradovate bridge is acceptable if it works reliably)
Alex 1000+ USD
Нужен бот для скальпинга именно на Python. Работа напрямую через API биржи (без привязки к TradingView и MetaTrader). Бот будет запускаться локально на ноутбуке / VPS. Критически важна скорость (использование асинхронности, WebSockets
Looking for an experienced programmer to create a fully automated trading system. The EA must be able to detect SPECIFIC H&Shoulder patterns, identify entry point and open a position. Parameters: Candle Count : EX: 50 - meaning the max amount of candle history to look for a pattern. (user adjustable) RISK: EG "2" Meaning the position that must be opened must be 2% of the Balance of the account (user adjustable). The
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify

Project information

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