副图公式 源码支持手机/电脑
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);
超跌买:CROSS(GUP4,5) AND GUP3<-0.4;
{选股公式三:反弹买}
Z:=MA(C,120);
GUP3:=(MA(C,5)-Z)/Z;
GUP4:=MA((CLOSE-LLV(LOW,10)/HHV(HIGH,10)-LLV(LOW,10))*100,3);
{STICKLINE(C>=MA(C,10),GUP4,REF(GUP4,1),4,0),COLORRED;
STICKLINE(C<MA(C,10),GUP4,REF(GUP4,1),4,0),COLORGREEN;}
反弹买:REF(GUP4,1)<5 AND GUP4>REF(GUP4,1) AND REF(GUP4,1)<REF(GUP4,2) AND GUP3< -0.3;
|