老师,麻烦帮我改个指标,谢谢! [博易POBO]
咨询内容:
//5线顺上OR下
MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,10),COLORYELLOW;
MA3:MA(CLOSE,20),COLORMAGENTA;
MA4:MA(CLOSE,40),COLORGREEN,NODRAW;
MA5:MA(CLOSE,60),RGB(128,0,64),NODRAW;
DRAWCOLORLINE(MA3>REF(MA3,1),MA3,COLORRED,COLORGREEN);
FILLRGN(MA4>MA5,MA4,MA5,RGB(128,0,64));
FILLRGN(MA4<MA5,MA4,MA5,RGB(64,128,128));
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN;
PLAYSOUND(CROSS(MA4,MA5),'E');
PLAYSOUND(CROSS(MA5,MA4),'E');
DRAWICON(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,MA5,'ICO4');
DRAWICON(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,MA5,'ICO5');
PLAYSOUND(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,'E');
PLAYSOUND(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,'E');
DRAWNUMBER(ISLASTBAR,C,C,0,COLORWHITE),ALIGN0;
MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,10),COLORYELLOW;
MA3:MA(CLOSE,20),COLORMAGENTA;
MA4:MA(CLOSE,40),COLORGREEN,NODRAW;
MA5:MA(CLOSE,60),COLOR400080,NODRAW;
PARTLINE2(MA3,MA3>REF(MA3,1),COLORRED,COLORGREEN);
FILLRGN(MA4>MA5,MA4,MA5),COLOR400080;
FILLRGN(MA4<MA5,MA4,MA5),COLOR808040;
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN;
DRAWICON(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,MA5,'4');
DRAWICON(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,MA5,'5');
DRAWNUMBER(ISLASTBAR,C,C,2),COLORWHITE; 老师,博易大师,能加上声音提示吗 来源 程序化久久网
老师,麻烦帮我改个指标,谢谢!
老师好,这是我在文华用的均线多和空头排列,现在麻烦老师,帮我改成在博易大师里用的指标,谢谢了!//5线顺上OR下
MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,10),COLORYELLOW;
MA3:MA(CLOSE,20),COLORMAGENTA;
MA4:MA(CLOSE,40),COLORGREEN,NODRAW;
MA5:MA(CLOSE,60),RGB(128,0,64),NODRAW;
DRAWCOLORLINE(MA3>REF(MA3,1),MA3,COLORRED,COLORGREEN);
FILLRGN(MA4>MA5,MA4,MA5,RGB(128,0,64));
FILLRGN(MA4<MA5,MA4,MA5,RGB(64,128,128));
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN;
PLAYSOUND(CROSS(MA4,MA5),'E');
PLAYSOUND(CROSS(MA5,MA4),'E');
DRAWICON(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,MA5,'ICO4');
DRAWICON(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,MA5,'ICO5');
PLAYSOUND(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,'E');
PLAYSOUND(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,'E');
DRAWNUMBER(ISLASTBAR,C,C,0,COLORWHITE),ALIGN0;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 当中除去声音函数不支持以后,其它都修改成了博易中兼容的。MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,10),COLORYELLOW;
MA3:MA(CLOSE,20),COLORMAGENTA;
MA4:MA(CLOSE,40),COLORGREEN,NODRAW;
MA5:MA(CLOSE,60),COLOR400080,NODRAW;
PARTLINE2(MA3,MA3>REF(MA3,1),COLORRED,COLORGREEN);
FILLRGN(MA4>MA5,MA4,MA5),COLOR400080;
FILLRGN(MA4<MA5,MA4,MA5),COLOR808040;
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN;
DRAWICON(MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND MA4>MA5,MA5,'4');
DRAWICON(MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA5<REF(MA5,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 AND MA4<MA5,MA5,'5');
DRAWNUMBER(ISLASTBAR,C,C,2),COLORWHITE; 老师,博易大师,能加上声音提示吗 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 或微信号:cxh99cxh99 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容