Yes, it is price*(1-1/leverage). When the price changes, rollover also changes. If you want to catch the price change, update the RollLong variable any day, using the same formula. The entry in the asset list is fixed.