副图公式源码支持: 手机/电脑
GUP1:=ABS(CLOSE-REF(CLOSE,10));
GUP2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
GUP3:=GUP1/GUP2;
GUP4:=SMA(GUP3*(2/3-2/14)+2/14,3,1);
GUP5:=GUP4*GUP4*GUP4;
GUP6:=EMA(MA(CLOSE,10-GUP4*10),2);
AS:96;
AD:106;
CD:=C/GUP6*100;
OD:=OPEN/GUP6*100;
OH:=H/GUP6*100;
OL:=L/GUP6*100;
STICKLINE(CD>=OD,OD,CD,2,0),COLOR2222DD;
STICKLINE(CD>=OD,OD,CD,1,0),COLOR3322FF;
STICKLINE(CD>=OD,OL,OH,0,0),COLOR3322FF;
STICKLINE(CD<OD,OD,CD,2,0),COLORDD0088;
STICKLINE(CD<OD,OD,CD,1,0),COLORFF0099;
STICKLINE(CD<OD,OL,OH,0,0),COLORFF0099;
GUA1:=OL<AS;
GUA2:=C>O;
GUA3:=CROSS(CD,AS);
XG:=GUA1 AND GUA2 AND GUA3;
DRAWICON(XG,OL,13);
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
MD:=MAX(M5,MAX(M10,MAX(M20,MAX(M30,M60))));
MN:=MIN(M5,MIN(M10,MIN(M20,MIN(M30,M60))));
MJ:=(MD-MN)/C<=0.02;
DIF:=EMA(CLOSE,12)*10-EMA(CLOSE,26)*10;
DEA:=EMA(DIF,9)*10;
XG2:=MJ AND CROSS(DEA,DIF);
DRAWICON(XG2,AS,25);
选股公式源码
{选股公式一:红球图标}
GUP1:=ABS(CLOSE-REF(CLOSE,10));
GUP2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
GUP3:=GUP1/GUP2;
GUP4:=SMA(GUP3*(2/3-2/14)+2/14,3,1);
GUP5:=GUP4*GUP4*GUP4;
GUP6:=EMA(MA(CLOSE,10-GUP4*10),2);
AS:=96;
AD:=106;
CD:=C/GUP6*100;
OD:=OPEN/GUP6*100;
OH:=H/GUP6*100;
OL:=L/GUP6*100;
GUA1:=OL<AS;
GUA2:=C>O;
GUA3:=CROSS(CD,AS);
XG:=GUA1 AND GUA2 AND GUA3;
红球图标:XG;
{选股公式二:红钻图标}
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
MD:=MAX(M5,MAX(M10,MAX(M20,MAX(M30,M60))));
MN:=MIN(M5,MIN(M10,MIN(M20,MIN(M30,M60))));
MJ:=(MD-MN)/C<=0.02;
DIF:=EMA(CLOSE,12)*10-EMA(CLOSE,26)*10;
DEA:=EMA(DIF,9)*10;
XG2:=MJ AND CROSS(DEA,DIF);
红钻图标:XG2; |