For a given candle, the cumulative moving average is equal to the price averaged over all preceding candles.
N.B. In this script, the daily price is calculated from (high + low) / 2.
릴리즈 노트
Update:
Added upper and lower bounds. These are user-defined multiples of the cumulative average. Can be configured under settings to suit your asset.
릴리즈 노트
Added step interval 0.05
릴리즈 노트
CMA works best on larger time frames with many data candles, however so long as amount of data is comparable, the values are the same between timeframes.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.