Drawdown protection EA using hedge needed

MQL4 Experts Forex

Trabalho concluído

Tempo de execução 13 dias
Comentário do cliente
It was great to work with Shahzad
Comentário do desenvolvedor
Good customer

Termos de Referência

The drawdown protection EA(DDP) will open a position(position_DD) when the tracked trade(trade_EA) made by another EA goes beyond the drawdown% threshold. when the trade_EA is closed by other EA  or drawdawn% threshold is no longer being crossed by position_DD and position_DD is in the positive, at that point position_DD will be closed. The purpose of DDP is to protect the account from sudden and/or prolonged periods of large drawdown.

 
DDR will have the following behaviors:

1. Each instance of DDP will track particular trades opened by another EA based on the "EA magic number"(tracked_magic_number) and "currency pair"(tracked_trade_currency) parameters.

2. The chart the instance of DDP is open in will be the pair DDP uses in the hedge position.

3. DDP will protect from drawdown occurring in trade_EA in a particular direction, long or short,
based on two parameters: trade_EA_long and trade_EA_short, please see 3.1 - 3.4.

3.1. if both parameters are set to True DDP will track both long and short position made by other EA.
3.2. If  trade_EA_long=True and trade_EA_short=False, DDP will only track long trades made by other EA that go into negative and cross the drawdown threshold.
3.3. If  trade_EA_long=False and trade_EA_short=True, DDP will only track short trades made by other EA that go into negative and cross the drawdown threshold.
3.4. If  trade_EA_long=False and trade_EA_short=False, DDP will not track any trades made by the other EA or open any new position_DD's. If position_DD or multiple positions_DD is/are already open it/they will continue to be managed by DDP as normal.

4. The direction of position_DD(hedge position) will be determined by 2 parameters: position_DD_long and position_DD_short, please see 4.1 - 4.4.

4.1. If both parameters are set to True, then position_DD will be in the opposite direction of trade_EA.
4.2. If position_DD_long=True and position_DD_short=False, DDP can only open long positions when trade_EA goes beyond the drawdown threshold.
4.3. If position_DD_long=False and position_DD_short=True, DDP can only open short positions when trade_EA goes beyond the drawdown threshold.
4.4. If position_DD_long=False and position_DD_short=False, DDP will not open any new positions in any direction. Any already open position_DD will be closed, all position opened by DDP will be closed.

5. The position_DD size will be determined using "position_multiplier" parameter, please see 5.1 - 5.3.

5.1. if "position_multiplier it is set to 1(default), the size of position_DD will equal that of trade_EA,
5.2. if the parameter is set to 1.25, then position_DD will be 25% larger than trade_EA.
5.3. if for example the parameter is set to 0.5 then position_DD size will be 50%/half of the size of trade_EA.

6. DDP must immediately close position_DD if trade_EA is closed by user or other EA or if the drawdown of trade_EA is below drawdown threshold and trade is in a positive direction. There may be multiple trade_EA being tracked and the management of each one must comply with the rules stated.

7. Position_DD must not be allowed to go into high drawdown at any point, the moment position_DD is opened a stop loss will be used, to determine the location of the stop loss the parameter "position_max_drawdown" will be used, this parameter is the maximum drawdown allowed for all position_DD's.

8. Position_DD will have in the comment section the order number for trade_EA in the folowing format: "Order: <Order number>", to allow behavior corroboration using trade history.

9. DDP will be able to track multiple trades opened by other EA, and apply rules discussed above to each position_DD.

10. Source code for the DDP should be provided once completed.





Respondido

1
Desenvolvedor 1
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
2
Desenvolvedor 2
Classificação
(2)
Projetos
5
0%
Arbitragem
2
0% / 50%
Expirado
1
20%
Livre
Pedidos semelhantes
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
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
Hello, I need someone who have a great experience in ATAS platforms, I use ATAS software for orderflow and i would like tradingview to draw some light information from ATAS to tradingview. If you are capable of this please send me a message and let's proceed
### 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
Delete the minutes field the days dirctaly =1440 ( hide for the customer ) . The indicator setting appears with the indicator on the screen in the same color chosen The possibility of more than one indicator appearing on the screen. Good arrangement
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I need a robot for forex trading~~The way the robot should work is that when I put it into a 5 minute chart, the chart will show 15 minutes, one hour, Regardless of whether they are buying or selling, they must buy or sell in the same color at the same time~~~ Use the following indicators: HalfTrend 1 & alerts mtf Trafficlight indicator.MQ4 When placed into a 5 minute chart ~ the chart will show 15 minutes, one
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing maximum budget = 150$ Preference is given to someone who: -speaks Arabic so I can explain it clearly to him - And the lowest price

Informações sobre o projeto

Orçamento
30 - 80 USD
Desenvolvedor
27 - 72 USD
Prazo
de 7 para 20 dias