elastic martingale attachment