Addition to a functional EA of conditions for opening and closing transactions

Job finished

Execution time 8 days
Feedback from customer
The programmer did a good job, the code is written accurately. But I motivated him additionally with an increase in the budget
Feedback from employee
Thanks

Specification

The calculation of opening conditions is binary SL is obtained using risk, atr and the value of a pip.

The logic for calculating lots for opening using Risk and ATR for SL must also contain the value of a pips and is as follows:

Risk multiplied by balance gives the value of SL in dollars;

ATR gives the SL value in pips, which must be multiplied by the value of one pips in the respective pair (the second currency of the pair)

Then divide SL in dollars by SL in pips and get the number of lots.

The lot size will be set so that if the trade hits the stop loss, the loss will correspond to the percentage risk per trade. 

Responded

1
Developer 1
Rating
(2346)
Projects
2951
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
2
Developer 2
Rating
(12)
Projects
17
29%
Arbitration
5
20% / 40%
Overdue
1
6%
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(85)
Projects
174
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
5
Developer 5
Rating
(10)
Projects
6
33%
Arbitration
6
0% / 67%
Overdue
1
17%
Working
6
Developer 6
Rating
(2)
Projects
1
0%
Arbitration
2
0% / 100%
Overdue
0
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
9
Developer 9
Rating
(104)
Projects
134
43%
Arbitration
0
Overdue
3
2%
Working
10
Developer 10
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
11
Developer 11
Rating
(40)
Projects
55
62%
Arbitration
2
50% / 50%
Overdue
0
Free
12
Developer 12
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
13
Developer 13
Rating
(21)
Projects
28
36%
Arbitration
7
14% / 71%
Overdue
2
7%
Free
14
Developer 14
Rating
(2675)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
15
Developer 15
Rating
(617)
Projects
721
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
16
Developer 16
Rating
(43)
Projects
49
29%
Arbitration
4
25% / 25%
Overdue
0
Free
17
Developer 17
Rating
(3)
Projects
2
50%
Arbitration
2
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
19
Developer 19
Rating
(195)
Projects
242
34%
Arbitration
11
45% / 45%
Overdue
8
3%
Free
Published: 1 article, 8 codes
20
Developer 20
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
22
Developer 22
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
23
Developer 23
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
Similar orders
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
SPECIFICA TECNICA: Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo , in grado di adattare il comportamento proprio alle diverse condizioni di mercato di XAUUSD. Lo sviluppatore può utilizzare tecniche appropriate quali trend

Project information

Budget
100 - 150 USD
Deadline
from 1 to 2 day(s)