Petr Kostal / Publications
Codes
Gold Hour Profile - when gold moves, and when the spread eats it for MetaTrader 5
Measures, hour by hour, how far a symbol travels and how much of that the spread takes away. Built for gold, works on any symbol, compares several side by side
CGoldSymbol - find the broker's gold and size the position correctly on it for MetaTrader 5
Detects the gold symbol whatever the broker calls it, reads the contract specification from the terminal instead of assuming it, and turns a risk in account currency into a lot size that is correct for that broker
OHLC Reality Check - at what stop distance does your backtest start lying? for MetaTrader 5
Opens a virtual bracketed trade on every M1 bar, walks it forward on the real tick history, and reports for a sweep of stop distances how often 1-minute OHLC modelling would score the trade the wrong way round
Trade Guardian - stop loss watchdog and drawdown limiter that re-arms for MetaTrader 5
A safety EA that watches every open position on the chart symbol: it reports any position left without a stop loss, optionally attaches an ATR-based stop, and enforces a daily and a total drawdown limit that re-arms after a cooldown
Position Peak Logger - how far your trades actually travelled, in R for MetaTrader 5
Records the maximum favourable and adverse excursion of every position in R multiples and writes one CSV row per closed trade


