MT4 EA Trade Blocker – blocks 2nd Trade from being opened if Button is clicked twice in a row!

MQL4 Indicators Experts Forex

Specification

Hello,


I’m looking to built an EA that blocks the 2nd Trade Request or every subsequent trade request after the first trade is sent.


Here is an illustration for better understanding:


  • I click the Buy or Sell button within MT4 or use another EA to execute the trade. First trade opens as normal.

  • Then I click Buy/Sell button again right after I clicked the first time, the ‘EA Trade Blocker’ should now block the trade from being opened. When I click the Buy/Sell button again, meaning for the 3rd time, it should also block that trade from being opened.


I want to achieve that it is only possible for the first trade to open and every other request to open a trade is being blocked. 


Would be good to integrate the following settings in the EA:


  • Number of Trades being allowed (if I type in 1 then it allows only one trade to be opened, if I type in 2 it allows 2 trades to be opened and blocks all subsequent requests)

  • Time for Trade Block (if I type in 3 hours or 30 mintues then it should block every trade request I perform in the next 3 hours or 30 minutes after the first trade request was sent)


It should also be possible that the 2nd trade request is blocked and will not open a trade even if I click the Buy/Sell button very fast and the first trade is not even open yet (because of broker delay, latency, slow internet connection etc.).


The EA should only need to be installed on one symbol and then work with the settings on all symbols. I only trade Forex pairs anyway.


It should of course also be possible to modify or close the running first trade and the EA should not interfere with this.


Looking forward to your thoughts and ideas. Thank you :)

Responded

1
Developer 1
Rating
(150)
Projects
164
34%
Arbitration
6
50% / 50%
Overdue
2
1%
Working
2
Developer 2
Rating
(9)
Projects
21
5%
Arbitration
1
0% / 0%
Overdue
7
33%
Free
3
Developer 3
Rating
(17)
Projects
17
18%
Arbitration
5
20% / 60%
Overdue
2
12%
Working
4
Developer 4
Rating
(7)
Projects
9
22%
Arbitration
1
0% / 0%
Overdue
2
22%
Working
5
Developer 5
Rating
(584)
Projects
915
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
Similar orders
Seeking an expert in LSTM (Long Short-Term Memory) for MT4 to implement the most cutting-edge and advanced form of LSTM with full feature integration. The ideal candidate will possess extensive experience in leveraging LSTM technology within MT4, ensuring optimal performance and profitability. Join us in revolutionizing trading strategies with state-of-the-art LSTM algorithms tailored for MT4. Add a zig zag to the
Need an expert to create an EA based on my strategy for any broker,fast execution of opening and closing trade,also with a condition for take profit,lot size isn't fixed,it should be easy to change without editing the code for a no programmer
Hello there, I have a functional EA that I need a modification done to. Previous developer is overloaded with work and has been dragging his feet. Basically what I need is a modification to the Auto Lot option. Currently you can set a lot size per x amount of account balance and it will auto trade readjusting the lots based on account balance. What I am looking for is a modification that allows me to specify the
Please note that my budget is for both mt4 and mt5 platforms The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a sell
Hello, I am looking for someone to convert my MQL4 code project to MQL5. A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from using Excel and let
Hey i would like an EA (mt5) the EA will use two indicator which are Moving Average and Parabolic SAR and it should risk 5% of the amount of the account and it should double the account every time it enters a trade and the EA must also increase lots as the account grows
I would need an expert advisor that enters trades base off a indicator on trading view. The indicator is a free indicator on trading view, Which is called TFO Displacement. What needs to happen or the criteria is once the indicator prints a displacement. So once displacement is printed I would love for the EA to immediately open a trade in the direction of the displacement. With a 15 Pips top loss. And a 30 pip take
Welcome I have an Excel file that contains recommendations for buying and selling appears in a specific cell I would like to connect the Excel file to Metatrader 4 to implement these requests directly on metatrader 4 Many outpatient settings settings There is no stop or tP If this appears, the purchase process is indicated that opens one deal and is not closed unless the mark changes to the sale You cannot provide
Eu gostaria que criassem um robo que utilizasse capzack e tunel de vegas com multiplas ordens, seriam 5 ordens no total e o robo precisa interpretar a direçao do capzack
I need an Ea (mt4) with monthly profit 3 -5 % with Drawdown less than 10% if you have any EA with same criteria and with demo version that I can make back testing for it.any one has this EA can send me

Project information

Budget
30+ USD
VAT (19%): 5.7 USD
Total: 35.7 USD
For the developer
27 USD