Already possible. First find out the swap or roll method used by your broker, then calculate the current value and update the TradeRoll variable in a TMF or trade loop.