可将文华的公式改成博易的吗 [博易POBO]
咨询内容:
DEA : EMA(DIFF,8);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(DIFF,DEA))+1);
DRAWCOLORLINE(DIFF>DEA,DEA,COLORRED,COLORGREEN);
IF(DIFF>REF(DIFF,1)&&DIFF<DEA,DIFF,NULL),COLORWHITE;
IF(DIFF<REF(DIFF,1)&&DIFF<DEA,DIFF,NULL),RGB(255,255,0),LINETHICK3;
IF(DIFF>REF(DIFF,1)&&DIFF>DEA,DIFF,NULL),RGB(255,255,0),LINETHICK3;
IF(DIFF<REF(DIFF,1)&&DIFF>DEA,DIFF,NULL),COLORYELLOW;
VERTLINE(CROSS(AA,0.5),COLORRED);
VERTLINE(CROSS(BB,0.5),COLORGREEN);
DRAWGBK1(DIFF>=DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSSDOWN(DIFF,DEA))+1),COLORLIGHTRED);
DRAWGBK1(DIFF<DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSSDOWN(DIFF,DEA))+1),COLORLIGHTGREEN);
DEA : EMA(DIFF,8);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DEA,DIFF))+1);
PARTLINE2(DEA,DIFF>DEA,COLORRED,DIFF<DEA,COLORGREEN);
IF(DIFF>REF(DIFF,1)&&DIFF<DEA,DIFF,DRAWNULL),COLORWHITE;
IF(DIFF<REF(DIFF,1)&&DIFF<DEA,DIFF,DRAWNULL),COLOR00FFFF,LINETHICK3;
IF(DIFF>REF(DIFF,1)&&DIFF>DEA,DIFF,DRAWNULL),COLOR00FFFF,LINETHICK3;
IF(DIFF<REF(DIFF,1)&&DIFF>DEA,DIFF,DRAWNULL),COLORYELLOW;
VERTLINE(CROSS(AA,0.5),COLORRED);
VERTLINE(CROSS(BB,0.5),COLORGREEN);
DRAWGBK(DIFF>=DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSS(DEA,DIFF))+1),COLORRED);
DRAWGBK(DIFF<DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSS(DEA,DIFF))+1),COLORGREEN); 希望是附图111文华上的效果;222是博易加载后的效果;请修改一下,不要全部填充,不要渐变,要能达到图111的效果. 来源 程序化久久网
可将文华的公式改成博易的吗
DIFF : EMA(CLOSE,9) - EMA(CLOSE,20);//短周期与长周期的收盘价的指数平滑移动平均值做差。DEA : EMA(DIFF,8);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(DIFF,DEA))+1);
DRAWCOLORLINE(DIFF>DEA,DEA,COLORRED,COLORGREEN);
IF(DIFF>REF(DIFF,1)&&DIFF<DEA,DIFF,NULL),COLORWHITE;
IF(DIFF<REF(DIFF,1)&&DIFF<DEA,DIFF,NULL),RGB(255,255,0),LINETHICK3;
IF(DIFF>REF(DIFF,1)&&DIFF>DEA,DIFF,NULL),RGB(255,255,0),LINETHICK3;
IF(DIFF<REF(DIFF,1)&&DIFF>DEA,DIFF,NULL),COLORYELLOW;
VERTLINE(CROSS(AA,0.5),COLORRED);
VERTLINE(CROSS(BB,0.5),COLORGREEN);
DRAWGBK1(DIFF>=DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSSDOWN(DIFF,DEA))+1),COLORLIGHTRED);
DRAWGBK1(DIFF<DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSSDOWN(DIFF,DEA))+1),COLORLIGHTGREEN);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF : EMA(CLOSE,9) - EMA(CLOSE,20);//短周期与长周期的收盘价的指数平滑移动平均值做差。DEA : EMA(DIFF,8);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DEA,DIFF))+1);
PARTLINE2(DEA,DIFF>DEA,COLORRED,DIFF<DEA,COLORGREEN);
IF(DIFF>REF(DIFF,1)&&DIFF<DEA,DIFF,DRAWNULL),COLORWHITE;
IF(DIFF<REF(DIFF,1)&&DIFF<DEA,DIFF,DRAWNULL),COLOR00FFFF,LINETHICK3;
IF(DIFF>REF(DIFF,1)&&DIFF>DEA,DIFF,DRAWNULL),COLOR00FFFF,LINETHICK3;
IF(DIFF<REF(DIFF,1)&&DIFF>DEA,DIFF,DRAWNULL),COLORYELLOW;
VERTLINE(CROSS(AA,0.5),COLORRED);
VERTLINE(CROSS(BB,0.5),COLORGREEN);
DRAWGBK(DIFF>=DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSS(DEA,DIFF))+1),COLORRED);
DRAWGBK(DIFF<DEA&&BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA)||CROSS(DEA,DIFF))+1),COLORGREEN); 希望是附图111文华上的效果;222是博易加载后的效果;请修改一下,不要全部填充,不要渐变,要能达到图111的效果. 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容