VAR0:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1); 波段线:EMA(VAR0,3),coloryellow,NODRAW;
VAR1:=EMA(波段线,2);
VAR2:=EMA(VAR1,2);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=CROSS(VAR2,VAR1);
STICKLINE(波段线>20 AND 波段线<50,波段线-2,波段线+2,5,0),coloryellow;
抄底:=IF(CROSS(波段线,8) OR CROSS(波段线,15),波段线*3.0,0),colorblue;
再横刀:IF(VAR4,波段线,0),colorgreen;
DRAWTEXT(VAR3 AND VAR1>20,波段线-20,'买'),colorred;
STICKLINE(VAR3 AND VAR1>20,波段线,0,1,0),colorred;
STICKLINE(波段线>80,波段线-2,波段线+2,5,0),colorred;
STICKLINE(波段线<20,波段线-2,波段线+2,5,0),colorblue;
STICKLINE(波段线>50 AND 波段线<80,波段线-2,波段线+2,5,0),colormagenta;
DRAWTEXT(抄底>1,抄底+5,' 抄底'),coloryellow;
DRAWICON(抄底>1,抄底,4);
..............
|
