副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
支撑:EMA((O+C)/2,20),DOTLINE,COLORCYAN;
牛线:MA(G1,25)+MA(G1,25)*20/100*0.35,COLORRED,LINETHICK2;
压力MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25),DOTLINE,COLORYELLOW;
GUP1:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1;
STICKLINE(GUP1>G2 AND GUP1<G4,GUP1,MIN(MIN(G3,G1),GUP1),2,0),COLORGREEN;
STICKLINE(GUP1>MIN(C,O) AND GUP1<MAX(C,O),GUP1,MIN(G3,G1),2,0),COLORGREEN;
STICKLINE(GUP1>G4,G3,G1,2,0),COLORGREEN;
STICKLINE(GUP1>G4,G4,G2,0,0),COLORGREEN;
GUP2:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(ABS((C-REF(C,1))),6),6);
GUP3:=LLV(GUP2,2)=LLV(GUP2,7) AND COUNT(GUP2<0,2) AND CROSS(GUP2,MA(GUP2,2));
GUP4:=GUP1>G4 AND GUP3 AND L<=GUP1;
STICKLINE(GUP4,C,O,3,0),COLORLIMAGENTA;
DRAWTEXT(GUP4,G2-0.075*G2,'跟庄'),COLORYELLOW;
GUP5:=EMA((G1-LLV(G2,18))/(HHV(G4,18)-LLV(G2,18))*4,5)*100;
GUP6:=REF(GUP5,1)>50 AND GUP5-REF(GUP5,1)>40;
GUP7:=REF(GUP6,1)=0 AND GUP6;
DRAWTEXT(GUP7,G2-0.075*G2,'转强'),COLORRED;
STICKLINE(GUP7,C,O,3,0),COLORYELLOW;
选股公式源码
{选股公式一:跟庄}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1;
GUP2:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(ABS((C-REF(C,1))),6),6);
GUP3:=LLV(GUP2,2)=LLV(GUP2,7) AND COUNT(GUP2<0,2) AND CROSS(GUP2,MA(GUP2,2));
GUP4:=GUP1>G4 AND GUP3 AND L<=GUP1;
GUP5:=EMA((G1-LLV(G2,18))/(HHV(G4,18)-LLV(G2,18))*4,5)*100;
跟庄:GUP4;
{选股公式二:转强}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1;
GUP2:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(ABS((C-REF(C,1))),6),6);
GUP5:=EMA((G1-LLV(G2,18))/(HHV(G4,18)-LLV(G2,18))*4,5)*100;
GUP6:=REF(GUP5,1)>50 AND GUP5-REF(GUP5,1)>40;
GUP7:=REF(GUP6,1)=0 AND GUP6;
转强:GUP7;
|