binancash

A pattern to PUT during weak market

教育
CME_MINI:NQ1!   E-迷你納斯達克100指數期貨
I try to research and develop some pattern when the market is weak:

In this case I try 3 patterns below:


var int cnt_out_up = 0

Pattern #1: Big drop

wma_11 = ta.wma(close, 11)
wma11 = request.security(symbol=syminfo.tickerid, timeframe="13", expression=wma_11, lookahead=barmerge.lookahead_on)
wma_48 = ta.wma(close, 48)
wma48 = request.security(symbol=syminfo.tickerid, timeframe="13", expression=wma_48, lookahead=barmerge.lookahead_on)
rsi = ta.rsi(close, 9)
bigdrop = rsi + 8 < rsi and close > wma48
if bigdrop
cnt_out_up := cnt_out_up + 1

Pattern #2

var int cnt_put = 0
gain1 = math.abs(close-close)
gain2 = math.abs(close-close)
pattern_put = close>close and close>close and high<=high and close <= close and (gain1-gain2)/gain2 <= -0.5 or ((high-low)-(high-close)) / (high-low) < 0.25 and wma11<wma48
if pattern_put
cnt_put := cnt_put + 1
if pattern_put and cnt_put == 1
cnt_out_up := cnt_out_up + 1

Pattern #3

oc = math.abs(open-close)
hl = math.abs(high-low)
ochl = (oc-hl)/hl
ll = (low-low)/low
is_br = open < close and open < close and close < open and close < close and close > close and ochl < 0.1 and (low < low and low < low)

If pattern #1, #2 and #3 occur then I set a PUT trigger.

Try this one and enjoy!

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。