G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;观望区:21,COLORFFBBFF;趋势线:3*SMA((G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100,5,1)-2*SMA(SMA((G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100,5,1),3,1), COLORRED;底线:9,COLOR983433,LINETHICK2;顶线:90,COLORGREEN;STICKLINE(底线>趋势线,底线,趋势线,2,0),COLORRED;STICKLINE(趋势线>顶线,趋势线,顶线,2,0),COLORGREEN;STICKLINE(REF(趋势线,1)<顶线 AND 趋势线>顶线,90,100,2,0),COLORCYAN;STICKLINE(REF(趋势线,1)>顶线 AND 趋势线<顶线,90,80,2,0),COLORBLUE;STICKLINE(CROSS(趋势线,观望区),20,30,2,0),COLORMAGENTA;GUP1:=(趋势线-REF(趋势线,1))*100/REF(趋势线,1);GUP2:=IF(GUP1>=1,趋势线,DRAWNULL),COLORRED,LINETHICK3;STICKLINE(CROSS(趋势线,底线),9,15,2,0),COLORYELLOW;GUP3:=EMA(EMA(G1,13),13);GUP4:=(GUP3-REF(GUP3,1))/REF(GUP3,1)*1000;GUP5:=DYNAINFO(11);P:=60;S:=8;M1:=9;GUP6:=(EMA(G1,S)-EMA(G1,P))*10,COLORRED,LINETHICK2;GUP7:=EMA(GUP6,M1),COLORGREEN,LINETHICK1;GUP8:=(C-GUP5)/GUP5<-0.03;GUP9:=GUP4>REF(GUP4,1) AND GUP4<-0.2;GUP10:=CROSS(GUP6,GUP7) AND GUP6<-0.3;DIFF:=EMA(G1,8)-EMA(G1,60);DEA:=EMA(DIFF,9),COLORFFFF00;GUP11:=CROSS(DIFF,DEA) AND FILTER(GUP8 AND GUP9 AND GUP10,2);STICKLINE(CROSS(DIFF,DEA) AND FILTER(GUP8 AND GUP9 AND GUP10,2),0,22,5,0),COLORWHITE;DRAWTEXT(GUP11,G2*0.96,'庄拉'),COLORLIMAGENTA,LINETHICK3;GUP12:=3;GUP13:=(3)*(SMA(((G1-LLV(G2,38))/(HHV(G4,38)-LLV(G2,38)))*(100),5,1))-(2)*(SMA(SMA(((G1-LLV(G2,38))/(HHV(G4,38)-LLV(G2,38)))*(100),5,1),3,1));潜伏跟庄:IF(CROSS(GUP13,GUP12) AND 趋势线<11,60,0),COLORYELLOW;
第二部分 选股公式
{选股公式一:潜伏跟庄}G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;趋势线:=3*SMA((G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100,5,1)-2*SMA(SMA((G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100,5,1),3,1), COLORRED;GUP12:=3;GUP13:=(3)*(SMA(((G1-LLV(G2,38))/(HHV(G4,38)-LLV(G2,38)))*(100),5,1))-(2)*(SMA(SMA(((G1-LLV(G2,38))/(HHV(G4,38)-LLV(G2,38)))*(100),5,1),3,1));潜伏跟庄:CROSS(GUP13,GUP12) AND 趋势线<11,COLORYELLOW;
{选股公式二:庄拉}G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;GUP3:=EMA(EMA(G1,13),13);GUP4:=(GUP3-REF(GUP3,1))/REF(GUP3,1)*1000;GUP5:=DYNAINFO(11);P:=60;S:=8;M1:=9;GUP6:=(EMA(G1,S)-EMA(G1,P))*10,COLORRED,LINETHICK2;GUP7:=EMA(GUP6,M1),COLORGREEN,LINETHICK1;GUP8:=(C-GUP5)/GUP5<-0.03;GUP9:=GUP4>REF(GUP4,1) AND GUP4<-0.2;GUP10:=CROSS(GUP6,GUP7) AND GUP6<-0.3;DIFF:=EMA(G1,8)-EMA(G1,60);DEA:=EMA(DIFF,9),COLORFFFF00;GUP11:=CROSS(DIFF,DEA) AND FILTER(GUP8 AND GUP9 AND GUP10,2);庄拉:GUP11;