三平底进,三平顶出。本人以多年实验,95%的把屋
ma1:=MA(C,5),colorf00ff0;
ma2:=MA(C,10),color00ff00;
ma3:=MA(C,30),colorf0f000;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C[REF(C,2) AND REF(C,2)>REF(C,1),2,IF]
(C[
]SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)
<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));
mc:=IF(REF(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLOR000000;
TOW1:=IF(C>REF(C, 1), C,REF(C, 1)),POINTDOT,colorwhite;
tow2:=IF((SS=-1 OR SS=-2) AND SM>0, B2,TOW1),POINTDOT,colorwhite;
TOWER:IF(tow1>tow2, tow1,TOW2),POINTDOT,colorwhite;
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,4.5,1),color000999;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,4.5,0),COLOR00FF00;
STICKLINE(SS=2,B2,C,4.5,1),color000999;
STICKLINE(SS=-2,B2,C,4.5,0),COLOR00FF00;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,4.5,1),colorred;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,4.5,0),COLOR00FF00;