Hand drawn trendlines on backadjusted data

Hi all,

Is there a way of coding trendlines using the highs or lows between dates, rather than using X/Y co-ordinates?

I'm using backadjusted charts for Futures and with every added 'front' contract, the previous prices are backadjusted to avoid the price gap between contracts at cutover. Consequently the trend is accurate but the historical prices are not

Hence, currently when I manually draw a trendline on a chart it is only accurate until the next backadjustment when the historical prices change and hence do not match the existing trendlines