副图公式 源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(EMA((G4+G2+G1)/3,10),1);
GUP2:=EMA(HHV(G4,10),3);
GUP3:=EMA(LLV(G2,10),3);
GUA:=EMA(GUP1*2-GUP3,5),COLORMAGENTA,LINETHICK3;
IF(G1>GUA,GUA,DRAWNULL),COLORMAGENTA,LINETHICK3;
IF(G1<GUA,GUA,DRAWNULL),COLORGREEN,LINETHICK3;
GUP4:=DATE<1390720;
GUP5:=(REF(G1,1)-G1)/REF(G1,1)*100>=10;
STICKLINE(GUP5,G1,G3,2,0),COLORGREEN;
GUP6:=DMA(G1,VOL/CAPITAL);
GUP7:=(G1/REF(G1,1)-1)*100>7;
GUP8:=G3<GUA AND G1>GUA AND GUP4 AND GUP7;
STICKLINE(GUP8,G3,G1,4,0),COLORYELLOW;
DRAWTEXT(GUP8,G2*0.96,'抓涨'),COLORYELLOW;
STICKLINE(G1>G3,G4,G2,0.01,0),COLOR00009A;
STICKLINE(G1>G3,G4,G2,0,0),COLOR0000FA;
STICKLINE(G1>G3,G1,G3,3.5,0),COLOR00006A;
STICKLINE(G1>G3,G1,G3,3.4,0),COLOR00007A;
STICKLINE(G1>G3,G1,G3,3.3,0),COLOR00008A;
选股公式源码
{选股公式:抓涨}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(EMA((G4+G2+G1)/3,10),1);
GUP2:=EMA(HHV(G4,10),3);
GUP3:=EMA(LLV(G2,10),3);
GUA:=EMA(GUP1*2-GUP3,5),COLORMAGENTA,LINETHICK3;
GUP4:=DATE<1390720;
GUP5:=(REF(G1,1)-G1)/REF(G1,1)*100>=10;
GUP6:=DMA(G1,VOL/CAPITAL);
GUP7:=(G1/REF(G1,1)-1)*100>7;
抓涨:G3<GUA AND G1>GUA AND GUP4 AND GUP7;
|