Joao Prata Silva Yglesias
Joao Prata Silva Yglesias
5 (1)
  • Información
6+ años
experiencia
4
productos
2
versiones demo
0
trabajos
2
señales
0
suscriptores
Trader and algorithmic developer focused on risk-managed automation for the Forex market. I build Expert Advisors that prioritize capital protection and survivability over hype — real strategies, transparent results, and live monitoring.

My flagship is SurfBot, a bidirectional mean-reversion grid with portfolio-level exposure control and an optional trend hedge. Everything I publish runs on real accounts with public signals, so you can verify performance before you buy.

I value clear documentation and responsive support. Questions are always welcome — reach out anytime.
Joao Prata Silva Yglesias Ha publicado el producto

Grid Survival Ruler responde a una pregunta que determina si una rejilla sobrevive: ¿hasta qué punto puede moverse el precio en tu contra antes de que se complete la última capa, y con qué frecuencia se ha movido realmente ESTE par hasta ese punto? Introduce tu espaciado (% del precio) y tu número máximo de niveles. El indicador traza la escalera en el gráfico, marca el último nivel en rojo (libro completo) y muestra el movimiento adverso total en % y en precio, además de a cuántos ATR diarios

Joao Prata Silva Yglesias Ha publicado el producto

La «Auditoría de espaciado» mide el espaciado de la cuadrícula que tu EA utiliza REALMENTE, a partir de sus propias operaciones cerradas, no a partir de sus parámetros de entrada ni de los espacios entre las capas abiertas. ¿Por qué? Pasé una semana creyendo que mi rejilla utilizaba un espaciado basado en el ATR porque la variable «UseATR» estaba establecida en «true». Pero no era así. Todos los pares se situaban en el límite mínimo de espaciado, entre 2,8 y 5,1 veces más ajustado de lo

Joao Prata Silva Yglesias
Ha publicado el código Contract Sizer: ladder, floor and a breaker that survives a deposit
Tres protecciones de tamaño de posición que funcionan de forma diferente; confundirlas es la razón por la que tantas cuentas se quedan sin fondos: - escalonada: un contrato por cada X del saldo, que siempre se aplica como un límite máximo (CAP), incluso con el tamaño de lote manual; - «floor»: por debajo del capital mínimo no se opera; se necesita un nuevo ingreso; - «breaker»: se detiene al X % por debajo del máximo, independientemente del tamaño de la cuenta, y no se reactiva por sí solo. Lo que resuelve esta biblioteca y que casi ninguna otra hace: un ingreso no es un beneficio, y una retirada no es una pérdida. El «breaker» mide la caída con respecto al máximo del saldo. Si no se trata, un depósito realizado DURANTE una caída eleva tanto el saldo como el máximo, y la protección deja de detectar la caída justo cuando sería más útil. En este caso, los depósitos y las retiradas desplazan el máximo en la misma cantidad. El máximo se guarda en un archivo: un «breaker» que olvida el máximo al reiniciar la terminal no es un «breaker». La demo simula un depósito en el punto más bajo de una caída. Ejecútala con el depósito activado y desactivado y compara la columna «caída».
Joao Prata Silva Yglesias
Ha publicado el código Safe Logger: why your log lines vanish while FileOpen keeps returning success
Four EAs writing to the same file, all with FILE_SHARE_READ|FILE_SHARE_WRITE, FileSeek(SEEK_END), FileWrite, FileClose. Looks correct. Every FileOpen returns success. No error in the log. And the lines vanish. Reason: FILE_SHARE_WRITE lets all four open at the same time. All four call FileSeek(SEEK_END) and get THE SAME offset, because none has written yet. All four write at the same position. Whoever closes last wins. Three lines vanish silently. In my case: 12 events expected, 8 in the file. The fix is to open EXCLUSIVELY (no FILE_SHARE_WRITE) and retry while another EA holds the file. And to shout in the log when the retries run out: a log that fails silently is worse than no log at all, because you trust it. The demo script reproduces both modes. To see the loss, drag it onto four charts at the same time with safe mode off and count the lines in the CSV. On a single chart the defect does not show up - which is why it passes in testing and breaks in production.
80
Joao Prata Silva Yglesias
Ha publicado el código Clock Diagnostic: TimeCurrent() freezes and steps backwards
TimeCurrent() is not a clock. It is the stamp of the LAST TICK. Two consequences break robots in production: 1. It freezes. With no tick it does not move: illiquid instrument, end of session, unstable connection - and any rule based on it stops with it. 2. It steps backwards: on a symbol switch, a reconnection or a tick from another instrument, the value can go back. The case that cost me a whole protection: I compared the date of a daily decision with TimeCurrent() to reject an expired one. The server clock stepped back to the previous day, the comparison matched, and four EAs accepted YESTERDAY's decision as valid. The gate that should have failed closed failed open - without a single error in the log. Rule: TimeLocal() for timestamps, dates, day changes, expiry - all that must always move forward; TimeCurrent() for session hours and market data. The script measures the divergence in your environment and reports both symptoms live. Run it with the market closed.
103
Joao Prata Silva Yglesias
Ha publicado el código Trade Excursion Report: MFE and MAE of every closed trade, to CSV
Exporta una línea CSV por cada operación cerrada con los datos que no figuran en el extracto: la mejor ganancia no realizada que mostró la operación (MFE), la peor pérdida no realizada que soportó (MAE), qué parte de la MFE se conservó realmente, cuántas barras abarcó y cuánto tiempo se mantuvo abierta. Se trata de la misma medición que la del indicador «Trade Excursion», pero grabada en un archivo en lugar de representada gráficamente, ya que las preguntas que merece la pena plantearse sobre estos datos son aquellas a las que un gráfico no puede responder: ¿depende la tasa de captura de la hora de entrada? ¿Las operaciones que cierro antes de tiempo son las que mantengo durante más tiempo? ¿Las operaciones con pérdidas de los lunes alcanzan un MAE diferente al de los viernes? Basta con una tabla dinámica una vez que se dispone del archivo CSV. La salida está separada por punto y coma con una fila de encabezado, en formato MQL5\Files; se abre en cualquier hoja de cálculo. Límite de la medición: las excursiones se calculan a partir de los máximos y mínimos de las barras en el marco temporal elegido; se desconoce la trayectoria dentro de una barra. La columna «barras» indica la resolución obtenida por cada operación, y el resumen cuenta las operaciones de una sola barra por separado en lugar de promediarlas.
Joao Prata Silva Yglesias
Ha publicado el código Trade Excursion: how much of each winner you actually kept (MFE/MAE from your own history)
Your statement tells you what you KEPT. It does not tell you what you HAD. This indicator reads your own closed trades from the account history and draws, for each one, the full range it travelled: the best unrealised profit it ever showed (MFE) and the worst unrealised loss it survived (MAE). The gap between what a trade showed and what it paid is where two common problems hide, and neither is visible in a balance curve: winners closing far below their best point (the exit leaves money behind), and losers whose worst excursion barely passed the stop (the stop sits inside the noise). The number to look at is the CAPTURE RATIO: of the profit a winner showed at its best, how much did you take home? 90% says the exits are well placed; 30% says the market kept offering and the exit kept refusing. Limit, stated up front: excursions come from the bars each trade spanned, on the chart timeframe; the path inside a bar is unknown. Predicts nothing; measures trades that already happened.
134
Joao Prata Silva Yglesias
Ha publicado el código Decision Watchdog: refuse yesterday's decision, fail closed, log once
A daily process writes "today's decision" (which strategy runs, or FLAT) to a file the EAs read at the open. One day the writer did not run. The EAs read yesterday's file, compared its date with TimeCurrent() - the server clock, which had stepped back to the previous day overnight - saw a match, and traded all morning on a 24-hour-old decision. No error anywhere. Two rules, both in this class: 1) staleness is judged against TimeLocal(), which always moves forward; TimeCurrent() is the last tick's stamp - it freezes without ticks and can step back on reconnect. 2) When in doubt the answer is FLAT: missing file, bad date, wrong day, empty line - every failure path returns "do nothing", and each is logged ONCE per state change, not on every tick and not never. File format: line 1 = ISO date, line 2 = decision string. The demo writes a fresh, a stale, a malformed, an empty and a missing file, and shows that only the first is allowed to trade.
86
Joao Prata Silva Yglesias
Ha publicado el código Exposure Cap: one position limit per symbol across all your EAs
Four EAs on the same symbol, each one honest on its own: each checks "do I have a position?" with its own magic number, sees none, and enters. On a demo account this reached 22 contracts on a symbol meant to carry 1, and a watchdog had to close 16 positions in one morning. The cap belongs at the door, not after the fact. ExposureCap::Allowed(symbol, lots, cap) sums the volume of every open position on the symbol - all magic numbers, manual trades included - and refuses the order BEFORE it is sent when it would breach the cap. One log line with the three numbers (held, requested, cap) says why. Deliberately simple: gross exposure, no netting of longs against shorts, no per-EA quota. It is a check, not a lock: two EAs deciding on the same tick can both pass; in practice EAs on different charts decide on different ticks. The demo script prints held / cap / room for the current symbol and shows the refusal line. Nothing is traded.
84
Joao Prata Silva Yglesias
Ha publicado el código Server Time Offset: the three clocks in MQL5 and how timestamps shift on export
A datetime in MQL5 is seconds since 1970 - but server time (TimeCurrent, bar times, deal times) is the broker's wall clock stored AS IF it were UTC. Export it to CSV, read it in Python or a spreadsheet with a "seconds since 1970 UTC" parser, and every timestamp shifts by the server's UTC offset. On a UTC-3 broker that is three hours: the daily bar dated 00:00 reads as 21:00 of the previous day, and "yesterday's session" silently becomes "today's, half formed". That happened to a morning report of mine before this script existed. The script prints TimeTradeServer, TimeCurrent, TimeGMT and TimeLocal, the three offsets between them, the tick lag, and this chart's last bar time in server time and in real UTC - then states the rule: export server timestamps as wall-clock text, or export the epoch together with the offset, and never let the consumer apply its own timezone.
100
Joao Prata Silva Yglesias
Ha publicado el código Elder Force Index (faithful to the book definition)
Índice de Força, conforme definido por Alexander Elder: Volume x (Fechamento de hoje - Fechamento de ontem), e a série resultante é então suavizada. Dois comprimentos, 2 e 13, ambos de seus livros.
25
Joao Prata Silva Yglesias Ha publicado MetaTrader 5 señal
SurfBot v2 Grid FXGlobe
Precio: 30 USD, Incremento: 9.35%
SurfBot 2.06 — one-direction Forex grid with hard capital caps, running on a real FXGlobe account. This is the live record of the exact engine sold on the MQL5 Market as SurfBot (product 179990, magic number 880001): https://www.mql5.com/en/market/product/179990 WHAT IT DOES: one grid per pair, on ONE side only (long or short), chosen by the better swap. Each layer has its own take-profit one spacing away. There is NO stop-loss per trade, by design. WHAT KEEPS IT ALIVE: max 12 layers per pair
Joao Prata Silva Yglesias Ha publicado el producto
Comentarios: 1
FREE

SurfBot Radar es un indicador gratuito de rupturas y tendencias para MetaTrader 5. Traza un canal de Donchian (el máximo más alto y el mínimo más bajo de las últimas N barras), marca la primera barra que rompe el canal y confirma cada ruptura con el flujo —el volumen neto direccional en un intervalo reciente—. Una ruptura + flujo coincidente muestra una clara señal de COMPRA o VENTA; una ruptura sin flujo se marca como «sin confirmación». Un panel gráfico en el gráfico (que se puede colocar en

Joao Prata Silva Yglesias Ha publicado el producto

SurfBot: sistema de rejilla de Forex unidireccional con límites máximos de capital fijos. Sin stop-loss por operación, por diseño. 🔴 Rendimiento en tiempo real (verificado, cuenta real, este mismo motor): https://www.mql5.com/en/signals/2383326 CÓMO FUNCIONA Ejecuta una rejilla por par, solo en UN sentido (largo o corto). El sentido se elige según el swap más favorable (GridSide=AUTO) o lo fijas tú. Cada capa tiene su propio take-profit a un espacio de distancia; no hay stop-loss por operación

Joao Prata Silva Yglesias Ha publicado MetaTrader 5 señal
"SurfBot Bidirectional Grid" no está disponible
Joao Prata Silva Yglesias
Se ha registrado en MQL5.community