Advertisement
JustUncleL

Price Action HiLo Channel R1

Jan 12th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. //@version2
  2. //
  3. study("Price Action HiLo Channel R1 by JustUncleL", shorttitle="PACHILO R1", overlay=true)
  4. //
  5. // By: JustUncleL
  6. // Date: 1-Aug-2016
  7. // Version: R1
  8. //
  9. // Description:
  10. // This indicator draws a Moving Average channel based on High Low boundaries.
  11. //
  12. // Reference:
  13. //
  14. // Modifications:
  15. //
  16. src=input(close, title="PAC Centre Source")
  17. pacLenC=input(10, title="PAC Center Length")
  18. pacLenL=input(12, title="PAC lower line")
  19. pacLenU=input(12, title="PAC upper line")
  20. //
  21. pacC=ema(src,pacLenC)
  22. pacL=ema(low,pacLenL)
  23. pacU=ema(high,pacLenU)
  24. plot(pacC, color=red, linewidth=2, title="PAC Center",transp=20)
  25. L=plot(pacL, color=blue, linewidth=1, title="PAC Lower",transp=20)
  26. U=plot(pacU, color=blue, linewidth=1, title="PAC Upper",transp=20)
  27. fill(L,U, color=blue, transp=95)
  28. // eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement