A simple EA with a not too simple TrailingStop

Job finished

Execution time 17 days
Feedback from customer
Sergey is probably the most skilled Coder here, he took his time to understand what I want and turned it into an EA, that does exactly what I want it to do. I'll definitely be back for my next Idea!
Feedback from employee
Very smart and good person. It was nice working with him. I hope for further cooperation. thank

Specification

Inputs:

OnNewCandle        M1, M5, M15, ... MN
Lotsize                   Lotsize
Distance                 Distance from Price for both directions in points
TakeProfit               0=None (=TrailingStop) in points
StopLoss                0=None in Points
MaxPositions          No. of max. positions
Timeout                  0-59 minutes in case a pending order is not triggered or deleted
MagicNumber        to allow it working on other instrumets too

EnableDouble        Yes/No (Checkbox)
DoubleLotsize        Lotsize for Double Position
DoubleTakeProfit    TakeProfit for Double Position 0=None (=TrailingStop) in points
DoubleStopLoss     StopLoss for Double Position 0=None in points

TrailingStart            Start trailing after profit in points
TrailingDistance      initial TrailingDistance below/above price in points

....................................................

The EA should open one Buy Stop and one Sell Stop order simultaneously on every
new candle specified in the OnNewCandle variable regardless the timeframe it
runs on, as long as MaxPositions allows it, with the specified Distance, Lotsize
TakeProfit, StopLoss and Timeout ... for the Instrument it is attached to
Then, if either one of these Stop orders is triggered (becomes a position) and
EnableDouble=Yes it opens another market position in the same direction with
the specified DoubleLotsize, DoubleTakeProfit and DoubleStopLoss at the current
price ... then closes the other (opposite) pending order.
In case a pending order can't be deleted or none of both is triggered, it (they) will
Timeout after xx minutes as specified in Timeout

TrailingStop should be a virtual TrailingStop which after reaching the
TrailingStart amount of profit, decreases TrailingDistance for every price
movement of one point in any direction for one point ... means if
TrailingStart i.e at 100 points of profit is triggered, it starts with a
TrailingDistance of i.e. 75 points ... then price goes up 15 points and down 10
points, TrailingDistance will be decreased by 25 points to 50 points ... until
the position is closed when a TrailingDistance of 0 is reached.
TrailingStop should trail all positions without a TakeProfit from its Instrument
including manually opened positions.

The EA will be used on a VPS and with 5 digit Instruments only and with no more
than about 3 Instruments.

As my Intentions to order this EA are 1. to have something to start automated
trading with and 2. to learn writing and optimizing EA's myself, I want it
delivered with a source code listing or as a .mq5 file to compile it myself.

Yeah ... it's name should be 369 ;)

Responded

1
Developer 1
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
2
Developer 2
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
3
Developer 3
Rating
(2642)
Projects
3357
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
4
Developer 4
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 292 articles, 1 code
5
Developer 5
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
6
Developer 6
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Free
7
Developer 7
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
8
Developer 8
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
9
Developer 9
Rating
(144)
Projects
285
42%
Arbitration
19
63% / 5%
Overdue
29
10%
Free
Published: 2 codes
10
Developer 10
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Loaded
11
Developer 11
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
12
Developer 12
Rating
(1929)
Projects
3550
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
Similar orders
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for

Project information

Budget
50 - 150 USD
Deadline
from 3 to 10 day(s)