Tradecap Brake

SIX TRADES A DAY WAS THE PLAN. TRADE NUMBER SEVEN IS CLOSED WITHIN A SECOND.

Tradecap Brake is a max trades per day limiter for MetaTrader 5: a daily trade quota, an open position cap and an overtrading guard for manual trades and other Expert Advisors. Every new entry is counted from the account history; a trade over your quota, or over your limit of open positions, is closed at once. Only trades opened after you attached the brake are ever closed: positions from earlier stay exactly as they are.

Built for traders who know their best work happens in the first few trades of the day and their worst in the revenge trades after them: the seventh entry after two losses, the fourth position stacked on a news spike, the copier that suddenly opens twenty trades. One promise: the day ends at the number you chose. Counting rule: every entry deal in scope (a new position, or an addition on a netting account) is one trade; the count starts again at the reset hour you choose; trades you close yourself still count.

From the Strategy Tester log (EURUSD, 1 June 2026, defaults): the quota of 6 was reached at 12:00; the demo then opened a trade every hour, and trades 7, 8, 9, 10 and 11 were each closed in the same second they opened, with the line "trade 7 of a quota of 6" in the journal.

Works with: manual trades, other Expert Advisors and trade copiers on the same terminal (symbol scope and magic filter decide which trades are counted), hedging and netting accounts, every symbol (forex, gold, indices, crypto), and prop-firm style daily rules. It never opens a trade on your account and never changes a stop loss or take profit.

Try it free first: run Tradecap Brake in the Strategy Tester with visual mode on. There it opens one small demo trade per hour from 07 to 18, so you can watch the QUOTA USED TODAY slots fill, turn amber at the limit and the extra trades being closed.

Who this is NOT for: scalpers who take fifty trades a day by design, grid and martingale users whose EA must add positions freely (exclude it with the magic filter), and traders looking for an entry robot.

A worked example (default settings)

Daily quota 6, open cap 3, day starts 00:00 server time. Trades 1 to 3 open between 07:00 and 09:00. At 10:00 a fourth position opens while the first three are still running: four open of three allowed, so the newest one is closed (CAP CUT). By 12:00 six trades were made today: the panel shows QUOTA FULL and the banner QUOTA USED UP - NEW TRADES CLOSE UNTIL 00:00. At 13:00 a seventh trade opens and is closed at once (BRAKED). At 00:00 the count starts again at 0 of 6.

In short

  • Daily trade quota: how many new trades a day are allowed (0 = no quota).
  • Open position cap: how many positions may be open at the same time (0 = no cap); the newest ones above the cap are closed.
  • Your own day: reset hour in server time, so the day can start with your session.
  • Optional: remove pending orders while the daily quota is used up, so no order can fill behind your back.
  • Only trades opened after the brake was attached are closed; on a netting account only the added volume is cut.
  • Alert-only mode: one alert per trade over the limit, nothing sent.
  • Panel with real trading data: QUOTA USED TODAY slots, open cap, next reset countdown, what was braked today with its profit or loss, and every open position with its number of the day.
  • Not a grid, no martingale, no DLLs, no web requests.
  • Tester numbers (June 2026, EURUSD H1, defaults): 231 demo trades, 105 closed over the quota, 28 cut over the open cap, 0 failed sends, 0 journal errors.

START HERE

Attach it to one chart, for example EURUSD H1. One copy counts every symbol of the account unless you limit it. Set your daily quota, your open cap and the hour your trading day starts. Turn on Algo Trading and watch the position table: IN QUOTA, FROM EARLIER, BRAKING, CAP CUT. To watch first, switch to ALERT ONLY with the panel button.

How one trade is handled

Counting. On every pass the brake reads today's deal history and numbers every entry deal in scope, oldest first.

Over the quota. An open position whose entry is number 7 of a quota of 6 is closed at market with the slippage you allow.

Over the open cap. When more positions are open than allowed, the newest ones above the cap are closed.

From earlier. A position opened before the brake was attached, or before today, is shown and counted for the cap, but never closed: its state reads OVER, BEFORE START or FROM EARLIER.

Market closed. Nothing is sent while the symbol session is closed or the quote is stale; the state shows MARKET SHUT and it is tried again when trading opens.

Safety patterns inside

Before any close it checks that Algo Trading is allowed, that the symbol session is open and that the last quote is no older than 5 minutes. Right before each close the position is selected again and its symbol, magic and position id are compared with the plan, so a different position is never closed by mistake. A refused close is retried with a growing pause up to 2 minutes and a different filling type, with one alert after a set number of failures. Which trades it already handled is kept in GlobalVariables whose keys contain the chart symbol, the magic filter and the magic number, so two copies never share a key and a restart does not close the same trade twice.

Inputs, every one explained

TRADE QUOTA

InpMode = 1. 0 alert only, 1 brake (close trades over the limit).

InpMaxTradesDay = 6. New trades allowed per day; 0 = no daily quota.

InpMaxOpen = 3. Positions allowed open at the same time; 0 = no cap.

InpResetHour = 0. Hour the trading day starts, server time, 0 to 23.

InpDeletePending = false. Remove pending orders in scope while the daily quota is used up.

EXECUTION

InpSlippagePts = 30. Allowed slippage for a brake close, in points.

InpFailAlertAt = 3. One alert after this many failed attempts.

FILTER - WHICH TRADES ARE COUNTED

InpSymbolScope = all symbols or the chart symbol only. InpMagicFilter = any magic, only manual trades (magic 0), or only the magic number InpMagic.

ALERTS

InpAlertPopup = true. InpAlertPush = false (push to the MetaTrader app on your phone).

PANEL

ShowPanel = true. PanelX = 12, PanelY = 15, PanelFontSize = 9, MaxTableRows = 6, MaxHistoryRows = 4. The MOVE button drags the panel; on a short chart it drops its least important rows first.

STRATEGY TESTER DEMO

InpTesterDemo = true. Strategy Tester only: Monday to Friday 07 to 18 one demo trade per hour with a stop 1.5 ATR and a take profit 2 ATR away, at most 5 open, margin checked x 1.5, closed after 1 day, stopped after a 20 percent balance loss. This code never runs on a live or demo chart.

The panel

QUOTA USED TODAY: one slot per allowed trade, teal while trades are left, amber when the quota is full, red slots for trades over it. BRAKE PLAN: daily quota, open positions against the cap, next reset with a countdown, trades braked today with their profit or loss, open profit, pending orders, mode, last action, Algo Trading, failed sends and totals. OPEN POSITIONS, NEWEST FIRST: symbol, side, lots, opening time, number of the day (for example 7/6), profit and state, with a red edge on rows over the limit. ACTION HISTORY lists every close with server time. QUICK CONTROLS: ARMED or PAUSED, the mode button and CHECK NOW. The right side of the chart stays clear.

Common questions

Does it open trades by itself? No. On a live or demo chart it only closes trades over your limits. Demo trades exist only inside the Strategy Tester.

Does a trade I closed myself still count? Yes. Every entry of the day counts, open or closed, so closing and reopening does not reset the quota.

Will it close my trades from yesterday? Never. Only trades opened after the brake was attached can be closed.

What happens after a restart? The count is read again from the account history and handled trades are remembered in GlobalVariables, so nothing is counted twice.

What it cannot do

It cannot stop the broker from filling an order: the extra trade is opened and then closed, so you pay its spread and commission. For no fill at all, also turn on InpDeletePending and keep your own discipline on market orders. It only works while it runs: keep the terminal on, for example on a VPS.

What was and was not tested

Tested in the Strategy Tester on a hedging account, 1 to 30 June 2026, 1-minute OHLC, H1, deposit 10000, leverage 100, with no journal error and no failed send. EURUSD defaults: 231 demo trades, 105 closed over the quota of 6, 28 cut over the open cap of 3. XAUUSD alert only with a quota of 4 and no cap: 185 demo trades, 101 alerts, nothing sent. On a demo chart the panel ran in alert-only mode beside 4 EURUSD positions from earlier on a closed market and left them untouched.

Not tested at the time of writing: real closes on a live or demo broker, a netting account, retries after a broker refusal, pending order removal, chart symbol scope, magic filters, pop-up and push alerts and a terminal restart. These paths exist in the code and are described by design. Please try them on a demo account with your own broker first.

Try it in the Strategy Tester

Choose Tradecap Brake, EURUSD or XAUUSD, H1, any recent month, visual mode, and press Start. Watch the quota slots fill and the seventh trade of the day close.

If the brake stopped a day from running away, or you think it should count a case differently, an honest review on the product page helps other traders decide and tells me what to improve next.

作者的更多信息
Simple SMA Cross EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Try it in the Strategy Tester before anything else: load Simple SMA Cross EA on EURUSD H1, switch on visual mode and watch the panel follow the two moving averages, mark every cross with an arrow and open one trade with its stop-loss and take-profit already attached. TWO MOVING AVERAGES, ONE CLEAR RULE, ONE TRADE AT A TIME. Simple SMA Cross EA is an Expert Advisor for MetaTrader 5 built on the oldest and most widely understood idea in technical trading: when a fast simple moving average crosses
Hope EA MT5
AL MOOSAWI ABDULLAH JAFFER BAQER
Test it free first: load Hope EA in the MetaTrader 5 Strategy Tester, turn on visual mode, and watch how little it does while it waits and what it does when price turns against it. PATIENT ENTRIES. A LADDER WITH LIMITS. A BOOK THAT REMEMBERS. Hope EA is a two-sided grid for traders who prefer a quiet robot to a busy one. It enters only after a slow momentum reading turns back from an extreme, adds levels only when price has really moved, and pays down its oldest order with the profit of its newe
Happy and Steady
AL MOOSAWI ABDULLAH JAFFER BAQER
Happiness in Forex Means Winning! What if we made your winnings "Steady Winnings!" This will make you happier! (Forex is risky, you may loose all your capital) We implemented a safe and reliable strategy, that proved itself since 2010 until today! It passed COVID 19 fluctuations without any issues! The idea behind the expert to to be a super scalping expert, attacking few pips at a time. This happens while using big lot size, thus insuring handsome profit. Expert entries are very selective, w
Safe and Steady Profits Pro
AL MOOSAWI ABDULLAH JAFFER BAQER
Safety in Forex trading is the main concern of the traders! There is no use to trade today, and loose everything tomorrow! (Trading is risky, and there are no guarantees for winning)   Here comes the power of our expert! The idea behind it is safety to the investors fund, then comes the profit. Thus this expert wont be the expert that will double your account by xx fold. It will be the expert you can rely on for steady, hassle free profits. To do so, the targets pips are minimal to insure
Penny Collector EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Some users are very comfortable keeping their trades for ages, while other users are happy to get the least and leave :) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning)   Check our other products which will be added to the market soon.
Penny Collector Pro
AL MOOSAWI ABDULLAH JAFFER BAQER
5 (1)
Some users are very comfort 2 able keeping their trades for ages, while other users are happy to get the least and leave :) If you cannot wait on your trades, then this expert will be the best for you! The expert tries to enter trades on a high probability of success, and in most cases it do catch the right wave. If not , don't worry because the expert will deal with the situation by itself and will take the trades to profits! (Trading is risky, and there are no guarantees for winning) You
Drag Race Scalper
AL MOOSAWI ABDULLAH JAFFER BAQER
Scalping! What a thrill! Forex trading had been a source of income and thrill at the same time! (Forex is risky, you may loose all your capital) With our new Expert Advisor "Drag Race Scalper" , you will earn both. (Forex is risky, you may loose all your capital) We tried to use a safe, profitable, and fast formula and this is what we ended by! A drag racing scalper! (Forex is risky, you may loose all your capital) In this scalper you would expect few points per trade only. This expert is fo
Against The Surf EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Trading Forex has a million way! One of the innovative ways is to go against the surf! Here we fight the market and work out to get our bread and butter from it :) (Trading is risky, and you may loose!) From here began the idea! Fighting the market. The Expert uses a combination of : Hedging, Grid and trend strategies to operate. This operation allows it to arrive safely even if it worked against the surf! (Trading is risky, and you may loose!) Please find the 99.9% tick data back test res
Cent Collector
AL MOOSAWI ABDULLAH JAFFER BAQER
Cent Collector is the second Expert advisor of the "Collector" Series :) The first was Penny collector :  https://www.mql5.com/en/market/product/61215?source=Site +Profile+Seller And here is the second EA : Cent Collector Those Experts are designed for Scalpers who cannot wait for ages.. As soon as the Expert realizes the profit it cash out and leave. If things went wrong, the Expert will work on managing itself by averaging and will cash out as soon as it could. This version is called Cent
Yen Collector
AL MOOSAWI ABDULLAH JAFFER BAQER
Yen Collector is the Third Expert advisor of the "Collector" Series :) The first was Penny collector :  https://www.mql5.com/en/market/product/61215?source=Site +Profile+Seller The second one was Cent collector:  https://www.mql5.com/en/market/product/65344?source=Site +Profile+Seller And here is the third EA : Yen Collector Those Experts are designed for Scalpers who cannot wait for ages.. As soon as the Expert realizes the profit it cash out and leave. If things went wrong, the Expert will w
Super Hedge Fighter EA
AL MOOSAWI ABDULLAH JAFFER BAQER
5 (1)
**非常重要:请调整“订单间距”设置。将其减少至最佳结果的范围,从2到10。** 在外汇和波动性市场中交易可能非常复杂和风险重重。几乎没有任何策略能在100%时间内都有效! 使用我们新的专家顾问“Super Hedge Fighter EA”,你将从新的角度看待市场! 你将不再害怕波动性,因为它将成为你的收入来源。 “Super Hedge Fighter EA”是专为不稳定时期设计的,可以完美应对市场的剧烈波动。 它也可以通过稍微调整设置来适应稳定市场。 虽然外汇交易始终存在风险,但你现在可以以专业的方式应对这些风险! 该EA采用纯趋势跟踪策略,按照当前市场的方式运行。 你还可以选择使用马丁格尔策略,这将加速交易退出。如果你的账户资金充足,这将非常有利。 EA最重要的特点是使用对冲!如果市场方向发生变化,EA将会相应地打开新的订单。每个新订单将与旧订单形成完美对冲!这样,如果你选择了合适的经纪商,可能会将保证金要求降到0%。因此,你将告别保证金追加,因为市场的任何变化都会减少你的保证金需求。 **注意:**是的,回撤可能会增加,所以不要只关注保证金水平而忽视这一
Market Master EA
AL MOOSAWI ABDULLAH JAFFER BAQER
2.5 (2)
非常重要:请调整“订单间距”... 调小它以获得良好的结果。调高它会让EA变得更安全。 外汇交易有无数种方式! 其中一种创新的方式是逆流而上! 在这里,我们与市场斗争,努力从中赚取我们的生计 :) (交易有风险,可能会亏损!) 从这里开始了这个想法!与市场作斗争。 该专家顾问使用了:对冲、网格和趋势策略的组合。 这种操作方式使得它即使逆流而上也能安全到达! (交易有风险,可能会亏损!) 请在附件中找到99.9% tick数据回测结果。 警告: 1- 该EA是逆势操作的! 2- 不要在小账户上使用该策略。 3- 根据货币的波动性调整订单间距。默认设置适用于波动性适中的货币。 账户类型:对冲 杠杆:杠杆越高越好 时间框架:不依赖于任何时间框架。 最后的话:永远不要让市场拿走你辛苦赚来的钱!交易有风险,负责任地交易。 祝你交易成功。 你可以在这里找到我们的其他产品: https://www.mql5.com/en/users/1218858/seller#products 如何专业使用EA? 1- 你可以通过缩小每个订单之间的距离来使用它作为剥头皮技术。 这样会给你带来可观的利润,但也有被市
Magnet Scalper Pro
AL MOOSAWI ABDULLAH JAFFER BAQER
In this EA you will have two sources of income: 1- Direct trades 2- Rebates from your broker. Thus insure to register under an IB that shares with you their revenues Scalping! What a thrill! Forex trading had been a source of income and thrill at the same time! (Forex is risky, you may loose all your capital) With our new Expert Advisor "Magnet Scalper Pro" , you will earn both. (Forex is risky, you may loose all your capital) We tried to use a safe, profitable, and fast formula and this i
Speedy EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Trading using Experts are the best ways to win in Forex! Here are our second Expert Advisor, where you can Set and forget! Time frame: M1 All currency Pairs will work perfectly on the EA Account type: All (If hedging is not allowed, please disable either Sell or Buy) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning)   Check our other pro
Diamond EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Minimum deposit is 1000$ , or 1000 Cent = 10$. (Recommended 1500$) Every 1000$ = 0.01 Lot. Please stick to the rules, as we want you to win, win and win! (Trading is risky, and there are no guarantees for winning)                                         Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell
Impala EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Minimum deposit is 1000$ , or 1000 Cent = 10$. (Recommended 1500$) Every 1000$ = 0.01 Lot. Please stick to the rules, as we want you to win, win and win! (Trading is risky, and there are no guarantees for winning)                                         Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell f
EX Pro EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Fox EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning)
Good Mood Trading EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Hope EA MT4
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Moderate EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
More Pro EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Nu Pro EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Shooting Star EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Tiger EA MT4
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
Treasure EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Time frame: M1                                                 Leverage : Higher the better Spread: Lower the better Account type : All types (EA may enter hedge positions, if you want to disable this feature deactivate either Buy, or Sell from the setting) Please please do not take unnecessary risks. (Trading is risky, and there are no guarantees for winning)   We wish you successful trading. (Trading is risky, and there are no guarantees for winning
LevelGuard Smart SMA EA
AL MOOSAWI ABDULLAH JAFFER BAQER
LevelGuard SmartSMA Master Support & Resistance Trading with Precision LevelGuard SmartSMA leverages the power of moving averages to help you trade confidently across markets. Designed to identify dynamic support and resistance levels, this EA delivers precise trade entries and exits, empowering traders to capitalize on market movements with ease. How It Works Core Strategy: Uses a central SMA (e.g., 50 or 200-period) as a dynamic support or resistance line. Additional SMAs (optional) provide s
Basic SMA Price Cross EA
AL MOOSAWI ABDULLAH JAFFER BAQER
Explore Our Full EA Collection Visit our website for an extensive range of expertly crafted Expert Advisors designed to empower traders of all levels. Whether you're new to trading or a seasoned professional, our tools are tailored to meet your needs. Affordable Trading for Everyone We believe in making trading accessible to everyone. That’s why all our Expert Advisors are priced at just $65 each, helping our community achieve success without breaking the bank. Unlock the Power of Automation Th
Lion’s Roar - Trend Strength Indicator Are you ready to take control of your trading journey? The Lion’s Roar - Trend Strength Indicator is here to help you identify and harness powerful market trends with precision and confidence. Designed with traders in mind, this advanced tool is built on a robust strategy that combines trend direction with momentum validation using the Average True Range (ATR). This indicator is not pre-optimized, giving YOU the freedom to tailor it to your unique trading
Visual Titan Force Indicator MT4
AL MOOSAWI ABDULLAH JAFFER BAQER
Unleash Market Volatility with the Titan Force Indicator! Are you ready to dominate the market by capitalizing on volatility? The Titan Force Indicator is your ultimate trading tool, designed for traders who thrive during periods of heightened market activity. Not Optimized for You – Yet! This indicator is a canvas for your creativity. It's been crafted to let you optimize it according to your unique trading strategies and preferences. Your skills, your edge! How Does the Titan Force Indicator
筛选:
无评论
回复评论