Who can give me code for how to draw a trendline without crossing price bar?

Reason: