I would like to get the lowest low of the last 10 bars in TradingView. I have tried this:
if(barstate.islast) bottom = lowest(10) hline(bottom)