Count losses

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 1 gün
Müşteri tarafından geri bildirim
All well. Accurate and fast.
Geliştirici tarafından geri bildirim
Working with Luca is an easy task, he knows what he want and tests very fast.

İş Gereklilikleri

Hi, I would need a chunk of code that I can paste in my EAs for MT4 (no DLL, no scripts).

The code should output a variable VAR that I will use in my conditions for trading.

VAR should be 0 if X or more trades in the last Y trades were losses, else VAR = 1.
If the total number of trades is less than Y, VAR = 1.
X and Y should be input values to be entered when the EA is loaded.

Example. If I input the values 5 for X and 10 for Y,
VAR = 1 if in the last 10 trades the number of losses were 4 or less;
VAR = 0 if in the last 10 trades the number of losses were 5 or more.

Input: values for X and Y
Output: variable VAR that I can place in the conditions for sending the order

Important: this function must me EA-magicnumber specific (not EA specific). In other words, the count of number of trades and number of losses must be about the specific EA-magicnumber the code is pasted into.

Thank you

Luca


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(49)
Projeler
134
27%
Arabuluculuk
62
13% / 53%
Süresi dolmuş
58
43%
Serbest
2
Geliştirici 2
Derecelendirme
(1130)
Projeler
1432
62%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
3
Geliştirici 3
Derecelendirme
(61)
Projeler
120
34%
Arabuluculuk
17
18% / 41%
Süresi dolmuş
51
43%
Serbest
4
Geliştirici 4
Derecelendirme
(71)
Projeler
156
44%
Arabuluculuk
22
41% / 14%
Süresi dolmuş
16
10%
Serbest
5
Geliştirici 5
Derecelendirme
(121)
Projeler
134
66%
Arabuluculuk
36
25% / 56%
Süresi dolmuş
22
16%
Serbest
6
Geliştirici 6
Derecelendirme
(2428)
Projeler
3057
66%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
340
11%
Serbest
7
Geliştirici 7
Derecelendirme
(439)
Projeler
545
25%
Arabuluculuk
21
38% / 38%
Süresi dolmuş
83
15%
Serbest
8
Geliştirici 8
Derecelendirme
(769)
Projeler
1033
44%
Arabuluculuk
50
8% / 50%
Süresi dolmuş
117
11%
Serbest
Benzer siparişler
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
I need someone to build an EA for me based on Trend and Pivot levels from custom Pivot and Trend indicators. I will provide more information to the selected programmer
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details

Proje bilgisi

Bütçe
10 - 50 USD
KDV (22%): 2.2 - 11 USD
Toplam: 12.2 - 61 USD
Geliştirici için
9 - 45 USD
Son teslim tarihi
from 1 to 7 gün