Mira cómo descargar robots gratis
¡Búscanos en Twitter!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Indicadores

Prop Firm Limits Panel - indicador para MetaTrader 5

Marius-paul Cirligeanu
Marius-paul Cirligeanu
Desarrollador de Expert Advisors e indicadores para oro (XAUUSD) en MetaTrader 5, desde Rumanía.
Mis estrategias usan líneas de tendencia y barridos de rango, con stop loss en todas las operaciones, riesgo en % del balance y protección para cuentas de fondeo. Sin grid ni martingala.
Visualizaciones:
29
Publicado:
Actualizado:
MQL5 Freelance ¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

Prop Firm Limits Panel is a small indicator for prop-firm challenges and funded accounts. It shows on the chart how much of the daily loss and the maximum loss you have already used, how far the equity is from the floor of the account and how close you are to the profit target. It does not open or close trades, so it can be used together with any Expert Advisor or with manual trading.

The idea is simple: most traders lose a prop-firm account not because of one bad trade, but because they do not see how close they are to a limit. The panel puts these numbers in one place and changes the color of each line from green to orange and red as the limit gets closer. When a limit reaches the red level, it can show a pop-up alert and send a push notification to the phone.


What the panel shows

  • Initial account size and current equity.
  • Balance at the start of the trading day.
  • Daily loss used, the daily limit and the amount still available.
  • Maximum loss: the equity floor and the distance to it.
  • Progress to the profit target.
  • Suggested lot size for your risk % and stop loss distance on the current symbol.

Input parameters

  • Initial account size – 0 = the balance on the first start is used and remembered for this account (global variable PFLP_START_<login>).
  • Daily loss limit (%) – percent of the initial account size, default 5.
  • Maximum loss limit (%) – percent of the initial account size, default 10.
  • Profit target (%) – default 10, 0 hides the line.
  • New trading day starts at this server hour – default 1, which is midnight CE(S)T on GMT+2 / GMT+3 servers such as FTMO.
  • Risk per trade (%) and Stop loss distance in price – used by the lot size calculator.
  • Orange / red level (% of a limit used), pop-up alert and push notification.
  • Panel position and font size.

How the values are calculated

The daily loss is the balance at the start of the day minus the current equity, so closed trades, swaps, commissions and the floating result of open positions are all included. The balance at the start of the day is the current balance minus the result of the deals closed since the start of the day; deposits and withdrawals are ignored. The maximum loss is static and measured from the initial account size. On weekends the day follows the server time of the last tick, so the panel shows Friday until the market opens again.

Important

Prop firms use different rules. Some measure the daily loss from the equity at the start of the day, or from the higher of balance and equity, and some use a trailing maximum loss. Check the rules of your own firm and set the inputs accordingly. The panel is an aid for risk control, not a guarantee that a limit will not be broken.

Permutation Entropy Meter Permutation Entropy Meter

Measures how much order or randomness there is in the recent price path, using permutation entropy (Bandt & Pompe, Physical Review Letters, 2002). Every 4 consecutive closes form one of 24 ordinal patterns; their Shannon entropy over the last 120 closed bars is scaled from 0 (ordered) to 1 (random). Colour-coded against the market's own history. No repainting. Descriptive tool, not a trading signal.

Ejemplo de EA de FxCraft: ruptura de rango con órdenes pendientes Ejemplo de EA de FxCraft: ruptura de rango con órdenes pendientes

Asesor experto educativo: ruptura del rango diario con órdenes pendientes BuyStop/SellStop, relación riesgo-recompensa, cierre de posición y días de negociación. Código MQL5 limpio y comentado, con comprobaciones de margen y nivel de stop. Solo para demo y el Probador de estrategias.

Risk Lot Panel Risk Lot Panel

Panel integrado en el gráfico que convierte un parámetro de riesgo en un tamaño de lote y muestra cómo influyen en ese riesgo el paso de volumen y el lote mínimo del bróker. Es solo para visualización: nunca realiza, modifica ni cierra una orden.

BacktestOverfitting: probability of backtest overfitting (PBO) of an optimization BacktestOverfitting: probability of backtest overfitting (PBO) of an optimization

Probabilidad de sobreajuste en el backtest (PBO) de una optimización en MT5 mediante validación cruzada combinatoriamente simétrica. Cada pasada envía sus resultados diarios en forma de fotograma, y la PBO se calcula al finalizar la optimización.