Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- study(title="zzz Coinbase XBTUSD Premium", overlay=false)
- cb=security("COINBASE:BTCUSD", period, close)
- mex=security("BITMEX:XBTUSD", period, close)
- futs = cb-mex
- cClr = futs>0 ? green : red
- hline(10, linestyle=dotted)
- hline(-10, linestyle=dotted)
- hline(25, linestyle=dashed)
- hline(-25, linestyle=dashed)
- plot(futs, title="Futures", color=cClr, style=columns, transp= 40, linewidth=3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement