K2:=EMA(C,5),COLORFFFF00;
K3:=EMA(C,10),COLORFFFF00;
K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;
K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;
STICKLINE(crOSS(K8,0),0,10,8,0) ,COLORRED;
K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;
K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;
K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;
K4:=IF(K8>REF(K8,11) AND K3<REF(K3,11) ,1,0 ),COLORYELLOW;
底部:=STICKLINE((K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),5,0,8,0);
天: 87.5,COLORMAGENTA;
风险: 80,COLORGRAY;
地:10,COLORGREEN;
散户:=EMA(CLOSE,5),COLORWHITE;
操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;
界点:=MA(CLOSE,20),COLORMAGENTA;
BU1:=CROSS(散户,操盘);
买线1:=EMA(C,2);
卖线1:=EMA(SLOPE(C,21)*20+C,42);
BU2:=CROSS(买线1,卖线1);
KAAA:=BU2 AND BU1 AND K6; AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;
操作线:DD,COLORRED,LINETHICK2;
股海:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;
目标出现:IF(CROSS(股海,90) AND 操作线<40, 70,0),COLORBLUE;
注意:IF(COUNT(操作线>REF(操作线,1),1)=1 AND REF(操作线,1)<REF( REF(操作线,1),1) AND 操作线<地,50,0),COLORYELLOW;