Need Mt5 EA code to control One Trade Per Bar

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 28 minutos
Comentario del Cliente
Super job on time! 5 Star is simply not enough for this professional developer!

Tarea técnica

Hi,

My EA opens trade on new bar whenever certain conditions are met. the problem is that, if i close the trade on current candle then it will immediately open new trade because condition is still valid. and therefore I need a MT5 Code to control my EA to open trades only once on each bar whenever my trading conditions are met.


The EA code should strictly allow to execute my open trade function to operate only for once on each bar regardless of any timeframe.

For Example: My EA opened new trade on a very new bar of 15 minutes timeframe....... after 5 minutes I closed that trade....... Now what I need is your Code should not allow my EA to open another trade on this bar.


The whole requirement is to let EA to execute trade operation only for once in a bar. once it is executed for once it should not execute again on this bar even if there is no open trades.


Code should be simple and short, neat and clean.


Thanks



Han respondido

1
Desarrollador 1
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
2
Desarrollador 2
Evaluación
(570)
Proyectos
784
47%
Arbitraje
23
39% / 13%
Caducado
63
8%
Trabajando
3
Desarrollador 3
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
4
Desarrollador 4
Evaluación
(173)
Proyectos
201
49%
Arbitraje
18
11% / 44%
Caducado
1
0%
Libre
5
Desarrollador 5
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
Solicitudes similares
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Hello, I have a strategy and I need a very good programmer who will create me an exprt or make me an indicator that will open positions for buy/sell limit (see picture below). The indicator/Expert will have to open positions (buy/sell limit) regarding the strategy and indicators (I will explain it more in collaboration). Below I will give pictures of what I mean. I will send a link to the telegram group where it
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards
MT4 Expert Advisor 30 - 120 USD
EA sittings The EA utilises the concept of grid and hedging by creating a zone for recovering losing trades It is a continues trading EA without any stop loss. The EA initially aims to trade continually without the need to hedge. The EA enter the first trade following the direction of the moving average (when price is above or below the moving average), and only hedge when, the trade goes against the trend and reach
Would I honestly need is someone who can make a profitable EA for me that can at least make me around $80 a day starting with $50 and the EA must be able to work with exness the EA should automat trades 24/7. Broker = Exness Pairs = USD/JPY XAU/USD and etc Chart time frames = M1 M15 History = last month till last 6 months. Lot size 0.10 take profit at $2 stop
Hello i am seeking a skilled MetaTrader 5 (MQL5) developer to modify an existing Telegram signal copier. The goal is to enhance the copier's functionality, reliability, and user experience. kindly bid this job to get started immediately
Hello, I’m looking for assistance with creating or customizing a TradingView indicator to suit my trading needs. If you have experience in this area, please reach out. Your help would be greatly appreciated. Thanks
# MT4 Expert Advisor Development Rules ## Time Period Definition 1. Allow user to define a specific time period (e.g., 10:00 to 15:00). 2. Identify and store the high and low prices within this period. ## Price Breakout Detection 3. Monitor current price for breakouts above the period high or below the period low. ## Signal Confirmation (signals will be taken on m5 timeframe) 4. After a breakout, wait for a signal
HI Recently purchased VPS, But now i am getting Following message "failed to get list of virtual hosts [404]", I need one help to fix this isues and make sure my EA working on VPS, when my computer off Thank you

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 1 día(s)