副图公式源码支持: 手机/电脑
GUP1:=EMA(EMA(CLOSE,3),1);
GUP2:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);
GUP3:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);
GUP4:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);
GUP5:=(((GUP2+(2*GUP3))+(3*GUP4))/6);
GUP6:=MA(GUP5,3);
GUP8:=(GUP1-REF(GUP1,1))/REF(GUP1,1)*1000;
STICKLINE((GUP6<=(0-10)),0,(0-20),7,0),COLOR0044FF;
STICKLINE((GUP6<=(0-10)),0,(0-20),7,0),COLOR0088FF;
STICKLINE((GUP6<=(0-10)),0,(0-20),7,0),COLOR00AAFF;
DRAWTEXT(CROSS(GUP8,0),0-3,'买'),COLORYELLOW;
DRAWTEXT(CROSS(0,GUP8),0,'卖'),COLORGREEN;
STICKLINE(GUP8<0,GUP8,0,7,0),COLORFF4400;
STICKLINE(GUP8<0,GUP8,0,7,0),COLORFF8800;
STICKLINE(GUP8<0,GUP8,0,7,0),COLORFFAA00;
STICKLINE(GUP8>REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR000088;
STICKLINE(GUP8>REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR0000AA;
STICKLINE(GUP8>REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR0000CC;
STICKLINE(GUP8>REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR0000EE;
STICKLINE(GUP8<REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR008800;
STICKLINE(GUP8<REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR00AA00;
STICKLINE(GUP8<REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR00CC00;
STICKLINE(GUP8<REF(GUP8,3) AND GUP8>0,GUP8,0,7,0),COLOR00EE00;
主力买入:CROSS(GUP8,0),COLORWHITE;
主力资金:GUP8,COLORFFAA00;
绿洗盘出货:0,COLOR00FF00;
黄底部吸筹:0,COLORYELLOW;
选股公式源码
{选股公式:买}
GUP1:=EMA(EMA(CLOSE,3),1);
GUP2:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);
GUP3:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);
GUP4:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);
GUP5:=(((GUP2+(2*GUP3))+(3*GUP4))/6);
GUP8:=(GUP1-REF(GUP1,1))/REF(GUP1,1)*1000;
{主力买入:CROSS(GUP8,0),COLORWHITE;
DRAWTEXT(CROSS(GUP8,0),0-3,'买'),COLORYELLOW;}
买:CROSS(GUP8,0);
{卖出公式:卖}
GUP1:=EMA(EMA(CLOSE,3),1);
GUP2:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);
GUP3:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);
GUP4:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);
GUP5:=(((GUP2+(2*GUP3))+(3*GUP4))/6);
GUP8:=(GUP1-REF(GUP1,1))/REF(GUP1,1)*1000;
{DRAWTEXT(CROSS(0,GUP8),0,'卖'),COLORGREEN;}
卖:CROSS(0,GUP8); |