副图公式源码支持: 手机/电脑
GUP1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
主力:GUP1,COLORRED,LINETHICK1;
GUV1:=(C*2+H+L)/4*10;
GUV2:=EMA(GUV1,13)-EMA(GUV1,34);
GUV3:=EMA(GUV2,5);
GUV4:=2*(GUV2-GUV3)*5.5;
庄家:GUV4,COLORFF00FF;
GUV8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUV9:=EMA(GUV8,13)-EMA(GUV8,34);
GUVA:=EMA(GUV9,3);
GUVB:=(GUV9-GUVA)/2;
大资金:GUVB,COLORYELLOW;
STICKLINE(CLOSE>0,0,0,-1,0),COLORFF9966;
DRAWTEXT(ISLASTBAR AND C,GUP1,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,GUV4,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,GUVB,' '),COLOR0000BB;
选1:=COUNT(GUV4>0,10)>=5 AND CROSS(GUP1,0.5) AND 0>REF(GUP1,1) AND GUV4>0 AND GUVB>0;
选2:=COUNT(GUP1>0,10)>=5 AND CROSS(GUV4,0.5) AND 0>REF(GUV4,1) AND GUP1>0 AND GUVB>0;
DRAWTEXT(选1,0,'主力现身'),COLORYELLOW;
DRAWTEXT(选2,0,'庄家现身'),COLORYELLOW;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
GUB1:=SUM(LLJX,1);
GUB2:=SUM(LLJX,2);
GUB3:=SUM(LLJX,3);
GUB4:=SUM(LLJX,4);
GUB5:=SUM(LLJX,5);
GUB6:=SUM(LLJX,6);
GUB7:=SUM(LLJX,7);
GUB8:=SUM(LLJX,8);
GUB9:=SUM(LLJX,9);
GUB10:=SUM(LLJX,10);
GUA1:=GUB1>REF(GUB1,1) AND GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1);
GUA2:=GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1);
GUA3:=GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1);
GUA4:=GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1);
GUA5:=GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1);
GUA6:=GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1) AND GUB10>REF(GUB10,1);
TJ:=GUA1 OR GUA2 OR GUA3 OR GUA4 OR GUA5 OR GUA6;
DRAWTEXT(选1 AND TJ,0,'主力'),COLORCYAN;
DRAWTEXT(选2 AND TJ,0,'庄家'),COLORCYAN;
选股公式源码
{选股公式一:主力现身}
GUP1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
GUV1:=(C*2+H+L)/4*10;
GUV2:=EMA(GUV1,13)-EMA(GUV1,34);
GUV3:=EMA(GUV2,5);
GUV4:=2*(GUV2-GUV3)*5.5;
GUV8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUV9:=EMA(GUV8,13)-EMA(GUV8,34);
GUVA:=EMA(GUV9,3);
GUVB:=(GUV9-GUVA)/2;
选1:=COUNT(GUV4>0,10)>=5 AND CROSS(GUP1,0.5) AND 0>REF(GUP1,1) AND GUV4>0 AND GUVB>0;
主力现身:选1;
{选股公式二:庄家现身}
GUP1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
GUV1:=(C*2+H+L)/4*10;
GUV2:=EMA(GUV1,13)-EMA(GUV1,34);
GUV3:=EMA(GUV2,5);
GUV4:=2*(GUV2-GUV3)*5.5;
GUV8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUV9:=EMA(GUV8,13)-EMA(GUV8,34);
GUVA:=EMA(GUV9,3);
GUVB:=(GUV9-GUVA)/2;
选2:=COUNT(GUP1>0,10)>=5 AND CROSS(GUV4,0.5) AND 0>REF(GUV4,1) AND GUP1>0 AND GUVB>0;
庄家现身:选2;
{选股公式三:主力}
GUP1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
GUV1:=(C*2+H+L)/4*10;
GUV2:=EMA(GUV1,13)-EMA(GUV1,34);
GUV3:=EMA(GUV2,5);
GUV4:=2*(GUV2-GUV3)*5.5;
GUV8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUV9:=EMA(GUV8,13)-EMA(GUV8,34);
GUVA:=EMA(GUV9,3);
GUVB:=(GUV9-GUVA)/2;
选1:=COUNT(GUV4>0,10)>=5 AND CROSS(GUP1,0.5) AND 0>REF(GUP1,1) AND GUV4>0 AND GUVB>0;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
GUB1:=SUM(LLJX,1);
GUB2:=SUM(LLJX,2);
GUB3:=SUM(LLJX,3);
GUB4:=SUM(LLJX,4);
GUB5:=SUM(LLJX,5);
GUB6:=SUM(LLJX,6);
GUB7:=SUM(LLJX,7);
GUB8:=SUM(LLJX,8);
GUB9:=SUM(LLJX,9);
GUB10:=SUM(LLJX,10);
GUA1:=GUB1>REF(GUB1,1) AND GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1);
GUA2:=GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1);
GUA3:=GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1);
GUA4:=GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1);
GUA5:=GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1);
GUA6:=GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1) AND GUB10>REF(GUB10,1);
TJ:=GUA1 OR GUA2 OR GUA3 OR GUA4 OR GUA5 OR GUA6;
主力:选1 AND TJ;
{选股公式四:庄家}
GUP1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
GUV1:=(C*2+H+L)/4*10;
GUV2:=EMA(GUV1,13)-EMA(GUV1,34);
GUV3:=EMA(GUV2,5);
GUV4:=2*(GUV2-GUV3)*5.5;
GUV8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUV9:=EMA(GUV8,13)-EMA(GUV8,34);
GUVA:=EMA(GUV9,3);
GUVB:=(GUV9-GUVA)/2;
选2:=COUNT(GUP1>0,10)>=5 AND CROSS(GUV4,0.5) AND 0>REF(GUV4,1) AND GUP1>0 AND GUVB>0;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
GUB1:=SUM(LLJX,1);
GUB2:=SUM(LLJX,2);
GUB3:=SUM(LLJX,3);
GUB4:=SUM(LLJX,4);
GUB5:=SUM(LLJX,5);
GUB6:=SUM(LLJX,6);
GUB7:=SUM(LLJX,7);
GUB8:=SUM(LLJX,8);
GUB9:=SUM(LLJX,9);
GUB10:=SUM(LLJX,10);
GUA1:=GUB1>REF(GUB1,1) AND GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1);
GUA2:=GUB2>REF(GUB2,1) AND GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1);
GUA3:=GUB3>REF(GUB3,1) AND GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1);
GUA4:=GUB4>REF(GUB4,1) AND GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1);
GUA5:=GUB5>REF(GUB5,1) AND GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1);
GUA6:=GUB6>REF(GUB6,1) AND GUB7>REF(GUB7,1) AND GUB8>REF(GUB8,1) AND GUB9>REF(GUB9,1) AND GUB10>REF(GUB10,1);
TJ:=GUA1 OR GUA2 OR GUA3 OR GUA4 OR GUA5 OR GUA6;
庄家:选2 AND TJ;
|