Martingale Bot

JavaScript code for Martingale bot. Fixed issue with maximum loss alert
and stopping bot.