Ilya's miscellaneous quantstrat extensions, indicators, and order-sizing functions.