副图公式源码支持: 手机/电脑
GUP1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP2:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP3:=GUP1<REF(GUP2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(GUP3 AND COUNT(GUP3,18)=1,0,18,8,0),COLORAA00BB;
STICKLINE(GUP3 AND COUNT(GUP3,18)=1,0,18,8,0),COLORBB11BB;
DRAWTEXT(GUP3 AND COUNT(GUP3,18)=1,16,' 起'),COLORYELLOW;
DRAWTEXT(GUP3 AND COUNT(GUP3,18)=1,12,' 爆'),COLORYELLOW;
选股公式
{选股公式}
GUP1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP2:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP3:=GUP1<REF(GUP2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
起爆:GUP3 AND COUNT(GUP3,18)=1;
|