财务价值x1:=(C+L+H)/3; x2:=EMA(x1,6); x3:=EMA(x2,5); stickline(x2>x3 and c>ema(c,13),low,high,0.1,1),colorred; stickline(x2>x3 and c>ema(c,13),close,open,5,1),colorred; stickline(x2<x3 and c<ema(c,13),low,high,0.1,1),colorffff54; stickline(x2<x3 and c<ema(c,13),close,open,5,0),colorffff54; drawtext(CROSS(X2,X3),l-0.09,'B'),colorwhite; gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5)); gr2:=ema(c,13)>ema(c,21) and ema(c,21)>ema(c,34) and ema(c,13)>ref(ema(c,13),1); gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1); gr4:=h=hhv(h,gr1); gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1); gr6:=gr2 and gr3 and gr4; gr7:=gr2 and gr3 and gr4 and gr5; gr8:=gr6 and gr7; LC := REF(CLOSE,1); RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; 换手:=100*v/capital; DRAWTEXT(filter(rsi6>95 and 换手>=7,3) or filter(bias5>9,3) or gr8,h*1.04,'S'),color00ff00; bb13:=atan(ema(c,13)-ref(ema(c,13),1))*3.1416*10; ema8:=ema(c,8); DRAWTEXT(filter(bb13>1 and ema(c,13)>ref(ema(c,13),1),10),ema8,'∠45'),colorwhite;
 |