副图公式源码支持 手机/电脑
GUP2:=IF(YEAR>=2038 AND MONTH>=1,0,1);
GUP3:=REF(LOW,1)*GUP2;
GUP4:=SMA(ABS(LOW-GUP3),3,1)/SMA(MAX(LOW-GUP3,0),3,1)*100*GUP2;
GUP5:=(2*CLOSE+HIGH+LOW)/4;
GUP6:=LLV(LOW,60);
GUP7:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,34);
GUP9:=HHV(HIGH,34);
GUP10:=EMA((GUP7-GUP8)/(GUP9-GUP8)*100,13);
GUP11:=EMA(0.667*REF(GUP10,1)+0.333*GUP10,2);
GUP12:=HHV(HIGH,60);
GUP13:=EMA((GUP5-GUP6)/(GUP12-GUP6)*100,5);
GUP14:=EMA(GUP13,5);
GUP15:=IF(GUP13>=GUP14,100,100);
GUP16:=IF(GUP13<GUP14,0,0);
GUP17:=IF(GUP13<GUP14,50,50);
GUP18:=HIGH-REF(HIGH,1);
GUP19:=REF(LOW,1)-LOW;
GUP20:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
抓牛启动:CROSS(GUP20,3);
STICKLINE(CROSS(GUP20,3),0,100,1,0),COLORRED,LINETHICK3;
STICKLINE(CROSS(GUP20,3),0,110,1,0),COLOR1029FF;
STICKLINE(CROSS(GUP20,3),0,110,0.8,0),COLOR1040FF;
STICKLINE(CROSS(GUP20,3),40,0,0.5,0),COLORMAGENTA;
DRAWICON(抓牛启动,120,1);
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
极限反弹:IF(CROSS(K,D) AND K<=20,80,20),COLORLIBLUE,LINETHICK2;
选股公式源码
{选股公式一:抓牛启动}
GUP2:=IF(YEAR>=2038 AND MONTH>=1,0,1);
GUP3:=REF(LOW,1)*GUP2;
GUP4:=SMA(ABS(LOW-GUP3),3,1)/SMA(MAX(LOW-GUP3,0),3,1)*100*GUP2;
GUP5:=(2*CLOSE+HIGH+LOW)/4;
GUP6:=LLV(LOW,60);
GUP7:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,34);
GUP9:=HHV(HIGH,34);
GUP10:=EMA((GUP7-GUP8)/(GUP9-GUP8)*100,13);
GUP11:=EMA(0.667*REF(GUP10,1)+0.333*GUP10,2);
GUP12:=HHV(HIGH,60);
GUP13:=EMA((GUP5-GUP6)/(GUP12-GUP6)*100,5);
GUP14:=EMA(GUP13,5);
GUP15:=IF(GUP13>=GUP14,100,100);
GUP16:=IF(GUP13<GUP14,0,0);
GUP17:=IF(GUP13<GUP14,50,50);
GUP18:=HIGH-REF(HIGH,1);
GUP19:=REF(LOW,1)-LOW;
GUP20:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
抓牛启动:CROSS(GUP20,3);
{选股公式二:极限反弹}
GUP2:=IF(YEAR>=2038 AND MONTH>=1,0,1);
GUP3:=REF(LOW,1)*GUP2;
GUP4:=SMA(ABS(LOW-GUP3),3,1)/SMA(MAX(LOW-GUP3,0),3,1)*100*GUP2;
GUP5:=(2*CLOSE+HIGH+LOW)/4;
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
极限反弹:CROSS(K,D) AND K<=20,COLORLIBLUE;
|