MID : MA(CLOSE,20),POINTDOT,LINETHICK1,COLORWHITE; UPPER: MID + 2*STD(CLOSE,20),LINETHICK1,COLORYELLOW; LOWER: MID - 2*STD(CLOSE,20),LINETHICK1,COLORCYAN; VAR1:=UPPER; FF:=VAR1>REF(VAR1,1); 二分位:(H+L)/2 ,LINETHICK1,COLORWHITE,POINTDOT; DRAWCOLORLINE(FF,VAR1,RGB(255,0,0),RGB(0,255,0)); VAR2:=LOWER; DRAWCOLORLINE(FF,VAR2,RGB(255,0,0),RGB(0,255,0)); VAR3:=MA(CLOSE,18); DRAWCOLORLINE(FF,VAR3,RGB(255,0,0),RGB(3,3,255)); VAR4:=MA(CLOSE,4); DRAWCOLORLINE(FF,VAR4,RGB(235,1,1),RGB(3,3,255)); RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; XX1:=EMA(SLOPE(1,1)+C,3),COLORRED; YY1:=EMA(SLOPE(1,1)+C,7),COLORBLUE; YZ1:=C/O>1.02 && H/C>1.02 && O/L<1.02; YZ2:=REF(C,1)>REF(O,1) && O>MA(C,11); Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100; YZ:=YZ1 && YZ2 && Y>10; BIAS2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;//同上 GR1:=BARSLAST(BETWEEN(BIAS2,0,5) ); GR3:=COUNT(BIAS2>10 && H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1); DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26); DEA : =EMA(DIFF,9); MACD:=2*(DIFF-DEA),COLORSTICK; GR5:=MACD<REF(MACD,1); XX2:=EMA(SLOPE(1,1)+C,3),COLORRED; YY2:=EMA(SLOPE(1,1)+C,7),COLORBLUE; XX3:=MA(CLOSE, 5); YY3:=MA(CLOSE, 60); XX4:=CROSS(XX2,YY2) && XX3>YY3; YY4:=CROSS(YY2,XX2) && XX3>YY3 && COUNT(CROSS(XX1,YY1) && XX3>YY3 ,30); A1:=EMA(C,14),COLORWHITE,LINETHICK1; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; 支撐位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),COLORRED,LINETHICK1; 阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),COLORGREEN,LINETHICK1; 限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100; 平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1); DRAWTEXT(FILTER(平衡>REF(平衡,1) && HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1) &&((C+L)/2)>REF((C+L)/2,1),5)&& 限制<88,L*0.98,' ------'),COLORCYAN; MA(C,20),COLORRED; 上升:IF(VAR1>REF(VAR1,1),VAR1,NULL),COLORRED,LINETHICK1; 下降:IF(VAR1<=REF(VAR1,1),VAR1,NULL),COLORGREEN,LINETHICK1; 力道線:MA(CLOSE,5); DRAWGBK1(C<MA(C,89),RGB(0,100,0)); DRAWGBK1(C>MA(C,89) && C/MA(C,3)<1.10,RGB(100,0,0)); DRAWGBK1(C/MA(C,89)>1.1,RGB(120,0,120)); |
聯(lián)系客服