Count losses

MQL4 Experts

Trabalho concluído

Tempo de execução 1 dia
Comentário do cliente
All well. Accurate and fast.
Comentário do desenvolvedor
Working with Luca is an easy task, he knows what he want and tests very fast.

Termos de Referência

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


Respondido

1
Desenvolvedor 1
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
2
Desenvolvedor 2
Classificação
(1123)
Projetos
1425
62%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
3
Desenvolvedor 3
Classificação
(61)
Projetos
120
34%
Arbitragem
17
18% / 41%
Expirado
51
43%
Livre
4
Desenvolvedor 4
Classificação
(71)
Projetos
156
44%
Arbitragem
22
41% / 14%
Expirado
16
10%
Livre
5
Desenvolvedor 5
Classificação
(121)
Projetos
134
66%
Arbitragem
36
25% / 56%
Expirado
22
16%
Livre
6
Desenvolvedor 6
Classificação
(2410)
Projetos
3027
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Livre
7
Desenvolvedor 7
Classificação
(439)
Projetos
545
25%
Arbitragem
21
38% / 38%
Expirado
83
15%
Livre
8
Desenvolvedor 8
Classificação
(769)
Projetos
1033
44%
Arbitragem
50
8% / 50%
Expirado
117
11%
Livre
Pedidos semelhantes
I want a skillful and experience deverloper to apply for this job. The strategy for the EA is Two Exponential Moving Average CROSSOVER strategy. The EA should work on any Timeframe. I want the EA to trade the direction of the CROSSOVER, the EA should open a BUY or SELL trades automatic when the Two Exponential Moving Average crossover. *(10EMA) ABOVE (23EMA) = BUY Trades *(10EMA) BELOW (23EMA) = SELL Trades BUY
MACD EA 50+ USD
Hello Freelancers, I am seeking an experienced developer to create an Expert Advisor (EA) for MetaTrader 5 (MT5). The EA will be based on the MACD indicator and should adhere to the following specifications: EA Requirements: Trading Logic: 1. Long Trades: • Entry: Open a long trade when the MACD line crosses above the signal line below the zero level. • Exit: Close the long trade when the signal line crosses above
EA Configuration. FIBO ------------------------------------------------------------------- Magic: 123456 Stop: Real or Virtual Order: Pending / CLOSE / price== LOT Description: 0.01 ------------------------------------------------------------------- STOP: -0.25 ------------------------------------------------------------------- ENT_1: 1.00 Lot_1: 0.01 ENT_2: 0.50 Lot_2: 0.01 ENT_3: 1.00 Lot_3: 0.01
Hi I'm looking for a professional programmer to modify my EA the EA send signal alert to telegram and screen shot of the chart patterns my EA is dased to the harmonic pattern but I want to see on the screen shot the pattern of the harmonic pattern and on the chat as well
Hello I need create simple trend first candle session EA. Ea wait for first M5/M15/M30/H1 (all possible timeframes to choose) candle at asian, european and NYC session and open buy/sell stop order above (in long situation) or below (in short situation) x points from highest/lowest point of the first candle. + trailing stop loss stop loss take profit breakeven magic key
Hello Guys ! Looking for a developer to create a EA for my Buy and Sell No repaint indicator. I only have the EX4 indicator file and I want the EA to take trades according to the Buy and sells signals generated by the Indicator. Here are some inputs I want for the EA: - Trailing stop - TP and SL ( in pips ) - Entries, TP and SL ( based on opposite signals arrow ) - Daily target ( in Dollars $ or % ) - Trading hours -
I need a robot that copies the orders sent in the telegram group to MT4 or MT5 so that I can configure the parameters. I would like it to have functions so I can enter and exit negotiations according to my configuration parameters
i need to delegate this job. XAUUSD H4 MT4 i have an ea with source code with smc, fvg, orderblocks and fibonacci, i need to fix somethings and add some features for live markets, any new ideas are accepted, i need also a 4 years backtest report (of metatrader 4). if you have good price and feedbacks and you want work for me also for new jobs apply for this job it's not urgent i need only a good price
Hello, I hope you are well. I have an alert/s that I would like to provide buy and sell orders. The alerts are named *ENTRY* and *EXIT*, so the EA will know what to do. I would like the EA to have the following parameters: 1. Select the number of trades per currency pair 2. Time to trade: Time to start trading to time to end trading - I would like 4 different times to be able to be entered 3. Option to choose which
Order Manager 30 - 60 USD
I am looking for a programmer to develop an Expert Advisor (EA) for order management, which will be used alongside simpler EAs. This EA should include advanced functionalities for efficient and personalized management. **Key Features:** 1. **Comprehensive Information Panel:** - **Order Visualization:** Display all open orders by currency pair, including short and long positions. - **Font Resizing Option:** Allow

Informações sobre o projeto

Orçamento
10 - 50 USD
IVA (22%): 2.2 - 11 USD
Total: 12.2 - 61 USD
Desenvolvedor
9 - 45 USD
Prazo
de 1 para 7 dias