스퀴즈전략


스퀴즈전략

input : bb_period(20), bb_stdev(2),unit(20); var : bb_top(0), bb_bot(0), band_width(0), band_position(0); bb_top = BollBandUp(bb_period,bb_stdev); bb_bot = BollBandDown(bb_period,bb_stdev); band_width = ((bb_top - bb_bot) / avg(bb_top,bb_bot)) * 100; Condition1 = lowest(band_width,30) == band_width and band_width <= 20; Condition2 = MarketPosition == 0 and (TotalTrades == 0 or (TotalTrades >= 1 and BarsSinceExit(1) >= 1)); Condition3 = TRIx(20) >= Ema(trix(20),10) ; condition4 = Ema(c,5) > Ema(c...


#Else #if

원문링크 : 스퀴즈전략