麻烦老师帮忙把这个通达信主图指标改成博弈大师的。谢谢 [博易POBO]
咨询内容:
MA4:MA(CLOSE,144)COLORGRAY;
MA3:MA(CLOSE,55)COLORLIGREEN;
MA2:MA(CLOSE,34)COLORCYAN;
MA1:MA(CLOSE,20)COLORRED;
{红绿黄模块}
N1:=18;N2:=50;N3:=32;
CPX:=(MA(CLOSE,8)*N1/100+MA(CLOSE,30)*N2/100+MA(CLOSE,60)*N3/100);
NOTEXTWS:=CPX>REF(CPX,1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND CLOSE>CPX AND CLOSE>MA(CLOSE,30),NODRAW;
NOTEXTWX:=CPX<=REF(CPX,1) AND MA(CLOSE,30)<=REF(MA(CLOSE,30),1) AND CLOSE<CPX AND CLOSE<MA(CLOSE,30),NODRAW;
STICKLINE(C>=O,L,H,0,0),COLORYELLOW;
STICKLINE(C>=O,C,O,2.0,1),COLORYELLOW;
STICKLINE(C<O,L,H,0,0),COLORYELLOW;
STICKLINE(C<O,C,O,2.0,0),COLORYELLOW;
STICKLINE(C>=O AND NOTEXTWS=1,L,H,0,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWS=1,C,O,2.0,1),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,L,H,0,0),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,C,O,2.0,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWX=1,L,H,0,0),COLORCYAN;
STICKLINE(C>=O AND NOTEXTWX=1,C,O,2.0,1),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,L,H,0,0),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,C,O,2.0,0),COLORCYAN;
STICKLINE(C>=O AND PERIOD=5 AND C>REF(C,1)*1.0992,L,H,0,0),COLORMAGENTA;
STICKLINE(C>=O AND PERIOD=5 AND C>REF(C,1)*1.0992,C,O,2.0,1),COLORMAGENTA;
STICKLINE(C<O AND PERIOD=5 AND C>REF(C,1)*1.0992,L,H,0,0),COLORMAGENTA;
STICKLINE(C<O AND PERIOD=5 AND C>REF(C,1)*1.0992,C,O,2.0,0),COLORMAGENTA;
MA4:MA(CLOSE,144),COLORGRAY;
MA3:MA(CLOSE,55),COLORGREEN;
MA2:MA(CLOSE,34),COLORCYAN;
MA1:MA(CLOSE,20),COLORRED;
{红绿黄模块}
N1:=18;N2:=50;N3:=32;
CPX:=(MA(CLOSE,8)*N1/100+MA(CLOSE,30)*N2/100+MA(CLOSE,60)*N3/100);
NOTEXTWS:=CPX>REF(CPX,1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND CLOSE>CPX AND CLOSE>MA(CLOSE,30),NODRAW;
NOTEXTWX:=CPX<=REF(CPX,1) AND MA(CLOSE,30)<=REF(MA(CLOSE,30),1) AND CLOSE<CPX AND CLOSE<MA(CLOSE,30),NODRAW;
STICKLINE(C>=O,L,H,1,0),COLORYELLOW;
STICKLINE(C>=O,C,O,10,1),COLORYELLOW;
STICKLINE(C<O,L,H,1,0),COLORYELLOW;
STICKLINE(C<O,C,O,10,0),COLORYELLOW;
STICKLINE(C>=O AND NOTEXTWS=1,L,H,1,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWS=1,C,O,10,1),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,L,H,1,0),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,C,O,10,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWX=1,L,H,1,0),COLORCYAN;
STICKLINE(C>=O AND NOTEXTWX=1,C,O,10,1),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,L,H,1,0),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,C,O,10,0),COLORCYAN;
STICKLINE(C>=O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,L,H,1,0),COLORMAGENTA;
STICKLINE(C>=O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,C,O,10,1),COLORMAGENTA;
STICKLINE(C<O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,L,H,1,0),COLORMAGENTA;
STICKLINE(C<O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,C,O,10,0),COLORMAGENTA; 像这样显示出来 来源 程序化久久网
麻烦老师帮忙把这个通达信主图指标改成博弈大师的。谢谢
{基本模块}MA4:MA(CLOSE,144)COLORGRAY;
MA3:MA(CLOSE,55)COLORLIGREEN;
MA2:MA(CLOSE,34)COLORCYAN;
MA1:MA(CLOSE,20)COLORRED;
{红绿黄模块}
N1:=18;N2:=50;N3:=32;
CPX:=(MA(CLOSE,8)*N1/100+MA(CLOSE,30)*N2/100+MA(CLOSE,60)*N3/100);
NOTEXTWS:=CPX>REF(CPX,1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND CLOSE>CPX AND CLOSE>MA(CLOSE,30),NODRAW;
NOTEXTWX:=CPX<=REF(CPX,1) AND MA(CLOSE,30)<=REF(MA(CLOSE,30),1) AND CLOSE<CPX AND CLOSE<MA(CLOSE,30),NODRAW;
STICKLINE(C>=O,L,H,0,0),COLORYELLOW;
STICKLINE(C>=O,C,O,2.0,1),COLORYELLOW;
STICKLINE(C<O,L,H,0,0),COLORYELLOW;
STICKLINE(C<O,C,O,2.0,0),COLORYELLOW;
STICKLINE(C>=O AND NOTEXTWS=1,L,H,0,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWS=1,C,O,2.0,1),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,L,H,0,0),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,C,O,2.0,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWX=1,L,H,0,0),COLORCYAN;
STICKLINE(C>=O AND NOTEXTWX=1,C,O,2.0,1),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,L,H,0,0),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,C,O,2.0,0),COLORCYAN;
STICKLINE(C>=O AND PERIOD=5 AND C>REF(C,1)*1.0992,L,H,0,0),COLORMAGENTA;
STICKLINE(C>=O AND PERIOD=5 AND C>REF(C,1)*1.0992,C,O,2.0,1),COLORMAGENTA;
STICKLINE(C<O AND PERIOD=5 AND C>REF(C,1)*1.0992,L,H,0,0),COLORMAGENTA;
STICKLINE(C<O AND PERIOD=5 AND C>REF(C,1)*1.0992,C,O,2.0,0),COLORMAGENTA;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: {基本模块}MA4:MA(CLOSE,144),COLORGRAY;
MA3:MA(CLOSE,55),COLORGREEN;
MA2:MA(CLOSE,34),COLORCYAN;
MA1:MA(CLOSE,20),COLORRED;
{红绿黄模块}
N1:=18;N2:=50;N3:=32;
CPX:=(MA(CLOSE,8)*N1/100+MA(CLOSE,30)*N2/100+MA(CLOSE,60)*N3/100);
NOTEXTWS:=CPX>REF(CPX,1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND CLOSE>CPX AND CLOSE>MA(CLOSE,30),NODRAW;
NOTEXTWX:=CPX<=REF(CPX,1) AND MA(CLOSE,30)<=REF(MA(CLOSE,30),1) AND CLOSE<CPX AND CLOSE<MA(CLOSE,30),NODRAW;
STICKLINE(C>=O,L,H,1,0),COLORYELLOW;
STICKLINE(C>=O,C,O,10,1),COLORYELLOW;
STICKLINE(C<O,L,H,1,0),COLORYELLOW;
STICKLINE(C<O,C,O,10,0),COLORYELLOW;
STICKLINE(C>=O AND NOTEXTWS=1,L,H,1,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWS=1,C,O,10,1),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,L,H,1,0),COLORRED;
STICKLINE(C<O AND NOTEXTWS=1,C,O,10,0),COLORRED;
STICKLINE(C>=O AND NOTEXTWX=1,L,H,1,0),COLORCYAN;
STICKLINE(C>=O AND NOTEXTWX=1,C,O,10,1),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,L,H,1,0),COLORCYAN;
STICKLINE(C<O AND NOTEXTWX=1,C,O,10,0),COLORCYAN;
STICKLINE(C>=O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,L,H,1,0),COLORMAGENTA;
STICKLINE(C>=O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,C,O,10,1),COLORMAGENTA;
STICKLINE(C<O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,L,H,1,0),COLORMAGENTA;
STICKLINE(C<O AND DATAPERIOD=5 AND C>REF(C,1)*1.0992,C,O,10,0),COLORMAGENTA; 像这样显示出来 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容