副图公式源码支持 手机/电脑
MA6:MA(C,6),COLORYELLOW,LINETHICK2;
MA18:MA(C,18),COLORYELLOW,LINETHICK2;
GUA1:=REF(LOW,1);
GUA2:=(SMA(ABS(LOW-GUA1),13,1))/(SMA(MAX(LOW-GUA1,0),13,1))*100;
GUA4:=MA(GUA2,13);
GUA5:=LLV(LOW,34);
GUA8:=EMA(IF(LOW<=GUA5,GUA4,0),3);
GUA10:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
GUA11:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-GUA10*10.9;
GUA12:=FILTER(IF(GUA11<=GUA10 AND GUA8>REF(GUA8,1),GUA8*8,0),20);
DRAWTEXT(GUA12,LOW-0.4,'←洗盘完成'),COLORFF00FF;
GUB1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUB2:=SMA(GUB1,3,1);
GUB3:=SMA(GUB2,3,1);
GUB4:=SMA(GUB3,3,1);
GUB5:=CROSS(GUB3,GUB4) AND GUB3<20;
DRAWTEXT(FILTER(GUB5,10)=1,LOW-0.4,'←抄底'),COLORYELLOW;
GUB9:=CROSS(GUB4,GUB3) AND GUB3>80;
DRAWTEXT(FILTER(GUB9,5)=1,HIGH+0.4,'←逃顶'),COLORGREEN;
GUP1:=(HIGH + LOW +2* C)/4;
GUP2:=EMA(GUP1,3);
GUP3:=ATAN((GUP2/REF(GUP2,1)-1)*100)*180/3.1416;
GUP4:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);
IF(GUP3<=0,MA6,DRAWNULL),COLORGREEN,LINETHICK2;
IF(GUP3>=0 AND GUP4>0,MA18,DRAWNULL),COLOR9326FF,LINETHICK2;
选股公式源码
{选股公式一:洗盘完成}
GUA1:=REF(LOW,1);
GUA2:=(SMA(ABS(LOW-GUA1),13,1))/(SMA(MAX(LOW-GUA1,0),13,1))*100;
GUA4:=MA(GUA2,13);
GUA5:=LLV(LOW,34);
GUA8:=EMA(IF(LOW<=GUA5,GUA4,0),3);
GUA10:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
GUA11:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-GUA10*10.9;
GUA12:=FILTER(IF(GUA11<=GUA10 AND GUA8>REF(GUA8,1),GUA8*8,0),20);
洗盘完成:GUA12;
{选股公式二:抄底}
GUP1:=(HIGH + LOW +2* C)/4;
GUP2:=EMA(GUP1,3);
GUP3:=ATAN((GUP2/REF(GUP2,1)-1)*100)*180/3.1416;
GUP4:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);
GUB1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUB2:=SMA(GUB1,3,1);
GUB3:=SMA(GUB2,3,1);
GUB4:=SMA(GUB3,3,1);
GUB5:=CROSS(GUB3,GUB4) AND GUB3<20;
抄底:FILTER(GUB5,10)=1;
|