For backtesting, use adjusted t6 for asset history, and load unadjusted t6 using the dataset functions as an indicator. (Or merge unadjusted price data into the dataVal column on the adjusted dataset and use that as the history file.)

For live trading, read the equity value supplied by your plugin while using unadjusted data.