Auto-calculate pending order lot size, free margin check

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 6 gün

İş Gereklilikleri

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(2422)
Projeler
3042
66%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
340
11%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
13
8% / 92%
Süresi dolmuş
1
50%
Serbest
3
Geliştirici 3
Derecelendirme
(88)
Projeler
138
25%
Arabuluculuk
33
33% / 45%
Süresi dolmuş
59
43%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(647)
Projeler
1295
67%
Arabuluculuk
84
26% / 49%
Süresi dolmuş
338
26%
Serbest
5
Geliştirici 5
Derecelendirme
(121)
Projeler
134
66%
Arabuluculuk
36
25% / 56%
Süresi dolmuş
22
16%
Serbest
Benzer siparişler
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Proje bilgisi

Bütçe
30 - 50 USD
Geliştirici için
27 - 45 USD
Son teslim tarihi
to 3 gün