炒股配资理财网COLORFFFFFF)
图片炒股配资理财网
DD:=YEAR*10000+MONTH*100+DAY;
有效:=DD;
DRAWSL(ISLASTBAR,C,0,10,1,COLORFFFF00), POINTDOT,COLORGREEN,PRECIS4;
DRAWNUMBER(ISLASTBAR,L,C,1,COLORFFFFFF),PRECIS4,ALIGN0,FONTSIZE15;
中:MA(IF( 有效, CLOSE,0 ),50),LINETHICK2;
DRAWCOLORLINE(中>REF(中,1),中,COLORMAGENTA,COLORBLUE),LINETHICK2;
TMP2:=STD(CLOSE,50);
上:中+2*TMP2;
DRAWCOLORLINE(上>REF(上,1),上,COLORYELLOW,COLORBLUE),LINETHICK1;
下:中-2*TMP2;
DRAWCOLORLINE(下>REF(下,1),下,COLORBLUE,COLORYELLOW),LINETHICK1;
{波峰波谷}
TY:=HIGH;
X:=8;
A1:=REF(TY,X)=HHV(TY,2*X+1);
B1:=FILTER(A1,X);
C1E:=BACKSET(B1,X+1);
HD:=FILTER(C1E,X);
A2:=REF(TY,X)=LLV(TY,2*X+1);
B2:=FILTER(A2,X);
C2:=BACKSET(B2,X+1);
LD:=FILTER(C2,X);
AQ:=REF(HIGH,BARSLAST(HD)),COLORFFFFFF,LINETHICK1;
BQ:=REF(HIGH,BARSLAST(LD)),COLORFFFFFF,LINETHICK1;
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD),COLORFFFFFF,LINETHICK1;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
上0:IF(T1,IF( 有效, AQ, 0),AQ),COLORGRAY,LINETHICK2;
STICKLINE(T1,AQ,AQ,7,0);
下0:IF(T2,IF( 有效, BQ, 0),BQ),COLORGRAY,LINETHICK2;
STICKLINE(C>=O,C,O,9,0),COLORRED;
STICKLINE(C<=O,C,O,9,0),COLORCYAN;
DRAWTEXT(ISLASTBAR AND NOT(有效),H,'停'),ALIGN2,FONTSIZE20,COLORYELLOW;
YTJ:=(MONTH<>REF(MONTH炒股配资理财网,1)