副图公式源码支持 手机/电脑
操盘线:EMA(CLOSE,14),LINETHICK2;
一线:EMA(CLOSE,25);二线:EMA(CLOSE,99);
三线:EMA(CLOSE,144);四线:EMA(CLOSE,318);
乾坤线:EMA(CLOSE,453),COLORRED,LINETHICK2;
五线:EMA(CLOSE,550);六线:EMA(CLOSE,610);
七线:EMA(CLOSE,730);八线:EMA(CLOSE,888);
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);条件:=(DIFF>=DEA);条件1:=(DIFF>=0);
STICKLINE(条件,H,L,0,0),COLORYELLOW;
STICKLINE(条件,O,C,4,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,0),COLORF00FF0;
STICKLINE(条件1 AND 条件,O,C,4,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,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,4,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;
GUP:=(CLOSE*2+HIGH+LOW)/4;
GK:=EMA(GUP,13)-EMA(GUP,73);GD:=EMA(GK,2);
GJ:=(CROSS(GK,GD) AND GK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(GK,GD)
AND GK<=-0.14 )OR(CROSS(GK,GD) AND GK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
DRAWTEXT(GJ,L*0.99,'短买'),COLORLIRED;
STICKLINE(GJ,H,L,0,0),COLORLIRED;
STICKLINE(GJ,O,C,5.5,0),LINETHICK3,COLOR000055;
STICKLINE(GJ,O,C,4.5,0),LINETHICK3,COLOR000077;
STICKLINE(GJ,O,C,3.5,0),LINETHICK3,COLOR000099;
STICKLINE(GJ,O,C,2.5,0),LINETHICK3,COLOR0000BB;
STICKLINE(GJ,O,C,1.5,0),LINETHICK3,COLOR0000DD;
STICKLINE(GJ,O,C,0.5,0),LINETHICK3,COLOR0000FF;
选股公式源码
{选股公式:短买}
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);条件:=(DIFF>=DEA);条件1:=(DIFF>=0);
GUP:=(CLOSE*2+HIGH+LOW)/4;
GK:=EMA(GUP,13)-EMA(GUP,73);GD:=EMA(GK,2);
GJ:=(CROSS(GK,GD) AND GK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(GK,GD)
AND GK<=-0.14 )OR(CROSS(GK,GD) AND GK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
短买:GJ;
|