OPEN-SOURCE SCRIPT

swami_money_flow

Güncellendi


Description:
Chaikin Money Flow was an indicator that measuring of the volume-weighted average of accumulation and distribution over a specified period (as cited from Fidelity) developed by Marc Chaikin, aim to identify the changes in buying or selling momentum of an asset that leads to the increase or decrease of asset prices. In the original format, the cross above 0 of money flow depicts a buying pressure, while a cross under 0 means a selling pressure. In this indicator, the money flow was displayed in a swami chart, used for detecting a change not only in one specified period but instead in multiple periods at once. Sequencing from the very below, the indicator capture the shift in money flow in shorter lookback periods, going through the very above the indicator capture the change of money flow in greater lookback periods. The color is set to gradient from red as indicating the negative money flow, while green indicates a positive money flow. A smoothing function was given (from Ehlers smoothing function) to reduce noises.


Money Flow:
cmf = n-day sum of( (((close - low) - (high - close)) / (high - low)) x volume )/ n-day sum of volume
smoothed = (4*cmf + 3*cmf[1] + 2*cmf[2] + cmf[3])/10


Notes:
  • the Darker the color indicates the higher the value e.g. dark red means more selling pressure, and vice versa
  • if the color is a lineup in a one period, indicates a strong signal (both directions)
  • very below is for a shorter period, and increasing through to the longest (1 - 30 by default)



Other Example
anlık görüntü
Sürüm Notları
Update color and position adjustment
Chaikin Money Flow (CMF)ehlersheatmapswamichart

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname