副图公式源码 支持: 手机/电脑
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);
DRAWTEXT(GUP3 AND COUNT(GUP3,20)=1,0.8,' 回调抄底'),LINETHICK1,COLORRED;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,1,0,1,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.9,0,2,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.8,0,3,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.7,0,4,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.6,0,5,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.5,0,6,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.4,0,7,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.3,0,8,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.2,0,9,0),COLORLIRED,LINETHICK1;
STICKLINE(GUP3 AND COUNT(GUP3,20)=1,0.1,0,10,0),COLORLIRED,LINETHICK1;
选股公式源码
{选股公式:回调抄底}
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,20)=1;
|