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

指标语法错误,请老师修改下 [博易POBO]

咨询内容:

指标语法错误,请老师修改下

da:EMA(CLOSE,3),colorblue;
db:EMA(CLOSE,5) ,colorblue;
dc:EMA(CLOSE,8) ,colorblue;
dd:EMA(CLOSE,10) ,colorblue;
de:EMA(CLOSE,12) ,colorblue;
df:EMA(CLOSE,15) ,colorblue;
ca:EMA(CLOSE,30) ,coloryellow;
cb:EMA(CLOSE,35) ,coloryellow;
cc:EMA(CLOSE,40) ,coloryellow;
cd:EMA(CLOSE,45) ,coloryellow;
ce:EMA(CLOSE,50) ,coloryellow;
cf:EMA(CLOSE,60) ,coloryellow;
cdyx:=ca>cb and cb>cc and cc>cd and cd>ce and ce>cf;
ckyx:=ca<cb and cb<cc and cc<cd and cd<ce and ce<cf;
ddyx:=da>db and db>dc and dc>dd and dd>de and de>df;
dkyx:=ca<cb and db<dc and dc<dd and dd<de and de<df;
PARTLINE(cdyx,ca),COLORBROWN;
PARTLINE(cdyx,cb),COLORBROWN;
PARTLINE(cdyx,cc),COLORBROWN;
PARTLINE(cdyx,cd),COLORBROWN;
PARTLINE(cdyx,ce),COLORBROWN;
PARTLINE(cdyx,cf),COLORBROWN;
PARTLINE(ckyx,ca),COLORCYAN;
PARTLINE(ckyx,cb),COLORCYAN;
PARTLINE(ckyx,cc),COLORCYAN;
PARTLINE(ckyx,cd),COLORCYAN;
PARTLINE(ckyx,ce),COLORCYAN;
PARTLINE(ckyx,cf),COLORCYAN;
PARTLINE(ddyx,da),COLORRED;
PARTLINE(ddyx,db),COLORRED;
PARTLINE(ddyx,dc),COLORRED;
PARTLINE(ddyx,dd),COLORRED;
PARTLINE(ddyx,de),COLORRED;
PARTLINE(ddyx,df),COLORRED;
PARTLINE(dkyx,da),COLORGREEN;
PARTLINE(dkyx,db),COLORGREEN;
PARTLINE(dkyx,dc),COLORGREEN;
PARTLINE(dkyx,dd),COLORGREEN;
PARTLINE(dkyx,de),COLORGREEN;
PARTLINE(dkyx,df),COLORGREEN;
Ko:=close;
Kc:=ref(close,1);
STICKLINE(ko<=kc ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(ko<=kc ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(ko<=kc ,CLOSE ,OPEN,6,0 ),COLOR00aa00;
STICKLINE(ko<=kc ,CLOSE ,OPEN,5,0 ),COLOR00bb00;
STICKLINE(ko<=kc,CLOSE ,OPEN,4,0 ),COLOR00cc00;
STICKLINE(ko<=kc,CLOSE ,OPEN,3,0 ),COLOR33dd00;
STICKLINE(ko<=kc,CLOSE ,OPEN,2,0 ),COLOR00ee00;
STICKLINE(ko<=kc,CLOSE ,OPEN,1,0 ),COLOR66ff00;

STICKLINE(ko>kc,CLOSE,OPEN,8,0 ),COLOr000088;
STICKLINE(ko>kc,CLOSE,OPEN,7,0 ),COLOr000099;
STICKLINE(ko>kc,CLOSE,OPEN,6 ,0 ),COLOR0000aa;
STICKLINE(ko>kc,CLOSE,OPEN,5,0 ),COLOr0000bb;
STICKLINE(ko>kc,CLOSE,OPEN,4,0 ),COLOr0000cc;
STICKLINE(ko>kc,CLOSE,OPEN,3 ,0 ),COLOR0000dd;
STICKLINE(ko>kc,CLOSE,OPEN,2,0 ),COLOr0000ee;
STICKLINE(ko>kc,CLOSE,OPEN,1 ,0 ),COLOR0033ff;

STICKLINE(ko>kc,OPEN,LOW,0.5,0 ),COLORred;
STICKLINE(ko>kc,CLOSE,HIGH,0.5 ,0 ),COLORred;
STICKLINE(ko<=kc,CLOSE,LOW,0.5 ,0 ),COLOR66cc33;
STICKLINE(ko<=kc,OPEN,HIGH,0.5 ,0 ),COLOR66cc33; 360截图20191026001559028.jpg<!-- 咨询内容:

附件 :

-->

 

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

博易技术人员: DA:EMA(CLOSE,3),COLORBLUE;
DB:EMA(CLOSE,5) ,COLORBLUE;
DC:EMA(CLOSE,8) ,COLORBLUE;
DD:EMA(CLOSE,10) ,COLORBLUE;
DE:EMA(CLOSE,12) ,COLORBLUE;
DF:EMA(CLOSE,15) ,COLORBLUE;
CA:EMA(CLOSE,30) ,COLORYELLOW;
CB:EMA(CLOSE,35) ,COLORYELLOW;
CC:EMA(CLOSE,40) ,COLORYELLOW;
CD:EMA(CLOSE,45) ,COLORYELLOW;
CE:EMA(CLOSE,50) ,COLORYELLOW;
CF:EMA(CLOSE,60) ,COLORYELLOW;
CDYX:=CA>CB AND CB>CC AND CC>CD AND CD>CE AND CE>CF;
CKYX:=CA<CB AND CB<CC AND CC<CD AND CD<CE AND CE<CF;
DDYX:=DA>DB AND DB>DC AND DC>DD AND DD>DE AND DE>DF;
DKYX:=CA<CB AND DB<DC AND DC<DD AND DD<DE AND DE<DF;
PARTLINE(CDYX,CA),COLOR404080;
PARTLINE(CDYX,CB),COLOR404080;
PARTLINE(CDYX,CC),COLOR404080;
PARTLINE(CDYX,CD),COLOR404080;
PARTLINE(CDYX,CE),COLOR404080;
PARTLINE(CDYX,CF),COLOR404080;
PARTLINE(CKYX,CA),COLORCYAN;
PARTLINE(CKYX,CB),COLORCYAN;
PARTLINE(CKYX,CC),COLORCYAN;
PARTLINE(CKYX,CD),COLORCYAN;
PARTLINE(CKYX,CE),COLORCYAN;
PARTLINE(CKYX,CF),COLORCYAN;
PARTLINE(DDYX,DA),COLORRED;
PARTLINE(DDYX,DB),COLORRED;
PARTLINE(DDYX,DC),COLORRED;
PARTLINE(DDYX,DD),COLORRED;
PARTLINE(DDYX,DE),COLORRED;
PARTLINE(DDYX,DF),COLORRED;
PARTLINE(DKYX,DA),COLORGREEN;
PARTLINE(DKYX,DB),COLORGREEN;
PARTLINE(DKYX,DC),COLORGREEN;
PARTLINE(DKYX,DD),COLORGREEN;
PARTLINE(DKYX,DE),COLORGREEN;
PARTLINE(DKYX,DF),COLORGREEN;
KO:=CLOSE;
KC:=REF(CLOSE,1);
STICKLINE(KO<=KC ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(KO<=KC ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(KO<=KC ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(KO<=KC ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(KO<=KC,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(KO<=KC,CLOSE ,OPEN,3,0 ),COLOR33DD00;
STICKLINE(KO<=KC,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(KO<=KC,CLOSE ,OPEN,1,0 ),COLOR66FF00;

STICKLINE(KO>KC,CLOSE,OPEN,8,0 ),COLOR000088;
STICKLINE(KO>KC,CLOSE,OPEN,7,0 ),COLOR000099;
STICKLINE(KO>KC,CLOSE,OPEN,6 ,0 ),COLOR0000AA;
STICKLINE(KO>KC,CLOSE,OPEN,5,0 ),COLOR0000BB;
STICKLINE(KO>KC,CLOSE,OPEN,4,0 ),COLOR0000CC;
STICKLINE(KO>KC,CLOSE,OPEN,3 ,0 ),COLOR0000DD;
STICKLINE(KO>KC,CLOSE,OPEN,2,0 ),COLOR0000EE;
STICKLINE(KO>KC,CLOSE,OPEN,1 ,0 ),COLOR0033FF;

STICKLINE(KO>KC,OPEN,LOW,0.5,0 ),COLORRED;
STICKLINE(KO>KC,CLOSE,HIGH,0.5 ,0 ),COLORRED;
STICKLINE(KO<=KC,CLOSE,LOW,0.5 ,0 ),COLOR66CC33;
STICKLINE(KO<=KC,OPEN,HIGH,0.5 ,0 ),COLOR66CC33; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容