Notional Change

JohnKicklighter · study · 7 行 · 点赞 7 · TradingView 原页

本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。

Pine Script

//@version=6
indicator(title="Notional Change", shorttitle="NOC", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
length = input.int(1, minval=1)
source = input(close, "Source")
noc = (source - source[length])
plot(noc, color=#2962FF, title="NOC")
hline(0, color=#787B86, title="Zero Line")

← 返回列表