{廿四节气}
MA5:MA(C,5);
MA20:MA(C,20);
MA60:MA(C,60);
立春:=FILTER(MONTH=2 AND (DAY=4 OR DAY=6 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=19 OR DAY=21),2);
惊蛰:=FILTER(MONTH=3 AND (DAY=6 OR DAY=8 ),2);
春分:=FILTER(MONTH=3 AND (DAY=21 OR DAY=23),2);
清明:=FILTER(MONTH=4 AND (DAY=5 OR DAY=7 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=20 OR DAY=22),2);
立夏:=FILTER(MONTH=5 AND (DAY=7 OR DAY=9 ),2);
小满:=FILTER(MONTH=5 AND (DAY=21 OR DAY=23),2);
芒种:=FILTER(MONTH=6 AND (DAY=6 OR DAY=8 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=21 OR DAY=23),2);
小暑:=FILTER(MONTH=7 AND (DAY=7 OR DAY=9 ),2);
大署:=FILTER(MONTH=7 AND (DAY=23 OR DAY=25),2);
立秋:=FILTER(MONTH=8 AND (DAY=8 OR DAY=10 ),2);
处暑:=FILTER(MONTH=8 AND (DAY=23 OR DAY=25),2);
白露:=FILTER(MONTH=9 AND (DAY=8 OR DAY=10 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=23 OR DAY=25),2);
寒露:=FILTER(MONTH=10 AND (DAY=8 OR DAY=10 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=23 OR DAY=25),2);
立冬:=FILTER(MONTH=11 AND (DAY=8 OR DAY=10 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=23 OR DAY=25),2);
大雪:=FILTER(MONTH=12 AND (DAY=7 OR DAY=9 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=22 OR DAY=24),2);
小寒:=FILTER(MONTH=1 AND (DAY=6 OR DAY=8 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=20 OR DAY=22),2);
DRAWTEXT(立春,HIGH*1.01,'★立春'),COLORGREEN;
DRAWTEXT(雨水,HIGH*1.01,'★雨水'),COLORGREEN;
DRAWTEXT(惊蛰,HIGH*1.01,'★惊蛰'),COLORGREEN;
DRAWTEXT(春分,HIGH*1.01,'★春分'),COLORGREEN;
DRAWTEXT(清明,HIGH*1.01,'★清明'),COLORYELLOW;
DRAWTEXT(谷雨,HIGH*1.01,'★谷雨'),COLORYELLOW;
DRAWTEXT(立夏,HIGH*1.01,'★立夏'),COLORRED;
DRAWTEXT(小满,HIGH*1.01,'★小满'),COLORRED;
DRAWTEXT(芒种,HIGH*1.01,'★芒种'),COLORRED;
DRAWTEXT(夏至,HIGH*1.01,'★夏至'),COLORRED;
DRAWTEXT(小暑,HIGH*1.01,'★小暑'),COLORYELLOW;
DRAWTEXT(大署,HIGH*1.01,'★大署'),COLORYELLOW;
DRAWTEXT(立秋,HIGH*1.01,'★立秋'),COLORBBBBBB;
DRAWTEXT(处暑,HIGH*1.01,'★处暑'),COLORBBBBBB;
DRAWTEXT(白露,HIGH*1.01,'★白露'),COLORBBBBBB;
DRAWTEXT(秋分,HIGH*1.01,'★秋分'),COLORBBBBBB;
DRAWTEXT(寒露,HIGH*1.01,'★寒露'),COLORYELLOW;
DRAWTEXT(霜降,HIGH*1.01,'★霜降'),COLORYELLOW;
DRAWTEXT(立冬,HIGH*1.01,'★立冬'),COLORGREEN;
DRAWTEXT(小雪,HIGH*1.01,'★小雪'),COLORGREEN;
DRAWTEXT(大雪,HIGH*1.01,'★大雪'),COLORGREEN;
DRAWTEXT(冬至,HIGH*1.01,'★冬至'),COLORGREEN;
DRAWTEXT(小寒,HIGH*1.01,'★小寒')COLORYELLOW;
DRAWTEXT(大寒,HIGH*1.01,'★大寒'),COLORYELLOW;
N:=10;
T1:=CONST(HHVBARS(V,N));
T0:IF(CURRBARSCOUNT =N+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL);
IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;
DRAWTEXT(ISLASTBAR,T0,'(10日) 量能平台');
VAR1:=VOL*(OPEN+CLOSE)/2;
搏杀生命线:SUM(VAR1,88)/SUM(VOL,88),LINETHICK2,COLORYELLOW;