Count losses

MQL4 Эксперты

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

Время выполнения 1 день
Отзыв от заказчика
All well. Accurate and fast.
Отзыв от исполнителя
Working with Luca is an easy task, he knows what he want and tests very fast.

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

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


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

1
Разработчик 1
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
2
Разработчик 2
Оценка
(1127)
Проекты
1429
62%
Арбитраж
21
57% / 10%
Просрочено
43
3%
Свободен
3
Разработчик 3
Оценка
(61)
Проекты
120
34%
Арбитраж
17
18% / 41%
Просрочено
51
43%
Свободен
4
Разработчик 4
Оценка
(71)
Проекты
156
44%
Арбитраж
22
41% / 14%
Просрочено
16
10%
Свободен
5
Разработчик 5
Оценка
(121)
Проекты
134
66%
Арбитраж
36
25% / 56%
Просрочено
22
16%
Свободен
6
Разработчик 6
Оценка
(2421)
Проекты
3041
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Работает
7
Разработчик 7
Оценка
(439)
Проекты
545
25%
Арбитраж
21
38% / 38%
Просрочено
83
15%
Свободен
8
Разработчик 8
Оценка
(769)
Проекты
1033
44%
Арбитраж
50
8% / 50%
Просрочено
117
11%
Свободен
Похожие заказы
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
### Summary of EA Requirements 1. **Time Period**: - The EA should operate on the H4 timeframe. 2. **RelicusRoad MACD v2 Indicator**: - **Parameters**: - Fast EMA Period: 12 - Fast EMA Type: Close price - Slow EMA Period: 24 - Slow EMA Type: Close price - Signal SMA Period: 9 - The EA should use this indicator to determine the crossover condition between the MACD line and the signal line. 3
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Ind V5 TV Strategy Requirements: Instruments: Forex pairs, Crypto and Stocks across exchanges TimeFrame: Multi-Time Frame comparisons, details below Indicators: Ichimoku Cloud, ATR & Choppiness Index Trade times: First Order: Day of Week Start Time, Day of Week First Order time, Day of Week Last Order Time and Day of Week Square Off Time Intraday TF: 1 min, 3 mins, 9 mins, 27 mins and 81 mins Position Size (Lots)
I want this EA in mql4. The two indicators are written in pinescript Developer should please understand it to develop the EA. One of the indicator will be used as direction and the other for entry. The should have code that it can be used for( only one PC and an expiration date. ; this the developer should show me how to adjust it, so that I can adjust to my preference). Parameters:number of trades.lotsize, SL pips
I need a robot for forex trading~~The way the robot should work is that when I put it into a 5 minute chart, the chart will show 15 minutes, one hour, Regardless of whether they are buying or selling, they must buy or sell in the same color at the same time~~~ Use the following indicators: HalfTrend 1 & alerts mtf Trafficlight indicator.MQ4 When placed into a 5 minute chart ~ the chart will show 15 minutes, one
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing maximum budget = 150$ Preference is given to someone who: -speaks Arabic so I can explain it clearly to him - And the lowest price
I SIMPLY NEED SOMEONE TO INTEGRATE THESE OPTIMIZATION ALGOS INTO MY EA. THE LIBRARY IS ATTACHED BELOW. NEED THIS DONE FAST. LET ME KNOW IF YOU HAVE OTHER QUESTIONS A list of implemented optimization algorithms: BGA (binary genetic algorithm) ANS (across neighbourhood search) CLA (code lock algorithm) P_O_ES ((P+O) evolution strategies) CTA (Comet Tail Algorithm) SDSm (stochastic diffusion search M) ESG (evolution of
Create a robot like this live on YouTube, it is a simple hedge system that does not have martingale or other risky means of.making money.... please check out the link and if it is possible for you to repeat this then reach out with a sample and price. YouTube: https://www.youtube.com/live/cT_42RWzq_0?si=Z8M5mKkAMGZhxdTL
Hi There I am looking for someone to create me a simple anti martingale EA The EA will open a buy and sell the moment the EA is attached to a chart. Should the price increase - additional buys will open. This will continue until profit point Should the price retrace all trades should close just before breakeven point. New sequence starts immediatly thereafter The sell trade will close if the combined profit of buys

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

Бюджет
10 - 50 USD
VAT (22%): 2.2 - 11 USD
Итого: 12.2 - 61 USD
Исполнителю
9 - 45 USD
Сроки выполнения
от 1 до 7 дн.