Advertisement
Guest User

Ema plotshape crossing

a guest
Dec 7th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1.  
  2. //@version=3
  3. study("Ema_Signal", overlay = true)
  4.  
  5. fast = input(6)
  6. slow = input(22)
  7. Swing = input(50)
  8.  
  9. ma1 = ema(close,fast)
  10. ma2 = ema(close,slow)
  11.  
  12. crossover(ma1,ma2)
  13.  
  14. plot(ma1, title = "Fast Ma", color = black, style = line, linewidth = 1,transp = 70)
  15. plot(ma2, title = "Slow Ma", color = green, style = line, linewidth = 1,transp = 70)
  16.  
  17. plotshape(close,color = red,style=shape.arrowdown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement