九毛八公式指标
大智慧1 V1:=H-L; V2:=ABS(O-C); V3:=H-IF(C>O,C,O); V4:=IF(C>O,O,C)-L; V5:=V2/V1*V; V6:=V3/V1*V; V7:=V4/V1*V; RSV1:=(C-LLV(L,6))/(HHV(H,6)-LLV(L,6))*100; K1:=SMA(RSV1,2,1); D1:=SMA(K1,2,1); J1:=3*K1-2*D1; RSV:=(C-LLV(L,28))/(HHV(H,28)-LLV(L,28))*100; K:=SMA(RSV,8, 1); D:=SMA(K,2, 1); J:=3*K-2*D; LC:=REF(C,1); XA:=IF(CROSS(J1,J) AND J<105,-1,0)+IF(CROSS(J,J1) AND J>97,1,0); TYP:=(H+L+C)/16; CCJ:=(TYP-MA(TYP,44))/(0.015*AVEDEV(TYP,44))/2; RSI1:=SMA(MAX(C-LC, 0),26, 1)/SMA(ABS(C-LC), 26, 1)*100; K2:=EMA((C-LLV(L,45))/(HHV(H,45)-LLV(L,45))*100,34); XB:=IF(CCJ>100 AND K2>97 AND C>O, 0.8, 0)+IF(RSI1>97 AND K2>97 AND C>O, 0.5, 0); RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100; K13:=SMA(RSV3, 42, 1); D13:=SMA(K1, 3, 1); J13:=3*K13-2*D13; XC:=IF(J13>97 AND RSI1>97, 2.0, 0); 阳线逃:V*(XA+XB+XC>0),ColorFF0000,linethick3; DRAWTEXT(阳线逃,阳线逃*1.8,'●'),ColorFFFF00; DRAWTEXT(阳线逃,阳线逃*2.9,'清●仓'),ColorFFFF00; {逃顶提示} ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.054 AND C
公式模块:
V1:=H-L;
V2:=ABS(O-C); V3:=H-IF(C>O,C,O); V4:=IF(C>O,O,C)-L; V5:=V2/V1*V; V6:=V3/V1*V; V7:=V4/V1*V; RSV1:=(C-LLV(L,6))/(HHV(H,6)-LLV(L,6))*100; K1:=SMA(RSV1,2,1); D1:=SMA(K1,2,1); J1:=3*K1-2*D1; RSV:=(C-LLV(L,28))/(HHV(H,28)-LLV(L,28))*100; K:=SMA(RSV,8, 1); D:=SMA(K,2, 1); J:=3*K-2*D; LC:=REF(C,1); XA:=IF(crOSS(J1,J) AND J<105,-1,0)+IF(CROSS(J,J1) AND J>97,1,0); TYP:=(H+L+C)/16; CCJ:=(TYP-MA(TYP,44))/(0.015*AVEDEV(TYP,44))/2; rsi1:=SMA(MAX(C-LC, 0),26, 1)/SMA(ABS(C-LC), 26, 1)*100; K2:=EMA((C-LLV(L,45))/(HHV(H,45)-LLV(L,45))*100,34); XB:=IF(CCJ>100 AND K2>97 AND C>O, 0.8, 0)+IF(RSI1>97 AND K2>97 AND C>O, 0.5, 0); RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100; K13:=SMA(RSV3, 42, 1); D13:=SMA(K1, 3, 1); J13:=3*K13-2*D13; XC:=IF(J13>97 AND RSI1>97, 2.0, 0); 阳线逃:V*(XA+XB+XC>0),COLORFF0000,LINETHICK3; DRAWTEXT(阳线逃,阳线逃*1.8,'●'),COLORFFFF00; DRAWTEXT(阳线逃,阳线逃*2.9,'清●仓'),COLORFFFF00; {逃顶提示} ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.054 AND C<O*1.24,1,8); V12:=MA(V,18); V34:=MA(V,6); C6:=MA(C,12); STICKLINE(CROSS(C6,C) AND V>V5*1.5 AND V>V12*1.5,0,vol,7,0),COLORYELLOW; DRAWTEXT(CROSS(C6,C) AND V>V5*1.5 AND V>V12*1.5,V*1.1,'逃'),COLORWHITE;