• API
• FAQ
• Tools
• Archive
SHARE
TWEET

# Untitled

a guest Mar 23rd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. //@version=3
2. study("CSI-Crypto", shorttitle="CSI")
3.
4. Length = input(14, minval=1)
5.
6. ethbab = security("ETHUSD/BABUSD", period, rsi(close, Length))
7. ethtrx = security("ETHUSD/TRXUSD", period, rsi(close, Length))
8. etheos = security("ETHUSD/EOSUSD", period, rsi(close, Length))
9. ethltc = security("ETHUSD/LTCUSD", period, rsi(close, Length))
10. ethxlm = security("ETHUSD/XLMUSD", period, rsi(close, Length))
11. ethxrp = security("ETHUSD/XRPUSD", period, rsi(close, Length))
12.
13. babeth = security("BABUSD/ETHUSD", period, rsi(close, Length))
14. babtrx = security("BABUSD/TRXUSD", period, rsi(close, Length))
15. babeos = security("BABUSD/EOSUSD", period, rsi(close, Length))
16. babltc = security("BABUSD/LTCUSD", period, rsi(close, Length))
17. babxlm = security("BABUSD/XLMUSD", period, rsi(close, Length))
18. babxrp = security("BABUSD/XRPUSD", period, rsi(close, Length))
19.
20. trxbab = security("TRXUSD/BABUSD", period, rsi(close, Length))
21. trxeth = security("TRXUSD/ETHUSD", period, rsi(close, Length))
22. trxeos = security("TRXUSD/EOSUSD", period, rsi(close, Length))
23. trxltc = security("TRXUSD/LTCUSD", period, rsi(close, Length))
24. trxxlm = security("TRXUSD/XLMUSD", period, rsi(close, Length))
25. trxxrp = security("TRXUSD/XRPUSD", period, rsi(close, Length))
26.
27. eosbab = security("EOSUSD/BABUSD", period, rsi(close, Length))
28. eostrx = security("EOSUSD/TRXUSD", period, rsi(close, Length))
29. eoseth = security("EOSUSD/ETHUSD", period, rsi(close, Length))
30. eosltc = security("EOSUSD/LTCUSD", period, rsi(close, Length))
31. eosxlm = security("EOSUSD/XLMUSD", period, rsi(close, Length))
32. eosxrp = security("EOSUSD/XRPUSD", period, rsi(close, Length))
33.
34. ltcbab = security("LTCUSD/BABUSD", period, rsi(close, Length))
35. ltctrx = security("LTCUSD/TRXUSD", period, rsi(close, Length))
36. ltceos = security("LTCUSD/EOSUSD", period, rsi(close, Length))
37. ltceth = security("LTCUSD/ETHUSD", period, rsi(close, Length))
38. ltcxlm = security("LTCUSD/XLMUSD", period, rsi(close, Length))
39. ltcxrp = security("LTCUSD/XRPUSD", period, rsi(close, Length))
40.
41. xlmbab = security("XLMUSD/BABUSD", period, rsi(close, Length))
42. xlmtrx = security("XLMUSD/TRXUSD", period, rsi(close, Length))
43. xlmeos = security("XLMUSD/EOSUSD", period, rsi(close, Length))
44. xlmltc = security("XLMUSD/LTCUSD", period, rsi(close, Length))
45. xlmeth = security("XLMUSD/ETHUSD", period, rsi(close, Length))
46. xlmxrp = security("XLMUSD/XRPUSD", period, rsi(close, Length))
47.
48. //xrpbab = security("XRPUSD/BABUSD", period, rsi(close, Length))
49. xrptrx = security("XRPUSD/TRXUSD", period, rsi(close, Length))
50. xrpeos = security("XRPUSD/EOSUSD", period, rsi(close, Length))
51. xrpltc = security("XRPUSD/LTCUSD", period, rsi(close, Length))
52. xrpeth = security("XRPUSD/XLMUSD", period, rsi(close, Length))
53. xrpxlm = security("XRPUSD/XLMUSD", period, rsi(close, Length))
54.
55. plot(avg(ethtrx, ethbab, etheos, ethltc, ethxlm, ethxrp), title="eth", color=aqua, transp=0)
56. plot(avg(xrptrx, xrpeos, xrpltc, xrpeth, xrpxlm), title="xrp", color=fuchsia, transp=0)
57. plot(avg(xlmxrp, xlmeth, xlmltc, xlmeos, xlmtrx, xlmbab), title="xlm", color=white, transp=0)
58. plot(avg(ltcbab, ltctrx, ltceos, ltceth, ltcxlm, ltcxrp), title="ltc", color=lime, transp=0)
59. plot(avg(eosbab, eostrx, eoseth, eosltc, eosxlm, eosxrp), title="eos", color=red, transp=0)
60. plot(avg(trxbab, trxeth, trxeos, trxltc, trxxlm, trxxrp), title="trx", color=yellow, transp=0)
61. plot(avg(babtrx, babeos, babltc, babxlm, babxrp, babeth), title="bab", color=orange, transp=0)
62.
63. hline(75, color=white)
64. hline(25, color=white)
65. hline(50, color=white)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top