Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. //Version 1.0
  2. //Created for TradingAddicts
  3.  
  4. study(title="TA-EMA-X6", shorttitle="EMA", overlay = true)
  5. Length1 = input(8, minval=1)
  6. Length2 = input(13, minval=1)
  7. Length3 = input(21, minval=1)
  8. Length4 = input(55, minval=1)
  9. Length5 = input(100, minval=1)
  10. Length6 = input(200, minval=1)
  11. Length7 = input(240, minval=1)
  12. Price = close
  13. EMA1 = ema(Price, Length1)
  14. plot(EMA1, color=#ffffff, linewidth=2, transp=10, title="8")
  15. EMA2 = ema(Price, Length2)
  16. plot(EMA2, color=#2d7fff, linewidth=2, transp=10, title="13")
  17. EMA3 = ema(Price, Length3)
  18. plot(EMA3, color=#ff9d03, linewidth=2, transp=10, title="21")
  19. EMA4 = ema(Price, Length4)
  20. plot(EMA4, color=#ff0565, linewidth=2, transp=10, title="55")
  21. EMA5 = ema(Price, Length5)
  22. plot(EMA5, color=#05e6ff, linewidth=2, transp=10, title="100")
  23. EMA6 = ema(Price, Length6)
  24. plot(EMA6, color=#c83bff, linewidth=2, transp=10, title="200")
  25. EMA7 = ema(Price, Length7)
  26. plot(EMA7, color=#30ff72, linewidth=2, transp=10, title="240")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement