首頁 股票學校 股票入門 選股 買入 看盤 跟莊 短線 炒股技巧 技術指標 k線圖 MACD 均線 成交量 股票書籍 股票視頻 網站導航

767股票學習網 > 股票學校 > 分析家公式 > 正文

分析家指標:二十四節氣主圖

我用的二十四節氣主圖,春天綠色,夏天晶紅色,秋天黃色,冬天白色
{分析家}

ma13:ma(c,13);
ma34:ma(c,34);
ma55:ma(c,55);
立春:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
驚蟄:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),2);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
清明:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2);
立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),2);
小滿:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
芒種:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),2);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),2);
處暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
小寒:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2);

stickline(立春,h,l,0.5,1),colorgreen;
stickline(立春,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(立春,HIGH*1.02,'立春'),COLORgreen,ALIGN1;
stickline(雨水,h,l,0.5,1),colorgreen;
stickline(雨水,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(雨水,HIGH*1.02,'雨水'),COLORgreen,ALIGN1;
stickline(驚蟄,h,l,0.5,1),colorgreen;
stickline(驚蟄,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(驚蟄,HIGH*1.02,'驚蟄'),COLORgreen,ALIGN1;
stickline(春分,h,l,0.5,1),colorgreen;
stickline(春分,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(春分,HIGH*1.02,'春分'),COLORgreen,ALIGN1;
stickline(清明,h,l,0.5,1),colorgreen;
stickline(清明,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(清明,HIGH*1.02,'清明'),COLORgreen,ALIGN1;
stickline(谷雨,h,l,0.5,1),colorgreen;
stickline(谷雨,o,c,6,1),linethick2,colorgreen;
DRAWTEXT(谷雨,HIGH*1.02,'谷雨'),COLORgreen,ALIGN1;
stickline(立夏,h,l,0.5,1),COLORMAGENTA;
stickline(立夏,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(立夏,HIGH*1.02,'立夏'),COLORMAGENTA,ALIGN1;
stickline(小滿,h,l,0.5,1),COLORMAGENTA;
stickline(小滿,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(小滿,HIGH*1.02,'小滿'),COLORMAGENTA,ALIGN1;
stickline(芒種,h,l,0.5,1),COLORMAGENTA;
stickline(芒種,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(芒種,HIGH*1.02,'芒種'),COLORMAGENTA,ALIGN1;
stickline(夏至,h,l,0.5,1),COLORMAGENTA;
stickline(夏至,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(夏至,HIGH*1.02,'夏至'),COLORMAGENTA,ALIGN1;
stickline(小暑,h,l,0.5,1),COLORMAGENTA;
stickline(小暑,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(小暑,HIGH*1.02,'小暑'),COLORMAGENTA,ALIGN1;
stickline(大署,h,l,0.5,1),COLORMAGENTA;
stickline(大署,o,c,6,1),linethick2,COLORMAGENTA;
DRAWTEXT(大署,HIGH*1.02,'大署'),COLORMAGENTA,ALIGN1;
stickline(立秋,h,l,0.5,1),COLORYELLOW;
stickline(立秋,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(立秋,HIGH*1.02,'立秋'),COLORYELLOW,ALIGN1;
stickline(處暑,h,l,0.5,1),COLORYELLOW;
stickline(處暑,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(處暑,HIGH*1.02,'處暑'),COLORYELLOW,ALIGN1;
stickline(白露,h,l,0.5,1),COLORYELLOW;
stickline(白露,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(白露,HIGH*1.02,'白露'),COLORYELLOW,ALIGN1;
stickline(秋分,h,l,0.5,1),COLORYELLOW;
stickline(秋分,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(秋分,HIGH*1.02,'秋分'),COLORYELLOW,ALIGN1;
stickline(寒露,h,l,0.5,1),COLORYELLOW;
stickline(寒露,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(寒露,HIGH*1.02,'寒露'),COLORYELLOW,ALIGN1;
stickline(霜降,h,l,0.5,1),COLORYELLOW;
stickline(霜降,o,c,6,1),linethick2,COLORYELLOW;
DRAWTEXT(霜降,HIGH*1.02,'霜降'),COLORYELLOW,ALIGN1;
stickline(立冬,h,l,0.5,1),colorwhite;
stickline(立冬,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(立冬,HIGH*1.02,'立冬'),COLORWHITE,ALIGN1;
stickline(小雪,h,l,0.5,1),colorwhite;
stickline(小雪,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(小雪,HIGH*1.02,'小雪'),COLORWHITE,ALIGN1;
stickline(大雪,h,l,0.5,1),colorwhite;
stickline(大雪,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(大雪,HIGH*1.02,'大雪'),COLORWHITE,ALIGN1;
stickline(冬至,h,l,0.5,1),colorwhite;
stickline(冬至,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(冬至,HIGH*1.02,'冬至'),COLORWHITE,ALIGN1;
stickline(小寒,h,l,0.5,1),colorwhite;
stickline(小寒,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(小寒,HIGH*1.02,'小寒'),COLORWHITE,ALIGN1;
stickline(大寒,h,l,0.5,1),colorwhite;
stickline(大寒,o,c,6,1),linethick2,colorwhite;
DRAWTEXT(大寒,HIGH*1.02,'大寒'),COLORWHITE,ALIGN1;  

上一篇文章:

下一篇文章:

 




767股票學習網 | 手機版 | 微信 | 微博 | 聯系站長





香港特码资料部