AnthonyAlexander

XXXII

Jan 9th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 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. set{calc1, gapup100f*100}
  32. set{calcdn, calc1/gappedup100}
  33. set{calc3, gapdn100f*100}
  34. set{calcup, calc3/gappeddn100}
  35.  
  36. set{true_range, average true range(1)}
  37. set{ema_true_range, CEMA(average true range(1), 14)}
  38. set{volatility_ratio, true_range / ema_true_range}
  39. set{volatility_ratio_count, count(volatility_ratio is above 2.0, 100)}
  40.  
  41. set{t1, count(rsi(2) 1 day ago was below 30,1)}
  42. set{t2, count(rsi(2) 1 day ago was above 10,1)}
  43. set{t3, count(rsi(2) is above 95,1)}
  44. set{t4, t1*t2}
  45. set{t5, t4*t3}
  46. set{thrust, count(t5 > 0,1)}
  47.  
  48. add column liquidity
  49. add column separator
  50. add column volume 1 day ago
  51. add column Average Volume(7) 1 day ago
  52. add column vdif
  53. add column separator
  54. add column shares outstanding
  55. add column market cap
  56. add column separator
  57. add column RSI(2)
  58. add column volatility_ratio
  59. add column separator
  60. add column thrust
  61. add column exhaust
  62. add column separator
  63.  
  64. set{kc1, count(close crossed above Upper Keltner Band(4,3),1)}
  65. set{kc2, count(open is below Lower Keltner Band(161,2.0),1)}
  66. set{a1, kc1 * kc2}
  67. set{a, count(a1 > 0,1)}
  68.  
  69. set{kc3, count(close crossed above Upper SMA Envelope(280,11.0),1)}
  70. set{kc4, count(open is below Lower SMA Envelope(280,11.0),1)}
  71. set{b1, kc3 * kc4}
  72. set{b, count(b1 > 0,1)}
  73.  
  74. set{kc5, count(open is below Lower EMA Envelope(50,10.0),1)}
  75. set{kc6, count(close is above Upper EMA Envelope(50,10.0),1)}
  76. set{c1, kc5 * kc6}
  77. set{c, count(c1 > 0,1)}
  78.  
  79. set{kc7, count(open is below Lower SMA Envelope(55,13.0),1)}
  80. set{kc8, count(close crossed above Upper SMA Envelope(55,13.0),1)}
  81. set{d1, kc7 * kc8}
  82. set{d, count(d1 > 0,1)}
  83.  
  84.  
  85. set{kc9, count(open is below Lower Bollinger Band(102,0.5),1)}
  86. set{kc10, count(close crossed above Upper Bollinger Band(53,4.5),1)}
  87. set{e1, kc9 * kc10}
  88. set{e, count(e1 > 0,1)}
  89.  
  90. set{kc11, count(open is below Lower Bollinger Band(170,1),1)}
  91. set{kc12, count(close crossed above Upper Bollinger Band(57,5),1)}
  92. set{f1, kc11 * kc12}
  93. set{f, count(f1 > 0,1)}
  94.  
  95. set{_r1, count(rsi(2) > 98,1)}
  96. set{_r2, count(close is 10% below high,1)}
  97. set{exhaust, _r1 * _r2}
  98. /* */
  99. set{x1, a + b}
  100. set{v1, c + x1}
  101. set{w1, d + v1}
  102. set{y1, e + w1}
  103. set{u1, f+y1}
  104. set{z1, u1+exhaust}
  105. set{finale, z1+thrust}
  106. finale > 0
  107.  
  108.  
  109.  
  110.  
  111. add column a
  112. add column b
  113. add column c
  114. add column separator
  115. add column d
  116. add column e
  117. add column f /* f has never lost */
  118.  
  119. add column separator
  120. add column industry
  121. add column sector
  122. add column separator
  123.  
  124. do not draw liquidity
  125. draw volatility_ratio line at 0.5
  126. draw volatility_ratio line at 2
  127. draw rsi(2)
  128. draw Top Linear Regression Line(100,1.0)
  129. set{volcnt, count(volume above 1000000, 100) }
  130.  
  131. add column calcdn{fades if gap down %}
  132. add column gapfilled
  133. add column calcup{fades if gap up %}
  134. add column separator
  135. add column s2 /* take profit */
  136. add column s1 /* cover part of position */
  137. add column pp
  138. add column r1 /* decrease part of position */
  139. add column r2 /* stop loss */
  140. add column separator
  141.  
  142. offset is 0
Advertisement
Add Comment
Please, Sign In to add comment