您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

老师修改成博弈大师能用的 [博易POBO]

咨询内容:

老师修改成博弈大师能用的

PARTLINE(1,1),COLORYELLOW;
jqd:=LSOLARTERMDAY(DATE);
fd:=DATE;
tj:=(jqd-REF(jqd,1)<>DATEDIFF(REF(fd,1),fd))*((MONTH)*2-(jqd>DAY)-(DAY<=16));
DRAWTEXT(tj=1 ,0.5,'小寒'),COLORYELLOW;
DRAWTEXT(tj=2 ,0.5,'大寒'),COLORYELLOW;
DRAWTEXT(tj=3 ,0.5,'立春'),COLORGREEN;
DRAWTEXT(tj=4 ,0.5,'雨水'),COLORGREEN;
DRAWTEXT(tj=5 ,0.5,'惊蛰'),COLORGREEN;
DRAWTEXT(tj=6 ,0.5,'春分'),COLORGREEN;
DRAWTEXT(tj=7 ,0.5,'清明'),COLORYELLOW;
DRAWTEXT(tj=8 ,0.5,'谷雨'),COLORYELLOW;
DRAWTEXT(tj=9 ,0.5,'立夏'),COLORRED;
DRAWTEXT(tj=10,0.5,'小满'),COLORRED;
DRAWTEXT(tj=11,0.5,'芒种'),COLORRED;
DRAWTEXT(tj=12,0.5,'夏至'),COLORRED;
DRAWTEXT(tj=13,0.5,'小暑'),COLORYELLOW;
DRAWTEXT(tj=14,0.5,'大暑'),COLORYELLOW;
DRAWTEXT(tj=15,0.5,'立秋'),COLORBBBBBB;
DRAWTEXT(tj=16,0.5,'处暑'),COLORBBBBBB;
DRAWTEXT(tj=17,0.5,'白露'),COLORBBBBBB;
DRAWTEXT(tj=18,0.5,'秋分'),COLORBBBBBB;
DRAWTEXT(tj=19,0.5,'寒露'),COLORYELLOW;
DRAWTEXT(tj=20,0.5,'霜降'),COLORYELLOW;
DRAWTEXT(tj=21,0.5,'立冬'),COLORFF9900;
DRAWTEXT(tj=22,0.5,'小雪'),COLORFF9900;
DRAWTEXT(tj=23,0.5,'大雪'),COLORFF9900;
DRAWTEXT(tj=24,0.5,'冬至'),COLORFF9900;

DRAWTEXT(tj=1 ,2.5,'丑月'),COLORYELLOW;
DRAWTEXT(tj=3 ,2.5,'寅月'),COLORGREEN;
DRAWTEXT(tj=5 ,2.5,'卯月'),COLORGREEN;
DRAWTEXT(tj=7 ,2.5,'辰月'),COLORYELLOW;
DRAWTEXT(tj=9 ,2.5,'巳月'),COLORRED;
DRAWTEXT(tj=11,2.5,'午月'),COLORRED;
DRAWTEXT(tj=13,2.5,'未月'),COLORYELLOW;
DRAWTEXT(tj=15,2.5,'申月'),COLORBBBBBB;
DRAWTEXT(tj=17,2.5,'酉月'),COLORBBBBBB;
DRAWTEXT(tj=19,2.5,'戌月'),COLORYELLOW;
DRAWTEXT(tj=21,2.5,'亥月'),COLORFF9900;
DRAWTEXT(tj=23,2.5,'子月'),COLORFF9900;

STICKLINE(tj=1 OR tj=2 OR tj=7 OR tj=8 OR tj=13 OR tj=14 OR tj=19 OR tj=20,0.5,1.5,8,0),COLORYELLOW;
STICKLINE(tj>=3 AND tj<=6,0.5,1.5,8,0),COLORGREEN;
STICKLINE(tj>=9 AND tj<=12,0.5,1.5,8,0),COLORRED;
STICKLINE(tj>=15 AND tj<=18,0.5,1.5,8,0),COLORBBBBBB;
STICKLINE(tj>=21 AND tj<=24,0.5,1.5,8,0),COLORFF9900;

DRAWNUMBER(tj,3.5,tj,0),COLORBROWN;
cond:=IF(tj>=6,tj-6,tj+18)*15;
DRAWNUMBER(tj ,-0.5,cond,0),COLORGREEN;
DRAWNUMBER((tj/3)=INTPART(tj/3) AND tj<>0,-0.5,cond,0),COLORRED;
-1,POINTDOT,colorblack;
gz:=GANZHI(DATE,0,2);
STICKLINE(BETWEEN(gz,39,50),0.85,1.05,4,0),COLORYELLOW;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: 您好,目前不支持取节气的函数,所以上述公式无法修改。 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容