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 ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?


และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ