PROTECTED SOURCE SCRIPT
Atualizado

Q Average Cost

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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.