LC:=REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORDD55DD,NODRAW;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLORDD8855,NODRAW;
DRAWBAND(RSI6,RGB(100,42,100),RSI12,RGB(20,60,100));
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
SRSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
SK:EMA(SRSV,3),COLORFFFFFF,NODRAW;
SD:MA(SK,3),COLOR00FFFF,NODRAW;
SJ:3*SK-2*SD,COLORFFFF88,NODRAW;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOWREF(VAR5,1),VAR5,0),COLORRED,NODRAW;
洗盘:IF(VAR5REF(VAR5,1),0,VAR5,3,0 ),COLOR000066;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR0000AA;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.8,0 ),COLOR0000FF;
STICKLINE(VAR5=VAR41,VAR31,0),3)/2.2;
主力拉高:IF(VAR51REF(VAR51,1),VAR51,0),COLORFF8822,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORFF6622;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.1,0 ),COLORFF4400;
VAR1X:=REF(LOW,1);
VAR2X:=SMA(ABS(LOW-VAR1X),3,1)/SMA(MAX(LOW-VAR1X,0),3,1)*20;
VAR3X:=EMA(IF(CLOSE*1.2,VAR2X*10,VAR2X/10),3);
VAR4X:=LLV(LOW,38);
VAR5X:=HHV(VAR3X,38);
VAR6X:=IF(LLV(LOW,90),1,0);
VAR7X:=EMA(IF(LOW= HHV(H,34),-Y3/Y4,3),9)),COLORRED,LINETHICK1;
B:=6-(EMA(IF(H>= HHV(H,8),-Y3/Y4, 3),9)),COLOR66CC33,NODRAW;
DIFL:=EMA(V,12)-EMA(V,26);
DIF:=EMA(C,12)-EMA(C,26);
底BL:=DIFL>REF(DIFL,1) AND DIFREF(DIF,1);
量底:IF(((W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL,1,0),COLOR88FF88,NODRAW;
价顶:IF(((X>3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL AND K>80,1,0),COLORFFFF00,NODRAW;
DRAWICON(((W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL,90,2);
DRAWICON(((W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL AND K>80,100,14);
RSV0:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K0:=SMA(RSV0,3,1);
D0:=SMA(K0,3,1);
J0:=3*K0-2*D0;
卖警:IF(COUNT(J0>=100,3)=3,90,100),COLOR008800,DOTLINE;
买警:IF(COUNT(J0REF(买警,1),15,'买警'),COLORFFFFFF;
TJ00:=BARSLAST(REF(CROSS(K0,D0) AND REF(K0,1)5 AND LLV(K0,6)>REF(LLV(K0,6),TJ00+1) AND CROSS(K0,D0);
加仓:IF(TJ11,15,0),COLOR0000FF;
轻仓:IF(COUNT(K0REF(K0-D0,1),15,0),COLOR55FFFF;
波高警:=COUNT(J0>=100,2)=2 AND K0>80 AND (K0-D0)=周DD,50,DRAWNULL),COLOR222222;
DRAWICON(CROSS(周KK,周DD),50,7);
DRAWICON(CROSS(周DD,周KK),50,8);
SK1:SK,LINETHICK1,COLORFFFFFF;
SD1:SD,LINETHICK1,COLOR00FFFF;
SJ1:SJ,COLORFFFF22,DOTLINE;
卖
RAWTEXT(CROSS(SD,SK),90,'卖↓'),COLOR22FF22;
买
RAWTEXT(CROSS(SK,SD),20,'买↑'),COLOR2222FF; |