a:=max;上:1.1*a,color00ff00;下成本:0.91*a,color00ff00;线:a,colorwhite,pointdot;stickline(a>ref(a,1),a,ref(a,1),4,0),colorred;stickline(a<=ref(a,1),a,ref(a,1),4,0),color00ff00;线:1.21*a,coloryellow,linethick2;弱庄线:0.826*a,coloryellow,linethick2;高控线:1.357*a,color0099ff;线:0.704*a,colorff00ff;acdp:=(h+l+2*c)/4;aa:=acdp*;smx:=SUM(aa,0)/SUM(,0);:smx,pointdot,colorwhite; {无穷成本线,某视为生命线}stickline(smx>ref(smx,1),smx,ref(smx,1),4,0),colorred,linethick3; {红色表示在上行}stickline(smx<=ref(smx,1),smx,ref(smx,1),4,0)