Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. //@version=3
  2. study("Supports/Resistances", overlay=true)
  3. s0 = (time >= 1539586800000 and time < 1542229200000) ? 5.5689 : na
  4. plot(s0, transp=0, linewidth=2, color=red)
  5. s1 = (time >= 1539568800000 and time < 1542160800000) ? 5.1846 : na
  6. plot(s1, transp=0, linewidth=2, color=red)
  7. s2 = (time >= 1539266400000 and time < 1541858400000) ? 5.3453 : na
  8. plot(s2, transp=0, linewidth=2, color=red)
  9. s3 = (time >= 1539025200000 and time < 1542175200000) ? 6.0039 : na
  10. plot(s3, transp=0, linewidth=2, color=red)
  11. s4 = (time >= 1538100000000 and time < 1541289600000) ? 5.8107 : na
  12. plot(s4, transp=0, linewidth=2, color=red)
  13. s5 = (time >= 1537916400000 and time < 1540627200000) ? 5.4202 : na
  14. plot(s5, transp=0, linewidth=2, color=red)
  15. s6 = (time >= 1537858800000 and time < 1541890800000) ? 5.12 : na
  16. plot(s6, transp=0, linewidth=2, color=red)
  17. s7 = (time >= 1537779600000 and time < 1542258000000) ? 5.6316 : na
  18. plot(s7, transp=0, linewidth=2, color=red)
  19. s8 = (time >= 1537570800000 and time < 1540162800000) ? 6.1931 : na
  20. plot(s8, transp=0, linewidth=2, color=red)
  21. s9 = (time >= 1537542000000 and time < 1542193200000) ? 5.7298 : na
  22. plot(s9, transp=0, linewidth=2, color=red)
  23. s10 = (time >= 1537534800000 and time < 1540893600000) ? 5.9112 : na
  24. plot(s10, transp=0, linewidth=2, color=red)
  25. s11 = (time >= 1537070400000 and time < 1542081600000) ? 5.27 : na
  26. plot(s11, transp=0, linewidth=2, color=red)
  27. s12 = (time >= 1536854400000 and time < 1541127600000) ? 5.5 : na
  28. plot(s12, transp=0, linewidth=2, color=red)
  29. s13 = (time >= 1536238800000 and time < 1539878400000) ? 5.18 : na
  30. plot(s13, transp=0, linewidth=2, color=red)
  31. s14 = (time >= 1536228000000 and time < 1539946800000) ? 4.99 : na
  32. plot(s14, transp=0, linewidth=2, color=red)
  33. s15 = (time >= 1535875200000 and time < 1538665200000) ? 6.63 : na
  34. plot(s15, transp=0, linewidth=2, color=red)
  35. s16 = (time >= 1535828400000 and time < 1538420400000) ? 6.76 : na
  36. plot(s16, transp=0, linewidth=2, color=red)
  37. s17 = (time >= 1535670000000 and time < 1540710000000) ? 6.07 : na
  38. plot(s17, transp=0, linewidth=2, color=red)
  39. s18 = (time >= 1535576400000 and time < 1538168400000) ? 6.26 : na
  40. plot(s18, transp=0, linewidth=2, color=red)
  41. s19 = (time >= 1535508000000 and time < 1540400400000) ? 5.84 : na
  42. plot(s19, transp=0, linewidth=2, color=red)
  43. s20 = (time >= 1535137200000 and time < 1539111600000) ? 5.08 : na
  44. plot(s20, transp=0, linewidth=2, color=red)
  45. s21 = (time >= 1534806000000 and time < 1539806400000) ? 4.7 : na
  46. plot(s21, transp=0, linewidth=2, color=red)
  47. s22 = (time >= 1534683600000 and time < 1539543600000) ? 5.36 : na
  48. plot(s22, transp=0, linewidth=2, color=red)
  49. s23 = (time >= 1534546800000 and time < 1537138800000) ? 5.58 : na
  50. plot(s23, transp=0, linewidth=2, color=red)
  51. s24 = (time >= 1534489200000 and time < 1538910000000) ? 4.94 : na
  52. plot(s24, transp=0, linewidth=2, color=red)
  53. s25 = (time >= 1534453200000 and time < 1537045200000) ? 4.49 : na
  54. plot(s25, transp=0, linewidth=2, color=red)
  55. s26 = (time >= 1534327200000 and time < 1537560000000) ? 4.57 : na
  56. plot(s26, transp=0, linewidth=2, color=red)
  57. s27 = (time >= 1534291200000 and time < 1539266400000) ? 4.76 : na
  58. plot(s27, transp=0, linewidth=2, color=red)
  59. s28 = (time >= 1534208400000 and time < 1536800400000) ? 4.27 : na
  60. plot(s28, transp=0, linewidth=2, color=red)
  61. s29 = (time >= 1534186800000 and time < 1536778800000) ? 4.62 : na
  62. plot(s29, transp=0, linewidth=2, color=red)
  63. s30 = (time >= 1534006800000 and time < 1538874000000) ? 5.27 : na
  64. plot(s30, transp=0, linewidth=2, color=red)
  65. s31 = (time >= 1534003200000 and time < 1537851600000) ? 4.87 : na
  66. plot(s31, transp=0, linewidth=2, color=red)
  67. s32 = (time >= 1533902400000 and time < 1536494400000) ? 5.65 : na
  68. plot(s32, transp=0, linewidth=2, color=red)
  69. s33 = (time >= 1533852000000 and time < 1538269200000) ? 5.92 : na
  70. plot(s33, transp=0, linewidth=2, color=red)
  71. s34 = (time >= 1533744000000 and time < 1538769600000) ? 5.44 : na
  72. plot(s34, transp=0, linewidth=2, color=red)
  73. s35 = (time >= 1533690000000 and time < 1538625600000) ? 6.42 : na
  74. plot(s35, transp=0, linewidth=2, color=red)
  75. s36 = (time >= 1533157200000 and time < 1535857200000) ? 6.93 : na
  76. plot(s36, transp=0, linewidth=2, color=red)
  77. s37 = (time >= 1533110400000 and time < 1535936400000) ? 7.32 : na
  78. plot(s37, transp=0, linewidth=2, color=red)
  79. s38 = (time >= 1533085200000 and time < 1535677200000) ? 7.1 : na
  80. plot(s38, transp=0, linewidth=2, color=red)
  81. s39 = (time >= 1532725200000 and time < 1535317200000) ? 8.5 : na
  82. plot(s39, transp=0, linewidth=2, color=red)
  83. s40 = (time >= 1532692800000 and time < 1535284800000) ? 8.03 : na
  84. plot(s40, transp=0, linewidth=2, color=red)
  85. s41 = (time >= 1532131200000 and time < 1535587200000) ? 7.63 : na
  86. plot(s41, transp=0, linewidth=2, color=red)
  87. s42 = (time >= 1531900800000 and time < 1535176800000) ? 8.83 : na
  88. plot(s42, transp=0, linewidth=2, color=red)
  89. s43 = (time >= 1531688400000 and time < 1535562000000) ? 7.51 : na
  90. plot(s43, transp=0, linewidth=2, color=red)
  91. s44 = (time >= 1531378800000 and time < 1533970800000) ? 6.64 : na
  92. plot(s44, transp=0, linewidth=2, color=red)
  93. s45 = (time >= 1531288800000 and time < 1534104000000) ? 6.84 : na
  94. plot(s45, transp=0, linewidth=2, color=red)
  95. s46 = (time >= 1530856800000 and time < 1535115600000) ? 8.38 : na
  96. plot(s46, transp=0, linewidth=2, color=red)
  97. s47 = (time >= 1530662400000 and time < 1534590000000) ? 8.63 : na
  98. plot(s47, transp=0, linewidth=2, color=red)
  99. s48 = (time >= 1530586800000 and time < 1533301200000) ? 9.27 : na
  100. plot(s48, transp=0, linewidth=2, color=red)
  101. s49 = (time >= 1530576000000 and time < 1535072400000) ? 8.95 : na
  102. plot(s49, transp=0, linewidth=2, color=red)
  103. s50 = (time >= 1530565200000 and time < 1534525200000) ? 9.09 : na
  104. plot(s50, transp=0, linewidth=2, color=red)
  105. s51 = (time >= 1530453600000 and time < 1535580000000) ? 7.87 : na
  106. plot(s51, transp=0, linewidth=2, color=red)
  107. s52 = (time >= 1530270000000 and time < 1534042800000) ? 7.19 : na
  108. plot(s52, transp=0, linewidth=2, color=red)
  109. s53 = (time >= 1530068400000 and time < 1534305600000) ? 7.32 : na
  110. plot(s53, transp=0, linewidth=2, color=red)
  111. s54 = (time >= 1529892000000 and time < 1534993200000) ? 7.76 : na
  112. plot(s54, transp=0, linewidth=2, color=red)
  113. s55 = (time >= 1529870400000 and time < 1534788000000) ? 8.26 : na
  114. plot(s55, transp=0, linewidth=2, color=red)
  115. s56 = (time >= 1529852400000 and time < 1532444400000) ? 6.96 : na
  116. plot(s56, transp=0, linewidth=2, color=red)
  117. s57 = (time >= 1529161200000 and time < 1531753200000) ? 10.27 : na
  118. plot(s57, transp=0, linewidth=2, color=red)
  119. s58 = (time >= 1528905600000 and time < 1531497600000) ? 9.55 : na
  120. plot(s58, transp=0, linewidth=2, color=red)
  121. s59 = (time >= 1528668000000 and time < 1532062800000) ? 10.14 : na
  122. plot(s59, transp=0, linewidth=2, color=red)
  123. s60 = (time >= 1528632000000 and time < 1531224000000) ? 13.2 : na
  124. plot(s60, transp=0, linewidth=2, color=red)
  125. s61 = (time >= 1528387200000 and time < 1530979200000) ? 14.43 : na
  126. plot(s61, transp=0, linewidth=2, color=red)
  127. s62 = (time >= 1528185600000 and time < 1530777600000) ? 13.91 : na
  128. plot(s62, transp=0, linewidth=2, color=red)
  129. s63 = (time >= 1528142400000 and time < 1531044000000) ? 13.72 : na
  130. plot(s63, transp=0, linewidth=2, color=red)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement