OPEN-SOURCE SCRIPT

Green Bars

5 251
A simple script to count the number of up days, or intraday bars, (Green Bars) for a given Look Back period.

Inputs are: Look Back Period and Increment.

Use 0 for the Increment to count only the up days, or bars.
Use -1 to include the down days, or bars, in the sum.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。