vagar123

NR& tradingview

Dec 11th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. //@version=2
  2. //FxLowe - NR4 & NR7.
  3.  
  4. study(title = "NR4 & NR7", overlay = true)
  5.  
  6. nr4 = (tr <= tr[1]) and (tr <= tr[2]) and (tr <= tr[3])
  7. nr7 = nr4 and (tr <= tr[4]) and (tr <= tr[5]) and (tr <= tr[6])
  8.  
  9. barcolor( nr7 ? fuchsia : na, offset = 0, editable = true, title = "NR7")
  10. barcolor( nr4 ? blue : na, offset = 0, editable = true, title = "NR4")
  11. //plotshape(nr4, title= "NR4", location=location.abovebar, color=white, style=shape.arrowdown, text="NR\n4__")
  12. plotshape(nr7, title= "NR7", location=location.abovebar, color=white, style=shape.arrowdown, text="NR\n7")
Add Comment
Please, Sign In to add comment