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

请帮忙改成博易公式,谢谢! [博易POBO]

咨询内容:

请帮忙改成博易公式,谢谢!

请老师帮忙改成博易公式,谢谢!
---------------------------------------------------------------
diff:=ema(close,20)-ema(close,60);
dea:=ema(diff,9);
ma(c,15),colorwhite;
ma(c,50),coloryellow;
多头:stickline(diff>dea,c,o,8,0),colorred;
stickline(diff>dea,h,l,0,0),colorred;
空头:stickline(diff<=dea,c,o,8,0),COLORF0F000;
stickline(diff<=dea,h,l,0,0),COLORF0F000;
drawtext(cross(diff,dea),l-0.2,'买入'),colorwhite;
drawtext(cross(dea,diff),h+0.2,'卖出'),colorgreen;
----------------------------------------------------------------

 

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

博易技术人员: 还有一个.......
 
ZLCM:=EMA(WINNER(CLOSE)*40,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*50,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,10);{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL<50 AND REF(ZSHTL,1)>50);{//走牛天数}
ZSHJJ:=EMA(ZSHTL,50);{//散户警戒}
ZZLJJ:=EMA(ZZLKP,50);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
{散户套牢筹码}
STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;
{散户筹码警戒}
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00FF00;
{主力控盘筹码}
STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;
{筑顶风险区}
STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;
{顶部:(ZZLKP>75),COLORFFFFFF;}
{主力筹码警戒}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED;
{筑底散兵坑}
STICKLINE(ZSHTL>=50,ZZLKP,0,2,0),COLOR66FFCC;
{底部:(ZSHTL>=50),COLOR66FFCC;}
{筹码总量上升}
IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHICK1;
{增量资金};
{//------【数值显示】}
散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2;
主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2;
资金流入强度:ZJLRQD,LINETHICK2,COLORRED;
资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;
市场筹码总量:INTPART(ZCMZL),COLORWHITE,linethick0; 
DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,8);
DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,14);
差值:资金流入强度-ref(资金流入强度,1); diff:=ema(close,20)-ema(close,60);
dea:=ema(diff,9);
A:ma(c,15),colorwhite;
B:ma(c,50),coloryellow;
stickline(diff>dea,c,o,8,0),colorred;
stickline(diff>dea,h,l,0,0),colorred;
stickline(diff<=dea,c,o,8,0),COLORF0F000;
stickline(diff<=dea,h,l,0,0),COLORF0F000;
drawtext(cross(diff,dea),l-0.2,'买入'),colorwhite;
drawtext(cross(dea,diff),h+0.2,'卖出'),colorgreen; 来源 程序化久久网

 

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

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


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

相关文章

    没有相关内容