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
(2434)
Projects
3066
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
4
Developer 4
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
5
Developer 5
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
6
Developer 6
Rating
(258)
Projects
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
7
Developer 7
Rating
(236)
Projects
440
26%
Arbitration
125
21% / 57%
Overdue
96
22%
Working
8
Developer 8
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
9
Developer 9
Rating
(142)
Projects
280
42%
Arbitration
18
61% / 6%
Overdue
29
10%
Free
10
Developer 10
Rating
(471)
Projects
533
33%
Arbitration
27
41% / 44%
Overdue
8
2%
Loaded
11
Developer 11
Rating
(158)
Projects
175
43%
Arbitration
6
0% / 67%
Overdue
8
5%
Free
12
Developer 12
Rating
(1857)
Projects
3460
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
Similar orders
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
Hello, I have a very simple strategy written in PineScript (less than 30 lines of code) that I want to convert to MQL5 EA. The logic must be intact and the backtest too. Thank you in advance
Hello good Day, I would like to make a modification to an mql4 robot that I have and I am sure that by doing a couple of additional things it would be perfect. looking for someone to help me with it, and make sure you understand Spanish because the Mql4 is in Spanish
Hello there, i need an expert forex developer who is well versed with GALLIEO FX. I purchased a trading bot from this company and due to some reasons I haven't been able to test and run the program properly so I need an expert who can help me to fine tune the bot for me so that bot can provide excellent results. Thank You
Hi, I have my own strategy and some development done on it. But my developer is not able to solve few errors. Strategy has been built already. Can anyone help me with that
We are looking for an experienced MQL5 programmer to develop an Expert Advisor (EA) on MetaTrader 5. The project involves creating an automated trading bot that uses a methodology based on the integration of 2 technical indicators. If you have proven experience in similar projects, we invite you to apply. Main Description of the Bot Trading Methodology Details : The trading bot will operate based on a strategy that
Hello, I have a physically trading keyboard and i want to connect it with tradelocker, mt4,mt5 and ctrader. People need to be able to open and close a position with the keyboard really fast. i need it on macos, windows and linux. (desktop) My competition is: www.magickeys.trade My goal is to be the number 1 to sell the keyboards + software. When people order a tradingkeyboard they will get a mail after the purchase
Job Title: Expert Advisor (EA) Developer for Forex Trading Job Description: I am seeking an experienced Expert Advisor (EA) developer to create a customized trading bot for the MetaTrader 4/5 platform. The bot will be designed to execute a sophisticated trading strategy that incorporates daily range calculations, cost averaging, and hedging with precise pip management. The successful candidate should have strong
Hello, I have built and EA with FX Dreema ( https://fxdreema.com/ ) that uses the maximum and minimum vales of the previous candle to entry on a trade. After that, I put a Stop Loss and Trailing Stop on that order, and goes as the market follows up and down. First, I recognize what I'm asking in this project may not be possible. I know about the differences in results comparing Strategy Tester with Real and Live
I have an indicator here for sun Candlesticks...I'm looking for a programmer who can convert it to an EA . The EA must just follow the color of the candlesticks. Open and close based on the color of the candlesticks

Project information

Budget
50 - 150 USD
VAT (19%): 9.5 - 28.5 USD
Total: 59.5 - 178.5 USD
For the developer
45 - 135 USD
Deadline
from 3 to 10 day(s)