均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(3*L+2*均价)/5;R1:=(3*H+2*均价)/5;
kX:=(R+R1)/2;
跟庄线:=EMA(SUM(KX*V,3)/SUM(V,3),2);
工作线:=EMA(SUM(kx*V,3)/SUM(V,3),13);
CCC:=ABS(kx-MA(工作线,13))/MA(工作线,13);
济安线:=DMA(kx,CCC);
行情线:=(EMA((COST(75)),13)+工作线)/2;
CC:=ABS(工作线-MA(行情线,13))/MA(行情线,13);
xS:=DMA(工作线,CC);
sm:=(济安线+xS)/2;
smT:=if(STKTYPE=0,SM*(1+7/100),SM*(1+13.82/100));
smD:=if(STKTYPE=0,SM*(1-7/100),SM*(1-13.82/100));
SDZ:=MAX(跟庄线,smD);
sxz:=MIN(跟庄线,smD);
ddz:=MAX(跟庄线,smT);
dxz:=MIN(跟庄线,smT);
诛杀:(SDz/Sxz-1)*100,COLORRED,LINETHICK2;
乱臣:(ddz/dxz-1)*100,LINETHICK2,COLORFFCCAA;
贼子:PARTLINE(诛杀<乱臣,诛杀),COLORGREEN,LINETHICK2;