炒股指标

显示 收起

通达信多空波段指标公式

通达信多空波段指标公式:

 CC:=CLOSE;  
A:=PERIOD;  
N20:=MA(C,6*20);
N20K:=EMA(CC,20*6);  
N4:=MA(C,6*4);
N4K:=EMA(CC,4*6);  
N1:=MA(C,6);
N1K:=EMA(CC,6);  
STICKLINE(A>2 AND A<6 AND N20>N20K,N20,N20K,1,-1),COLORGREEN;  
STICKLINE(A>2 AND A<6 AND N20 STICKLINE(A=6 OR A=5 AND N4>N4K,N4,N4K,1,1),COLORGREEN;  
STICKLINE(A=6 OR A=5 AND N4 STICKLINE(A=7 AND N1>N1K,N1,N1K,1,0),COLORGREEN;  
STICKLINE(A=7 AND N1 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);  
M4_:MA(C,4),COLORWHITE;  
M8_:MA(C,8),COLORYELLOW;  
M16_:MA(C,16),COLORMAGENTA;  
M32_:MA(C,32),COLORGREEN;  
M64_:MA(C,64),COLORBLUE;  
M128_:MA(C,128),COLORLIGRAY;  
M256_:MA(C,256),COLORWHITE;  
前锋线:IF(A=5,N20K,IF(A=6,N4K,IF(A=7,N1K,  
IF(A=10 OR A=11,EMA(CC,6/2),MA(C,25600))))),COLORLIGREEN,LINETHICK1;  
NX看线:IF(A=5,N20,IF(A=6,N4,IF(A=7,N1,  
IF(A=10 OR A=11,MA(C,6/2),MA(C,25600))))),COLOR1188FF,LINETHICK1;

通达信多空波段指标公式实例图解:

通达信多空波段指标公式