This script uses moving average crosses together with momentum to try to optimalise entry and exit, based on the market info at that time.
It works best on the 5 minute chart, and pyramiding will increase profit - but lower the profit factor. Based on testing, it works with the most major currency pairs as well as commodities.