副图公式源码支持 手机/电脑
GUP1:=REF(LOW,1);
GUP2:=SMA(ABS(LOW-GUP1),3,1)/SMA(MAX(LOW-GUP1,0),3,1)*100;
GUP3:=EMA(IF(CLOSE*1.3,GUP2*10,GUP2/10),3);
GUP4:=LLV(LOW,30);
GUP5:=HHV(GUP3,30);
GUP6:=IF(MA(CLOSE,58),1,0);
GUP7:=EMA(IF(LOW<=GUP4,(GUP3+GUP5*2)/2,0),3)/618*GUP6;
GUP8:=IF(GUP7>100,100,GUP7);
STICKLINE(GUP8>-120,0,GUP8,5,0),colorred;
STICKLINE(GUP8<REF(GUP8,1),0,GUP8,5,0),COLOR008000;
GUP9:=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);
GUP10:=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);
GUP11:=GUP9<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(GUP11 AND COUNT(GUP11,18)=1,0,60,1,0),COLOR00EAEA;
DRAWTEXT(GUP11 AND COUNT(GUP11,18)=1,55,' 底'),COLOR0099FF;
DRAWTEXT(GUP11 AND COUNT(GUP11,18)=1,48,' 部'),COLOR0033FF;
DRAWTEXT(GUP11 AND COUNT(GUP11,18)=1,41,' 出'),COLOR0099FF;
DRAWTEXT(GUP11 AND COUNT(GUP11,18)=1,34,' 击'),COLOR0033FF;
选股公式源码
{选股公式:底部出击}
GUP9:=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);
GUP10:=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);
GUP11:=GUP9<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
底部出击:GUP11 AND COUNT(GUP11,18)=1;
|