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

请老师改成博易大师新版本的公式 [博易POBO]

咨询内容:

请老师改成博易大师新版本的公式

DRAWGBK(C>0,COLORRGB(48,48,8),COLORRGB(48,48,8),1);
VOLUME:VOL,LINETHICK0;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
OBV28:=EMA(OBV18,3)-MA(OBV18,9);
OBV38:=EMA(IF(OBV28>0,OBV28,0),3);
MAC38:=MA(C,3);
QS:=OBV38>REF(OBV38,1) AND MAC38>REF(MAC38,1);
STICKLINE(QS,0,V,3.5,0),COLORYELLOW;
M1:=EMA(CLOSE,9);
M2:=EMA(CLOSE,18);
MD:M1-M2,COLORWHITE,LINETHICK2;
MM:=EMA(MD,3);
吸:IF(MD>=MM AND MD<0,MD,0),COLOR3E3CFF,LINETHICK2,LINETHICK0;
拉:IF(MD>=MM AND MD>=0,MD,0),COLORRED,LINETHICK2,LINETHICK0;
派:IF(MD<MM AND MD>=0,MD,0),COLORGREEN,LINETHICK2,LINETHICK0;
落:IF(MD<MM AND MD<0,MD,0),COLORWHITE,LINETHICK2,LINETHICK0;

STICKLINE(吸,0,V,2,0),COLORMAGENTA;
STICKLINE(拉,0,V,2,0),COLORRED;
STICKLINE(派,0,V,2,0),COLORGREEN;
STICKLINE(落,0,V,2,0),COLORGRAY;
QSLS:=QS AND 拉 AND 拉<>派;
STICKLINE(QSLS,0,V,2,0),COLORRED;
{量能潮}VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
量能潮:OBV3,LINETHICK0,COLORBROWN;STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.1,0),COLORBROWN;
{135均线}
V5:MA(VOL,5),COLORWHITE;
V35:MA(VOL,35);
V135:MA(VOL,135);
FL4:=V=HHV(V,250);
FL3:=V=HHV(V,120) AND V<>HHV(V,250);
FL2:=V=HHV(V,60) AND V<>HHV(V,120) AND V<>HHV(V,250);
FL1:=V=HHV(V,30) AND V<>HHV(V,60) AND V<>HHV(V,120) AND V<>HHV(V,250);
DRAWTEXT(FL4,V*1.18,'④'),COLORD3D3D3;
DRAWTEXT(FL3,V*1.18,'③'),COLORD3D3D3;
DRAWTEXT(FL2,V*1.18,'②'),COLORD3D3D3;
DRAWTEXT(FL1,V*1.18,'①'),COLORD3D3D3;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,1,0),COLORYELLOW;

 

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

博易技术人员: DRAWGBK(C>0,COLORRGB(48,48,8),COLORRGB(48,48,8),1);
VOLUME:VOL,LINETHICK0;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
OBV28:=EMA(OBV18,3)-MA(OBV18,9);
OBV38:=EMA(IF(OBV28>0,OBV28,0),3);
MAC38:=MA(C,3);
QS:=OBV38>REF(OBV38,1) AND MAC38>REF(MAC38,1);
STICKLINE(QS,0,V,3.5,0),COLORYELLOW;
M1:=EMA(CLOSE,9);
M2:=EMA(CLOSE,18);
MD:M1-M2,COLORWHITE,LINETHICK2;
MM:=EMA(MD,3);
吸:IF(MD>=MM AND MD<0,MD,0),COLOR3E3CFF,LINETHICK2,LINETHICK0;
拉:IF(MD>=MM AND MD>=0,MD,0),COLORRED,LINETHICK2,LINETHICK0;
派:IF(MD<MM AND MD>=0,MD,0),COLORGREEN,LINETHICK2,LINETHICK0;
落:IF(MD<MM AND MD<0,MD,0),COLORWHITE,LINETHICK2,LINETHICK0;

STICKLINE(吸,0,V,2,0),COLORMAGENTA;
STICKLINE(拉,0,V,2,0),COLORRED;
STICKLINE(派,0,V,2,0),COLORGREEN;
STICKLINE(落,0,V,2,0),COLORGRAY;
QSLS:=QS AND 拉 AND 拉<>派;
STICKLINE(QSLS,0,V,2,0),COLORRED;
{量能潮}VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
量能潮:OBV3,LINETHICK0,COLOR000080;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.1,0),COLOR000080;
{135均线}
V5:MA(VOL,5),COLORWHITE;
V35:MA(VOL,35);
V135:MA(VOL,135);
FL4:=V=HHV(V,250);
FL3:=V=HHV(V,120) AND V<>HHV(V,250);
FL2:=V=HHV(V,60) AND V<>HHV(V,120) AND V<>HHV(V,250);
FL1:=V=HHV(V,30) AND V<>HHV(V,60) AND V<>HHV(V,120) AND V<>HHV(V,250);
DRAWTEXT(FL4,V*1.18,'④'),COLORD3D3D3;
DRAWTEXT(FL3,V*1.18,'③'),COLORD3D3D3;
DRAWTEXT(FL2,V*1.18,'②'),COLORD3D3D3;
DRAWTEXT(FL1,V*1.18,'①'),COLORD3D3D3;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,1,0),COLORYELLOW; xiexie 来源 程序化久久网

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息或微信:cxhjy888 进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容