红线进,青线出,上穿天线为最好,0轴上方有庄,0轴下方庄自救.
源码
均价:=(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(r*V,3)/SUM(V,3),2),COLORWHITE,LINETHICK1,PRECISION2;
工作线:=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;
smD:=if(STKTYPE=0,SM*(1-6.91/100),SM*(1-13.82/100)),COLORFFCCAA,COLORFFC0FF,LINETHICK2,PRECISION2;
smT:=if(STKTYPE=0,SM*(1+6.91/100),SM*(1+13.82/100));
相对成本:=MA(C,BARPOS),COLORFFC0FF;
绝对成本:=IF(STKTYPE=0,相对成本,SUM(AMOUNT,BARPOS)/(SUM(V,BARPOS)*100)),,COLOR6600FF,LINETHICK2;
SD:=MAX(跟庄线,MAX(sm,绝对成本));
sX:=MIN(跟庄线,MIN(sm,绝对成本));
庄迹:(KX/绝对成本-1)*100,COLORRED,LINETHICK2;
趋势:(sm/绝对成本-1)*100,LINETHICK2;
地:(smD/绝对成本-1)*100,COLORFFCCAA;
天:(smT/绝对成本-1)*100,COLORFFC0FF;
PARTLINE(庄迹<=趋势,庄迹),COLORAAAA00,LINETHICK2;
0;