我爱环境保护

通达信-2022年二十四节气当日提示

发布:生态652022-6-23 3:45分类: 财经知识 标签: 股票池 股票 仓位控制 公式

2023年的二十四节气,可依次手工修改对应节气的日期即可。

{二十四节气提示}

立春:=(YEAR=2022 AND MONTH=2 AND DAY=4);

雨水:=(YEAR=2022 AND MONTH=2 AND DAY=19);

惊蛰:=(YEAR=2022 AND MONTH=3 AND DAY=5);

春分:=(YEAR=2022 AND MONTH=3 AND DAY=20);

清明:=(YEAR=2022 AND MONTH=4 AND DAY=5);

谷雨:=(YEAR=2022 AND MONTH=4 AND DAY=20);

立夏:=(YEAR=2022 AND MONTH=5 AND DAY=5);

小满:=(YEAR=2022 AND MONTH=5 AND DAY=20);

芒种:=(YEAR=2022 AND MONTH=6 AND DAY=6);

夏至:=(YEAR=2022 AND MONTH=6 AND DAY=21);

小暑:=(YEAR=2022 AND MONTH=7 AND DAY=7);

大暑:=(YEAR=2022 AND MONTH=7 AND DAY=23);

立秋:=(YEAR=2022 AND MONTH=8 AND DAY=7);

处暑:=(YEAR=2022 AND MONTH=8 AND DAY=23);

白露:=(YEAR=2022 AND MONTH=9 AND DAY=7);

秋分:=(YEAR=2022 AND MONTH=9 AND DAY=23);

寒露:=(YEAR=2022 AND MONTH=10 AND DAY=8);

霜降:=(YEAR=2022 AND MONTH=10 AND DAY=23);

立冬:=(YEAR=2022 AND MONTH=11 AND DAY=7);

小雪:=(YEAR=2022 AND MONTH=11 AND DAY=22);

大雪:=(YEAR=2022 AND MONTH=12 AND DAY=7);

冬至:=(YEAR=2022 AND MONTH=12 AND DAY=22);

小寒:=(YEAR=2023 AND MONTH=1 AND DAY=5);

大寒:=(YEAR=2023 AND MONTH=1 AND DAY=20);

周期:=(PERIOD=6 OR PERIOD=7);

2022-06-23_114643.png

DRAWTEXT_FIX(ISLASTBAR AND (立春 OR BARSLAST(立春)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('02月04日立春-春季开始-上涨窗口-节气后:',CON2STR(BARSLAST(立春),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (立春 OR BARSLAST(立春)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('02月19日雨水-开始降雨-上升通道',CON2STR(BARSLAST(雨水),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (雨水 OR BARSLAST(雨水)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('02月19日雨水-开始降雨-上升通道-节气后:',CON2STR(BARSLAST(雨水),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (雨水 OR BARSLAST(雨水)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('03月05日惊蛰-春雷声声-开始加速',CON2STR(BARSLAST(惊蛰),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (惊蛰 OR BARSLAST(惊蛰)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('03月05日惊蛰-春雷声声-开始加速-节气后:',CON2STR(BARSLAST(惊蛰),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (惊蛰 OR BARSLAST(惊蛰)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('03月20日春分-昼夜等分-进入高潮',CON2STR(BARSLAST(春分),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (春分 OR BARSLAST(春分)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('03月20日春分-昼夜等分-进入高潮-节气后:',CON2STR(BARSLAST(春分),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (春分 OR BARSLAST(春分)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('04月05日清明-草木复生-达到高潮',CON2STR(BARSLAST(清明),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (清明 OR BARSLAST(清明)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('04月05日清明-草木复生-达到高潮-节气后:',CON2STR(BARSLAST(清明),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (清明 OR BARSLAST(清明)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('04月20日谷雨-雨生五谷-开始降温',CON2STR(BARSLAST(谷雨),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (谷雨 OR BARSLAST(谷雨)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('04月20日谷雨-雨生五谷-开始降温-节气后:',CON2STR(BARSLAST(谷雨),0))),COLORLIGREEN;

DRAWTEXT_FIX(ISLASTBAR AND (谷雨 OR BARSLAST(谷雨)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('05月05日立夏-夏季开始-注意休整',CON2STR(BARSLAST(立夏),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (立夏 OR BARSLAST(立夏)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('05月05日立夏-夏季开始-注意休整-节气后:',CON2STR(BARSLAST(立夏),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (立夏 OR BARSLAST(立夏)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('05月20日小满-麦熟收获-收获行情',CON2STR(BARSLAST(小满),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (小满 OR BARSLAST(小满)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('05月20日小满-麦熟收获-收获行情-节气后:',CON2STR(BARSLAST(小满),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (小满 OR BARSLAST(小满)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('06月06日芒种-夏收夏种-中报开始',CON2STR(BARSLAST(芒种),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (芒种 OR BARSLAST(芒种)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('06月06日芒种-夏收夏种-中报开始-节气后:',CON2STR(BARSLAST(芒种),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (芒种 OR BARSLAST(芒种)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('06月21日夏至-白天最长-中报结束',CON2STR(BARSLAST(夏至),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (夏至 OR BARSLAST(夏至)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('06月21日夏至-白天最长-中报结束-节气后:',CON2STR(BARSLAST(夏至),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (夏至 OR BARSLAST(夏至)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('07月07日小暑-暑热开始-注意调整',CON2STR(BARSLAST(小暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (小暑 OR BARSLAST(小暑)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('07月07日小暑-暑热开始-注意调整-节气后:',CON2STR(BARSLAST(小暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (小暑 OR BARSLAST(小暑)<=10)AND NOT(周期),0.11,0.75,0,STRCAT('07月23日大暑-暑热时期-休整行情',CON2STR(BARSLAST(大暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (大暑 OR BARSLAST(大暑)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('07月23日大暑-暑热时期-休整行情-节气后:',CON2STR(BARSLAST(大暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (大暑 OR BARSLAST(大暑)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('08月07日立秋-秋季开始-市场调整',CON2STR(BARSLAST(立秋),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (立秋 OR BARSLAST(立秋)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('08月07日立秋-秋季开始-市场调整-节气后:',CON2STR(BARSLAST(立秋),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (立秋 OR BARSLAST(立秋)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('08月23日处暑-暑天终止-市场调整',CON2STR(BARSLAST(处暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (处暑 OR BARSLAST(处暑)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('08月23日处暑-暑天终止-市场调整-节气后:',CON2STR(BARSLAST(处暑),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (处暑 OR BARSLAST(处暑)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('09月07日白露-天气渐凉-市场调整',CON2STR(BARSLAST(白露),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (秋分 OR BARSLAST(秋分)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('09月23日秋分-昼夜等分-市场调整-节气后:',CON2STR(BARSLAST(秋分),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (秋分 OR BARSLAST(秋分)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('10月08日寒露-开始降霜-市场调整',CON2STR(BARSLAST(寒露),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (寒露 OR BARSLAST(寒露)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('10月08日寒露-开始降霜-市场调整-节气后:',CON2STR(BARSLAST(寒露),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (寒露 OR BARSLAST(寒露)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('10月23日霜降-天气渐冷-市场调整',CON2STR(BARSLAST(霜降),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (霜降 OR BARSLAST(霜降)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('10月23日霜降-天气渐冷-市场调整-节气后:',CON2STR(BARSLAST(霜降),0))),COLORRED;

DRAWTEXT_FIX(ISLASTBAR AND (霜降 OR BARSLAST(霜降)<=10)AND NOT(周期),0.11,0.75,0,STRCAT('11月07日立冬-冬季开始-来年准备',CON2STR(BARSLAST(立冬),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (立冬 OR BARSLAST(立冬)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('11月07日立冬-冬季开始-来年准备-节气后:',CON2STR(BARSLAST(立冬),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (立冬 OR BARSLAST(立冬)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('11月22日小雪-始降小雪-来年准备',CON2STR(BARSLAST(小雪),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (小雪 OR BARSLAST(小雪)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('11月22日小雪-始降小雪-来年准备-节气后:',CON2STR(BARSLAST(小雪),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (小雪 OR BARSLAST(小雪)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('12月07日大雪-始降大雪-来年准备',CON2STR(BARSLAST(大雪),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (大雪 OR BARSLAST(大雪)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('12月07日大雪-始降大雪-来年准备-节气后:',CON2STR(BARSLAST(大雪),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (大雪 OR BARSLAST(大雪)<=10)  AND NOT(周期),0.11,0.75,0,STRCAT('12月22日冬至-白天最短-始进底仓',CON2STR(BARSLAST(冬至),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (冬至 OR BARSLAST(冬至)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('12月22日冬至-白天最短-始进底仓-节气后:',CON2STR(BARSLAST(冬至),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (冬至 OR BARSLAST(冬至)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('01月05日小寒-寒冷冬季-捂股来年',CON2STR(BARSLAST(小寒),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (小寒 OR BARSLAST(小寒)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('01月05日小寒-寒冷冬季-捂股来年-节气后:',CON2STR(BARSLAST(小寒),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (小寒 OR BARSLAST(小寒)<=10) AND NOT(周期),0.11,0.75,0,STRCAT('01月20日大寒-冬季最冷-捂股来年',CON2STR(BARSLAST(大寒),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (大寒 OR BARSLAST(大寒)<=10) AND NOT(周期),0.11,0.55,0,STRCAT('01月20日大寒-冬季最冷-捂股来年-节气后:',CON2STR(BARSLAST(大寒),0))),COLOR9F5F9F;

DRAWTEXT_FIX(ISLASTBAR AND (大寒 OR BARSLAST(大寒)<=10) AND NOT(周期),0.11,0.75,0,'01月21日除夕,准备过新年!'),COLOR9F5F9F;

{日期组合}

年份:=STRCAT(CON2STR(YEAR,0),'年');

月份:=STRCAT(CON2STR(MONTH,0),'月');

日期:=STRCAT(CON2STR(DAY,0),'日');

年月:=STRCAT(年份,月份);

月日:=STRCAT(年月,日期);

今日:=STRCAT('今天:',月日);

DRAWTEXT_FIX(ISLASTBAR AND NOT(周期),0.11,0.35,0,今日),COLORLIBLUE;

扫描二维码

扫描二维码关注本站,了解更新资讯!