副图公式源码支持 手机/电脑
GUP2A:=LLV(LOW,10);
GUP3A:=HHV(HIGH,25);
GUP4A:=EMA((CLOSE-GUP2A)/(GUP3A-GUP2A)*4,4);
趋势线:MA(GUP4A,2);
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED;
IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORBLUE;
STICKLINE(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1),1,0),COLORRED;
STICKLINE(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1),1,0),COLOR00FF00;
GUA:=REF(CLOSE,1);
GUB:=SMA(MAX(CLOSE-GUA,0),5,1)/SMA(ABS(CLOSE-GUA),5,1)*1000;
GUH:=GUB-LLV(GUB,10);
GUS:=(MA(GUH,2)*3+GUH*13)/16;
买点:=IF(GUS>13,MA(GUS,2),GUS)/6;
出击:IF(CROSS(买点,1) AND (买点<30),1,0);
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP15A:=C/MA(C,60)-1;
大底:IF(CROSS(-5,GUP14A) AND GUP13A<-0.4,-0.01,-1);
中底:IF(CROSS(-5,GUP14A) AND GUP13A<-0.25 AND GUP13A>-0.4,-0.3,-1);
小底:IF(CROSS(-5,GUP14A) AND GUP13A<-0.15 AND GUP13A>-0.25,-0.6,-1);
小顶:IF(CROSS(GUP14A,-95) AND GUP15A<0.2 AND GUP15A>=0.1,0.6,1);
中顶:IF(CROSS(GUP14A,-95) AND GUP15A<0.35 AND GUP15A>=0.2,0.3,1),COLORYELLOW;
大顶:IF(CROSS(GUP14A,-95) AND GUP15A>=0.35,0,1),COLORRED;
选股公式源码
{选股公式一:出击}
GUA:=REF(CLOSE,1);
GUB:=SMA(MAX(CLOSE-GUA,0),5,1)/SMA(ABS(CLOSE-GUA),5,1)*1000;
GUH:=GUB-LLV(GUB,10);
GUS:=(MA(GUH,2)*3+GUH*13)/16;
买点:=IF(GUS>13,MA(GUS,2),GUS)/6;
出击:IF(CROSS(买点,1) AND (买点<30),1,0);
{选股公式二:大底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP15A:=C/MA(C,60)-1;
大底:CROSS(-5,GUP14A) AND GUP13A<-0.4;
{选股公式三:中底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP15A:=C/MA(C,60)-1;
中底:CROSS(-5,GUP14A) AND GUP13A<-0.25 AND GUP13A>-0.4;
{选股公式四:小底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP15A:=C/MA(C,60)-1;
小底:CROSS(-5,GUP14A) AND GUP13A<-0.15 AND GUP13A>-0.25; |