Simple Hedge EA

MQL4 Göstergeler

İş Gereklilikleri

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

 

**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)


Dosyalar:

PNG
EXAMPLE.png
42.2 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(62)
Projeler
140
46%
Arabuluculuk
19
42% / 16%
Süresi dolmuş
32
23%
Serbest
2
Geliştirici 2
Derecelendirme
(9)
Projeler
8
25%
Arabuluculuk
8
0% / 100%
Süresi dolmuş
4
50%
Serbest
3
Geliştirici 3
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Hi dear developers and coders. I need some help to modify an indicator. I is the solar winds joy indicator. I use it for a strategy, and it works fine. But it repaints when price start to move in opposite direction. I has a smooth value. But when it is set for example to 5, then it can happen, that it paints 5 bars back. I look for a modification, that will change this. Whenever a bar is closed, the indicator should
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well
the sl doesnt work i want the tp logic to remain i need the trend direction fucntion tow ork i the trend is up then only buys if down only sells i need the fibo nacci fucntion to work as well and the flat zone function to work as well and i need the code to trade 1% of the balance //+------------------------------------------------------------------+ //| US500_EA.mq4 | //|

Proje bilgisi

Bütçe
40- USD