本帖最后由 九转妖 于 2023-12-12 09:26 编辑
副图公式源码支持 手机/电脑
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
波:GUP3;
段:GUP4;
GUP5:=CROSS(GUP3,GUP4) AND GUP3<20;
DRAWTEXT(FILTER(GUP5,10)=1,40,'买入'),COLORRED;
STICKLINE(FILTER(GUP5,10)=1,0,30,10,0),COLORRED;
GUP9:=CROSS( GUP4,GUP3) AND GUP3>80;
STICKLINE(FILTER(GUP9,5)=1,80,100,10,0),COLORGREEN;
DRAWTEXT(FILTER(GUP9,5)=1,70,'卖出'),COLORGREEN;
GUP8:=CROSS(GUP2,GUP3) AND GUP3>80 AND GUP3>GUP4;
STICKLINE(GUP8,85,100,10,0),COLOR0099FF;
100,COLORBBBBBB,LINETHICK3;
0,LINETHICK3;
GUA1:=LLV(LOW,36);
GUA2:=HHV(HIGH,30);
80,COLORFF00FF;
87.5,COLOR00FF00;
GUA3:=(EMA(((CLOSE-GUA1)/(GUA2-GUA1))*(4),4))*(25);
GUB1:GUA3,COLOR0000FF,LINETHICK2;
GUB2:=(((GUA3-LLV(GUA3,21))/(HHV(GUA3,21)-LLV(GUA3,21)))*(4))*(25);
进场B:IF(CROSS(GUB2,90) AND (GUB1<40),70,0),COLORFFFF00;
底线:10,COLOR0000FF;
进场A:IF((COUNT((GUB1>REF(GUB1,1)),1)=1) AND (REF(GUB1,1)<REF(REF(GUB1,1),1)) AND (GUB1<底线),50,0),COLORF00FF0;
选股公式源码
{选股公式一:买入}
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
GUP5:=CROSS(GUP3,GUP4) AND GUP3<20;
买入:FILTER(GUP5,10)=1;
{选股公式二:进场B}
GUA1:=LLV(LOW,36);
GUA2:=HHV(HIGH,30);
GUA3:=(EMA(((CLOSE-GUA1)/(GUA2-GUA1))*(4),4))*(25);
GUB1:=GUA3,COLOR0000FF,LINETHICK2;
GUB2:=(((GUA3-LLV(GUA3,21))/(HHV(GUA3,21)-LLV(GUA3,21)))*(4))*(25);
进场B:CROSS(GUB2,90) AND (GUB1<40),COLORFFFF00;
{选股公式三:进场A}
GUA1:=LLV(LOW,36);
GUA2:=HHV(HIGH,30);
GUA3:=(EMA(((CLOSE-GUA1)/(GUA2-GUA1))*(4),4))*(25);
GUB1:=GUA3,COLOR0000FF,LINETHICK2;
GUB2:=(((GUA3-LLV(GUA3,21))/(HHV(GUA3,21)-LLV(GUA3,21)))*(4))*(25);
底线:=10,COLOR0000FF;
进场ACOUNT((GUB1>REF(GUB1,1)),1)=1) AND (REF(GUB1,1)<REF(REF(GUB1,1),1)) AND (GUB1<底线),COLORF00FF0;
|