大智慧开合之王副图指标
源码
{khzw开合之王}{副图}
N:=10; N1:=30;
0,COLOR00AA00;
C1:(ema(close,N)-ema(close,N1))/ema(close,N1)*100,COLORRED,linethick2;
C2:(ema(c,N1)-ema(c,N))/ema(c,N)*100,COLORFF9900;
z1:=(C1-C2);
趋势线:z1;
Z2:=MA(Z1,3);
STICKLINE( Z1>Z2,Z1,Z2,5,0 ),COLORWHITE,linethick3;
STICKLINE( Z1<Z2,Z1,Z2,5,0 ),COLORFF9900,linethick3;
STICKLINE( c1>ref(c1,1),c1,0,8,0 ),COLORred,linethick1;