通達信24節(jié)氣主語指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 均線
- 畫線方法: 主圖
- 日期:2018-11-17 來源:互聯(lián)網(wǎng)
通達信24節(jié)氣主語指標(biāo)公式:
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;
通達信24節(jié)氣主語指標(biāo)公式實例圖解:
通達信24節(jié)氣主語指標(biāo)公式