A simple EA with a not too simple TrailingStop

Работа завершена

Время выполнения 17 дней
Отзыв от заказчика
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!
Отзыв от исполнителя
Very smart and good person. It was nice working with him. I hope for further cooperation. thank

Техническое задание

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 ;)

Откликнулись

1
Разработчик 1
Оценка
(54)
Проекты
53
17%
Арбитраж
7
0% / 100%
Просрочено
5
9%
Свободен
2
Разработчик 2
Оценка
(277)
Проекты
334
55%
Арбитраж
14
36% / 29%
Просрочено
1
0%
Свободен
3
Разработчик 3
Оценка
(2434)
Проекты
3066
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Свободен
4
Разработчик 4
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
5
Разработчик 5
Оценка
(169)
Проекты
204
30%
Арбитраж
25
40% / 44%
Просрочено
12
6%
Свободен
6
Разработчик 6
Оценка
(258)
Проекты
395
28%
Арбитраж
69
19% / 49%
Просрочено
120
30%
Свободен
7
Разработчик 7
Оценка
(236)
Проекты
440
26%
Арбитраж
125
21% / 57%
Просрочено
96
22%
Работает
8
Разработчик 8
Оценка
(66)
Проекты
95
28%
Арбитраж
20
25% / 55%
Просрочено
24
25%
Свободен
9
Разработчик 9
Оценка
(142)
Проекты
280
42%
Арбитраж
18
61% / 6%
Просрочено
29
10%
Свободен
10
Разработчик 10
Оценка
(472)
Проекты
534
33%
Арбитраж
27
41% / 44%
Просрочено
8
1%
Загружен
11
Разработчик 11
Оценка
(158)
Проекты
175
43%
Арбитраж
6
0% / 67%
Просрочено
8
5%
Свободен
12
Разработчик 12
Оценка
(1857)
Проекты
3460
88%
Арбитраж
73
40% / 15%
Просрочено
265
8%
Свободен
Похожие заказы
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 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
Hello, I am looking to make a modification to an indicator so it runs NT8. This is the link to the indicator in question. https://ninjatraderecosystem.com/user-app-share-download/realtime-level-ii-tick-volume/ I also want to know if if will be possible to add drop down boxes so I can change / choose my own colours and halve an option to adjust the width of the side bar regards

Информация о проекте

Бюджет
50 - 150 USD
VAT (19%): 9.5 - 28.5 USD
Итого: 59.5 - 178.5 USD
Исполнителю
45 - 135 USD
Сроки выполнения
от 3 до 10 дн.