This EA is a typical Martingale Hedging

MQL4 Asesores Expertos

Tarea técnica

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

 

 

 

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

 

 

 


Archivos adjuntos:

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

Han respondido

1
Desarrollador 1
Evaluación
(48)
Proyectos
80
28%
Arbitraje
8
75% / 13%
Caducado
41
51%
Libre
2
Desarrollador 2
Evaluación
(17)
Proyectos
24
33%
Arbitraje
5
20% / 40%
Caducado
8
33%
Libre
3
Desarrollador 3
Evaluación
(196)
Proyectos
200
28%
Arbitraje
0
Caducado
3
2%
Libre
5
Desarrollador 5
Evaluación
(43)
Proyectos
72
49%
Arbitraje
4
0% / 50%
Caducado
19
26%
Libre
6
Desarrollador 6
Evaluación
(586)
Proyectos
918
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Libre
7
Desarrollador 7
Evaluación
(4)
Proyectos
6
0%
Arbitraje
2
0% / 50%
Caducado
4
67%
Libre
8
Desarrollador 8
Evaluación
(90)
Proyectos
118
17%
Arbitraje
44
23% / 39%
Caducado
20
17%
Libre
9
Desarrollador 9
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
10
Desarrollador 10
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
11
Desarrollador 11
Evaluación
(58)
Proyectos
77
44%
Arbitraje
12
8% / 50%
Caducado
12
16%
Libre
13
Desarrollador 13
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
14
Desarrollador 14
Evaluación
(13)
Proyectos
34
76%
Arbitraje
1
100% / 0%
Caducado
6
18%
Libre
15
Desarrollador 15
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
Solicitudes similares
Estou a procura de um programador que faça um robo que automatize as análises feitas por ele nas ondas de Elliot e que faça entradas precisas com proteções das mesmas e com proteções também ajustáveis para não entrar em noticias de 2 ou 3 estrelas, e que seja para o mercado B3 Mini Indice ou Mini Dolar
Sosso 30+ USD
I would like to order an automated robot to the job for me as I have no clue on whatsoever the trading is about. The bot should be able to do it's job, everything for me and it providing the best services for one to use
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Strategy: 1. Identify strong supply and demand levels. Draw them in the chart in green and red. In Tradingview: Market Structure Break & Order Block by EmreKb von EmreKb --> Strong demand and supply area refer to picture below (Buy and Sell Zones). There must be a strong demand / supply zone on a higher time frame in order for the set up to be valid. The time frame can be selected in the settings. E.g. "Higher Time
Hi there, I currently have a scalping strategy based of 3 thrid party indicators that I would like automated. This would help me with running the strategy through the strategy tester. Two of the indicators dont have iCustom functionality to pull the data in, so another way would have to be devised. The strategy incorpates trading activity, sentiment in the for of the ratio of traders in profit, and a third techincal
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
OK I just need 1 MOD Who can do it free There is a (Reciever EA) that receives signals from a (Sender EA) I need to ADD one mod It may even look like the option/signal is there= Ignore it Coding was wrong on that part This is simple The option in the Reicver EA will Be called "Open Copy Live" with the option to Set to True or False When set to true the Reicver EA will Watch
Hi there, I need a very highly skilled mt4 programmer to code and design an EA from scratch. The logic of the EA will be discussed with you in comments section, only reach out if you can code perfectly for mt4 using MQL4 coding solutions language, EA must be able to run well without any problems and work according to the logic thanks
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
### Summary of EA Requirements 1. **Time Period**: - The EA should operate on the H4 timeframe. 2. **RelicusRoad MACD v2 Indicator**: - **Parameters**: - Fast EMA Period: 12 - Fast EMA Type: Close price - Slow EMA Period: 24 - Slow EMA Type: Close price - Signal SMA Period: 9 - The EA should use this indicator to determine the crossover condition between the MACD line and the signal line. 3

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD