Guest User

SAR Alarm [LazyBear]

a guest
Feb 8th, 2015
2,622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 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("SAR Alarm")
  7. start=input(0.02), increment=input(0.02), maximum=input(0.2)
  8. s=sar(start, increment, maximum)
  9. d=s-low
  10. plot(0, title="ZeroLine")
  11. plot(cross(d,0) ? d : 0, style=histogram, color=d>0?red:green, title="SAR_PLOT", linewidth=2)
Advertisement
Add Comment
Please, Sign In to add comment