Simple Hedge EA

MQL4 Эксперты

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

I need a simple hedge EA. I know you guys can make this easily.

 PLEASE MAKE SURE YOU CAN DO THIS JOB WITHIN 3 DAYS OR SO.  IF YOU CANT DO THIS JOB, DONT APPLY.

 

**ALL PENDING ORDERS AND BUY/SELL STOP SHOULD BE HIDDEN until the real trade is executed.  This means that the broker should not be able to see the pending orders or buy/sell stop in advance."  

For example: buy mode: Below the current price should be pending orders. Above the current price should be buy stop.  If I want to buy EURUSD with the current price of 1.35. BUY_UPPER_SR = 1.40, BUY_LOWER_SR = 1.30. If I set my grid to 20. this means that there will be 10 pending orders below the current trade until 1.30 and 10 buy stops above the current price until 1.40. If the price hits the BUY_UPPER_SR level then all the trades closes in profit. SEE ATTACHMENT FOR EXAMPLE

 

 

EA settings 

1. Magic number.

2. Enable ECN broker true/false. I have an ECN broker so this should be implemented.

 

Trading Settings

3. Manual Lotsize: True/false. If true = I can type in lotsize of choosing. If false: this means that Ratio (see next line) will be on.  

4. Ratio. This means if you have an account balance of 10,000 dollars and you want to risk a ratio of 1:3. This means: 10,000:30,000 dollars. 30,000 = 0.3 lots. If you have a grid of 10. every grid will be 0.03 lots from the upper until the lower SR ( this is explained below).

5. Lotsize

6. Enable Buy: true/false.

7. Turn off Buystop: true/false. if true, no buystop will be taken. 

8. Enable Sell: true/false.

9. Turn off Sell stop: true/false.  if true, no sellstop will be taken. 

 

There should be SR upper and SR lower for buy and sell separate. the hedge will be between these two lines. these two lines should be adjusted in thickness and colour.  

 

Buy setting:


For BUY option: 

10. BUY_UPPER_SR = upper sr . if the price hits this level all trades closes.  (for example EURUSD 1.45)

11. BUY_LOWER_SR = lower sr. if the price hits this level. no trades will be taken.  (for example EURUSD 1.30)

12. Buy Grid Size = This is the grid size. This means for example: If I want to buy EURUSD with the current price of 1.35. BUY_UPPER_SR = 1.40, BUY_LOWER_SR = 1.30. If I set my grid to 20. this means that there will be 10 pending orders below the current trade until 1.30 and 10 buy stops above the current price until 1.40.

13. Buy_SR_Color (color of SR lines) (default Steelblue)

14. Buy_SR_Width

15. Buy_SR_Style

16. Enable_Thick_Buy_Lines: True/false (These are the grid lines)

17. Buy_thick_Color  (default Powderblue)

18. Buy_thick_Width

19. Buy_thick_Style

20. Buy_Grid multiplier: true/false: All the pending orders can increase in lotsize in x%. For example: I take a trade with 0.03 lots with 5 pending orders until the lower SR level. If I set my Lot multiplier by 25%: "pending order 1" will be: 1.25*0.03= 0.04. "pending order 2"  is: 0.04*1.25= 0.05. "pending order 3"  is: 0.05*1.25 = 0.06 lots. "pending order 4"  is: 0.06*1.25 = 0.08 lots. etc.... THIS ONLY EMPLIES FOR THE PENDING ORDERS. NOT THE BUY/SELL STOP.

21. Buy_Lotmultiplier (%):  

 

Sell Setting: 

if a trade is taken: Above the current price should be pending orders. below the current price should be sell  stop. If the price hits the SELL_LOWER_SR level then all the trades closes in profit. 

 For SELL option: 

22. SELL_UPPER_SR = upper sr. if the price hits this level. nothing happens. no trades will be taken etc.

23. SELL_LOWER_SR = lower sr. if the price hits this level.. all trades closes in profit. 

24. Sell Grid Size = This is the grid size

25. Sell_SR_Color (color of SR lines) (default: red)

26. Sell_SR_Width

27. Sell_SR_Style

28. Enable_Thick_Sell_Lines: True/false (these are the grid lines)

29. Sell_thick_Color (default: Tomato)

30. Sell_thick_Width

31. Sell_thick_Style

32. Sell_Grid multiplier: true/false

33. Sell_ Lotmultiplier (%):

EA Management

34. Pause_ALL_Buy (Pauses all pending and Buy stop orders)

35. Pause_pending_Buy (This pauses all Buy pending orders)

36. Pause_Buystop (This pauses all Buystop orders) 

37. Pause_ALL_Sell (Pauses all pending and sell stop orders)

38. Pause_pending_sell (This pauses all Sell pending orders)

39. Pause_Sellstop (This pauses all sellstop orders) 

40. Close_All_Buy (Closes all sell trades)

41. Close_All_Sell (Closes all sell trades)

Файлы:

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

1
Разработчик 1
Оценка
Проекты
0
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(1235)
Проекты
2820
80%
Арбитраж
156
22% / 43%
Просрочено
488
17%
Свободен
3
Разработчик 3
Оценка
(59)
Проекты
182
55%
Арбитраж
31
45% / 16%
Просрочено
103
57%
Свободен
4
Разработчик 4
Оценка
(128)
Проекты
206
49%
Арбитраж
29
28% / 48%
Просрочено
33
16%
Свободен
5
Разработчик 5
Оценка
Проекты
0
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(180)
Проекты
301
30%
Арбитраж
54
24% / 56%
Просрочено
98
33%
Свободен
7
Разработчик 7
Оценка
(266)
Проекты
540
50%
Арбитраж
55
40% / 36%
Просрочено
224
41%
Свободен
8
Разработчик 8
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
9
Разработчик 9
Оценка
Проекты
3
0%
Арбитраж
0
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(49)
Проекты
74
18%
Арбитраж
30
17% / 53%
Просрочено
31
42%
Свободен
11
Разработчик 11
Оценка
(219)
Проекты
370
42%
Арбитраж
145
17% / 41%
Просрочено
124
34%
Свободен
Похожие заказы
I wanted to have existing EA or develop new one just to place pending orders according to according to signals received ( buy stop or sell stop ) from the indicator
Hi, I have an scalping Expert Advisor for XAUUSD pair with Break Out strategy using iADX indicator and it seems other indicators too. Need a help to do reverse engineering on it. Thanks
I would like to create a bot based purely on the below fundamentals; Timeframe from 5M to 1Month. The bot will place a trade via a candlestick pattern and supply and demand zone approach, (NO RSI, Bollinger bands, or the like to be taken into account) just purely candlesticks based off the candlestick bible, buy and sell. Once a trade is made, the bot will continue to make trades in that position’s direction (locked
Dear Digital Intellectual, I’ll generally outline my idea with the intended instruments and their logic. Fundamental bias with multiple factors . I have this outside of MT. It's very easy to activate or deactivate the EA on MT if the fundamentals are not in line to be bullish or bearish. Later on, APIs would be needed to fully automate this (not yet needed). Logic : Fundamental factors on a higher timeframe drive the
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
I'm looking for a program that will work on ninja trader 8: 1. The program should start by giving me the maximum and minimum for the Monday and Friday previous to my current date. 2. The program will shift from the 1 day to the lower time frame as needed that has been selected. a. Then, the Fibonacci sequence will be added automatically from the beginning, and the Fibonacci graph will be adjusted from elliott wave
Dear Programmer Go to this link https://www.youtube.com/watch?v=m1yJjAIzcp0 This video will explain everything about the strategy. I wanted to make an EA based on this strategy Draw standard deviation channels with 1 2 &3 standard deviation. The repainting should be minimal. In the mid line you have to buy and sell the same currency pair 1 lot each(or depending on the account size) If it goes up and hit the upper
Hello, I am looking for a skilled developer to help create a powerful trading strategy for the stock markets, specifically targeting the American market index. If you have experience in programming and developing effective trading algorithms, I would love to hear from you. Please let me know if you are interested, and we can discuss this further. Thank you
Tdi makes a divergence with moving average 2 in the indicator window above level 68 in crash indeces.... For boom the divergence should occur below level 32.... Timeframe preferably 5minutes but could be left to current..Applicant should have knowledge about synthetic indices... Please don't apply if you are not willing to show competence first through demo
I am seeking an experienced MQL5 developer to complete an incomplete EA that was previously developed but not finalized. The EA involves complex zone marking, multi-timeframe analysis, and various entry strategies (Engulfing, Divergence, Aggressive) with specific stop loss, take profit, and Martingale management. The previous developer has provided the progress made so far, including an EA file and documentation

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

Бюджет
50- USD