请老师调整一下 [博易POBO]
咨询内容:
DEA : EMA(DIFF,9),COLORWHITE,LINETHICK2;
MACD : 2*(DIFF-DEA), COLORSTICK;
白线破仓:IF(DIFF<DEA,DIFF,DEA),COLORWHITE,LINETHICK2;
趋势强弱:IF(DIFF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
A1:=MACD<REF(MACD,1) AND REF(MACD,2)<REF(MACD,1) AND MACD>0;
A2:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<0;
DRAWTEXT(A1 AND C>O,MACD,'顶背离');
DRAWTEXT(A2 AND C<O,MACD,'底背离');
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,5,0),COLORRED;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,5,0),COLORGREEN;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,5,0),COLORYELLOW;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,5,0),COLORCYAN;
A01:=C>REF(C,4);
NT:=BARSLAST(A01);
TJ11:=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
MM:=BACKSET(NT=9,9);
DRAWNUMBER(MM=1&&AY>0,MACD*0.98,NT,0),COLORYELLOW,ALIGN1;
NX:=BACKSET(ISLASTBAR,NT);
DRAWNUMBER(NX&&REFX(NT<9,100),MACD*0.98,NT,0),COLORYELLOW,ALIGN1;
//DRAWICON(NT=9,MACD*0.98,'ICO9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLAST(B1);
TJ21:=NT0=9 ;
NN:=BACKSET(NT0=9,9);
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
//N2:=MOD(NT0,9);
DRAWNUMBER(NN=1&&AY1>0,MACD*1.02,NT0,0),COLOREEEEEE,VALIGN0,ALIGN1;
ND:=BACKSET(ISLASTBAR,NT0);
DRAWNUMBER(ND&&REFX(NT0<9,100),MACD*1.02,NT0,0),COLOREEEEEE,VALIGN0,ALIGN1;
//DRAWICON(NT0=9,MACD*1.02,'ICO112'),COLORGREEN;
DRAWICON(CROSS(DIFF,DEA),DEA,'ICO95'),NODRAW;
DRAWICON(CROSS(DEA,DIFF),DEA,'ICO96'),NODRAW;
这个指标显示的123456789数字太慢,不是每个单独显示,而是9根K后一起显示,能改成每个单独显示吗
请老师调整一下
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED,LINETHICK2;DEA : EMA(DIFF,9),COLORWHITE,LINETHICK2;
MACD : 2*(DIFF-DEA), COLORSTICK;
白线破仓:IF(DIFF<DEA,DIFF,DEA),COLORWHITE,LINETHICK2;
趋势强弱:IF(DIFF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
A1:=MACD<REF(MACD,1) AND REF(MACD,2)<REF(MACD,1) AND MACD>0;
A2:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<0;
DRAWTEXT(A1 AND C>O,MACD,'顶背离');
DRAWTEXT(A2 AND C<O,MACD,'底背离');
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,5,0),COLORRED;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,5,0),COLORGREEN;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,5,0),COLORYELLOW;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,5,0),COLORCYAN;
A01:=C>REF(C,4);
NT:=BARSLAST(A01);
TJ11:=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
MM:=BACKSET(NT=9,9);
DRAWNUMBER(MM=1&&AY>0,MACD*0.98,NT,0),COLORYELLOW,ALIGN1;
NX:=BACKSET(ISLASTBAR,NT);
DRAWNUMBER(NX&&REFX(NT<9,100),MACD*0.98,NT,0),COLORYELLOW,ALIGN1;
//DRAWICON(NT=9,MACD*0.98,'ICO9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLAST(B1);
TJ21:=NT0=9 ;
NN:=BACKSET(NT0=9,9);
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
//N2:=MOD(NT0,9);
DRAWNUMBER(NN=1&&AY1>0,MACD*1.02,NT0,0),COLOREEEEEE,VALIGN0,ALIGN1;
ND:=BACKSET(ISLASTBAR,NT0);
DRAWNUMBER(ND&&REFX(NT0<9,100),MACD*1.02,NT0,0),COLOREEEEEE,VALIGN0,ALIGN1;
//DRAWICON(NT0=9,MACD*1.02,'ICO112'),COLORGREEN;
DRAWICON(CROSS(DIFF,DEA),DEA,'ICO95'),NODRAW;
DRAWICON(CROSS(DEA,DIFF),DEA,'ICO96'),NODRAW;
这个指标显示的123456789数字太慢,不是每个单独显示,而是9根K后一起显示,能改成每个单独显示吗
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 老师在吗 您好,无法修改。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容