副图公式源码 支持 手机/电脑
GUP1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
GUP2:=GUP1,COLORRED,LINETHICK2;
GUP3:=MA((V-REF(V,1))/REF(V,1),5);
GUP4:=(C-MA(C,24))/MA(C,24)*100;
GUP5:=GUP4*(1+GUP3);
GUP6:=REF(VOL,1);
GUP7:=SMA(MAX(VOL-GUP6,0),6,1)/SMA(ABS(VOL-GUP6),6,1)*100;
GUP8:=GUP5>REF(GUP5,1) AND GUP2<REF(GUP2,1) AND GUP7>REF(GUP7,1);
GUP9:=GUP5<REF(GUP5,1) AND GUP2>REF(GUP2,1) AND GUP7>REF(GUP7,1);
GUP10:=GUP5>REF(GUP5,1) AND GUP2<REF(GUP2,1) AND GUP7<REF(GUP7,1);
GUP11:=GUP5<REF(GUP5,1) AND GUP2>REF(GUP2,1) AND GUP7<REF(GUP7,1);
GUP12:=GUP5>REF(GUP5,1);
GUP13:=GUP5<REF(GUP5,1);
GUP14:=GUP2<REF(GUP2,1);
GUP15:=GUP2>REF(GUP2,1);
GUP16:=GUP8 OR GUP10;
GUP17:=GUP9 OR GUP11;
GUP18:=GUP13 AND GUP14;
GUP19:=GUP16 OR GUP18;
GUP20:=GUP12 AND GUP15;
TJ:=LAST(GUP19,7,1) AND GUP20,COLORRED;
选:=CROSS(TJ,GUP19) AND GUP20<2.1 AND C>O;
STICKLINE(选,50,0,4,0),COLOR0000FF;
DRAWTEXT(选,53,'捉妖'),COLORWHITE;
GUA1:=3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1),COLORLIBLUE,LINETHICK2;
GUA2:=IF(GUA1<=8,30,0),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(GUA2,8),33,'潜伏'),COLORYELLOW;
逃顶:90,DOTLINE,COLORGREEN;
中位线:50,DOTLINE,COLORYELLOW;
启动:20,DOTLINE,COLORLIGRAY;
底部:5,COLORRED;
选股公式源码
{选股公式一:捉妖}
GUP1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
GUP2:=GUP1,COLORRED,LINETHICK2;
GUP3:=MA((V-REF(V,1))/REF(V,1),5);
GUP4:=(C-MA(C,24))/MA(C,24)*100;
GUP5:=GUP4*(1+GUP3);
GUP6:=REF(VOL,1);
GUP7:=SMA(MAX(VOL-GUP6,0),6,1)/SMA(ABS(VOL-GUP6),6,1)*100;
GUP8:=GUP5>REF(GUP5,1) AND GUP2<REF(GUP2,1) AND GUP7>REF(GUP7,1);
GUP9:=GUP5<REF(GUP5,1) AND GUP2>REF(GUP2,1) AND GUP7>REF(GUP7,1);
GUP10:=GUP5>REF(GUP5,1) AND GUP2<REF(GUP2,1) AND GUP7<REF(GUP7,1);
GUP11:=GUP5<REF(GUP5,1) AND GUP2>REF(GUP2,1) AND GUP7<REF(GUP7,1);
GUP12:=GUP5>REF(GUP5,1);
GUP13:=GUP5<REF(GUP5,1);
GUP14:=GUP2<REF(GUP2,1);
GUP15:=GUP2>REF(GUP2,1);
GUP16:=GUP8 OR GUP10;
GUP17:=GUP9 OR GUP11;
GUP18:=GUP13 AND GUP14;
GUP19:=GUP16 OR GUP18;
GUP20:=GUP12 AND GUP15;
TJ:=LAST(GUP19,7,1) AND GUP20,COLORRED;
选:=CROSS(TJ,GUP19) AND GUP20<2.1 AND C>O;
捉妖:选;
{选股公式二:潜伏}
GUP1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
GUP2:=GUP1,COLORRED,LINETHICK2;
GUA1:=3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1),COLORLIBLUE,LINETHICK2;
GUA2:=IF(GUA1<=8,30,0),COLORRED,LINETHICK2;
潜伏:CROSS(GUA2,8); |