New Hedging EA + integrating 2 Trade management EA's

MQL4 Experts C++ C# Forex

Termos de Referência

New Hedging EA with blueprint needs to be developed. I have 2 EA's that manages the trades of the New Hedging EA and needs integrated with the New Hedging EA.
I have the source code of the 2 EA's that manages the trades.

The New Hedging EA that needs to be developed only places stop orders and trails stop orders.
The 2 external EA's that needs to be integrated into the New Hedging EA will manage the open position trades of the New Hedging EA.

EA3 Hedge Expert Advisor

 

Settings

1.    1    Magic number

2.    2   Initial stop order lot size

3.     3   Add hedge lot - True/ False

4.     4   Add lot size - 0.01

5.     5   Multiply hedge lot - True/False

6.     6   Multiply lot size - 1.5

7.     7   Initial stop order distance - 100 Points

8.     8   Hedge stop order distance - 200 Points

9.     9   Trail stop order - True/False

10. 10   Stop order trailing step - 10 Points

11. 11   Stop order trading pause - True/False

12. 12   Single order trailing profit – True/False

13. 13   Single order trailing activation – 200 points

14. 14   Single order trailing placing distance – 100 points

15. 15   Single order trailing step – 50 points

16. 16   Initial trading start time - 05:00

17. 17   Initial trading stop time – 12:00

18. 18  Slippage - 3

 


EA Basic Start (For Setting 2, 7 and 16)


EA starts by placing two stop orders, buy stop and sell stop x amount of points from the current price (setting 7).

 


EA Basic hedge trading (For setting 3, 5 and 8)

When one of the initial stop orders is activated into an open order, the other stop order gets deleted and replaced with setting 3 (add lot size) stop order or setting 5(multiply lot size) stop order.



EA Basic Trailing stop (For setting 12, 13, 14 and 15)

The EA will trail an open order, buy or sell only if there is one open order.
If there is more than on open order, buy or sell, the EA will not use the trailing stop setting.

 


EA Basic trail stop order (For setting 9 and 10)

The EA stop orders will trail the market price if trail stop order (setting 9) is true. The stop order will trail the market price when the market moves away from the stop order in steps according to stop order trailing step (setting 10) in points.

 

 

EA Basic stop order trading pause (setting 11)

 

 

Settings explained

1.       Magic number – Magic number of EA

 

2.       Initial stop order lot size – The first buy stop and sell stop orders lot size – 0.01

 

3.       Add hedge lot - True/ False – If true, increase stop order lot size. If false, stop order lot size does not increase.

 

4.       Add hedge lot size - 0.01 – Increase size of stop order lot size by adding to stop order.

 

5.       Multiply hedge lot - True/False - If true, increase stop order lot size. If false, stop order lot size does not increase.

 

6.       Multiply hedge lot size - 1.5 – Increase size of stop order lot size by multiplying to stop order.

 

(If setting 3 and setting 5 are both false, then there is no add hedge or multiply hedge of stop order. Stop orders will stay at initial stop order size – 0.01 (Setting 2)

 

7.       Initial stop order distance - 100 Points – The distance of the first buy stop and sell stop from the market price (X amount of points)

 

8.       Hedge stop order distance - 200 Points - The distance of the hedge buy stop and hedge sell stop from the market price (X amount of points)

 

9.       Trail stop order - True/False – If true, stop order trails market price. If false, stop order does not trail market price.

 

10.   Stop order trailing step - 10 Points – The steps in points used for the stop order to trail market price. (every 10 points the market price moves away from the stop order, the stop order will move 10 points closer to the market price)

 

 

11.   Stop order trading pause - True/False – If true, the stop order will not move past the previous stop order position.

 

(If current sell stop order is at 1.100 and previous buy stop order was at 1.200, sell stop order will trail market price but will not pass 1.200 where the previous buy stop was when activated to become a buy order)

 

(If current buy stop order is at 1.200 and previous sell stop order was at 1.100, buy stop order will trail market price but will not pass 1.100 where the previous sell stop was when activated to become a sell order)

 

12.   Single order trailing profit – True/False – If true, when there is only one open order, buy or sell (example buy 0.01 in profit of 200 points) The EA can trail the open buy order. This excludes stop orders and only focus on open orders such as buy or sell).
If false, then the EA will not trail any open orders such as buy or sell.

 

13.   Single order trailing activation – 200 points – when there is only one open order, buy or sell and the order is 200 points in profit. This setting activates if setting 12 is true.

 

14.   Single order trailing placing distance – 100 points – When setting 13 activate, trailing stop is places 100 points from current market price.

 

15.   Single order trailing step – 50 points - The steps in points used for the trailing stop to trail market price. (every 50 points the market price moves away from the trailing stop, the trailing stop will move 50 points closer to the market price)

 

(If setting 12, 13, 14 and 15 combined closes the open buy or sell order with a trailing stop, the EA will reset and start with initial stop order, only if it is not past 12:00 (setting 17). If the EA reset between 05:00 (setting 16) and 12:00 (setting 17) then the EA can start with initial stop order (setting 2)

(If setting 13, 14 and 15 combined closes the open buy or sell order with a trailing stop, the                 EA will reset and start with initial stop order. If the time is out of range between 05:00 (setting 16) and 12:00 (setting 17), the EA will not start with initial stop order (setting 2).
(example – EA trailing stop closes buy or sell order at 13:45, the EA will not start initial stop order (setting 2) until the next day at 05:00 (setting 16)

 

16.   Initial trading start time - 05:00 – The time the EA starts trading and placing the Initial stop order lot size (setting 2)

 

17.   Initial trading stop time – 12:00 – The time the EA will stop placing any initial stop orders (setting 2) The EA will not place any new initial stop orders after 12:00. Only at 05:00the next day, the EA will place initial stop orders if the EA has closed all open

 

(If there are open orders and stop orders after Initial trading stop time (setting 17), The EA will trade as normal until all orders and stop orders are closed buy Single order trailing profit (setting 12, 13, 14 and 15 combined) or Equity Safeguard EA (EA provided to implement with EA3). Then the EA will reset and start with initial trading stop at 05:00 (setting 16) to 12:00 (setting 17)

 

18.   Slippage – 3 – Standard slippage setting to allow constant trading

 

 

Respondido

1
Desenvolvedor 1
Classificação
(270)
Projetos
552
49%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
2
Desenvolvedor 2
Classificação
(39)
Projetos
55
13%
Arbitragem
5
20% / 20%
Expirado
6
11%
Livre
3
Desenvolvedor 3
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(295)
Projetos
473
40%
Arbitragem
103
41% / 23%
Expirado
78
16%
Ocupado
Publicou: 2 códigos
Pedidos semelhantes
I am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Hi, I need a simple MT5 EA. Based on my simple trading strategy I'm going to discuss with you If you have experience in this kindly bid for this project Thanks
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
Does anyone have a ready made sierra chart absorption indicator ready made or anything similar to below. I would like to buy it. You must have understanding of order flow, sierra chart and is able to code or coded this before https://www.emojitrading.com/product/absorption-pro/ https://www.emojitrading.com/product/price-rejector-pro/

Informações sobre o projeto

Orçamento
30 - 45 USD
Prazo
de 1 para 10 dias