This script used a grid system that is set when a "buy" signal is sent to generate profits inside of a range. This script used macd to weed out bad buys and then sells once the price either reaches the grid - or hits the stoploss. This works best in bullish and ranging markets.