最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信廿四节气指标主图、用法、源码

    正文概述    2024-04-14 15:08:59  

    用法:廿四节气指标,来源码于网上,经过琪新简单编辑而成,用于观察大盘及个股随节气变化的规律,寻找可能的时间窗口,对个股的操作具有一定的参考意义,但由于个股主力的操盘手法不一,加之骗线等尔虞我诈行为,该指标有时可能反应不会灵敏,具体使用时还要参考其它指标综合判断为好

    {廿四节气主图指标}
    立春:=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);

    DRAWTEXT(立春=1,HIGH*1.02,'立春'),COLORGREEN;
    DRAWTEXT(雨水=1,HIGH*1.02,'雨水'),COLORGREEN;
    DRAWTEXT(惊蛰=1,HIGH*1.02,'惊蛰'),COLORGREEN;
    DRAWTEXT(春分=1,HIGH*1.02,'春分'),COLORGREEN;
    DRAWTEXT(清明=1,HIGH*1.02,'清明'),COLORGREEN;
    DRAWTEXT(谷雨=1,HIGH*1.02,'谷雨'),COLORGREEN;
    DRAWTEXT(立夏=1,HIGH*1.02,'立夏'),COLORMAGENTA;
    DRAWTEXT(小满=1,HIGH*1.02,'小满'),COLORMAGENTA;
    DRAWTEXT(芒种=1,HIGH*1.02,'芒种'),COLORMAGENTA;
    DRAWTEXT(夏至=1,HIGH*1.02,'夏至'),COLORMAGENTA;
    DRAWTEXT(小暑=1,HIGH*1.02,'小暑'),COLORMAGENTA;
    DRAWTEXT(大署=1,HIGH*1.02,'大署'),COLORMAGENTA;
    DRAWTEXT(立秋=1,HIGH*1.02,'立秋'),COLORYELLOW;
    DRAWTEXT(处暑=1,HIGH*1.02,'处暑'),COLORYELLOW;
    DRAWTEXT(白露=1,HIGH*1.02,'白露'),COLORYELLOW;
    DRAWTEXT(秋分=1,HIGH*1.02,'秋分'),COLORYELLOW;
    DRAWTEXT(寒露=1,HIGH*1.02,'寒露'),COLORYELLOW;
    DRAWTEXT(霜降=1,HIGH*1.02,'霜降'),COLORYELLOW;
    DRAWTEXT(立冬=1,HIGH*1.02,'立冬'),COLORWHITE;
    DRAWTEXT(小雪=1,HIGH*1.02,'小雪'),COLORWHITE;
    DRAWTEXT(大雪=1,HIGH*1.02,'大雪'),COLORWHITE;
    DRAWTEXT(冬至=1,HIGH*1.02,'冬至'),COLORWHITE;
    DRAWTEXT(小寒=1,HIGH*1.02,'小寒'),COLORWHITE;
    DRAWTEXT(大寒=1,HIGH*1.02,'大寒'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信廿四节气指标主图、用法、源码 加入收藏