Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Version 1.0
- //Created for TradingAddicts
- study(title="TA-EMA-X6", shorttitle="EMA", overlay = true)
- Length1 = input(8, minval=1)
- Length2 = input(13, minval=1)
- Length3 = input(21, minval=1)
- Length4 = input(55, minval=1)
- Length5 = input(100, minval=1)
- Length6 = input(200, minval=1)
- Length7 = input(240, minval=1)
- Price = close
- EMA1 = ema(Price, Length1)
- plot(EMA1, color=#ffffff, linewidth=2, transp=10, title="8")
- EMA2 = ema(Price, Length2)
- plot(EMA2, color=#2d7fff, linewidth=2, transp=10, title="13")
- EMA3 = ema(Price, Length3)
- plot(EMA3, color=#ff9d03, linewidth=2, transp=10, title="21")
- EMA4 = ema(Price, Length4)
- plot(EMA4, color=#ff0565, linewidth=2, transp=10, title="55")
- EMA5 = ema(Price, Length5)
- plot(EMA5, color=#05e6ff, linewidth=2, transp=10, title="100")
- EMA6 = ema(Price, Length6)
- plot(EMA6, color=#c83bff, linewidth=2, transp=10, title="200")
- EMA7 = ema(Price, Length7)
- plot(EMA7, color=#30ff72, linewidth=2, transp=10, title="240")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement