副图公式源码:支持 手机/电脑
Z:=MA(C,120);
GUP3:=(MA(C,5)-Z)/Z;
GUP4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段买入:IF(CLOSE>Z AND REF(GUP4,1)<30 AND GUP4>REF(GUP4,1) AND REF(GUP4,1)<REF(GUP4,2),80,50);
反弹买入:IF(REF(GUP4,1)<5 AND GUP4>REF(GUP4,1) AND REF(GUP4,1)<REF(GUP4,2) AND GUP3<-0.3,80,50);
超跌买入:IF(CROSS(GUP4,5) AND GUP3<-0.4,80,50);
STICKLINE(C>=MA(C,10),GUP4,REF(GUP4,1),4,0),COLORRED;
STICKLINE(C<MA(C,10),GUP4,REF(GUP4,1),4,0),COLORGREEN;
第二部分 选股公式
{选股公式一:波段买入}
Z:=MA(C,120);GUP3:=(MA(C,5)-Z)/Z;
GUP4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段买入:CLOSE>Z AND REF(GUP4,1)<30 AND GUP4>REF(GUP4,1) AND REF(GUP4,1)<REF(GUP4,2);
{选股公式二:反弹买入}
Z:=MA(C,120);GUP3:=(MA(C,5)-Z)/Z;
GUP4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
反弹买入:REF(GUP4,1)<5 AND GUP4>REF(GUP4,1) AND REF(GUP4,1)<REF(GUP4,2) AND GUP3<-0.3;
{选股公式三:超跌买入}
Z:=MA(C,120);GUP3:=(MA(C,5)-Z)/Z;
GUP4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
超跌买入:CROSS(GUP4,5) AND GUP3<-0.4; |