GHC1:=(2*CLOSE+HIGH+LOW)/4;
GHC2:=LLV(LOW,34);
GHC3:=HHV(HIGH,34);
空:EMA((GHC1-GHC2)/(GHC3-GHC2)*100,13),COLORYELLOW;
多:EMA(0.667*REF(空,1)+0.333*空,2),COLORF00FF0;
高抛低吸分界线: 50,crOSSDOT,COLORYELLOW;
危险小心套牢:IF(CROSS(多,空) AND 多 75,72,68),STICK,LINETHICK4,COLOR00FF00;68,STICK,LINETHICK4,COLOR000000;
卖出:IF(CROSS(空,75) AND 多 空,66,61),STICK,LINETHICK4,COLORF0F000;61,STICK,LINETHICK4,COLOR000000;
弱出强留1:IF(CROSS(空,65) AND 多 空,52,47),STICK,LINETHICK4,COLORRED;47,STICK,LINETHICK4,COLOR000000;
弱出强留:IF(CROSS(空,30) AND 多 空,38,33),STICK,LINETHICK4,COLORYELLOW;33,STICK,LINETHICK4,COLOR000000;
机会:IF(CROSS(空,多) AND 空 22,32,27),STICK,LINETHICK4,COLORF00FF0;27,STICK,LINETHICK4,COLOR000000;
低吸:IF(CROSS(空,多) AND 空 40,25,10),COLORRED,LINETHICK2;
高抛:IF(CROSS(多,空) AND 多 75,75,90),COLORGREEN,LINETHICK2;
GHC4:=REF(LOW,1);
GHC5:=SMA(Abs(LOW-GHC4),13,1)/SMA(MAX(LOW-GHC4,0),13,1)*100;
GHC6:=EMA(IF(CLOSE*1.2,GHC5*13,GHC5/13),13);
GHC7:=LLV(LOW,34);
GHC8:=HHV(GHC6,34);
GHC9:=IF(LLV(LOW,56),1,0);
CZS1:=EMA(IF(LOW =GHC7,(GHC6+GHC8*2)/2,0),3)/618*GHC9;
CZS2:=EMA(CLOSE,5);
CZS3:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);
CZS4:=EMA(IF(LOW =GHC7,(GHC6+GHC8*2)/2,0),3)/618*GHC9*(-1);
CZS5:=EMA(CLOSE,5)*(-1);
STICKLINE(CZS1 REF(CZS1,1),0,CZS1,4,0),COLORFF6600;
STICKLINE(CZS1 REF(CZS1,1),0,CZS1,3,0),COLORFF9900;
STICKLINE(CZS1 REF(CZS1,1),0,CZS1,2,0),COLORFFCC00;
STICKLINE(CZS1 REF(CZS1,1),0,CZS1,1,0),COLORCYAN;
STICKLINE(CZS4 REF(CZS4,1),0,CZS4,4,0),COLOR000099;
STICKLINE(CZS4 REF(CZS4,1),0,CZS4,3,0),COLOR0000CC;
STICKLINE(CZS4 REF(CZS4,1),0,CZS4,2,0),COLOR0000FF;
STICKLINE(CZS4 REF(CZS4,1),0,CZS4,1,0),COLORCC66FF;
GSC1:=LLV(LOW,10);
GSC2:=HHV(HIGH,25);
支撑线:=EMA((CLOSE-GSC1)/(GSC2-GSC1)*4,4);
GSC3:=支撑线 REF(支撑线,1)AND 支撑线
GSC4:=MA(C,3);
GSC5:=HIGH GSC4*1.1;
买入:DRAWICON(FILTER(CROSS(C,GSC4)AND GSC3,5),10,26);