副图公式源码支持 手机/电脑
N:=5;
CHP1: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;
CHP2:8,COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(CHP1,CHP2),80,'建仓'),COLOR00FFFF;
CHPO5:=LLV(LOW,27);
CHPO6:=HHV(HIGH,34);
CHPO7:=EMA((CLOSE-CHPO5)/(CHPO6-CHPO5)*4,4)*25;
底部区域:IF((CHPO7<10),80,100),COLOR444444,LINETHICK1;
0,LINETHICK2,COLORFFCC00;
DRAWTEXT(CHP1<10,CHP1,'买'),COLORLIMAGENTA;
DRAWTEXT(CHP1>90,CHP1,'卖'),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),CHP1,'急拉'),COLORWHITE;
选股公式源码
{选股公式一:建仓}
N:=5;
CHP1:=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;
CHP2:=8,COLORGREEN,LINETHICK1;
CHPO5:=LLV(LOW,27);
CHPO6:=HHV(HIGH,34);
CHPO7:=EMA((CLOSE-CHPO5)/(CHPO6-CHPO5)*4,4)*25;
建仓:CROSS(CHP1,CHP2);
{选股公式二:买}
N:=5;
CHP1:=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;
买:CHP1<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); |