OPEN-SOURCE SCRIPT

OC損益率 (%)

60
This Pine Script indicator computes the percentage change from the daily open price to the daily close price and exposes it as a custom column for TradingView’s Stock Screener and Watchlist. By enabling screener compatibility, the script automatically calculates:

ocRet = (close - open) / open * 100
for each bar and plots the result. Once published (as a public or protected script), you can add the OC損益率 (%) column in your Watchlist or Stock Screener 2.0 → Columns → Custom, allowing you to sort, filter, and export symbols based on their intraday return.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.