CC1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2);
黑:EMA(CC1,5),LINETHICK2,COLOR6600FF;
反:100-EMA(CC1,5),LINETHICK2,COLOR00FF00;
CC2:=(黑-REF(黑,1))/REF(黑,1)*100;
CC3:=EMA(C,5);
CC4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势: (EMA(4*SMA(CC4,6,1)-3*SMA(SMA(CC4,5,1),5,1),2)),LINETHICK1,COLORYELLOW;
CC5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑,1)>90 AND CC2< 0,7),黑,'跑'),COLOR00FF00;
DRAWTEXT(CROSS(趋势,黑)AND 黑>20 AND 黑< CC5,黑,'黑马');
DRAWTEXT(CROSS(趋势,0) AND 黑< 40,5,'大黑马');
底部:(CC2< -10 AND CC2>REF(CC2,1))*25,COLORRED;
机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),LINETHICK2,COLORE66878;
大势已去:IF(CROSS(黑,CC1) AND 黑>70 AND 趋势>80,90,100),LINETHICK2,COLORE66878;
50,LINETHICK3,COLORE66878,POINTDOT;
70,COLORYELLOW,POINTDOT;