MA3:EMA(C,3),COLORWHITE;
工作线:EMA(C,14),COLORF00FF0,LINETHICK1;
二号线:EMA(C,25),COLORFF0000,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA181:EMA(CLOSE,181),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.3,0),COLORYELLOW;
STICKLINE(TJ,O,C,3,0),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0.3,0),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,3,1),COLORF00FF0;
STICKLINE(DIFF STICKLINE(DIFF VAR1:=(CLOSE*2+HIGH+LOW)/4; SK:= EMA(VAR1,13)-EMA(VAR1,73); SD:= EMA(SK,2); 立春:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5 ),0); 雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),0); 惊蛰:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),0); 春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),0); 清明:=FILTER(MONTH=4 AND (DAY=3 OR DAY=6 ),0); 谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),0); 立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),0); 小满:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),0); 芒种:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),0); 夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),0); 小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),0); 大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),0); 立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),0); 处暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),0); 白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),0); 秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),0); 寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),0); 霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),0); 立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),0); 小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),0); 大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),0); 冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),0); 小寒:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7 ),0); 大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),0); DRAWTEXT(立春,HIGH*1.02,'立春'),COLORgreen,ALIGN1; DRAWTEXT(雨水,HIGH*1.02,'雨水'),COLORgreen,ALIGN1; DRAWTEXT(惊蛰,HIGH*1.02,'惊蛰'),COLORgreen,ALIGN1; DRAWTEXT(春分,HIGH*1.02,'春分'),COLORgreen,ALIGN1; DRAWTEXT(清明,HIGH*1.02,'清明'),COLORgreen,ALIGN1; DRAWTEXT(谷雨,HIGH*1.02,'谷雨'),COLORgreen,ALIGN1; DRAWTEXT(立夏,HIGH*1.02,'立夏'),COLORMAGENTA,ALIGN1; DRAWTEXT(小满,HIGH*1.02,'小满'),COLORMAGENTA,ALIGN1; DRAWTEXT(芒种,HIGH*1.02,'芒种'),COLORMAGENTA,ALIGN1; DRAWTEXT(夏至,HIGH*1.02,'夏至'),COLORMAGENTA,ALIGN1; DRAWTEXT(小暑,HIGH*1.02,'小暑'),COLORMAGENTA,ALIGN1; DRAWTEXT(大署,HIGH*1.02,'大署'),COLORMAGENTA,ALIGN1; DRAWTEXT(立秋,HIGH*1.02,'立秋'),COLORYELLOW,ALIGN1; DRAWTEXT(处暑,HIGH*1.02,'处暑'),COLORYELLOW,ALIGN1; DRAWTEXT(白露,HIGH*1.02,'白露'),COLORYELLOW,ALIGN1; DRAWTEXT(秋分,HIGH*1.02,'秋分'),COLORYELLOW,ALIGN1; DRAWTEXT(寒露,HIGH*1.02,'寒露'),COLORYELLOW,ALIGN1; DRAWTEXT(霜降,HIGH*1.02,'霜降'),COLORYELLOW,ALIGN1; DRAWTEXT(立冬,HIGH*1.02,'立冬'),COLORWHITE,ALIGN1; DRAWTEXT(小雪,HIGH*1.02,'小雪'),COLORWHITE,ALIGN1; DRAWTEXT(大雪,HIGH*1.02,'大雪'),COLORWHITE,ALIGN1; DRAWTEXT(冬至,HIGH*1.02,'冬至'),COLORWHITE,ALIGN1; DRAWTEXT(小寒,HIGH*1.02,'小寒'),COLORWHITE,ALIGN1; DRAWTEXT(大寒,HIGH*1.02,'大寒'),COLORWHITE,ALIGN1;