{主图:牛熊带;参数N=6~28,8(A股大盘观望值=8);原创及版权:JIP.GEMLING.见凌见}
CC:=CLOSE;
A:=PERIOD;
N20:=MA(C,N*20);N20K:=EMA(CC,20*N);
N4:=MA(C,N*4);N4K:=EMA(CC,4*N);
N1:=MA(C,N);N1K:=EMA(CC,N);
STICKLINE(A>2 AND A<6 AND N20>N20K,N20,N20K,1,-1),COLORGREEN;
STICKLINE(A>2 AND A<6 AND N20<N20K,N20,N20K,1,-1),COLOR1188FF;
STICKLINE(A=6 OR A=5 AND N4>N4K,N4,N4K,1,1),COLORGREEN;
STICKLINE(A=6 OR A=5 AND N4<N4K,N4,N4K,1,1),COLOR1188FF;
STICKLINE(A=7 AND N1>N1K,N1,N1K,1,0),COLORGREEN;
STICKLINE(A=7 AND N1<N1K,N1,N1K,1,0),COLOR1188FF;
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,N/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,N/2),MA(C,25600))))),COLOR1188FF,LINETHICK1;