mikul_se

mikul's index test

This is an index over Bitcoin, Bitcoin dominance and Ethereum.
It's a simple oscillator but could be useful if you want to use it as a stepping stone to creating your own index.
You can use this to make your own index if you want. It should be quite simple to copy my code and make a new indicator in the pine editor and change the security requests.

Lets say you want to change Ethereum to XRP
eth = request.security('ETHUSDT', timeframe.period, close, lookahead=barmerge.lookahead_on)
just change the symbol name like this:
eth = request.security('XRPUSDT', timeframe.period, close, lookahead=barmerge.lookahead_on)

If you want to create a new one just look at the total and total2 that i made as an example.
Remove // in front of
//total = request.security('TOTAL', timeframe.period, close, lookahead=barmerge.lookahead_on)
and
//total_rsi = ta.rsi(total,rsi_persiod)
and
//plot(total_rsi, color=color.new(color.yellow, 0), title="Total including bitcoin")

Contact me if you have any questions or if you have any good ideas on how I could do anything with this. What index could be fun to make?



if you consider donating:
BTC: 1M9yxwoGBiMebQktow8vQYV3J9EDAFwiYd
ETH (ERC20): 0xb392f5f58bd10de374736ac337cfd9635cd92d20
XRP: rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh
XRP MEMO: 102109716
paypal: michael.nyberg@gmail.com
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?