Работа завершена
Время выполнения 4 дня
Отзыв от исполнителя
Happy to work with you Oscar, hope we can do it again next time.
Отзыв от заказчика
My first time working with a freelancer here, Billy was a pleasure to work with. Very fast and highly skilled. My EA is greatly improved. Will work with him again and I can highly recommend him.
Техническое задание
Dear all,
I'm new to, but learning, MQL4 coding. I've created a very simple EA that I'm quite happy with. But I'd like to pay for some help with a few more complicated (at least for me) functions. I really want to improve my coding skills so I'd appreciate well-commented code. That way I can learn.
Please note that this EA is only aimed at short positions
What I'm looking for is to extend my EA with the following:
1 - Hedging short positions
- I wish to prevent margin calls and negative liquidity/ equity fluctuations if a short position temporarily moves against me.
- I'd like to profit from the hedge position if my short position gets stopped out and the price keeps moving up.
Specifically:
- I'd like to have an input variable called something like "input double HedgeCost=10.0;"
- Every time my EA opens a short position, I'd like a buystop order to be placed at a level of the OpenSell price + HedgeCost. In this example, the buystop order would be triggered when the bid price reaches 10.0 PIP's above the OpenSell price).
- When the price moves down, I'd like the hedge position to be closed at OpenSell price - HedgeCost. And again, another BuyStop order should be placed, at OpenSell price + HedgeCost. So if the price moves up again, my short position will be hedged again.
- When my short position is closed by Take Profit or any reason except Stop Loss, I want the BuyStop order to be canceled.
- If my short position is closed due to a stop loss, the hedge position should be modified and a trailing stop should be placed at the exact level of where my short position got stopped out.
I also would like this hedge function to really attach to the ticket number. Because in the future, my EA may open several positions, and all of these need to be hedged. So it won't work if the hedge order is triggered by looking at the total open orders, it has to really check any open short position that hasn't got a hedge Buystop attached to it. And then hedge those that don't.
2 - Trailing stop when TP is reached
I think this is relatively simple. Again I'd like to learn how to do this, based on your code.
- I'd like an input variable called something like "input int TrailingRange=3"
- When my short position almost reaches it's TP level, I'd like an OrderModify to happen so that the TP is removed and a trailing stop loss is put into place at the TP - TrailingRange level.
Thank you in advance and I look forward to your offer/ reply.
Best regards,
Oscar.
Откликнулись
1
Оценка
Проекты
134
66%
Арбитраж
36
25%
/
56%
Просрочено
22
16%
Свободен
Опубликовал: 10 примеров
2
Оценка
Проекты
74
26%
Арбитраж
30
10%
/
63%
Просрочено
22
30%
Свободен
3
Оценка
Проекты
17
29%
Арбитраж
6
17%
/
67%
Просрочено
4
24%
Свободен
4
Оценка
Проекты
396
28%
Арбитраж
70
19%
/
49%
Просрочено
121
31%
Свободен
5
Оценка
Проекты
149
36%
Арбитраж
29
3%
/
55%
Просрочено
35
23%
Свободен
6
Оценка
Проекты
121
25%
Арбитраж
5
20%
/
60%
Просрочено
17
14%
Свободен
7
Оценка
Проекты
136
45%
Арбитраж
11
27%
/
64%
Просрочено
26
19%
Свободен
Опубликовал: 5 примеров
8
Оценка
Проекты
137
24%
Арбитраж
35
9%
/
40%
Просрочено
52
38%
Свободен
Похожие заказы
BUDGET: 100-120 USD - FIXED - includes source code .mq5 + .ex5 I will test demo first on 100$ demo account. If good, I pay. WHAT I WANT: 1. SIGNAL STRENGTH LOGIC: - WEAK SIGNAL = 1 position only. - STRONG SIGNAL = 2,3,4,5 positions (more positions because signal is strong). - Signal strength calculated by indicators. 2. ADAPTIVE TO CAPITAL: - Lot auto = Balance / 100 * 0.01. Example 100$ = 0.01 lot, 300$ = 0.03 lot
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 30% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
The bot should open trades when the price breaks out of the band by a specified percentage, for example, 0.10%. If the price breaks above the band, the bot should open a long position. If the price breaks below the band, it should open a short position. The bot should also open trades when the price touches a band: Bullish band cross: When a bullish cross occurs between the bands, the bot should open a long position
Project: MT5 Expert Advisor — Dual-Sided Hedging Grid with Fibonacci Lot Progression I need a custom Expert Advisor (EA) developed in MQL5 for MetaTrader 5. 1. Trading Strategy The EA must open both Buy and Sell market positions when a new trading cycle starts, provided the broker account supports hedging. The EA must manage the Buy and Sell directions independently. When the market moves downward against the Buy
I’m looking for an experienced MQL4/MQL5 developer with proven expertise in genuine high-frequency trading (HFT) or ultra-fast scalping Expert Advisors. Project requirements: Develop MT4 and MT5 versions with complete source code and no restrictive licensing. Implement fast execution, selective entries, and rapid trade exits. Support XAUUSD, EURUSD, GBPUSD, and BTCUSD. Include robust risk controls: stop-loss
Hello everyone, I am looking for an experienced MQL4/MQL5 developer with proven expertise in developing high-performance scalping or high-frequency trading (HFT) Expert Advisors. Project requirements: Develop a fast, robust automated trading EA for MetaTrader 4 and MetaTrader 5. Focus on ultra-short-term scalping, selective entries, and rapid trade execution and exits. Support XAUUSD, EURUSD, GBPUSD, and BTCUSD
Hello everyone, I am looking for an experienced MQL4/MQL5 developer with proven expertise in developing high-performance scalping or high-frequency trading (HFT) Expert Advisors. Project requirements: Develop a fast, robust automated trading EA for MetaTrader 4 and MetaTrader 5. Focus on ultra-short-term scalping, selective entries, and rapid trade execution and exits. Support XAUUSD, EURUSD, GBPUSD, and BTCUSD
News trading made simple
30+ USD
Hello lovies, I’m reaching out because I’m working on a specialized macroeconomic intelligence service focused on major economic releases and their potential impact on gold (XAUUSD), the US dollar, and the wider financial markets. My approach goes beyond simply following the economic calendar. I focus on understanding the information behind upcoming events, market expectations, and the potential implications for
Se tiene 2 Meta Trader 5, metar trader5 A ( master) meta trader 5 B ( slave) En el A se esta ejectunado algunas operaciones, dodne suele abrir multiples levels de ordenes, de sell y buy simultaneamente. Se necesita un EA, colocados tanto en el Master para enviar al SLave la copia de los trades , pero unicamente se va activar la copia, cuando en el Metatrader Master, "A" lleguie a un N levels de buy o M levels de
EA for XAUUSD and possibly currencies
1000 - 5000 USD
MT5 Expert Advisor Development Brief — Forex Project objective I am looking for an experienced MQL5 developer to build a bespoke, fully automated Expert Advisor for MetaTrader 5. The EA will be used on both proprietary trading firm (prop-firm) accounts and my own live trading account. My priorities, in order, are: 1. Low drawdown and robust risk management. 2. Consistent, repeatable profitability. 3. Reliable
Информация о проекте
Бюджет
10 - 50 USD
Сроки выполнения
от 1 до 3 дн.