麻烦老师把通达信公式改成博易大师的 [博易POBO]
咨询内容:
VAR2:=TDXDLL5(2,H,0,7);
VAR3:=TDXDLL5(3,H,L,0);
VAR4:=TDXDLL5(4,H,L,0);
ZSJSLAST:=TDXDLL5(7,H,L,C);
ZSKSLAST:=TDXDLL5(8,H,L,C);
ZSZD:=TDXDLL5(9,H,L,C);
ZSZG:=TDXDLL5(10,H,L,C);
BIJS:=BARSLAST(ZSJSLAST=1);
ZSUP:=REF(ZSZG,BIJS),COLORGREEN;
THREEBUY:=VAR2=-1 AND L>ZSUP AND SUM(VAR2=-1 AND L>ZSUP,BIJS)=1;
DUANLAST:=TDXDLL5(12,H,L,C);
DUANFX:=TDXDLL5(14,H,L,C);
{画笔}
DRAWLINE(VAR2=1 ,H,VAR2=-1,L,0),COLORYELLOW,DOTLINE;
DRAWLINE(VAR2=-1,L,VAR2=1,H,0),COLORYELLOW,DOTLINE;
{画未完成笔}
DRAWLINE(VAR2=1 ,H,VAR2=-10,L,0),COLOR0080FF,DOTLINE;
DRAWLINE(VAR2=-1,L,VAR2=10,H,0),COLOR0080FF,DOTLINE;
{画段}
DRAWLINE(VAR3=1 ,H,VAR3=-1,L,0),COLORBLUE,LINETHICK2;
DRAWLINE(VAR3=-1,L,VAR3=1,H,0),COLORBLUE,LINETHICK2;
{画未完成段}
DRAWLINE(VAR3=1 ,H,VAR3=-100,L,0),COLORFFFF00,LINETHICK2;
DRAWLINE(VAR3=-1,L,VAR3=100,H,0),COLORFFFF00,LINETHICK2;
{画中枢}
DRAWLINE(ZSKSLAST=1 AND DUANFX=1, ZSZG, ZSJSLAST=1 AND DUANFX=1, ZSZG, 0), COLORRED, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=1, ZSZD, ZSJSLAST=1 AND DUANFX=1, ZSZD, 0), COLORRED, LINETHICK1;
STICKLINE(ZSKSLAST=1 AND DUANFX=1, ZSZG, ZSZD, 0, 0), COLORRED, LINETHICK1;
STICKLINE(ZSJSLAST=1 AND DUANFX=1, ZSZG, ZSZD, 0, 0), COLORRED, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZG,ZSJSLAST=1 AND DUANFX=-1, ZSZG, 0), COLORGREEN, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZD,ZSJSLAST=1 AND DUANFX=-1, ZSZD, 0), COLORGREEN, LINETHICK1;
STICKLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZG, ZSZD, 0, 0), COLORGREEN, LINETHICK1;
STICKLINE(ZSJSLAST=1 AND DUANFX=-1, ZSZG, ZSZD, 0,0), COLORGREEN, LINETHICK1; <!-- 咨询内容:
麻烦老师把通达信公式改成博易大师的
VAR1:=TDXDLL5(1,H,L,C);VAR2:=TDXDLL5(2,H,0,7);
VAR3:=TDXDLL5(3,H,L,0);
VAR4:=TDXDLL5(4,H,L,0);
ZSJSLAST:=TDXDLL5(7,H,L,C);
ZSKSLAST:=TDXDLL5(8,H,L,C);
ZSZD:=TDXDLL5(9,H,L,C);
ZSZG:=TDXDLL5(10,H,L,C);
BIJS:=BARSLAST(ZSJSLAST=1);
ZSUP:=REF(ZSZG,BIJS),COLORGREEN;
THREEBUY:=VAR2=-1 AND L>ZSUP AND SUM(VAR2=-1 AND L>ZSUP,BIJS)=1;
DUANLAST:=TDXDLL5(12,H,L,C);
DUANFX:=TDXDLL5(14,H,L,C);
{画笔}
DRAWLINE(VAR2=1 ,H,VAR2=-1,L,0),COLORYELLOW,DOTLINE;
DRAWLINE(VAR2=-1,L,VAR2=1,H,0),COLORYELLOW,DOTLINE;
{画未完成笔}
DRAWLINE(VAR2=1 ,H,VAR2=-10,L,0),COLOR0080FF,DOTLINE;
DRAWLINE(VAR2=-1,L,VAR2=10,H,0),COLOR0080FF,DOTLINE;
{画段}
DRAWLINE(VAR3=1 ,H,VAR3=-1,L,0),COLORBLUE,LINETHICK2;
DRAWLINE(VAR3=-1,L,VAR3=1,H,0),COLORBLUE,LINETHICK2;
{画未完成段}
DRAWLINE(VAR3=1 ,H,VAR3=-100,L,0),COLORFFFF00,LINETHICK2;
DRAWLINE(VAR3=-1,L,VAR3=100,H,0),COLORFFFF00,LINETHICK2;
{画中枢}
DRAWLINE(ZSKSLAST=1 AND DUANFX=1, ZSZG, ZSJSLAST=1 AND DUANFX=1, ZSZG, 0), COLORRED, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=1, ZSZD, ZSJSLAST=1 AND DUANFX=1, ZSZD, 0), COLORRED, LINETHICK1;
STICKLINE(ZSKSLAST=1 AND DUANFX=1, ZSZG, ZSZD, 0, 0), COLORRED, LINETHICK1;
STICKLINE(ZSJSLAST=1 AND DUANFX=1, ZSZG, ZSZD, 0, 0), COLORRED, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZG,ZSJSLAST=1 AND DUANFX=-1, ZSZG, 0), COLORGREEN, LINETHICK1;
DRAWLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZD,ZSJSLAST=1 AND DUANFX=-1, ZSZD, 0), COLORGREEN, LINETHICK1;
STICKLINE(ZSKSLAST=1 AND DUANFX=-1, ZSZG, ZSZD, 0, 0), COLORGREEN, LINETHICK1;
STICKLINE(ZSJSLAST=1 AND DUANFX=-1, ZSZG, ZSZD, 0,0), COLORGREEN, LINETHICK1; <!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 您好,这个公式不能修改,里面使用了调用DLL的函数。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容