How to get last nth bars in a chart ? or how to get total number of bars in a chart?

后端 未结 0 455
故里飘歌
故里飘歌 2021-01-02 07:29

I know how to get reference of the first three bars in a chart:

firstBar = bar_index == 0
secondBar = bar_index == 1
thirdBar = bar_index == 2
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题