老师帮我把这个指标改成文博易大师的指标,谢谢了 [博易POBO]
咨询内容:
老师帮我把这个指标改成文博易大师的指标,谢谢了
MA1:EMA(CLOSE,5),COLORWHITE,LINETHICK2,NOTEXT;
MA2:=EMA(CLOSE,10),COLORYELLOW,NOTEXT;
MA3:=EMA(CLOSE,20),COLORMAGENTA,NOTEXT;
MA4:=EMA(CLOSE,40),COLORGREEN,NOTEXT,NODRAW;
MA5:=EMA(CLOSE,60),RGB(128,0,64),NOTEXT,NODRAW;
趋势线:EMA(CLOSE,120),NOTEXT;
K:=70;
DRAWNUMBER((H-L)>K,H,H-L,0,COLORYELLOW);
DRAWCOLORLINE(趋势线>REF(趋势线,1),趋势线,COLORRED,COLORGREEN),LINETHICK2;
FILLRGN(MA4>MA5,MA4,MA5,RGB(128,0,64));
FILLRGN(MA4<MA5,MA4,MA5,RGB(64,128,128));
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW,FONTSIZE20;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN,FONTSIZE20;
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-7,'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,'A');
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,'A');
DRAWNUMBER(ISLASTBAR,C,C,0,COLORWHITE),ALIGN0;
CON1:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4;
CON2:=MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4;
N:=IF(BARSLAST(CROSS(CON1,0.5))>BARSLAST(CROSS(CON2,0.5)),BARSLAST(CROSS(CON2,0.5))+1,BARSLAST(CROSS(CON1,0.5))+1);
AA:=BACKSET(ISLASTBAR,N);
BB:=CROSS(AA,0.5);
DRAWSL(BB,MA4,0,5,0,COLORWHITE),DOT;
DRAWNUMBER(REF(BB,4),MA4,MA4,2,COLORWHITE),ALIGN2;
5日线差值:C-MA1,NODRAW,RGB(255,255,255);
A05:SLOPE(MA1,2),NOTEXT;
弧度05:ATAN(A05),NOTEXT;
主力角度:弧度05*180/3.14,RGB(255,255,0),FONTSIZE20;
MID:=MA(CLOSE,20),NOTEXT;
TMP2:=STD(CLOSE,20),NOTEXT;
TOP:MID+2*TMP2,DOT,NOTEXT;
BOTTOM:MID-2*TMP2,DOT,NOTEXT;
DRAWCOLORLINE(TOP <!-- 咨询内容: 附件 : --> TMC_MA.zip
MA2:=EMA(CLOSE,10),COLORYELLOW,NOTEXT;
MA3:=EMA(CLOSE,20),COLORMAGENTA,NOTEXT;
MA4:=EMA(CLOSE,40),COLORGREEN,NOTEXT,NODRAW;
MA5:=EMA(CLOSE,60),RGB(128,0,64),NOTEXT,NODRAW;
趋势线:EMA(CLOSE,120),NOTEXT;
K:=70;
DRAWNUMBER((H-L)>K,H,H-L,0,COLORYELLOW);
DRAWCOLORLINE(趋势线>REF(趋势线,1),趋势线,COLORRED,COLORGREEN),LINETHICK2;
FILLRGN(MA4>MA5,MA4,MA5,RGB(128,0,64));
FILLRGN(MA4<MA5,MA4,MA5,RGB(64,128,128));
DRAWTEXT(CROSS(MA4,MA5),MA5,'牛'),COLORYELLOW,FONTSIZE20;
DRAWTEXT(CROSS(MA5,MA4),MA5,'熊'),COLORGREEN,FONTSIZE20;
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-7,'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,'A');
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,'A');
DRAWNUMBER(ISLASTBAR,C,C,0,COLORWHITE),ALIGN0;
CON1:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4;
CON2:=MA1<REF(MA1,1) AND MA2<REF(MA2,1) AND MA3<REF(MA3,1) AND MA4<REF(MA4,1) AND MA1<MA2 AND MA2<MA3 AND MA3<MA4;
N:=IF(BARSLAST(CROSS(CON1,0.5))>BARSLAST(CROSS(CON2,0.5)),BARSLAST(CROSS(CON2,0.5))+1,BARSLAST(CROSS(CON1,0.5))+1);
AA:=BACKSET(ISLASTBAR,N);
BB:=CROSS(AA,0.5);
DRAWSL(BB,MA4,0,5,0,COLORWHITE),DOT;
DRAWNUMBER(REF(BB,4),MA4,MA4,2,COLORWHITE),ALIGN2;
5日线差值:C-MA1,NODRAW,RGB(255,255,255);
A05:SLOPE(MA1,2),NOTEXT;
弧度05:ATAN(A05),NOTEXT;
主力角度:弧度05*180/3.14,RGB(255,255,0),FONTSIZE20;
MID:=MA(CLOSE,20),NOTEXT;
TMP2:=STD(CLOSE,20),NOTEXT;
TOP:MID+2*TMP2,DOT,NOTEXT;
BOTTOM:MID-2*TMP2,DOT,NOTEXT;
DRAWCOLORLINE(TOP <!-- 咨询内容: 附件 : --> TMC_MA.zip
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 老师,这个指标怎么没有人帮我改啊?? 您好,公式不全,而且很多函数不匹配,无法修改 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容