This repo contains scripts for algorithmic trading on the mt4 platform. http://www.metatrader4.com/
It monitors instrument prices and places trades automatically based on an algorithmic indicator.
Risk is controlled by adjustig the size of the trade based on percentage of current balance.