ABC1:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)); ABC2:=100*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8)); ABC3:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)); ABC4:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)); ABC5:=100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)); ABC:=(ABC1+(ABC2*0.618)+(ABC3*0.382)+(ABC4*0.236)+(ABC5*0.146))/2.382; VAR1:=MA(ABC,3); DK笑脸:=SMA(VAR1,3,1); STICKLINE((VAR1< DK笑脸),O,C,2,0),COLOR0000FF; STICKLINE((VAR1>DK笑脸),O,C,2,0),COLORGREEN ; 休息线:IF(VAR1>DK笑脸,L,DRAWNULL),COLORBLUE,LINETHICK2 DOTLINE; 持股线:IF(VAR1< DK笑脸,L,DRAWNULL),COLORMAGENTA,LINETHICK2 DOTLINE; D:=BARSLASTCOUNT(VAR1< DK笑脸)=1; K:=BARSLASTCOUNT(VAR1>DK笑脸)=1; DRAWICON(D,L*1.025,5); DRAWICON(K,H*1.025,6);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
ABC1:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
ABC2:=100*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
ABC3:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
ABC4:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
ABC5:=100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34));
ABC:=(ABC1+(ABC2*0.618)+(ABC3*0.382)+(ABC4*0.236)+(ABC5*0.146))/2.382;
VAR1:=MA(ABC,3);
DK笑脸:=SMA(VAR1,3,1);
STICKLINE((VAR1< DK笑脸),O,C,2,0),COLOR0000FF;
STICKLINE((VAR1>DK笑脸),O,C,2,0),COLORGREEN ;
休息线:IF(VAR1>DK笑脸,L,DRAWNULL),COLORBLUE,LINETHICK2 DOTLINE;
持股线:IF(VAR1< DK笑脸,L,DRAWNULL),COLORMAGENTA,LINETHICK2 DOTLINE;
D:=BARSLASTCOUNT(VAR1< DK笑脸)=1;
K:=BARSLASTCOUNT(VAR1>DK笑脸)=1;
DRAWICON(D,L*1.025,5);
DRAWICON(K,H*1.025,6);