{警戒源码副图源码如下}
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
中轴:0,COLORWHITE,POINTDOT;
主多:2*(VAR2-VAR3)*3.8,LINETHICK1,COLORRED;
主空:(-2)*(VAR2-VAR3)*3.8,LINETHICK1,COLORGREEN;
波线:=SMA(主多,50,5),LINETHICK2,COLORFFFF00;
AH:=STICKLINE(REF(主空,2)<主空,主空,REF(主空,2),5,0),COLORYELLOW;
AK:STICKLINE(REF(主多,1)<主多,主多,REF(主多,1),3,0),COLORRED;
{警戒源码附图选股源码如下}
B1:=(HHV(H,5)-C)/(HHV(H,5)-LLV(LOW,5))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:=IF(B6>60,B6-60,0);
REF(C<O,1) AND REF(C<O,2) AND C>O AND C/REF(C,1)>1.03 AND (REF(H,3)-REF(L,1))/C*100>10 AND
B7>=REF(B7,1),COLORRED;