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

求助 论坛老师指标改博易 [博易POBO]

咨询内容:

求助 论坛老师指标改博易

X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
{萃富网-股票公式网站 WWW.CUIV.COM}
{K线}
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0,0 ),COLORRED;
STICKLINE(XOPEN>=XCLOSE,C1,O1,4,0 ),COLOR000055;
STICKLINE(XOPEN>=XCLOSE,C1,O1,3,0 ),COLOR000077;
STICKLINE(XOPEN>=XCLOSE,C1,O1,2.5,0 ),COLOR000099;
STICKLINE(XOPEN>=XCLOSE,C1,O1,1.5,0 ),COLOR0000BB;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.9,0 ),COLOR0000DD;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.3,0 ),COLOR0000FF;
STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0,0 ),COLORCYAN;
STICKLINE(XOPEN<XCLOSE,C1,O1,4,0 ),COLOR990000;
STICKLINE(XOPEN<XCLOSE,C1,O1,3,0 ),COLORCC0000;
STICKLINE(XOPEN<XCLOSE,C1,O1,2.5,0 ),COLORFF4400;
STICKLINE(XOPEN<XCLOSE,C1,O1,1.5,0 ),COLORFF8800;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.9,0 ),COLORFFCC00;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.3,0 ),COLORCYAN;
HH:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+REF(H,5))/21;
LL:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+REF(L,5))/21;
A1:=IF(C>REF(EXPMEMA(H,6),1),1,0);
A2:=IF(C<REF(EXPMEMA(L,6),1),-1,0);
A3:=A1+A2;
A4:=IF(A3=0,REF(A3,BARSLAST(NOT(A3=0))),A3);
转折线:IF(A4=-1,MA(HIGH,6),MA(LOW,6))LINETHICK2,COLORFFFFFF;

 

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

博易技术人员: X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
{萃富网-股票公式网站 WWW.CUIV.COM}
{K线}
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0,0 ),COLORRED;
STICKLINE(XOPEN>=XCLOSE,C1,O1,4,0 ),COLOR000055;
STICKLINE(XOPEN>=XCLOSE,C1,O1,3,0 ),COLOR000077;
STICKLINE(XOPEN>=XCLOSE,C1,O1,2.5,0 ),COLOR000099;
STICKLINE(XOPEN>=XCLOSE,C1,O1,1.5,0 ),COLOR0000BB;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.9,0 ),COLOR0000DD;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.3,0 ),COLOR0000FF;
STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0,0 ),COLORCYAN;
STICKLINE(XOPEN<XCLOSE,C1,O1,4,0 ),COLOR990000;
STICKLINE(XOPEN<XCLOSE,C1,O1,3,0 ),COLORCC0000;
STICKLINE(XOPEN<XCLOSE,C1,O1,2.5,0 ),COLORFF4400;
STICKLINE(XOPEN<XCLOSE,C1,O1,1.5,0 ),COLORFF8800;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.9,0 ),COLORFFCC00;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.3,0 ),COLORCYAN;
HH:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+REF(H,5))/21;
LL:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+REF(L,5))/21;
A1:=IF(C>REF(EMA(H,6),1),1,0);
A2:=IF(C<REF(EMA(L,6),1),-1,0);
A3:=A1+A2;
A4:=IF(A3=0,REF(A3,BARSLAST(NOT(A3=0))),A3);
转折线:IF(A4=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,COLORFFFFFF; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容