Simple Hedge EA

MQL4 Experts

Termos de Referência

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)

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
Projetos
0
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(1235)
Projetos
2820
80%
Arbitragem
156
22% / 43%
Expirado
488
17%
Livre
3
Desenvolvedor 3
Classificação
(59)
Projetos
182
55%
Arbitragem
31
45% / 16%
Expirado
103
57%
Livre
4
Desenvolvedor 4
Classificação
(128)
Projetos
206
49%
Arbitragem
29
28% / 48%
Expirado
33
16%
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(180)
Projetos
301
30%
Arbitragem
54
24% / 56%
Expirado
98
33%
Livre
7
Desenvolvedor 7
Classificação
(266)
Projetos
540
50%
Arbitragem
55
40% / 36%
Expirado
224
41%
Livre
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(49)
Projetos
74
18%
Arbitragem
30
17% / 53%
Expirado
31
42%
Livre
11
Desenvolvedor 11
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
50- USD