Create protection function for max trades per bar

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 1 minuto
Comentario del Cliente
fast and simple
Comentario del Ejecutor
Thank you!

Tarea técnica

I am looking for a programmer

who will program me a function for the MetaTrader 4 Expert Advisor. This function should recognize how many trades are set up per candle. If there are more than 3 pieces per bar, the Expert Advisor must stop trading and issue an alarm signal.

The reason for this is that I want to prevent positions from constantly opening and closing due to an error.

After you have programmed the function, I will easily adopt it in my own Expert Advisor.


Regards

Han respondido

1
Desarrollador 1
Evaluación
(87)
Proyectos
134
14%
Arbitraje
41
22% / 29%
Caducado
14
10%
Libre
2
Desarrollador 2
Evaluación
(194)
Proyectos
198
27%
Arbitraje
0
Caducado
3
2%
Libre
3
Desarrollador 3
Evaluación
(19)
Proyectos
35
26%
Arbitraje
10
30% / 70%
Caducado
5
14%
Libre
4
Desarrollador 4
Evaluación
(26)
Proyectos
29
45%
Arbitraje
0
Caducado
1
3%
Libre
5
Desarrollador 5
Evaluación
(12)
Proyectos
14
14%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
6
Desarrollador 6
Evaluación
(139)
Proyectos
181
24%
Arbitraje
23
22% / 39%
Caducado
13
7%
Libre
7
Desarrollador 7
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
8
Desarrollador 8
Evaluación
(42)
Proyectos
62
8%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(34)
Proyectos
60
23%
Arbitraje
11
73% / 9%
Caducado
3
5%
Libre
11
Desarrollador 11
Evaluación
(234)
Proyectos
415
34%
Arbitraje
52
37% / 40%
Caducado
153
37%
Trabajando
12
Desarrollador 12
Evaluación
(325)
Proyectos
384
33%
Arbitraje
2
100% / 0%
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(304)
Proyectos
509
47%
Arbitraje
29
10% / 45%
Caducado
138
27%
Libre
14
Desarrollador 14
Evaluación
(586)
Proyectos
1047
49%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Solicitudes similares
I am looking for someone to Optimize and Backtest my robot on a monthly basis. Each month, I would expect: 4 new SET Files Each SET file would be based on recent history, so the tests would generally look at 3-6 months of data. Can be more or less that's up to you. You will test many settings and combinations of settings to find effective settings for the next month. Can test, different timesframes, different pairs
Hi there, I have an MT5 EA with its source code that I would like to convert to MT4 and enhance with additional features. Currently, the EA functions as a cost-averaging and martingale EA. When I want to trade only buy or only sell, I place the EA on one chart. To trade both buy and sell, I place the EA on two charts. Each leg (buy and sell) operates independently with its own parameters. The EA does not use any
looking for someone to create an EA based on the OHLC of the last x candles, calculate lot size and place limit and stop orders with partial close. some other features
I have one table (Google Sheets) in my Google account. I need the MQL5 EA to be able to read this table and write to it. Please clarify immediately: can MQL5 EA access my table with my Google login and password or do I need to create some kind of service account
I would like a trading robot / Expert Advisor that simply operates on two basic trading view indicators to enter trades. Everything happens on the 1 minute time frame for this robot. Make the settings of both indicators full customization enabled from my end and also the risk percentage must be adjustable from my end but the risk-to-reward ratio must be fixed to 1:1.5. The scalping robot must operate based on two
I require an English speaking programmer to create the following robot: Brief overview: The program primarily operates just after the open of a new candle on the chart it is attached to. On new candle opening, previous candles over a user defined period are checked. If the number of candles closing with a price rise equal or exceed a given number, the market is considered “Overbought” and the program opens a buy or
Ezeana 40+ USD
i would like to have high frequency trading strategy bot that opens and close multiple trades in short calculated period of time . the expert adviser should be able to full run automatically on its own with 99% winning rate
i need a custom indicator in mql5 syntax with arrows to point when to buy or sell at time frames M5 and M15. the bellow settings and criteria look into higher time frames to confirm entries. I need extra string to add symbols: input string symbol2 = "DXY"; input string symbol3 = "US10Y"; i have made a very basic sketch on chatgpt but it needs professional code work. Indicators and Settings Used: Commodity Channel
The goal of this project is to catch positions which are moving in the right direction, while locking / hedging the ones that do not. Positions are only opened when price has been moving according to the predominant trend, and wins are used to buy down existing locked positions as required. Please see the attached files for full explanation of the requirements and anticipated solution
I have two not very sophisticated bots that need to be converted from python to MQL5. The bots are very similar, they use 99% of the same methodology, the only difference being that one is a trend-following bot, and the other is a mean reversion bot. I need the parameters to be at the top of the script so that they can be easily changed and optimised. The entire codebase is already done in python (sl,tp, trailing

Información sobre el proyecto

Presupuesto
30+ USD
IVA (19%): 5.7 USD
Total: 35.7 USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 1 día(s)