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.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với GrantPeace.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
kenzing.com
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với GrantPeace.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
kenzing.com