Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- market is not OTCBB
- market is not ETF
- close > 0.2
- close < 10
- set{liquidity, volume * price}
- volume > 1000000
- liquidity > 1000000
- shares outstanding is below 1000
- set{v_1, volume}
- set{v_2, volume 1 day ago}
- set{v_3, v_1-v_2}
- set{v_4, v_3/v_2}
- set{vdif, v_4*100}
- set{Xgapped, open - close 1 day ago}
- set{Xgapup, count(Xgapped > 0, 1)}
- set{Xgapdn, count(Xgapped < 0, 1)}
- set{gappedup100, count(Xgapup > 0, 100)}
- set{gappeddn100, count(Xgapdn > 0, 100)}
- set{cl1lo, close 1 day ago - low}
- set{hicl1, high - close 1 day ago }
- set{fillup, count(cl1lo > 0, 1)}
- set{filldn, count(hicl1 > 0, 1)}
- set{gapupfilled, Xgapup * fillup }
- set{gapdnfilled, Xgapdn * filldn }
- set{gapup100f, count(gapupfilled > 0, 100)}
- set{gapdn100f, count(gapdnfilled > 0, 100)}
- set{gapfilled, gapup100f + gapdn100f}
- set{calc1, gapup100f*100}
- set{calcdn, calc1/gappedup100}
- set{calc3, gapdn100f*100}
- set{calcup, calc3/gappeddn100}
- set{true_range, average true range(1)}
- set{ema_true_range, CEMA(average true range(1), 14)}
- set{volatility_ratio, true_range / ema_true_range}
- set{volatility_ratio_count, count(volatility_ratio is above 2.0, 100)}
- set{t1, count(rsi(2) 1 day ago was below 30,1)}
- set{t2, count(rsi(2) 1 day ago was above 10,1)}
- set{t3, count(rsi(2) is above 95,1)}
- set{t4, t1*t2}
- set{t5, t4*t3}
- set{thrust, count(t5 > 0,1)}
- add column liquidity
- add column separator
- add column volume 1 day ago
- add column Average Volume(7) 1 day ago
- add column vdif
- add column separator
- add column shares outstanding
- add column market cap
- add column separator
- add column RSI(2)
- add column volatility_ratio
- add column separator
- add column thrust
- add column exhaust
- add column separator
- set{kc1, count(close crossed above Upper Keltner Band(4,3),1)}
- set{kc2, count(open is below Lower Keltner Band(161,2.0),1)}
- set{a1, kc1 * kc2}
- set{a, count(a1 > 0,1)}
- set{kc3, count(close crossed above Upper SMA Envelope(280,11.0),1)}
- set{kc4, count(open is below Lower SMA Envelope(280,11.0),1)}
- set{b1, kc3 * kc4}
- set{b, count(b1 > 0,1)}
- set{kc5, count(open is below Lower EMA Envelope(50,10.0),1)}
- set{kc6, count(close is above Upper EMA Envelope(50,10.0),1)}
- set{c1, kc5 * kc6}
- set{c, count(c1 > 0,1)}
- set{kc7, count(open is below Lower SMA Envelope(55,13.0),1)}
- set{kc8, count(close crossed above Upper SMA Envelope(55,13.0),1)}
- set{d1, kc7 * kc8}
- set{d, count(d1 > 0,1)}
- set{kc9, count(open is below Lower Bollinger Band(102,0.5),1)}
- set{kc10, count(close crossed above Upper Bollinger Band(53,4.5),1)}
- set{e1, kc9 * kc10}
- set{e, count(e1 > 0,1)}
- set{kc11, count(open is below Lower Bollinger Band(170,1),1)}
- set{kc12, count(close crossed above Upper Bollinger Band(57,5),1)}
- set{f1, kc11 * kc12}
- set{f, count(f1 > 0,1)}
- set{_r1, count(rsi(2) > 98,1)}
- set{_r2, count(close is 10% below high,1)}
- set{exhaust, _r1 * _r2}
- /* */
- set{x1, a + b}
- set{v1, c + x1}
- set{w1, d + v1}
- set{y1, e + w1}
- set{u1, f+y1}
- set{z1, u1+exhaust}
- set{finale, z1+thrust}
- finale > 0
- add column a
- add column b
- add column c
- add column separator
- add column d
- add column e
- add column f /* f has never lost */
- add column separator
- add column industry
- add column sector
- add column separator
- do not draw liquidity
- draw volatility_ratio line at 0.5
- draw volatility_ratio line at 2
- draw rsi(2)
- draw Top Linear Regression Line(100,1.0)
- set{volcnt, count(volume above 1000000, 100) }
- add column calcdn{fades if gap down %}
- add column gapfilled
- add column calcup{fades if gap up %}
- add column separator
- add column s2 /* take profit */
- add column s1 /* cover part of position */
- add column pp
- add column r1 /* decrease part of position */
- add column r2 /* stop loss */
- add column separator
- offset is 0
Advertisement
Add Comment
Please, Sign In to add comment