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.