2024主力成本 一步跟庄《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(G1,5)>EMA(G1,20);
GUP2:=EMA(G1,5)<EMA(G1,20);
GUP3:=EMA(G1,5)>EMA(G1,10);
GUP4:=EMA(G1,5)<EMA(G1,10);
GUP5:=G1<G3;
STICKLINE(GUP1,G4,G2,0,0),COLORRED;
STICKLINE(GUP1,G3,G1,3,1),COLORRED;
STICKLINE(GUP1 AND GUP5,G3,G1,3,0),COLORRED;
STICKLINE(GUP2 AND GUP3,G4,G2,0,1),COLORWHITE;
STICKLINE(GUP2 AND GUP3,G3,G1,3,1),COLORWHITE;
STICKLINE(GUP2 AND GUP3 AND GUP5,G3,G1,3,0),COLORWHITE;
STICKLINE(GUP1 AND GUP4,G4,G2,0,0),COLORWHITE;
STICKLINE(GUP1 AND GUP4,G3,G1,3,1),COLORWHITE;
STICKLINE(GUP1 AND GUP4 AND GUP5,G3,G1,3,0),COLORWHITE;
GUP6:=INTPART((G1/REF(G1,1)*100-100)*100+0.5)/100;
GUP7:=IF(GUP6>=9.5,4,0);
GUP8:=EMA(EMA(EMA(G1,2),2),2);
GUP9:=MA(GUP8,13)*0.99;
GUP10:=MAX(MAX(G4-G2,ABS(REF(G1,1)-G4)),ABS(REF(G1,1)-G2));
GUP11:=MA(GUP10,13);
GUP12:=REF(G1,1)-REF(GUP11,1);
主力成本:HHV(GUP12,12),COLORYELLOW,LINETHICK2;
GUP13:=EMA(AMOUNT/VOL/100,3);
强弱线:EMA(GUP13,88),COLORBLUE;
DRAWICON(CROSS(主力成本,强弱线),强弱线,1);
选股公式源码
{选股公式:红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP6:=INTPART((G1/REF(G1,1)*100-100)*100+0.5)/100;
GUP7:=IF(GUP6>=9.5,4,0);
GUP8:=EMA(EMA(EMA(G1,2),2),2);
GUP9:=MA(GUP8,13)*0.99;
GUP10:=MAX(MAX(G4-G2,ABS(REF(G1,1)-G4)),ABS(REF(G1,1)-G2));
GUP11:=MA(GUP10,13);
GUP12:=REF(G1,1)-REF(GUP11,1);
主力成本:=HHV(GUP12,12),COLORYELLOW,LINETHICK2;
GUP13:=EMA(AMOUNT/VOL/100,3);
强弱线:=EMA(GUP13,88),COLORBLUE;
红箭头图标:CROSS(主力成本,强弱线);