Auto-calculate pending order lot size, free margin check

MQL4 Эксперты

Работа завершена

Время выполнения 6 дней

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

I have two hedge EA that show a low drawdown in Strategy Tester but on live accounts the drawdown can easily be 3 times greater. Is there a solution to this? I am thinking the widening spread in the live accounts may be the cause. So what I would like is to have the lot sizes of all pending hedge trades auto-calculated and dynamically change while in the pending state, if necessary, to be ready to open based on the current spread value.

The external parameter will be:  extern bool  AdjustLotSizetoSpread = true;

I would also like another parameter added to the two EAs:  extern bool  CheckForFreeMargin = false;

If true, the EAs will only open additional hedge trades if the account free margin permits.

Finally, in one of the EAs, the HedgeProfit is calculated in dollars. If set to $3, all of the hedge trades will try to close at $3. This reduces the profits for multiple hedge trades with very large lot sizes. I would like the HedgeProfit to be calculated in pips so that if set to 30 pips, two hedge trades with smaller lot sizes can still close around $3, but four or five hedge trades with larger lot sizes will close around 20, 30 or more dollars.

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

1
Разработчик 1
Оценка
(2428)
Проекты
3057
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Работает
2
Разработчик 2
Оценка
(2)
Проекты
2
0%
Арбитраж
13
8% / 92%
Просрочено
1
50%
Свободен
3
Разработчик 3
Оценка
(88)
Проекты
138
25%
Арбитраж
33
33% / 45%
Просрочено
59
43%
Работает
4
Разработчик 4
Оценка
(647)
Проекты
1295
67%
Арбитраж
84
26% / 49%
Просрочено
338
26%
Свободен
5
Разработчик 5
Оценка
(121)
Проекты
134
66%
Арбитраж
36
25% / 56%
Просрочено
22
16%
Свободен
Похожие заказы
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

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

Бюджет
30 - 50 USD
Исполнителю
27 - 45 USD
Сроки выполнения
до 3 дн.