AnthonyAlexander

XXX- "30"

Jan 8th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. market is not OTCBB
  2. market is not ETF
  3. close > 0.2
  4. close < 10
  5. set{liquidity, volume * price}
  6.  
  7. volume > 1000000
  8. liquidity > 1000000
  9. shares outstanding is below 1000
  10.  
  11. set{v_1, volume}
  12. set{v_2, volume 1 day ago}
  13. set{v_3, v_1-v_2}
  14. set{v_4, v_3/v_2}
  15. set{vdif, v_4*100}
  16.  
  17. set{Xgapped, open - close 1 day ago}
  18. set{Xgapup, count(Xgapped > 0, 1)}
  19. set{Xgapdn, count(Xgapped < 0, 1)}
  20. set{gappedup100, count(Xgapup > 0, 100)}
  21. set{gappeddn100, count(Xgapdn > 0, 100)}
  22. set{cl1lo, close 1 day ago - low}
  23. set{hicl1, high - close 1 day ago }
  24. set{fillup, count(cl1lo > 0, 1)}
  25. set{filldn, count(hicl1 > 0, 1)}
  26. set{gapupfilled, Xgapup * fillup }
  27. set{gapdnfilled, Xgapdn * filldn }
  28. set{gapup100f, count(gapupfilled > 0, 100)}
  29. set{gapdn100f, count(gapdnfilled > 0, 100)}
  30. set{gapfilled, gapup100f + gapdn100f}
  31.  
  32. add column liquidity
  33. add column separator
  34. add column volume 1 day ago
  35. add column Average Volume(7) 1 day ago
  36. add column vdif
  37. add column separator
  38. add column shares outstanding
  39. add column market cap
  40. add column separator
  41. add column RSI(2)
  42. add column weekly RSI(2)
  43. add column RSI(7)
  44. add column separator
  45.  
  46. set{kc1, count(close crossed above Upper Keltner Band(4,3),1)}
  47. set{kc2, count(open is below Lower Keltner Band(161,2.0),1)}
  48. set{a1, kc1 * kc2}
  49. set{a, count(a1 > 0,1)}
  50.  
  51. set{kc3, count(close crossed above Upper SMA Envelope(280,11.0),1)}
  52. set{kc4, count(open is below Lower SMA Envelope(280,11.0),1)}
  53. set{b1, kc3 * kc4}
  54. set{b, count(b1 > 0,1)}
  55.  
  56. set{kc5, count(open is below Lower EMA Envelope(50,10.0),1)}
  57. set{kc6, count(close is above Upper EMA Envelope(50,10.0),1)}
  58. set{c1, kc5 * kc6}
  59. set{c, count(c1 > 0,1)}
  60.  
  61. set{kc7, count(open is below Lower SMA Envelope(55,13.0),1)}
  62. set{kc8, count(close crossed above Upper SMA Envelope(55,13.0),1)}
  63. set{d1, kc7 * kc8}
  64. set{d, count(d1 > 0,1)}
  65.  
  66.  
  67. set{kc9, count(open is below Lower Bollinger Band(102,0.5),1)}
  68. set{kc10, count(close crossed above Upper Bollinger Band(53,4.5),1)}
  69. set{e1, kc9 * kc10}
  70. set{e, count(e1 > 0,1)}
  71.  
  72. set{kc11, count(open is below Lower Bollinger Band(170,1),1)}
  73. set{kc12, count(close crossed above Upper Bollinger Band(57,5),1)}
  74. set{f1, kc11 * kc12}
  75. set{f, count(f1 > 0,1)}
  76.  
  77. set{_r1, count(rsi(2) crossed above 98,1)}
  78. set{_r2, count(close is 10% below high,1)}
  79. set{exhaust, _r1 * _r2}
  80. /* */
  81. set{x1, a + b}
  82. set{v1, c + x1}
  83. set{w1, d + v1}
  84. set{y1, e + w1}
  85. set{u1, f+y1}
  86. set{z1, u1+exhaust}
  87. z1 > 0
  88.  
  89. add column exhaust
  90.  
  91. add column separator
  92.  
  93.  
  94. add column a
  95. add column b
  96. add column c
  97. add column separator
  98. add column d
  99. add column e
  100. add column f /* f has never lost */
  101. add column separator
  102.  
  103. set{true_range, average true range(1)}
  104. set{ema_true_range, CEMA(average true range(1), 14)}
  105. set{volatility_ratio, true_range / ema_true_range}
  106. set{volatility_ratio_count, count(volatility_ratio is above 2.0, 100)}
  107. /* if v-ratio is almost constant then a runner is in play */
  108. add column separator
  109. add column volatility_ratio
  110. add column separator
  111. add column industry
  112. add column sector
  113. add column separator
  114.  
  115. do not draw liquidity
  116. draw volatility_ratio line at 0.5
  117. draw volatility_ratio line at 2
  118. draw rsi(2)
  119. draw Top Linear Regression Line(100,1.0)
  120. set{volcnt, count(volume above 1000000, 100) }
  121. add column volcnt
  122. add column separator
  123. and add column gappedup100{gapped up}
  124. and add column gapup100f{got filled}
  125. add column separator
  126. and add column gapfilled
  127. add column separator
  128. and add column gappeddn100{gapped down}
  129. and add column gapdn100f{got filled}
  130. add column separator
  131. offset is 0
Advertisement
Add Comment
Please, Sign In to add comment