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

请老师帮忙修改 [博易POBO]

咨询内容:

请老师帮忙修改

AMOUNT:=AVPRICE*V;
A:=AMOUNT/V/100;

操盘线:=EMA(((VARA/10)+EMA(A,10)),3);
行情线:=EMA(A,3);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK1; 
红升:IF(重心>=趋势线,趋势线,NULL),COLORRED,LINETHICK1;
蓝降:IF(重心<趋势线,趋势线,NULL),COLORBLUE,LINETHICK1; 
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; 
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; 
DRAWTEXT(CROSS(DA-DB,0),L*0.98,'★B'),COLORGRAY; 
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; 
DRAWTEXT(CROSS(84,JH),H*1.02,'☆S'),COLORMAGENTA; 
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); 
STICKLINE(涨停,O,C,2,0),COLORRED; 
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); 
STICKLINE(跌停,O,C,2,1),COLORGREEN;


主趋势线:EMA(EMA(C,10),10),RGB(0,255,255),LINETHICK2;
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,NULL),COLORMAGENTA,LINETHICK3;

 

AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;

STICKLINE1(AA,H,L,0,0),COLORRED;
STICKLINE1(AA,O,C,3,1),COLORRED;
STICKLINE1(AA AND DD,O,C,3,0),COLORRED;
STICKLINE1(BB,H,L,0,0),COLORGREEN;
STICKLINE1(BB,O,C,3,1),COLORGREEN;
STICKLINE1(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE1(BB AND CC,H,L,0,1),COLORWHITE;
STICKLINE1(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE1(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE1(AA AND CC1,H,L,0,0),COLORWHITE;
STICKLINE1(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE1(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
CURRBARSCOUNT:=DATACOUNT - BARPOS;

AAA:=REFX1((HHV(C,90)),10000);

DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '红色K线做多,绿色K线做空,白色K线观望。 '),COLORYELLOW;

 

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

博易技术人员: A:=AMOUNT/V/100;
VARA:=REF(A,1);
操盘线:=EMA(((VARA/10)+EMA(A,10)),3);
行情线:=EMA(A,3);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK1; 
红升:IF(重心>=趋势线,趋势线,DRAWNULL),COLORRED,LINETHICK1;
蓝降:IF(重心<趋势线,趋势线,DRAWNULL),COLORBLUE,LINETHICK1; 
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; 
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; 
DRAWTEXT(CROSS(DA-DB,0),L*0.98,'★B'),COLORGRAY; 
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; 
DRAWTEXT(CROSS(84,JH),H*1.02,'☆S'),COLORMAGENTA; 
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); 
STICKLINE(涨停,O,C,2,0),COLORRED; 
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); 
STICKLINE(跌停,O,C,2,1),COLORGREEN;


主趋势线:EMA(EMA(C,10),10),COLORFFFF00,LINETHICK2;
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,DRAWNULL),COLORMAGENTA,LINETHICK3;

 

AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;

STICKLINE(AA,H,L,1,0),COLORRED;
STICKLINE(AA,O,C,3,1),COLORRED;
STICKLINE(AA AND DD,O,C,3,0),COLORRED;
STICKLINE(BB,H,L,1,0),COLORGREEN;
STICKLINE(BB,O,C,3,1),COLORGREEN;
STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE(BB AND CC,H,L,1,1),COLORWHITE;
STICKLINE(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE(AA AND CC1,H,L,1,0),COLORWHITE;
STICKLINE(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
CURRBARSCOUNT:=DATACOUNT - BARPOS;

AAA:=REFX((HHV(C,90)),DATACOUNT-BARPOS-1);

DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '红色K线做多,绿色K线做空,白色K线观望。 '),COLORYELLOW; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容