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