IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK; TX80:80,POINTDOT COLORYELLOW; DX20:20,POINTDOT COLORYELLOW,LINETHICK2; MA2:=MA(CLOSE,2);R2:=MA2>REF(MA2,1);MM2:=REF(MA2,1); RC2:=CROSS(MA2,MM2); MA3:=MA(CLOSE,3);R3:=MA3>REF(MA3,1);MM3:=REF(MA3,1);RC3:=CROSS(MA3,MM3); MA4:=MA(CLOSE,4);R4:=MA4>REF(MA4,1);MM4:=REF(MA4,1);RC4:=CROSS(MA4,MM4); MA5:=EMA(CLOSE,5);R5:=MA5>REF(MA5,1);MM5:=REF(MA5,1);RC5:=CROSS(MA5,MM5); AA1:=RC2 AND R3 AND R4 AND R5; AA2:=R2 AND RC3 AND R4 AND R5; AA3:=R2 AND R3 AND RC4 AND R5; AA4:=R2 AND R3 AND R4 AND RC5; XG:=AA1 OR AA2 OR AA3 OR AA4; DRAWTEXT(XG,20,'☆')COLORFFC0F6; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORLIGRAY; D: EMA(0.667*REF(K,1)+0.333*K,2),COLOR00B9B3; VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3); VAR6:=(K+VAR5)/2; VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2); VAR8:=EMA(VAR6,5); VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2)COLORFFA640; DRAWICON(LONGCROSS(D,K,0.1),D,2); DRAWICON(LONGCROSS(K,D,0.1),K,1); IF(K>D AND K>VAR9 AND D>VAR9,VAR9,DRAWNULL)POINTDOT,COLORCYAN,LINETHICK5; |
|