MA4:=MA(CLOSE,4); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); 叉:=(CROSS(C,MA4)); 平:=(MA4-REF(MA4,1)>0)AND(MA10-REF(MA10,1)>0)AND(MA20-REF(MA20,1)>0); A:=EMA(C,10); {028588.COM} A11:=EMA(C,60); A2:=A-A11; MID:=MA(A2,26); UPPER:= MID +1.8*STD(A2,26)COLORWHITE; LOWER:= MID - 1.8*STD(A2,26)COLORGREEN; UR:= MID +1.8*STD(A2,26)COLORWHITE; LR:= MID - 1.8*STD(A2,26)COLORGREEN; 高位:=HHV(A2,450),COLORGREEN, LINETHICK2; 低位:=LLV(A2,450),COLORRED,LINETHICK2; VAR1K:=(高位-低位); 高:=高位-VAR1K*0.115,COLORYELLOW,LINETHICK1; 高中:=高位-VAR1K*0.05,COLORYELLOW; 高1:=高位-VAR1K*0.0000015,COLORYELLOW,LINETHICK1; 低:=高位-VAR1K*1,COLORGREEN,LINETHICK1; 低中:=高位-VAR1K*0.92,COLORGREEN,LINETHICK1; 低1:=高位-VAR1K*0.85,COLORGREEN,COLORGREEN; DIF:=EMA(CLOSE,4)-EMA(CLOSE,47); DEA:=EMA(DIF,4); 叉1:=(CROSS(DIF,DEA)); 叉2:=(CROSS(DIF,MID)); 走平:=(MID-REF(MID,1)>0); 條件:=(A2<MID)AND(A2>DIF); 角度:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416; 角度1:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; 角度2:=ATAN((MA4/REF(MA4,1)-1)*100)*180/3.1416; 漲停:((角度>30)AND(角度1>40)AND(角度2>50)AND(L<MA4)AND(叉2)),COLORRED,LINETHICK3; |
|