副图公式源码支持: 手机/电脑
GUP1:=LLV(LOW,34);
GUP2:=HHV(HIGH,30);
GUP3:=REF(CLOSE,1);
GUP4:=EMA((CLOSE-GUP1)/(GUP2-GUP1),3)*100;
主力:=SMA(MAX(CLOSE-GUP3,0),7,1)/SMA(ABS(CLOSE-GUP3),7,1)*100,COLORRED;
主力线:主力,COLORWHITE;
散户:=GUP4;
GUP5:=(GUP4-LLV(GUP4,21))/(HHV(GUP4,21)-LLV(GUP4,21))*100;
入一:IF(CROSS(GUP5,90) AND 散户<40,18,10);
入二:IF(CROSS(主力,12) AND REF(散户,5)<20 AND REF(散户,3)<20,18,10);
出一:IF(CROSS(84,主力),82,90),COLOR99FF33;
出二:IF(CROSS(84,散户),82,90),COLORCYAN;
VY:=SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,5,1);
L2:=SMA(0.618*REF(VY,1)+0.382*VY,3,1), COLORFF9900;
L3:=MA(L2,5);
STICKLINE(L2>L3,L3+2,L3-2,5,0),COLORRED;
STICKLINE(L2<=L3,L3+2,L3-2,5,0),COLORGREEN;
80,POINTDOT;
50,POINTDOT;
20,POINTDOT;
顶部线:90;
DIF3:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA3:=EMA(DIF3,9);
MACD3 := 2*(DIF3-DEA3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
止跌:MACD3>REF(MACD3,1) AND REF(MACD3,2)>=REF(MACD3,1) AND J<50 AND C>REF(C,1) AND C>O AND J>REF(J,1);
GUA1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUA2:=SMA(GUA1,3,1);
GUA3:=SMA(GUA2,3,1);
GUA4:=REF(LOW,1);
GUA5:=SMA(ABS(LOW-GUA4),3,1)/SMA(MAX(LOW-GUA4,0),3,1)*100;
GUA6:=EMA(IF(CLOSE*1.2,GUA5*10,GUA5/10),3);
GUA7:=LLV(LOW,30);
GUA8:=HHV(GUA6,30);
GUA9:=IF(LLV(LOW,58),1,0);
GUA10:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,8)/(AMOUNT/VOL/100)/100));
GUA11:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100));
GUA12:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,20)/(AMOUNT/VOL/100)/100));
GUA13:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34),11);
GUA14:=EMA(EMA(GUA13,11),11);
GUA15:=2*(GUA13-GUA14);
GUA16:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
GUA17:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);
GUA18:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);
GUA19:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
GUA20:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
GUA21:=(2*CLOSE+HIGH+LOW)/4;
GUA22:=LLV(LOW,26);
GUA23:=HHV(HIGH,34);
GUA24:=EMA((GUA21-GUA22)/(GUA23-GUA22)*100,16);
GUA25:=SMA(SMA(GUA20,3,1)+3,3,1);
GUA26:=EMA(GUA24,7);
GUA27:=SMA(GUA19,3,1);
GUA28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUA29:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GUA30:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
GUA31:=(GUA28+GUA29+GUA30)/3;
GUA32:=IF(GUA31<=(-20),10,0);
GUA33:=HHV(GUA32,10);
GUA34:=LLV(LOW,36);
GUA35:=HHV(HIGH,30);
GUA36:=EMA((CLOSE-GUA34)/(GUA35-GUA34)*4,4)*25;
GUA37:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100/2+22)*1;
GUA38:=(CLOSE-EMA(AMOUNT,13)/EMA(VOL,13)/100)/(EMA(AMOUNT,13)/EMA(VOL,13)/100)*100;
GUA39:=1;
GUA41:=1;
GUA42:=IF(CLOSE>REF(CLOSE,1),88,0)*GUA41;
GUA43:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND GUA42>0,91,0)*GUA39;
GUA44:=FILTER(GUA43>90,22.5)=1;
GUA45:=FILTER(GUA43>90,35)=1;
GUA46:=FILTER(GUA43>90,45)=1;
GUA47:=FILTER(GUA43>90,67.5)=1;
GUA48:=FILTER(GUA43>90,90)=1;
GUA49:=FILTER(GUA43>90,135)=1;
起爆:GUA44 AND GUA45 AND GUA46 AND GUA47 AND GUA48 AND GUA49*GUA41;
STICKLINE(IF(起爆,(-120),0),80,0,7,0),COLOR770077;
STICKLINE(IF(起爆,(-120),0),80,0,6,0),COLOR990099;
STICKLINE(IF(起爆,(-120),0),80,0,5,0),COLORBB00BB;
STICKLINE(IF(起爆,(-120),0),80,0,4,0),COLORDD00DD;
STICKLINE(IF(起爆,(-120),0),80,0,3,0),COLORMAGENTA;
STICKLINE(IF(起爆,(-120),0),80,0,2,0),COLORDD00DD;
选股公式源码
{选股公式一:起爆}
GUA1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUA2:=SMA(GUA1,3,1);
GUA3:=SMA(GUA2,3,1);
GUA4:=REF(LOW,1);
GUA5:=SMA(ABS(LOW-GUA4),3,1)/SMA(MAX(LOW-GUA4,0),3,1)*100;
GUA6:=EMA(IF(CLOSE*1.2,GUA5*10,GUA5/10),3);
GUA7:=LLV(LOW,30);
GUA8:=HHV(GUA6,30);
GUA9:=IF(LLV(LOW,58),1,0);
GUA10:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,8)/(AMOUNT/VOL/100)/100));
GUA11:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100));
GUA12:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,20)/(AMOUNT/VOL/100)/100));
GUA13:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34),11);
GUA14:=EMA(EMA(GUA13,11),11);
GUA15:=2*(GUA13-GUA14);
GUA16:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
GUA17:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);
GUA18:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);
GUA19:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
GUA20:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
GUA21:=(2*CLOSE+HIGH+LOW)/4;
GUA22:=LLV(LOW,26);
GUA23:=HHV(HIGH,34);
GUA24:=EMA((GUA21-GUA22)/(GUA23-GUA22)*100,16);
GUA25:=SMA(SMA(GUA20,3,1)+3,3,1);
GUA26:=EMA(GUA24,7);
GUA27:=SMA(GUA19,3,1);
GUA28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUA29:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GUA30:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
GUA31:=(GUA28+GUA29+GUA30)/3;
GUA32:=IF(GUA31<=(-20),10,0);
GUA33:=HHV(GUA32,10);
GUA34:=LLV(LOW,36);
GUA35:=HHV(HIGH,30);
GUA36:=EMA((CLOSE-GUA34)/(GUA35-GUA34)*4,4)*25;
GUA37:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100/2+22)*1;
GUA38:=(CLOSE-EMA(AMOUNT,13)/EMA(VOL,13)/100)/(EMA(AMOUNT,13)/EMA(VOL,13)/100)*100;
GUA39:=1;
GUA41:=1;
GUA42:=IF(CLOSE>REF(CLOSE,1),88,0)*GUA41;
GUA43:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND GUA42>0,91,0)*GUA39;
GUA44:=FILTER(GUA43>90,22.5)=1;
GUA45:=FILTER(GUA43>90,35)=1;
GUA46:=FILTER(GUA43>90,45)=1;
GUA47:=FILTER(GUA43>90,67.5)=1;
GUA48:=FILTER(GUA43>90,90)=1;
GUA49:=FILTER(GUA43>90,135)=1;
起爆:GUA44 AND GUA45 AND GUA46 AND GUA47 AND GUA48 AND GUA49*GUA41;
{选股公式二:入一}
GUP1:=LLV(LOW,34);
GUP2:=HHV(HIGH,30);
GUP3:=REF(CLOSE,1);
GUP4:=EMA((CLOSE-GUP1)/(GUP2-GUP1),3)*100;
散户:=GUP4;
GUP5:=(GUP4-LLV(GUP4,21))/(HHV(GUP4,21)-LLV(GUP4,21))*100;
入一:IF(CROSS(GUP5,90) AND 散户<40,18,10);
{选股公式三:入二}
GUP1:=LLV(LOW,34);
GUP2:=HHV(HIGH,30);
GUP3:=REF(CLOSE,1);
GUP4:=EMA((CLOSE-GUP1)/(GUP2-GUP1),3)*100;
主力:=SMA(MAX(CLOSE-GUP3,0),7,1)/SMA(ABS(CLOSE-GUP3),7,1)*100,COLORRED;
散户:=GUP4;
入二:IF(CROSS(主力,12) AND REF(散户,5)<20 AND REF(散户,3)<20,18,10); |