Daily Guard MT4

Account risk guard: daily loss limit, profit target and profit lock, maximum drawdown, trading hours, automatic stop loss and risk per trade, for manual trading and any Expert Advisor.

## Description

Daily Guard enforces the daily and overall loss limits, profit target and trading-hours rules you define, for manual trading and any Expert Advisor on the account.

Attach it to one chart. It watches every order on the account and acts when a rule is breached: it closes orders, deletes pending orders and closes any new trade while the rule is locked, depending on the action you choose for that rule. It does not open trades and does not give trading signals.

Algo Trading (AutoTrading) must be enabled in the terminal. Without it Daily Guard can only alert, and the panel shows a warning.

Account rules

- Daily loss limit in money or percent, with an optional safety buffer and a warning level.
- Daily profit target.
- Daily profit lock: once today's profit reaches a trigger, a floor is set. The floor is fixed (for example lock at +1 % after +2 %) or a share of the day's highest profit, so it rises with a good day. If the profit falls back to the floor, the account is locked until the next day.
- Maximum drawdown: static from the initial balance, or trailing on peak equity or peak balance, with an optional level where trailing stops.
- Trading window, trading days, no new trades after a set time, and closing at the end of the window.
- Friday close with a block until the next trading day.
- Pause after a number of losing trades in a row. Partial closes count as one trade.
- Spread filter per symbol.

Per-trade rules

- An order without a stop loss gets one automatically, at a fixed distance in points or a multiple of the ATR, or it is closed. You choose how many seconds to wait after the open, so you or your EA can set the stop loss first.
- Maximum risk per order: when the loss to the stop loss is above the percentage you set, the order is reduced by a partial close or closed.
- Optional break-even manager.
- Stop and freeze levels, the lot step and the minimum lot are respected.

Enforcement

Each account rule can alert only, block new trades while keeping existing orders, or close everything and block new trades. Locks survive terminal restarts and input changes. Daily locks end at the day reset you choose, in server time or in a custom time zone with EU or US daylight saving time. The drawdown lock stays until you clear it yourself. A global setting can limit every rule to alerts, which is useful for a trial run.

Filters by magic number and symbol let you protect the whole account or only selected trades. Presets in a prop-firm style help you start; please check them against your firm's current rules.

Panel and alerts

A compact panel on the chart with sections you switch on and off:

- Today: the result in money and percent, the day high, closed trades won and lost.
- Limits: progress bars for the daily loss, the target, the profit lock and the maximum drawdown.
- Open risk: positions, lots and floating result, the day's result if every stop loss is hit compared with the daily limit, positions without a stop loss, the largest single risk.
- Rules: loss streak, trading hours, spread and the time to the day reset.
- Last actions: what Daily Guard did and when.

Alerts can be sent as popup, push notification, email or sound. A daily CSV log records every action.

Notes for MetaTrader 4

- MetaTrader 4 has no trade events. Daily Guard checks the order list several times per second (250 ms by default), so a new trade opened while locked is closed within about half a second plus the execution time.
- MetaTrader 4 has no server clock without quotes. Daily Guard estimates the server time from the last quote and the computer clock.
- Set the Account History tab to "Today" or longer, best "All History", so that today's closed trades count.
- Closing the charts of other Expert Advisors is not available in MetaTrader 4.

Important limitations

- MetaTrader does not allow one program to stop another from sending orders. Daily Guard reacts after an order is opened, so a blocked trade exists for a short time and costs spread and commission.
- The automatic stop loss and the risk check act a few seconds after an order appears, not at the moment of the order.
- Trades from other terminals or the mobile app are handled when this terminal sees them.
- There is no protection while the terminal is off or disconnected. A VPS is recommended.
- Gaps and slippage can make the realised loss larger than the limit.

Strategy Tester

In the tester Daily Guard opens small sample trades so you can see the rules working (input "Open sample trades in the tester", on by default). On a live or demo chart it never opens trades.

Support is available through MQL5 comments and private messages.

Altri dall’autore
Shows on the price chart the price at which RSI would reach 70, 50 and 30 on the next bar: RSI levels as lines on the candles. Description: Reverse Engineered RSI turns RSI levels into prices. Instead of an oscillator in a separate window, it draws three lines on the price chart: the close at which the RSI of the next bar would be exactly 70, exactly 50 and exactly 30. How it works: The RSI is calculated from the average up moves and the average down moves of the last bars. Reverse Engineered
Short description Planetary cycle composite from the real positions of the Moon, Sun and planets, projected into the future with its next peaks and troughs. Description Astro Composite turns the positions of the Moon, the Sun and the planets into one cycle line in a separate window. The positions are calculated in the indicator itself from orbital elements, so the line follows the real sky: the Moon line peaks at the real new Moon, Mercury at its real conjunction with the Sun, and so on. Beca
Trend Stop   Introduction Trend Stop is a simple yet powerful trend-following and stop-placement tool for MetaTrader 4. It calculates the highest high or lowest low of the last N periods and plots a dynamic line that reacts instantly to trend changes. The result is a clean, reliable trend filter and a practical guide for placing optimal stop levels — without unnecessary noise or lag. Whether you’re a trend trader, swing trader, or scalper, Trend Stop helps you stay on the right side of the marke
Fractal Pivot Lines — Indicator Overview  Fractal Pivot Lines is a custom trend-structure indicator for MetaTrader 4 . It automatically connects key fractal highs and lows with dynamic lines so you can see how price is respecting local structure, building channels, and preparing for potential reversals. Instead of staring at dozens of candles and guessing where the real pivots are, the indicator turns fractals into clear support/resistance paths and trend channels . What the Indicator Does C
Shows on the price chart the price at which RSI would reach 70, 50 and 30 on the next bar: RSI levels as lines on the candles. Description: Reverse Engineered RSI turns RSI levels into prices. Instead of an oscillator in a separate window, it draws three lines on the price chart: the close at which the RSI of the next bar would be exactly 70, exactly 50 and exactly 30. How it works: The RSI is calculated from the average up moves and the average down moves of the last bars. Reverse Engineered
Reversing MACD — Indicator Overview Reversing MACD is a forward-looking analytical tool that calculates the exact price the next bar would need to reach for the MACD line and the signal line to cross on the upcoming candle . Instead of waiting for a crossover to occur after the fact, the indicator answers a more powerful question: “At what price will the MACD cross on the very next bar ?” Core Idea Behind the Indicator Traditional MACD reacts to price changes after they occur . A trader only see
Projected Moving Average  A clean and practical moving-average tool designed for traders who want a clearer view of short-term and medium-term trend direction. The Projected Moving Average shifts a standard SMA forward by half of its period, creating a smooth projection zone that updates dynamically with each new candle. This makes it easier to visually anticipate where the moving average is heading without repainting past values. Key Features Forward-shifted SMA (Length/2) for clearer trend pro
Weinstein Stage Analysis (MTF) – Professional Market Structure Indicator This indicator implements   Stan Weinstein’s Stage Analysis   in a clean, modern, and fully   MTF-correct   way for MetaTrader 5. It automatically identifies the four classical market stages: Stage 1 – Base / Accumulation Stage 2 – Advancing Trend Stage 3 – Distribution Stage 4 – Declining Trend Unlike many simplified versions, this indicator: Calculates the trend   on a higher timeframe moving average Projects the correct
Bollinger Trend Lines – MT4 & MT5 Bollinger Trend Lines   is a professional volatility-based trend indicator designed to clearly identify trend direction and dynamic stop levels using Bollinger Bands. Fuses on one core principle: follow the trend, ignore noise, and let volatility define the stop. How it works The indicator builds   trailing trend lines   using Bollinger Bands: In an   uptrend , the   lower band trails price and can only rise In a   downtrend , the   upper band trails pri
Position Sizing Indicator is a chart calculator for MetaTrader 5. It tells you how many lots to trade so that a stop loss costs exactly the amount you want to risk, and it shows the reward to risk ratio of the setup. It does not open, modify or close trades. How it works - Three lines appear on the chart: Entry, Stop and Target. Press and drag any of them with the mouse, no double-click needed. - Dragging Entry moves the whole setup. Dragging Stop changes the stop distance. Dragging Target cha
Draw Gann Fans, Gann Boxes and Gann Grids with one mouse drag, and adjust them with two handles. Gann Toolbox is a mouse-driven drawing tool for MetaTrader. A small panel on the chart lets you pick a Gann Fan, a Gann Box or a Gann Grid, then you press on the chart, drag to the second point and release. It does not open, modify or close trades. Tools - Gann Fan: the standard fan from the first point, scaled so that the 1x1 line runs through the second point. - Gann Box: a box between the two po
Fractals of any size, set with a mouse slider: fractal trend, support and resistance cloud, trend-coloured candles and alerts. The classic fractal needs two bars on each side. Advanced Fractal lets you choose the size: with 2 bars per side you get the usual 5-bar fractals, with 5 or 10 bars per side only the swing points that matter on your timeframe remain. How it works - An up fractal is a bar whose high is not exceeded by the N bars before it and the N bars after it; a down fractal is the s
Fractals of any size, set with a mouse slider: fractal trend, support and resistance cloud, trend-coloured candles and alerts. The classic fractal needs two bars on each side. Advanced Fractal lets you choose the size: with 2 bars per side you get the usual 5-bar fractals, with 5 or 10 bars per side only the swing points that matter on your timeframe remain. How it works - An up fractal is a bar whose high is not exceeded by the N bars before it and the N bars after it; a down fractal is the s
Where should the pair be, judged by its two currencies in all their other pairs? A fair value line and a cloud built from every cross. Cross Pair Fair Value looks past the chart you are watching. A currency pair is the meeting point of two currencies, and both of them also trade against every other major currency. This indicator asks each of those other pairs where the two currencies stand, and turns the answers into a fair value for your chart. How it works (example: EURUSD) - For every other
Bill Williams zones, Alligator and fractal breaks on one chart: clear BUY / SELL / WAIT labels with entry and stop, final at bar close. BW Zone Signals puts the Bill Williams Profitunity tools together and reads them for you. Instead of five separate indicators, you see one chart with coloured zone candles, the Alligator, the fractals and a label on every bar where a fractal is broken, with the reason, the entry level and the stop. What it shows - Zone candles: green when AO and AC both rise,
One panel, 28 pairs, 6 timeframes, 12 indicators: a colour-coded heat map of trend and momentum states. Click a cell to open that chart. Description Multi Indicator Heat Map shows how one indicator reads across many symbols and timeframes at the same time. Each row is a symbol, each column a timeframe, and every cell is coloured on a five-step scale: strong up, weak up, neutral, weak down, strong down. A sum column adds the timeframes together for each symbol. You choose the indicator on the pan
TPO or volume profile per day, week or session: histogram, letter blocks or letters, with POC, value area, naked POCs and on-chart buttons. Description Market Profile Studio shows where the market spent its time, or where it traded its volume, inside each session. Every session gets its own profile next to the candles, with the point of control (POC), the value area and its high and low (VAH / VAL). The main settings are on a small button bar on the chart, so you can change the view with one
Short description Swing highs and lows (HH, HL, LH, LL), BOS and CHoCH on two structure sizes, trend state, order blocks and premium / discount zones. Description Market Structure marks the swing points of the chart and shows when the structure breaks. It labels every confirmed swing high and low, draws a line when price closes beyond the last swing, and tells you whether the break continues the trend (break of structure, BOS) or turns it (change of character, CHoCH). It does this on two siz
Short description Turtle trading system: 20/10 and 55/20 Donchian breakouts, N = ATR(20), 2N stop, skip rule, pyramiding and unit size from your account risk. Description Turtle Breakout System shows the classic Turtle trading rules on your chart and keeps track of them for you: the breakout levels for the next entry, the open position with its stop and exit level, the size of one unit for your account, and how the rules have done on this chart so far. The rules follow the Turtle trading ru
Short description Polymarket prediction-market odds on the chart: the price range the market prices in for crypto, gold, S&P 500 and oil, and the next Fed decision. Description Polymarket Odds Overlay reads the public prices of the Polymarket prediction markets and draws them on your chart. A prediction-market price is a probability: when "Bitcoin above 62,000 on Friday" trades at 0.30, the market gives it 30 %. The utility collects these prices for the symbol on the chart and turns them int
Harmonic patterns that keep their record: every pattern stays on the chart with its result, with statistics per pattern, BUY / SELL zones and a scanner. Description Most harmonic pattern indicators show you a chart full of perfect patterns. The failed ones were redrawn or removed, so the history looks better than any trader could have traded it. Harmonic Patterns Track Record works the other way round: every pattern is tested the way you would trade it, and every result stays on the chart. H
Places your Buy Stop or Sell Stop again, at the same price with the same SL, every time the trade is stopped out. Description Pending Order Repeater is a trade utility for traders who want to keep a level in play. You set the pending order once. Each time the trade it opens closes at the Stop Loss, the EA places the same order again: same symbol, type, price, lot size, Stop Loss and Take Profit. How it works - Place a Buy Stop or Sell Stop with a Stop Loss by hand, on any symbol. The EA, att
Rotation chart for any two indicators: several symbols rotate through four quadrants on up to four timeframes, with trails and a legend. ## Description Rotation Chart shows where a group of symbols stands and where it is moving, all in one window. You choose one indicator for the X axis and one for the Y axis. Every symbol is a point on that plane, with a trail of its last bars, so you see it rotate through the four quadrants: Leading, Weakening, Lagging and Improving. Up to four timeframes a
Seasonality of any symbol: monthly returns of every year, average and median per month, weekday returns and the seasonal projection on the chart. Description Seasonality Map shows how a symbol has behaved in each month of the past years, and draws the average seasonal path from today's price on the chart. Monthly returns table - One row per year (10 completed years by default, plus the current year), one column per month and the full year, coloured green and red by size. - Under the table,
Renko, Point & Figure, Kagi and Line Break in one window, switched with a button, mirrored on the price chart with signals. ## Description Four chart types that ignore time and show only price movement, in one indicator. Switch between them with the buttons in the indicator window; the same columns are drawn on the normal price chart as boxes (or a Kagi line), with their signals as arrows, so you can see both views at once. Chart types - Renko: a brick for every box of movement, a reversal
Sessions, countdowns, key levels and your own news list in one clean indicator: session boxes with overlaps, day / week / month levels. ## Description Sessions News Hub puts the market sessions, the countdowns, the key price levels and your news list into one indicator with one compact panel. Each group has its own button, so the chart shows only what you need at the moment. Market sessions - Sydney, Tokyo, London and New York as boxes from the session high to the low, or as full-height ban
Turn any two symbols (XAUUSD/XAGUSD, an index against another, GBPUSD/EURUSD) into one synthetic: candle chart with bands, and both legs traded as one position. Description Synthetic Pair Trader turns any two symbols of your broker into one instrument. It draws the synthetic as a candle chart in its own pane on your chart, with its mean and 2-sigma bands, and a panel trades it as one position: buy or sell the synthetic, and both legs are opened, sized, protected and closed together. Examples
Automatic Elliott wave count with alternates, target zones, invalidation prices, a log of every count change and statistics without look-ahead. Description Elliott Scenario Map counts Elliott waves automatically and is open about how certain a count is. It shows the primary count and up to two alternates, each with a rule-fit score, the target zone of the wave in progress and the exact price that invalidates the count. Every change of the primary count is logged with its time, and the built-i
Long-term fair value of currencies from purchasing power parity and the Big Mac index: table of the main pairs, fair value levels and their history on the chart. Description PPP Fair Value shows where a currency pair would trade if the money bought the same goods in both countries. It compares the spot price with three fair values and draws them on the chart with their history. The three fair values - Big Mac index (raw): the exchange rate at which a Big Mac costs the same in both countries
Scans your Market Watch on several timeframes for chart patterns, key levels and candlestick patterns, with entry, target, stop, expiry and the measured hit rate of each pattern. ## Description Pattern Scanner looks through the symbols of your Market Watch on M15 to D1 and lists every pattern that is forming or has just broken out. Each one comes with an entry, a target zone with an expiry, a stop level and the hit rate of the same pattern measured on the history of that symbol and timeframe
Filtro:
Nessuna recensione
Rispondi alla recensione