Pine script loop on bar index

后端 未结 0 1354
情歌与酒
情歌与酒 2021-01-31 04:17

I wanna check a condition for past n bars.

So if I want to do it for a specific number, i will use something like this, for 5 last bars:

cond          


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