Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Facebook!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Experts

Prop Risk Guard MT4 - daily loss and drawdown protection - expert para MetaTrader 4

Visualizações:
1002
Avaliação:
(2)
Publicado:
Freelance MQL5 Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

Stop one bad day from ending your prop-firm challenge or your account. Prop Risk Guard watches your MT4 account and acts the moment a limit is hit: it closes every open order, deletes pending orders and keeps the account flat until the lock resets. It works with any EA and with manual trading.

Prop Risk Guard MT4 after a daily loss limit: LOCKED FOR TODAY

What it protects

Daily loss limit: in % or money, measured from the day's starting balance, equity, or the higher of the two (pick what your prop firm uses). You set the hour the day starts (server time). Closed and floating P/L both count.

Max drawdown: static (from your starting balance) or trailing (from the account's peak equity). Profit target lock (optional): once the target is reached, it closes everything and locks, so the profit can't be given back.

Early warning: an alert when a set share of a limit is used (80% by default). Safety buffer: acts a few % before the real limit, because fast markets can move between two checks.

When a limit is hit

All open orders are closed and all pending orders deleted. The account is then locked: any new trade is closed within a fraction of a second (the guard checks 4 times per second), whether it comes from an EA, the phone or the desktop. The daily lock resets when the new day starts; the max-drawdown and target locks stay on until you enter a new starting balance for a new challenge. Locks and the day's reference are saved, so they survive a terminal or VPS restart.

Panel

A card panel shows the status (PROTECTED, WARNING, LOCKED FOR TODAY, LOCKED), equity, today's P/L, how much of each limit is used with a colour bar, the time until the daily reset and the last event. Click it to collapse it. It picks a dark or light look from the chart colours.

Usage

Attach it to ONE chart (any symbol); it watches the whole account, or only one symbol or magic number if you choose. Set your prop firm's rules and make sure AutoTrading is on, so the guard is allowed to close trades. In the Strategy Tester, Demo mode opens deliberately risky random trades, so you can watch it warn, close everything and lock.

Please note: the guard reacts to price changes, so in a very fast market or a gap the final loss can be a little bigger than the limit; use the safety buffer to leave room. It never opens trades on a real account. Keep the terminal running (a VPS is ideal). An MT5 version is also available in CodeBase.

Repaint Checker MT4 - find out whether an indicator repaints Repaint Checker MT4 - find out whether an indicator repaints

Tests any MT4 indicator for repainting: records what every buffer showed when each bar closed, reads the same bars again later and reports values that changed, signals that appeared late and signals that vanished, with dates.

Previous Day and Week High Low Levels MT4 Previous Day and Week High Low Levels MT4

Previous day high and low, previous week high and low and today's open as horizontal lines with small price labels, on any timeframe.

Smart Liquidity Hunter — Confirmed Swing Sweeps for MT4 Smart Liquidity Hunter — Confirmed Swing Sweeps for MT4

Closed-bar sweeps of confirmed swing levels, with wick, volatility and freshness filters, liquidity lines, a dashboard and optional alerts.

True Trading Cost - Net Risk Reward Calculator for MT4 True Trading Cost - Net Risk Reward Calculator for MT4

Free MT4 chart planner with draggable entry, stop and target levels, spread, risk-based lots, fees, estimated swap, break-even and net risk/reward. Indicator only; no orders.