Dynamic Trailing Take Profit

Job finished

Execution time 2 days
Feedback from customer
Great developer. Will definitely look to work with Siti again
Feedback from employee
Nice Customer ...thank you bro... good luck . . .

Specification

Dynamic Trailing Take Profit

The standard Trailing Take Profit that I am used to normally involves the following:

Take Profit: $10 

Trailing Step: $5

There is often a trade off between using a higher trailing step 1) It allows the trade to run longer, but the major downside is that the take profit can miss out on securing the higher profit levels (when it reverses just below the Take Profit amount).

As a result I would like to achieve a dynamic Trailing take profit that reduces in size every dollar the trade is above the take profit level.

There will be two inputs:

Min Profit e.g. $40

Initial Lock Profit Step e.g. $20.

For every dollar the the profit rises above the min profit the lock profit step will reduce. I.e. when profit is $50, profit will be locked at $40. (Because the $50 is $10 above $40, the $10 above the Min Profit will be subtracted from the Initial Lock Profit Step amount (i.e. $20 - $10 = $10). Eventually When the Profit reaches $60 then is will lock in that profit (as the Lock Profit step will now be $0).

Note: Feel free to develop this your own way, but ideally I want to be able to add it easily into the "Account Manager.mq4" EA attached.


Files:

Responded

1
Developer 1
Rating
(120)
Projects
159
49%
Arbitration
15
53% / 27%
Overdue
4
3%
Free
2
Developer 2
Rating
(258)
Projects
269
29%
Arbitration
1
100% / 0%
Overdue
3
1%
Working
Published: 2 codes
3
Developer 3
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
4
Developer 4
Rating
(155)
Projects
239
70%
Arbitration
3
67% / 33%
Overdue
20
8%
Free
5
Developer 5
Rating
(153)
Projects
240
34%
Arbitration
20
45% / 30%
Overdue
3
1%
Free
6
Developer 6
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
7
Developer 7
Rating
(10)
Projects
4
0%
Arbitration
11
0% / 82%
Overdue
0
Free
8
Developer 8
Rating
(397)
Projects
513
23%
Arbitration
60
57% / 25%
Overdue
60
12%
Loaded
9
Developer 9
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
10
Developer 10
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
Similar orders
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
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 () {

Project information

Budget
30 - 50 USD
Deadline
from 1 to 2 day(s)