副图公式源码支持: 手机/电脑
GUP3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUP4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GUP5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
GUP6:=(GUP3+GUP4+GUP5)/3;
GUP7:=EMA(GUP6,5);
GUP8:=IF(GUP6<=-20,10,0);
GUP9:=HHV(GUP8,10);
STICKLINE(GUP8=10,20,10,5,0),COLOR6666FF;
GUPA:=IF(GUP9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(GUPA=20,15,'抄底'),LINETHICK1,COLORWHITE;
STICKLINE((GUPA=20),0,10,5,0),COLORWHITE;
GUPE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUPF:=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:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(GUP11 AND COUNT(GUP11,30)=1,15,'大资金'),LINETHICK1,COLORFF00FF;
STICKLINE(GUP11 AND COUNT(GUP11,30)=1,1,10,5,0),COLORFF00FF;
趋势线:EMA(30*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)*3,COLORRED,LINETHICK1;
选股公式源码
{选股公式一:大资金}
GUP3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUP4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GUP5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
GUP6:=(GUP3+GUP4+GUP5)/3;
GUPF:=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:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
大资金:GUP11 AND COUNT(GUP11,30)=1;
{选股公式二:抄底}
GUP3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
GUP4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GUP5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
GUP6:=(GUP3+GUP4+GUP5)/3;
GUP7:=EMA(GUP6,5);
GUP8:=IF(GUP6<=-20,10,0);
GUP9:=HHV(GUP8,10);
GUPA:=IF(GUP9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
抄底:GUPA=20; |