Lantzwat

Stock Market Emotion Index (SMEI)

Implementation of Charlie Q. Yang's research paper “The stock market emotion index”, subtitle “A New Sentiment Measure Using Enhanced OBV and Money Flow Indicators”, (2007) where he combined “five simple emotion statistics” - Close Emotion Statistic (CES), Money Flow Statistic (MFS), Supply Demand Statistic (SDS), Relative Strength Statistic (RSS), and Psychological Level Statistic (PLS) - into one indicator.

Quotations:
“The index calculation is solely based on observed short term market volatility as reflected by each day’s trading volume, open, high, low, and close prices”
“The basic premise of Dow theory is that the market discounts everything, including the emotions of all traders. The fundamentals of a company do not change suddenly when its daily stock price is fluctuating as driven by human emotions that are often irrational. However, over a longer time period, a company's fundamentals do change. Again, different types of human emotions, triggered by the flow of material events, are moving the stock price trend up or down. This paper summarizes the author’s attempt in understanding primary trend extent and duration by proposing a new sentiment measure using statistical analysis of stock market human emotion.”

Even though “indicator is intended for identifying primary trend cycles that typically last one year or longer“ where Mr. Yang used a fixed averaging length of 260 days and only days as time frame, my implementation has been changed slightly to accommodate for all time frames and to adapt faster using shorter averaging (timeframe dependent).

How to use it:
Positive values indicating a bullish trend and negative values indicating a bearish trend. Background color is set to green or red accordingly.
Positive and negative bar to bar changes are indicated with green and red to show bar to bar (ultra short term) trends.

(No financial advise, use for testing purposed only)
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?