MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); p1:=abs(ma1-ma2)+abs(ma2-ma3);
aa:=p1/c<20/1000 and ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma1<MA3 and ma2<ma3; 三均線粘合:if(aa,22,0),linethick2,color000999; drawtext(aa,21,'三均線粘合'),color00ff00; |
|