This EA is a typical Martingale Hedging

MQL4 Эксперты

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

1

JOB DESCRIPTION  (The final job is the delivery of the source code)

 

 

This EA is a typical Martingale Hedging EA.

It opens an order (for example: buy, 0.1 lot) and at the same time places a pending order in the opposite direction with a bigger lot size (for example: sell, 0.2 lot) at a certain distance (for example: 300 pips).

If the price descends 300 pips this second order will be activated. If the price keeps going down, at one point the first order (buy) will hit SL and the second order (sell) TP. As the second order has a larger lot size than the first order, the total outcome will be profit (or break even).

If the price does not hit TP and SL, and goes up again, then a new pending buy order will be activated at an even bigger lot size (0.3 lot). This process will go on until TP is hit and the hedge trading sequence closes.

- A new pending order will only be placed as soon as the last pending order is activated.

- A hedge trade sequence should ALWAYS be closed by TP and NEVER only by SL.

- All the existing trades in a hedge trade sequence will match their TP and SL values accroding to the latest activated trade (this is important in case the distance between the trade changes - "DistanceTrade"

- Where this EA differs a bit from a standard Hedging EA one is that it has relatively little automatisation and a lot of manual input fields.

- The EA works independent from the time frame it operates in.

- The EA should work with 5 digit as well as 4 digit brokers.

 

 

******************************************

 

 

INPUT FIELDS:

 

PauseAfterTP = true/false

        - It pauses (soft stop) the EA after TP is obtained and a Hedge trading sequence is closed - if "PauseAfterTP=true". The EA stops trading for an INDEFINITE amount of time. It will start trading again as soon as the Trader puts back "PauseAfterTP=false"

 

 

MaxSlippage = …..

        - the max slippage allowed for entering a trade

 

MaxTrades = …..

        - the max. number of trades in a hedging trade sequence

 

Magic Number = …..

 

MinEquityLevel = false/true

MinEquityLevel = …..

        - below this level the EA will not open new trade sequences (although it will allow already existing hedging trade sequences to continue and make new trades until they close with TP/SL)

        - the value introduced is the % of the total account balance.

 

UseEquityStop = false/true

TotalEquityRisk = …..

        - If the total Equity drops below this point the EA closes all the trades.

        - the value introduced is the % of the total account balance.

 

 

DeleteAll_TP_SL_LastTrade = false/true

    - When the last pending stop in a Hedge Trade Sequence is ACTIVATED we have the option that all the TP, SL and Trailing stops can be deleted. (DeleteAll_TP_SL_LastTrade = true)

    - The max. number of trades in a hedge trading sequence is set by the "MaxTrades" parameter.

 

       

AutoLot = true/false

- IF “AutoLot = false”, THEN the size of the initial trading lot is equal to “StartLot”

- IF “AutoLot = true”, THEN the size of the initial trading lot is equal to: StartLot x RiskPercent x (Account Balance / 10.000)

 

RiskPercent = …..

 

StartLot = …..

 

 

InitialTrade = buy/sell

        is related to:

        - the first trade after starting up the EA.

        - the first trade after the EA was paused by the “PauseAfterTP” setting.

 

InitialTrade_PendingOrderPips = …….

        - the exact value in pips of the initial pending order.

        - if “InitialTrade_PendingOrderPips” = 0 than no pending order will be used and the EA will open a new initial trade as soon as the EA starts up

        - this value resets itself to 0 as soon as this pending order is activated

 

TralingStopStep = …..

        - trailing stop step distance in pips

 

------------------------------------------

 

TP1 = …..

        - the distance of the TP of the initial trade in pips (the lot size of this trade is calculated earlier in “StartLot”)

 

TrailingStop1 = …...

        - trailing stop trailing distance.

        - the Trailing stop is activated when the prices reaches TP1 value. If that happens TP1 is cancelled.

 

SL1 = …..

        - the distance of the SL of the initial Trade in pips

 

------------------------------------------

 

DistanceTrade1-2 = …..

        - the distance between the initial trade and the second (pending) order

Lotsize2 = …..

        - the lot size for pending order 2 (the size is also calculated according to the “AutoLot” and “RiskPercent” settings)

TP2 = …..

        - the TP distance for trade 2 in pips

TrailingStop2 = …...

        - trailing stop trailing distance (for TP2)

SL2 = …..

        - the SL distance for trade 2

 

-------------------------------------------

 

DistanceTrade2-3 = …..

        - the distance between order 2 and 3

Lotsize3 = …..

        - the lot size for pending order 3

TP3 = …..

        - the TP distance for trade 3

TrailingStop3 = …...

SL3 = …..

        - the SL distance for trade 3

 

-------------------------------------------

 

DistanceTrade3-4 = …..

        - the distance between order 3 and 4

 

…….. etc

…….. etc

…….. until trade 12

 

 

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

 


Файлы:

PNG
hedging2.png
148.1 Kb
PNG
hedging3.png
136.7 Kb
PNG
hedging4.png
104.7 Kb

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

1
Разработчик 1
Оценка
(48)
Проекты
80
28%
Арбитраж
8
75% / 13%
Просрочено
41
51%
Свободен
2
Разработчик 2
Оценка
(17)
Проекты
24
33%
Арбитраж
5
20% / 40%
Просрочено
8
33%
Свободен
3
Разработчик 3
Оценка
(202)
Проекты
206
27%
Арбитраж
0
Просрочено
3
1%
Свободен
5
Разработчик 5
Оценка
(43)
Проекты
72
49%
Арбитраж
4
0% / 50%
Просрочено
19
26%
Свободен
6
Разработчик 6
Оценка
(595)
Проекты
927
46%
Арбитраж
31
39% / 29%
Просрочено
93
10%
Работает
7
Разработчик 7
Оценка
(4)
Проекты
6
0%
Арбитраж
2
0% / 50%
Просрочено
4
67%
Свободен
8
Разработчик 8
Оценка
(90)
Проекты
118
17%
Арбитраж
44
23% / 39%
Просрочено
20
17%
Свободен
9
Разработчик 9
Оценка
(258)
Проекты
395
28%
Арбитраж
69
19% / 49%
Просрочено
120
30%
Свободен
10
Разработчик 10
Оценка
(356)
Проекты
632
26%
Арбитраж
89
73% / 13%
Просрочено
12
2%
Свободен
11
Разработчик 11
Оценка
(58)
Проекты
77
44%
Арбитраж
12
8% / 50%
Просрочено
12
16%
Свободен
13
Разработчик 13
Оценка
(221)
Проекты
369
66%
Арбитраж
10
50% / 0%
Просрочено
46
12%
Свободен
14
Разработчик 14
Оценка
(13)
Проекты
34
76%
Арбитраж
1
100% / 0%
Просрочено
6
18%
Свободен
15
Разработчик 15
Оценка
(66)
Проекты
143
34%
Арбитраж
10
10% / 60%
Просрочено
26
18%
Свободен
Похожие заказы
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. # MANUAL ZONE MARKING # THREE TYPES OF ENTRIES (
p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal} I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news

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

Бюджет
30+ USD
Исполнителю
27 USD