副图公式源码支持: 手机/电脑
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
GUP4:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
趋势:MA(GUP4,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;
GUPA:=REF(CLOSE,1);
GUPB:=SMA(MAX(CLOSE-GUPA,0),5,1)/SMA(ABS(CLOSE-GUPA),5,1)*1000;
GUPC:=GUPB-LLV(GUPB,10);
GUPD:=(MA(GUPC,2)*3+GUPC*13)/16;
短买:=IF(GUPD>13,MA(GUPD,2),GUPD)/6;
短进:IF(CROSS(短买,1) AND (短买<30),1,0);
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP15:=C/MA(C,60)-1;
大买:IF(CROSS(-5,GUP14) AND GUP13<-0.4,-0.01,-1);
中买:IF(CROSS(-5,GUP14) AND GUP13<-0.25 AND GUP13>-0.4,-0.3,-1);
小买:IF(CROSS(-5,GUP14) AND GUP13<-0.15 AND GUP13>-0.25,-0.6,-1);
小卖:IF(CROSS(GUP14,-95) AND GUP15<0.2 AND GUP15>=0.1,0.6,1);
中卖:IF(CROSS(GUP14,-95) AND GUP15<0.35 AND GUP15>=0.2,0.3,1),COLORYELLOW;
大卖:IF(CROSS(GUP14,-95) AND GUP15>=0.35,0,1),COLORRED;
选股公式源码
{选股公式一:短进}
GUPA:=REF(CLOSE,1);
GUPB:=SMA(MAX(CLOSE-GUPA,0),5,1)/SMA(ABS(CLOSE-GUPA),5,1)*1000;
GUPC:=GUPB-LLV(GUPB,10);
GUPD:=(MA(GUPC,2)*3+GUPC*13)/16;
短买:=IF(GUPD>13,MA(GUPD,2),GUPD)/6;
短进:IF(CROSS(短买,1) AND (短买<30),1,0);
{选股公式二:大买}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
大买:CROSS(-5,GUP14) AND GUP13<-0.4;
{选股公式三:中买}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
中买:CROSS(-5,GUP14) AND GUP13<-0.25 AND GUP13>-0.4;
{选股公式四:小买}
X:=MA(AMOUNT,5)/MA(V,5)/100;
GUP13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
GUP14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
小买:CROSS(-5,GUP14) AND GUP13<-0.15 AND GUP13>-0.25;
|