Timeframe Trading Limiter
- Утилиты
- AL MOOSAWI ABDULLAH JAFFER BAQER
- Версия: 8.13
- Активации: 5
Timeframe Trading Limiter is a professional risk management and trade discipline utility designed for MetaTrader 5. It empowers traders to enforce strict, automated limits on the number of trades and the maximum allowable drawdown within each trading period, based directly on the chart timeframe selected. Whether you are a discretionary trader prone to overtrading, a prop firm challenge participant needing to adhere to strict rules, or an algorithmic trader running multiple strategies, this tool provides an unbreakable safety net that operates independently of your trading method.
The core functionality revolves around timeframe‑based period limits. Instead of a simple daily reset, Timeframe Trading Limiter synchronizes its counting and drawdown tracking with the current chart candle. When you set the chart to M1, the limits apply and reset every minute. On H1, the period is one hour. On D1, it is one day. This dynamic adaptation ensures that your risk parameters scale perfectly with your trading style and analysis timeframe. The active timeframe and the exact time remaining until the next reset are clearly displayed on an integrated, customizable panel, giving you constant situational awareness.
A unique and essential feature is the intelligent timeframe change handling. If you switch chart timeframes for analysis purposes while the limiter is active, the utility does not automatically reset your limits. Instead, it presents a two‑step confirmation dialog explaining that the current limits will remain in effect until the current candle closes, after which the limiter will seamlessly transition to the new timeframe. This prevents accidental resetting of your trade count mid‑session and maintains the integrity of your discipline, allowing you to freely analyze higher or lower timeframes without penalty.
The trade limit enforcement is absolute. Once the maximum number of trades for the current period is reached, the Buy and Sell buttons on the panel are locked, and any attempt to open a new position manually or via another expert advisor is immediately blocked and, if necessary, the offending trade is closed. The system distinguishes between EA‑opened positions (via Magic Number) and manual trades, ensuring comprehensive control. A configurable "Full Reset at New Candle" option provides additional flexibility. When enabled, the trade count and drawdown baseline reset completely at the start of each new candle, ideal for strict session‑based trading. When disabled, the limits accumulate across multiple candles, allowing for a cumulative limit over several periods without resetting.
Drawdown protection is equally robust and offers two distinct actions upon reaching the user‑defined threshold. In "Close All Positions" mode, all open trades are immediately liquidated and trading is permanently locked until the next period reset or a manual override. In "Block New Trades Only" mode, existing positions are left untouched, but any new entry is prevented. This is particularly useful for strategies where you wish to manage open positions while preventing further exposure. The drawdown is calculated continuously, and a warning is issued when the account approaches the limit, giving you time to intervene.
Integrated money management further enhances the utility. The panel allows you to set a risk percentage and a stop loss distance in points, then calculates the precise lot size required to risk only that percentage of your equity or balance. A safety check ensures the calculated lot size does not exceed a user‑defined maximum risk percentage. The panel also provides real‑time spread information, point value calculation, and quick lot size adjustment buttons, making it a complete trade execution cockpit.
Beyond these core functions, Timeframe Trading Limiter includes a Max Lot Size enforcer that instantly closes any position opened with a volume exceeding your specified maximum, protecting against accidental oversized entries. The entire state is persisted using Global Variables, so that changing chart templates, switching timeframes, or even restarting the terminal does not cause loss of your current daily or period statistics. A manual reset button with a triple confirmation dialog allows you to reset all counters and unlock trading at any time, while preventing accidental resets.
In summary, Timeframe Trading Limiter is not merely a restriction tool; it is a professional discipline enforcer that adapts to your trading environment. It eliminates the emotional and mechanical errors of overtrading and excessive drawdown, allowing you to focus entirely on your analysis and execution, secure in the knowledge that your risk boundaries will be upheld automatically and relentlessly. For prop firm traders, it ensures compliance with maximum daily loss and trade count rules. For retail traders, it builds the consistent habits necessary for long‑term profitability. For developers, it provides a reliable safety layer for automated strategies. Timeframe Trading Limiter is the silent guardian of your trading account.
