|
QuantShare
2010-05-24 06:51:36
0
|
|
Best Answer
SMA 10, 20 and 30 bars turned up in the last 5 bars:
roc(sma(10), 5) > 0 and roc(sma(20), 5) > 0 and roc(sma(30), 5) > 0 and ref(roc(sma(10), 5), 5) < 0 and ref(roc(sma(20), 5), 5) < 0 and ref(roc(sma(30), 5), 5) < 0
RSI turning up after remaining below30 or flat or negative over last 3days:
rsi(14) > ref(rsi(14), 1) and (istrue(rsi(14) < 30, 3) or roc(rsi(14), 3) 1.2 * ref(hhv(high, 20), 10)
Stocks down 20% from their last 20-bar highest high, 10 days ago:
high < 0.8 * ref(hhv(high, 20), 10)
Horizontal resistance can be defined as the highest close value over N-bar
hhv(close, N)
|
|