MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA240:=MA(C,240);
MA330:=MA(C,330);
CRS5:=O < MA5 AND C > MA5;
CRS10:=O < MA10 AND C > MA10;
CRS20:=O < MA20 AND C > MA20;
CRS30:=O < MA30 AND C > MA30;
CRS60:=O < MA60 AND C > MA60;
CRS120:=O < MA120 AND C > MA120;
CRS240:=O < MA240 AND C > MA240;
CRS330:=O < MA330 AND C > MA330;
上穿均线:=(CRS5+CRS10+CRS20+CRS30+CRS60+CRS120+CRS240+CRS330);
STICKLINE(上穿均线>1,0,3,1,0),COLORWHITE;
DRAWTEXT(上穿均线>1,上穿均线*0.5,'一阳穿多线'),COLORYELLOW;
14R3Z53VZ-29361.gif
|