EA to set SL and TP based on ATR

MQL5 EA

작업 종료됨

실행 시간 5 시간
고객의 피드백
Fast, efficient. Excellent work.
피고용인의 피드백
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!

명시

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.


응답함

1
개발자 1
등급
(395)
프로젝트
556
41%
중재
30
57% / 3%
기한 초과
57
10%
무료
게재됨: 11 코드
2
개발자 2
등급
(283)
프로젝트
354
29%
중재
37
27% / 65%
기한 초과
10
3%
로드됨
3
개발자 3
등급
(436)
프로젝트
643
53%
중재
35
63% / 20%
기한 초과
6
1%
로드됨
4
개발자 4
등급
(13)
프로젝트
14
36%
중재
3
0% / 100%
기한 초과
0
작업중
게재됨: 1 기고글
5
개발자 5
등급
(22)
프로젝트
28
7%
중재
9
33% / 33%
기한 초과
1
4%
작업중
6
개발자 6
등급
(510)
프로젝트
977
74%
중재
27
19% / 67%
기한 초과
100
10%
작업중
게재됨: 1 기고글, 6 코드
7
개발자 7
등급
(111)
프로젝트
183
25%
중재
25
16% / 76%
기한 초과
16
9%
무료
8
개발자 8
등급
(636)
프로젝트
1007
47%
중재
33
36% / 36%
기한 초과
99
10%
작업중
게재됨: 6 코드
9
개발자 9
등급
(47)
프로젝트
67
37%
중재
5
40% / 40%
기한 초과
1
1%
무료
10
개발자 10
등급
(455)
프로젝트
721
34%
중재
35
71% / 9%
기한 초과
23
3%
무료
11
개발자 11
등급
(10)
프로젝트
15
20%
중재
5
40% / 40%
기한 초과
1
7%
무료
12
개발자 12
등급
(43)
프로젝트
63
24%
중재
10
30% / 50%
기한 초과
10
16%
무료
13
개발자 13
등급
(180)
프로젝트
194
46%
중재
4
50% / 25%
기한 초과
1
1%
로드됨
14
개발자 14
등급
(45)
프로젝트
53
57%
중재
2
100% / 0%
기한 초과
1
2%
무료
게재됨: 5 코드
15
개발자 15
등급
(52)
프로젝트
65
40%
중재
15
27% / 60%
기한 초과
1
2%
작업중
16
개발자 16
등급
(20)
프로젝트
26
38%
중재
6
33% / 50%
기한 초과
0
무료
17
개발자 17
등급
(19)
프로젝트
25
36%
중재
3
33% / 67%
기한 초과
3
12%
작업중
비슷한 주문
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
Need an MQL5 Expert Advisor for MT5 that automates my manual trading strategy. Entry logic: Enter only when trend direction, support/resistance level, and RSI all align (Triple Confirmation). Extra confluence from Smart Money Concepts (order blocks, Fair Value Gaps, BOS/CHoCH). Risk rules: 1% risk per trade, minimum 1:2 risk-reward, stop-loss at structure levels (not fixed pips). Must-haves: Works on Islamic

프로젝트 정보

예산
30 - 50 USD
기한
 3 일