请老师改成博弈指标 [博易POBO]
咨询内容:
请老师改成博弈指标
TB:=IFELSE(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);
TS:=IFELSE(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL0:=(TB-TS)*VOL/(TB+TS)/10000;
VOL1:=DMA(VOL0,0.1);
VOL2:=DMA(VOL0,0.05);
RES1:=VOL1-VOL2;
LON:=SUM(RES1,10),LINETHICK3;
DRAWCOLORKLINE(LON>0&&(ISUP||ISEQUAL),COLORRED,1);
DRAWCOLORKLINE(LON>0&&ISDOWN,COLORFFAAFF,0);
DRAWCOLORKLINE(LON<0&&(ISUP||ISEQUAL),COLORCYAN,1);
DRAWCOLORKLINE(LON<0&&ISDOWN,COLORCYAN,0);
TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL0:=(TB-TS)*VOL/(TB+TS)/10000;
VOL1:=DMA(VOL0,0.1);
VOL2:=DMA(VOL0,0.05);
RES1:=VOL1-VOL2;
LON:=SUM(RES1,10);
//DRAWCOLORKLINE(LON>0&&(ISUP||ISEQUAL),COLORRED,1);
//DRAWCOLORKLINE(LON>0&&ISDOWN,COLORFFAAFF,0);
//DRAWCOLORKLINE(LON<0&&(ISUP||ISEQUAL),COLORCYAN,1);
//DRAWCOLORKLINE(LON<0&&ISDOWN,COLORCYAN,0);
DRAWKLINEEX(LON>0 AND C>=REF(C,1),H,O,L,C),COLORRED;
DRAWKLINEEX(LON>0 AND C<REF(C,1),H,O,L,C),COLORFFAAFF;
DRAWKLINEEX(LON<0 AND C<=REF(C,1),H,O,L,C),COLORCYAN;
DRAWKLINEEX(LON<0 AND C>REF(C,1),H,O,L,C),COLORCYAN;
来源 程序化久久网
TS:=IFELSE(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL0:=(TB-TS)*VOL/(TB+TS)/10000;
VOL1:=DMA(VOL0,0.1);
VOL2:=DMA(VOL0,0.05);
RES1:=VOL1-VOL2;
LON:=SUM(RES1,10),LINETHICK3;
DRAWCOLORKLINE(LON>0&&(ISUP||ISEQUAL),COLORRED,1);
DRAWCOLORKLINE(LON>0&&ISDOWN,COLORFFAAFF,0);
DRAWCOLORKLINE(LON<0&&(ISUP||ISEQUAL),COLORCYAN,1);
DRAWCOLORKLINE(LON<0&&ISDOWN,COLORCYAN,0);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: TB:=IF(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL0:=(TB-TS)*VOL/(TB+TS)/10000;
VOL1:=DMA(VOL0,0.1);
VOL2:=DMA(VOL0,0.05);
RES1:=VOL1-VOL2;
LON:=SUM(RES1,10);
//DRAWCOLORKLINE(LON>0&&(ISUP||ISEQUAL),COLORRED,1);
//DRAWCOLORKLINE(LON>0&&ISDOWN,COLORFFAAFF,0);
//DRAWCOLORKLINE(LON<0&&(ISUP||ISEQUAL),COLORCYAN,1);
//DRAWCOLORKLINE(LON<0&&ISDOWN,COLORCYAN,0);
DRAWKLINEEX(LON>0 AND C>=REF(C,1),H,O,L,C),COLORRED;
DRAWKLINEEX(LON>0 AND C<REF(C,1),H,O,L,C),COLORFFAAFF;
DRAWKLINEEX(LON<0 AND C<=REF(C,1),H,O,L,C),COLORCYAN;
DRAWKLINEEX(LON<0 AND C>REF(C,1),H,O,L,C),COLORCYAN;
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容