{P1:2 20 5 P2:2 20 4}
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE/SSRCJL)/100);
SSRGL:=(((C-SSRCBJX)/SSRCBJX)*100);
绝对底:=SSRGL<(0-18);
大底:=SSRGL<(0-14);
中底:=SSRGL<(0-10);
短底:=SSRGL<(0-6);
STICKLINE((SSRGL<(0-18)),15,20,2,0),COLORBLUE;
STICKLINE((SSRGL<(0-14)),10,15,2,0),COLORYELLOW;
STICKLINE((SSRGL<(0-10)),5,10,2,0),COLORRED;
STICKLINE((SSRGL<(0-6)),0,5,2,0),COLORWHITE;
高卖:80, POINTDOT,COLORRED;
低吸:20, POINTDOT,COLORGREEN;
VAR1:=LLV(L,P1);
VAR2:=HHV(H,P1);
A01:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A01,5);
DRAWBAND(黑马线,RGB(0,22,224),A01,RGB(255,50,50));
A02:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A03:=EMA(C,5);
A04:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:(MA(3*SMA(A04,6,1)-2*SMA(SMA(A04,5,1),5,1),2)),LINETHICK1,COLORYELLOW;
K: EMA((C-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK1;
CQ:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,34)/HHV(C,34));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
峰顶:STICKLINE(饱和度>=97 AND CQ>90,80,100,0,0),COLORGREEN;
STICKLINE(W4 AND COUNT(W4,5)=1,90,100,0,0),COLORRED;
A05:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A02<0,7),黑马线,'跑'),COLORCYAN;
DRAWTEXT(CROSS(A01,黑马线)AND 黑马线<A05,黑马线,'黑马');
DRAWTEXT(CROSS(黑马线,A05)AND 趋势线<80,黑马线,'追涨');
DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,50,'大黑马'),COLORYELLOW;
STICKLINE((CROSS(趋势线,0)AND 黑马线<40),0,40,0,0),COLORYELLOW;
底部:(A02<-10 AND A02>REF(A02,1))*25,COLORRED;
DRAWICON(底部 AND A03>REF(A03,1),25,4);
机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORWHITE ;
大势已去:IF(CROSS(黑马线,A01)AND 黑马线>70 AND 趋势线>80,90,100),COLORGREEN;
|