副图公式源码支持 手机/电脑
N:=5;
GUP1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORRED,LINETHICK1;
GUP2:8,COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(GUP1,GUP2),80,'建仓'),COLOR00FFFF;
GUPO5:=LLV(LOW,27);
GUPO6:=HHV(HIGH,34);
GUPO7:=EMA((CLOSE-GUPO5)/(GUPO6-GUPO5)*4,4)*25;
底部区域:IF((GUPO7<10),80,100),COLOR444444,LINETHICK1;
0,LINETHICK2,COLORFFCC00;
DRAWTEXT(GUP1<10,GUP1,'买'),COLORLIMAGENTA;
DRAWTEXT(GUP1>90,GUP1,'卖'),COLORGREEN;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),GUP1,'急拉'),COLORWHITE;
选股公式源码
{选股公式一:建仓}
N:=5;
GUP1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORRED,LINETHICK1;
GUP2:=8,COLORGREEN,LINETHICK1;
GUPO5:=LLV(LOW,27);
GUPO6:=HHV(HIGH,34);
GUPO7:=EMA((CLOSE-GUPO5)/(GUPO6-GUPO5)*4,4)*25;
建仓:CROSS(GUP1,GUP2);
{选股公式二:买}
N:=5;
GUP1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORRED,LINETHICK1;
买:GUP1<10;
{选股公式三:急拉}
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
急拉:FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10); |