PROTECTED SOURCE SCRIPT
已更新

Q Average Cost

1 532
Calculated the average cost of the shares in the market. If close > indicator, means the market average share cost is below the close, this is a bullish sign. Otherwise, the market average share cost is above the close, which is a bearish sign.

Currently not feasible for index ETF (eg. SPY) or leveraged ETF (eg. TQQQ).

Will update code in later versions.
版本注释
Fixed a bug. Also add an Offset which allows users to adjust the average price due to TV's finance data error sometimes.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。