最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

pine script - PineScript Loop through collection of inputs - Stack Overflow

programmeradmin8浏览0评论

For PineScript V6

Goal: To loop through all of the inputs assigned to a specified group, then perform specific actions based on the value of each input in that group.

I know I can build a custom array and initialize it with all of the inputs assigned to that group. So my question is, does PineScript already provide a collection of inputs that we can reference? And then loop through that collection without having to build them into a custom array?

I searched the language reference and did not find anything to indicate that PineScript provides built-in collections of any object type (aside from the obvious... candles on the chart). So perhaps I just haven't figured out where to look?

发布评论

评论列表(0)

  1. 暂无评论