Pine Script: Draw hline of the lowest low in the last 10 bars

前端 未结 0 351
后悔当初
后悔当初 2021-01-27 02:37

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)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题