副图公式源码支持 :手机/电脑
M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
M30:MA(C,30);
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
DIFF:=(EMA(C,7)-EMA(C,19));
DEA:=EMA(DIFF,9);
条件:=(DIFF>=DEA);
条件1:=(DIFF>=0);
STICKLINE(条件,H,L,0.4,0),COLORYELLOW;
STICKLINE(条件,O,C,3,1),COLOR0088FF;
STICKLINE(条件,O,C,3.4,1),COLOR00AAFF;
STICKLINE(条件,O,C,2.8,1),COLOR00CCFF;
STICKLINE(条件,O,C,2,1),COLOR00DDFF;
STICKLINE(条件,O,C,1.2,1),COLOR55FFFF;
STICKLINE(条件,O,C,0.4,1),COLOR99FFFF;
STICKLINE(条件1 AND 条件,H,L,0.4,0),COLORF00FF0;
STICKLINE(条件1 AND 条件,O,C,3,1),COLORFF33FF;
STICKLINE(条件1 AND 条件,O,C,3.4,1),COLORFF55FF;
STICKLINE(条件1 AND 条件,O,C,2.8,1),COLORFF77FF;
STICKLINE(条件1 AND 条件,O,C,2,1),COLORFF99FF;
STICKLINE(条件1 AND 条件,O,C,1.2,1),COLORFFBBFF;
STICKLINE(条件1 AND 条件,O,C,0.4,1),COLORFFDDFF;
STICKLINE(DIFF<DEA,H,L,0.4,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,3,1),COLORFF3300;
STICKLINE(DIFF<DEA,O,C,3.4,1),COLORFF6600;
STICKLINE(DIFF<DEA,O,C,2.8,1),COLORFF9900;
STICKLINE(DIFF<DEA,O,C,2,1),COLORFFBB00;
STICKLINE(DIFF<DEA,O,C,1.2,1),COLORFFDD00;
STICKLINE(DIFF<DEA,O,C,0.4,1),COLORFFFF00;
GUP1:=ATAN((C/REF(C,16)-1)*57.05);
GUP2:=SUM(GUP1,0);
GUP3:=EMA(GUP2,60);
GUP4:=EMA(GUP2,10);
DRAWTEXT(CROSS(GUP2,GUP4),L,'买入'),COLORRED;
DRAWTEXT(CROSS(GUP2,GUP3),L,'上涨'),COLORMAGENTA;
选股公式源码
{选股公式一:买入}
GUP1:=ATAN((C/REF(C,16)-1)*57.05);
GUP2:=SUM(GUP1,0);
GUP3:=EMA(GUP2,60);
GUP4:=EMA(GUP2,10);
买入:CROSS(GUP2,GUP4);
{选股公式二:上涨}
GUP1:=ATAN((C/REF(C,16)-1)*57.05);
GUP2:=SUM(GUP1,0);
GUP3:=EMA(GUP2,60);
GUP4:=EMA(GUP2,10);
上涨:CROSS(GUP2,GUP3);
|