The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.
Prop Risk Guard MT4 - daily loss and drawdown protection
Protects a prop-firm or personal MT4 account: daily loss limit, max drawdown (static or trailing) and profit-target lock. On a breach it closes all orders, deletes pending orders and keeps the account flat until the lock resets.
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 high and low, previous week high and low and today's open as horizontal lines with small price labels, on any timeframe.
Trading Session Boxes: Tokyo, London, New York MT4
Draws the Tokyo, London and New York sessions of the last few days as boxes from each session's high to its low, with the high and low printed on the chart. Session hours are set in server time.
Candle Timer with Spread and Swap Countdown MT4
Countdown to the close of the current bar, the live spread in points and the time left until the next server midnight, when brokers roll positions over and charge swap.