Crypto-Adjusted Moving Average (CAMA)

Request use in the comments :)
This moving average is adjusted to give weight to the performance of the 6 largest Cryptocurrencies by market-cap.
This is the Crypto-Index that affects the moving average.
- Bitcoin
- Ethereum
- Bitcoin Cash
- Ripple
- Litecoin
- Nem Coin.
The use of this indicator is to observe divergence between the price of the underlying asset that is the basis of your chart, and the rest of the Crypto-currency market.
If more Crypto-currencies go down while your observed currency goes up, the CAMA will sit lower and a blue pool will become visible showing that that the chart is performing better than the Crypto-Weighted Index listed above. If more Crypto-currencies go up while your observed currency goes down, the CAMA will sit higher and a red cloud will form, showing that the chart is performing worse than the Crypto-weighted Index.
The indicator uses two variables that can be changed:
"MA_Length" = This is the length of the moving average and is set to 50 by default.
"CryptoFactor" = This is the weighting given to the movement of the Crypto-Index. Essentially, this is the factor as to how much the movement of the Crypto-Index effects the weight of the moving average. If you set this at 0, the line will be a simple moving average of the set length without any affect of the Crypto-Index.
By default, the CryptoFactor is set to 0.8.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ GrantPeace โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
kenzing.com
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ GrantPeace โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
kenzing.com