通达信量价配合买点+选股指标公式
2020/6/3 19:14:11
N:=9;
M:=12;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,NODRAW;
CCI:CCI(14),COLORLIRED,NODRAW;
K:SMA(RSV,3,1),COLORWHITE,NODRAW;
D:SMA(K,3,1),COLORYELLOW,NODRAW;
J:((3*K)-(2*D)),COLORMAGENTA,NODRAW;
DRAWBAND(K,150,D,RGB(0,120,50));
DRAWBAND(J,100,K,RGB(0,100,50));
DRAWBAND(IF(J<0,J,0),200,0,200);
DRAWBAND(IF(J>100,J,100),RGB(0,100,250),100,RGB(0,100,250));
20,DOTLINE,COLORLIGRAY;
80,DOTLINE,COLORLIGRAY;
VAR1:=(L+H+C*4)/6;
EMA12:=EMA(VAR1,N),NODRAW;
VAR2:=(EMA12-REF(EMA12,1))/REF(EMA12,1)*100;
G:=BARSLAST(CROSS(VAR2,0))+1;
DL:=V<REF(LLV(V,M) ,1);
DLZ:=BARSLAST(DL );
LJ:=C<REF(LLV(L,DLZ) ,1) AND COUNT(V<REF(HHV(V,G),1),5)=5;
IF( LJ AND VAR2<0,80,0),COLORYELLOW;
{
选股公式:
N:=9;
M:=12;
VAR1:=(L+H+C*4)/6;
EMA12:=EMA(VAR1,N);
VAR2:=(EMA12-REF(EMA12,1))/REF(EMA12,1)*100;
G:=BARSLAST(CROSS(VAR2,0))+1;
DL:=V<REF(LLV(V,M) ,1);
DLZ:=BARSLAST(DL );
LJ:=C<REF(LLV(L,DLZ) ,1) AND COUNT(V<REF(HHV(V,G),1),5)=5;
XG:IF( LJ AND VAR2<0,80,0),COLORYELLOW;
}
投股 票网 www.tou1 8.cn
股市公式下载推荐