This is an automatic partial hedging scalper to offset usually too many orders opened by another EA and market going opposite majority of open jobs.

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 8 gün

İş Gereklilikleri

EA will be dropped/attached to a chart and then read all open orders for that chart's instrument. Then it will determine how many are buy orders and how many are sell orders and then calculate the difference. Next it will use ADX to determine volatility and currency pair direction and open 1 market order for hedge lot size indicated in EA extern input field by user (I will use default 50% in this example) in the direction of fewer orders to create a hedging effect. The target price will be close to current market price thus a scalping strategy with usual TP, Stop-Loss, and trailing stop (trailing stop default = 0).

When TP achieved then it will loop to for beginning and re-test. If stop-loss reached then it will also loop and re-test. EA will never trade in direction of greater number of open orders ... that would not be a hedge. Usually another EA (I will call ABC) is running in a separate chart window and creating buy or sell orders continuously with the logic programed into that EA. This EA (I will call XYZ) will monitor all open orders in separate 1 Min chart window and use ADX for volatility and direction. There should also be a switch input to continue EA or discontinue whether it is active. If the order reaches stop-loss that is an indication market is trading in direction of majority of open orders and so XYZ will wait and re-evaluate periodically (wait period can be input in milliseconds by user).

Again, Logic flow of steps

1. Calculate difference between buy and sell orders in chart (in this case EURUSD)

2. determine if prices are going up or going down (in this case they are going up and another EA ABC was selling so there are many sell orders)

3. determine if there is sufficient volatility to take risk of opening a trade against orders opened by ABC ... the trade will be half because user put 50 in input called PercentHedge

4. this EA determines there is sufficient volatility AND price action is against current open trades so it opens new buy order for (50% * [difference between open sell orders and open buy orders])

5. this is a partial hedging EA that uses scalping strategy so it will have small TP and small Stop ... it can use trailing Stop but default is 0

6. wait for orders that were opened by this EA to close by TP or Stop and then go to 1.

Inputs I foresee are:

EA Active (Boolean)

PercentHedge (if there are sell orders = .15 and buy orders = .10 and PercentHedge = default 50 then XYZ will create open order for ([.15 - .10] * 50% and round up ... in this case .05 * .50 =.025 so .03 will be calculation used for hedge

TP (target price in points [5 digit broker])

SL (stop-loss in points)

Trailing stop-loss distance activated from order price

Trailing stop-loss steps

Period of ADX indicator

Level of ADX indicator (volatility)

Slippage

Magic Number

Comment (for comment field in buy/sell order to differentiate it from other open orders or closed orders)


Further clarification (hopefully)

Imagine I have a terminal with another EA (ABC) in chart 1 and this EA (XYZ) will be in chart 2 and chart 2 is M1 ... when I attach XYZ to chart 2 it will open 1 order for  .23 ([1.90 - 1.44] * .50) lots if PercentHedge = 50.

Next chart show when XYZ will open trade

You can see 1) ADX is rising so volatility is good, 2) D+ is over D- so price is rising, 3) previous chart shows there is a difference between buys and sells so now all conditions to open a 1 order for .23.

If price goes up then small TP is reached and process repeats, if price goes down then small Stop-Loss is reached and XYZ will do nothing because it is only making buy orders because chart has more sell order than buy until other EA in chart 1 closes some orders with whatever logic it has.

... more inputs to test in Strategy Tester to demo EA but not required in real EA. Extra inputs are to simulate another EA in chart 1.

...

First chart is 30 minutes for chart 1 (ABC) ... second chart is 1 minute for XYZ for testing volatility and price direction at scalping level.

...

Again, XYZ will never trade in direction of greater total number of lots ... it will only trade in direction of fewer total number of lots ... it requires direction help of ADX to know when to open orders in same direction of fewer total number of lots

...

I would also like a button on the screen to activate / deactivate the EA and the button should clearly indicate whether the EA is Active or Not Active on a gray colored button (the EA will actually reset everything to before I attached the EA to the chart because later I might add an additional feature (I'm thinking about adding a line I can move that will also perform the function of the button but I have to think about it further in order to completely describe it with accuracy) Default location of the button should be lower left bottom of the screen but follow same distance from corner when I resize window for any reason with usual 1,2,3,4 user input to locate at top left, top right, bottom left, bottom right respectively.


...

This should be a good EA to help protect account when another EA opens too many orders. Once this EA is created and meets all requirements in this job order and tested I might need to create better version after actual use and after discovering any deficiencies in which case a new MQL5 job will be created.

Feel free to discuss anything regarding this job with me especially if any clarification is needed.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1847)
Projeler
3447
88%
Arabuluculuk
73
40% / 15%
Süresi dolmuş
264
8%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Ücretsiz
3
Geliştirici 3
Derecelendirme
(130)
Projeler
210
40%
Arabuluculuk
90
20% / 43%
Süresi dolmuş
85
40%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(260)
Projeler
534
50%
Arabuluculuk
54
41% / 37%
Süresi dolmuş
224
42%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(91)
Projeler
144
38%
Arabuluculuk
67
15% / 48%
Süresi dolmuş
55
38%
Ücretsiz
Benzer siparişler
I need someone with skills who will help me create expert advisor based on swing trading. I need the EA to have the ability to determine pivot points. And it should open buy or sell based on this criteria. I also want it to have the following: 1. Risk management 2. Take profit/Stop Loss 3. Trailing Stop/Step/Start 4. Dashboard for input parameters ( I need to be able to modify parameters via user interface)
Developer !! i need an robot that is going to analyze the market\pair chart before opening trades ,example if the robot is place on the chart of GBPUSD on H1 time frame the robot should analyze the direction of a market ,then open after knowing the direction,if the can possible make it analyze even on lower time then that would be fantastic. remember the is going to open on its own the trades, thank you NB;i don't
Respected Madam I need an EA in Mql5 which can Buy at certain Increment of points like 100 then 50 then 50 then 25 then 25 then 25 then 25. Possibility of Grid increase. Buys at certain fixed level if the the Price drops like 100 points down then again 100 points down then again 100 points down like this in a grid system, Grid size I will declare. Grid order systems with stop loss and Multiple Reorders if the Stop
Hi, I need an simple MT5 EA which trades based on full body candles at specific trading time. Start Hour Start Minute End Hour End Minute Min full candle body size in points % real body of candle size to count the candle as full body candle Enter buy on bearish full body candle Enter sell on bullish full body candle Enter on same candle if the real body size has reached x points and the % of real body to candle
本人现有一个网格EA,内有马丁加仓平仓,需要升级,加入对冲功能和其他功能.(其他细节后谈) 1 . 網格繫統:可選:YES/NO. 如果:YES,設置:網格間隔,網格層數, 2 . 開倉:條件開倉,可選:YES/NO.(目前默認爲NO) 分爲市價開倉/STOP ORDER/ LIMIT ORDER, 3 . 加倉:分爲:固定手數,如:0 . 03,或末單累加:0 . 01,或:末單倍數如:1 . 5倍.多單和空單的加倉方法可以不同設置. 4 . 移動止盈.(單獨移動,多/空方整體點數移動/或金額移動) 5 . 平倉包括: A.多方/空方止盈線,和多方/空方止損線(可以設置三條價格:每條選擇:平倉 1/3,1/2,或全部) B.單獨止盈/止損 (多方和空方可以設置不同的,)盈利點數或金額 整體止盈/止損.(多方和空方可以設置不同的,)
HFT needed 100+ USD
Need hft ea which working properly as well as demo accounts and live accounts with good daily returns as well as monthly returns need experinced programers to show thier most profible ea programers with more than 100 projects done will be shortlisted . And developer should provide its demo version for test before going to further steps
Hey, I trust my messages finds you well, I am in need of an expert seasoned forex trader that also skilled in programming MT4 EA, please read below I have some trading ideas in mind, this is why I mentioned that I need a forex trader who can help me have an expert look to those ideas I will be sharing in comment section then advised on the needed suitable ideas in addition to what I have alreadly have,I mean I need
Trading Gold , tap in & join the ride of the trading platform and watch us grow as the days go on , we're looking forward to have you on board the journey
EA debug 30+ USD
I have an EA bot CODE intend to be use on the MT5 platform, and all I need is a debug expert with full knowledge of what they are doing. The Skillset i need from you as a debugger are: 1. Trading Robot/Robot Debugging 2. Strategy Optimization 3. News Filter I will send you the codes and hope to have the debugged codes in less than 24 hours after we have discussed and come to an agreement
i am currently in need of someone who can be able to help me out.i want my custom indicator to be non repainting and i also want the custom indicator to be able to send out all types of alerts...thank you

Proje bilgisi

Bütçe
30 - 150 USD
Geliştirici için
27 - 135 USD