The code is for Amibroker, but around 50% is in Tradestation/Easy Language. The code in this article contains code both for end-of-day (EOD) and 5-minute data. If we manage to find profitable gap trading strategies we believe are robust and less likely to be a result of chance, we might publish them as a what…