EA for hedging/scalping.

MQL5 Experts

Job finished

Execution time 5 days
Feedback from customer
Excellent Developer ! :D
Feedback from employee
Good customers

Specification

Hello Developers

I need to Build an Expert advisor which does hedging using buy stop and sell stop orders on any pairs with respective conditions below.

Summary:


So this Ea opens order at high and low of candles (green/red any doesn't matter) at any timeframe given to ea.

Assume account size 200 dollar

So for eg Gbpusd 1hr candle has a high of 1.41103 and low of 1.40904
difference in H and L = 199 points.

1. Ea makes Buy stop at 1.41103 and a sell stop 1.40904 after candle closes.
2. For eg market triggers sell stop at 1.40904

so Ea should divide difference of h and l by the number given  manually

For eg i give divide by 10 = 199/10 = 19.9 points / 20 point


division should be manual in input settings where i can select divide h and l difference by 5/6/7/8/9...20..

risk per trade plays crucial role here because on that ea selects lot size lets assume i select 0.5% risk per trade so 1 dollar max risk on a single trade.

so 199/10 = 20 points + broker commission + spreads = 20*0.03 + 0.05*3(commission of 0.01lot is 0.05 could vary according to broker pair) + 2*3 ( 2point is spread can vary from pair to pair)

EA should recognise the Commission and average spread of that pair.

Total points = 20+5+2 ( difference/10 + commission points + spread points) = 27
risk per trade = 0.5% or 1 dollar

so 27*0.03(lot) = 0.81 nearest below.  ( 0.03 lot selected because of being nearest to risk per trade )


imp - lot size can vary depending on points which calculates risk per trade.


So now continuing the process when sell stop at 1.40904 trigger with 1.40931 as stop-loss there must be a buy stop at 1.40931 as this is hedging concept.  (1.40904+27=1.40931)


and , tp = 199 points / size of the candle * 1 
tp should be manual given size of candle * 1 so 199 points if i select *2 = 199*2 = 398 points if i select more * likewise multiplying the size of candle.

So for buy stop at 1.40931 tp is 1.41130 and for sell stop at 1.40904 target price is 1.40705 (selected size of candle * 1 )

opening of sell stop and buy stop must be in loop till it target gets hit 
means if sell stop hits sl buy stop opens if buy stop hits sl,  sell stop opens and so on continuing till it target gets hit.

When target gets hit for eg buy stop at 1.40931 hits it target at 1.41130 its corresponded sell stop pending order at 1.40904 should also close automatically like a pair it should close once target hits.


This process must start/carry out at every candles high and low appearing depending upon the timeframe after ea starts.


 Manual - TF = 15m/30m/1hr/2hr/3hr....

             Division of candle size = (5/6/7....)

             Risk per Trade = (0.1%/0.2%....)

             Tp = Size of candle * (1/2/3...)

         
         

Responded

1
Developer 1
Rating
(55)
Projects
96
40%
Arbitration
13
38% / 62%
Overdue
25
26%
Free
2
Developer 2
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
3
Developer 3
Rating
(97)
Projects
135
52%
Arbitration
4
50% / 50%
Overdue
0
Working
4
Developer 4
Rating
(143)
Projects
255
35%
Arbitration
12
25% / 58%
Overdue
42
16%
Free
5
Developer 5
Rating
(233)
Projects
413
34%
Arbitration
52
37% / 40%
Overdue
152
37%
Loaded
6
Developer 6
Rating
(263)
Projects
537
50%
Arbitration
55
40% / 36%
Overdue
224
42%
Free
7
Developer 7
Rating
(14)
Projects
21
24%
Arbitration
9
33% / 44%
Overdue
8
38%
Free
Similar orders
EA Configuration. FIBO ------------------------------------------------------------------- Magic: 123456 Stop: Real or Virtual Order: Pending / CLOSE / price== LOT Description: 0.01 ------------------------------------------------------------------- STOP: -0.25 ------------------------------------------------------------------- ENT_1: 1.00 Lot_1: 0.01 ENT_2: 0.50 Lot_2: 0.01 ENT_3: 1.00 Lot_3: 0.01
Hi I'm looking for a professional programmer to modify my EA the EA send signal alert to telegram and screen shot of the chart patterns my EA is dased to the harmonic pattern but I want to see on the screen shot the pattern of the harmonic pattern and on the chat as well
Hello I need create simple trend first candle session EA. Ea wait for first M5/M15/M30/H1 (all possible timeframes to choose) candle at asian, european and NYC session and open buy/sell stop order above (in long situation) or below (in short situation) x points from highest/lowest point of the first candle. + trailing stop loss stop loss take profit breakeven magic key
Hello Guys ! Looking for a developer to create a EA for my Buy and Sell No repaint indicator. I only have the EX4 indicator file and I want the EA to take trades according to the Buy and sells signals generated by the Indicator. Here are some inputs I want for the EA: - Trailing stop - TP and SL ( in pips ) - Entries, TP and SL ( based on opposite signals arrow ) - Daily target ( in Dollars $ or % ) - Trading hours -
I need a robot that copies the orders sent in the telegram group to MT4 or MT5 so that I can configure the parameters. I would like it to have functions so I can enter and exit negotiations according to my configuration parameters
i need to delegate this job. XAUUSD H4 MT4 i have an ea with source code with smc, fvg, orderblocks and fibonacci, i need to fix somethings and add some features for live markets, any new ideas are accepted, i need also a 4 years backtest report (of metatrader 4). if you have good price and feedbacks and you want work for me also for new jobs apply for this job it's not urgent i need only a good price
Hello, I hope you are well. I have an alert/s that I would like to provide buy and sell orders. The alerts are named *ENTRY* and *EXIT*, so the EA will know what to do. I would like the EA to have the following parameters: 1. Select the number of trades per currency pair 2. Time to trade: Time to start trading to time to end trading - I would like 4 different times to be able to be entered 3. Option to choose which
Order Manager 30 - 60 USD
I am looking for a programmer to develop an Expert Advisor (EA) for order management, which will be used alongside simpler EAs. This EA should include advanced functionalities for efficient and personalized management. **Key Features:** 1. **Comprehensive Information Panel:** - **Order Visualization:** Display all open orders by currency pair, including short and long positions. - **Font Resizing Option:** Allow
Hello! I'm looking for an Expert Advisor that will identify Fair Value Gaps above or below a Simple Moving Average line and take sells when price is above the line and buys when price is below the line. It will take only one trade at a time. It will not take a trade when price is within a number of pips (a parameter) of the SMA. I would like a copy of the source code. When a trade is entered, a text message will be
Hi All I'm searching for a Boom and Crash EA that consistently generates profit. The EA must maintain a drawdown below 40% at all times from 2020 to 2024, ensuring this level each month. I'd like to test it in demo mode for 2-3 days before completing the full payment. : note - you need to work on logic

Project information

Budget
30+ USD
For the developer
27 USD