Count losses

MQL4 Experts

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
All well. Accurate and fast.
Commentaires de l'employé
Working with Luca is an easy task, he knows what he want and tests very fast.

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
2
Développeur 2
Évaluation
(1127)
Projets
1429
62%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
3
Développeur 3
Évaluation
(61)
Projets
120
34%
Arbitrage
17
18% / 41%
En retard
51
43%
Gratuit
4
Développeur 4
Évaluation
(71)
Projets
156
44%
Arbitrage
22
41% / 14%
En retard
16
10%
Gratuit
5
Développeur 5
Évaluation
(121)
Projets
134
66%
Arbitrage
36
25% / 56%
En retard
22
16%
Gratuit
6
Développeur 6
Évaluation
(2421)
Projets
3041
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Travail
7
Développeur 7
Évaluation
(439)
Projets
545
25%
Arbitrage
21
38% / 38%
En retard
83
15%
Gratuit
8
Développeur 8
Évaluation
(769)
Projets
1033
44%
Arbitrage
50
8% / 50%
En retard
117
11%
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
10 - 50 USD
TVA (22%): 2.2 - 11 USD
Total: 12.2 - 61 USD
Pour le développeur
9 - 45 USD
Délais
de 1 à 7 jour(s)