PROTECTED SOURCE SCRIPT
Mis à jour

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.
Notes de version
Fixed a bug. Also add an Offset which allows users to adjust the average price due to TV's finance data error sometimes.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.