{公式名称: DELTA MTD公式描述:无参数公式类型: 技术指标公式-图表型画线方法: 主图叠加公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无 参数精灵:无用法注释:无公式源码:}XA_1:=3;XA_2:=29.530588;XA_3:=DATETODAY(DATE)+1;XA_4:=((XA_3+XA_1)/XA_2-INTPART((XA_3+XA_1)/XA_2))*XA_2;农历日:IF(XA_4<1,ROUND(XA_4+XA_2),INTPART(XA_4)),NODRAW;XA_5:=IF(REF(农历日,1)>=农历日 OR 农历日=1,1,0);XA_6:=COUNT(XA_5,0);IF(XA_5 AND MOD(XA_6,12)=0,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORWHITE;IF(XA_5 AND MOD(XA_6,12)=3,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORYELLOW;IF(XA_5 AND MOD(XA_6,12)=6,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORRED;
IF(XA_5 AND MOD(XA_6,12)=9,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORGREEN;