本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © gagandeep98aug
//@version=6
indicator("IBD Average Daily Dollar Volume", overlay=false, format=format.volume)
length = input.int(50, "Average Volume Period")
avgVolume = ta.sma(volume, length)
ibdDollarVolume = close * avgVolume
plot(ibdDollarVolume,
title="IBD Avg Daily Dollar Volume",
color=color.orange,
linewidth=2)
hline(30e6, "30M", color=color.gray)
hline(50e6, "50M", color=color.yellow)
hline(100e6, "100M", color=color.green)
hline(500e6, "500M", color=color.blue)
hline(1e9, "1B", color=color.purple)