OPEN-SOURCE SCRIPT

Cumulative Moving Average

アップデート済
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.
リリースノート
deleted
Moving Averages

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?


他のメディア::

免責事項