Guest User

BTCVolume_AllExchgs_Avgd [LazyBear]

a guest
Sep 17th, 2014
3,215
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. //
  2. // @author LazyBear
  3. // List of all my indicators:
  4. // https://docs.google.com/document/d/15AGCufJZ8CIUvwFJ9W-IKns88gkWOKBCvByMEvm5MLo/edit?usp=sharing
  5. //
  6. study("BTCVolume_AllExchgs_Avgd [LazyBear]")
  7. v1 = security("BTCE:BTCUSD", period, volume)
  8. v2 = security("BITSTAMP:BTCUSD", period, volume)
  9. v3 = security("BITFINEX:BTCUSD", period, volume)
  10. v4 = security("HUOBI:BTCCNY", period, volume)
  11. v5 = security("BTCCHINA:BTCCNY", period, volume)
  12. includeOkCoin=input(false)
  13. v6 = security("OKCOIN:BTCUSD", period, volume)
  14. v = includeOkCoin ? avg(v1, v2, v3, v4, v5, v6) : avg(v1, v2, v3, v4, v5)
  15.  
  16. b_color=(close>open ? green : red)
  17.  
  18. plot(v, style=histogram, color=b_color , linewidth=4)
Advertisement
Comments
Add Comment
Please, Sign In to add comment