请老师帮忙修改 [博易POBO]
咨询内容:
强弱:EMA(CLOSE,900);
STICKLINE1((MA30>强弱),MA30,强弱,2,0),COLORRED;
STICKLINE1((MA30<强弱),MA30,强弱,2,0),COLORGREEN;
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
P1:=H1-L1;
阻力:L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORMAGENTA;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
//DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;
STICKLINE1(CROSS(支撑,现价),支撑,中,2,0),COLORMAGENTA;
STICKLINE1(CROSS(现价,阻力),阻力,中,4,0),COLORBLUE;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★买'),COLORFF66FF ;
DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999,'☆卖'),COLOR66FF33;
STICKLINE1(C<支撑,支撑,C,2,0),COLORRED;
STICKLINE1(CROSS(支撑,现价),支撑,(支撑-中)/1+支撑,4,0),COLORRED;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/1+支撑,'底'),FONTSIZE16,COLORYELLOW;
STICKLINE1(CROSS(现价,阻力),阻力,阻力-(支撑-中)/1,2,0),COLORRED;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/1,'顶'),FONTSIZE16,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=8,阻力+0.003,'上'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=8,支撑-0.003,'下'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=8,(支撑+阻力)/2,'中'),COLORGREEN,LINETHICK1;
强弱:EMA(CLOSE,900);
STICKLINE((MA30>强弱),MA30,强弱,2,0),COLORRED;
STICKLINE((MA30<强弱),MA30,强弱,2,0),COLORGREEN;
H1:=H;
L1:=L;
CURRBARSCOUNT1:=DATACOUNT-BARPOS+1;
P1:=H1-L1;
阻力:L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORMAGENTA;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,POINTDOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
//DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;
STICKLINE(CROSS(支撑,现价),支撑,中,2,0),COLORMAGENTA;
STICKLINE(CROSS(现价,阻力),阻力,中,4,0),COLORBLUE;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★买'),COLORFF66FF ;
DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999,'☆卖'),COLOR66FF33;
STICKLINE(C<支撑,支撑,C,2,0),COLORRED;
STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/1+支撑,4,0),COLORRED;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/1+支撑,'底'),FONTSIZE16,COLORYELLOW;
STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/1,2,0),COLORRED;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/1,'顶'),FONTSIZE16,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT1=8,阻力+0.003,'上'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT1=8,支撑-0.003,'下'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT1=8,(支撑+阻力)/2,'中'),COLORGREEN,LINETHICK1; 来源 程序化久久网
请老师帮忙修改
MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);
STICKLINE1((MA30>强弱),MA30,强弱,2,0),COLORRED;
STICKLINE1((MA30<强弱),MA30,强弱,2,0),COLORGREEN;
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
P1:=H1-L1;
阻力:L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORMAGENTA;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
//DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;
STICKLINE1(CROSS(支撑,现价),支撑,中,2,0),COLORMAGENTA;
STICKLINE1(CROSS(现价,阻力),阻力,中,4,0),COLORBLUE;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★买'),COLORFF66FF ;
DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999,'☆卖'),COLOR66FF33;
STICKLINE1(C<支撑,支撑,C,2,0),COLORRED;
STICKLINE1(CROSS(支撑,现价),支撑,(支撑-中)/1+支撑,4,0),COLORRED;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/1+支撑,'底'),FONTSIZE16,COLORYELLOW;
STICKLINE1(CROSS(现价,阻力),阻力,阻力-(支撑-中)/1,2,0),COLORRED;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/1,'顶'),FONTSIZE16,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=8,阻力+0.003,'上'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=8,支撑-0.003,'下'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=8,(支撑+阻力)/2,'中'),COLORGREEN,LINETHICK1;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);
STICKLINE((MA30>强弱),MA30,强弱,2,0),COLORRED;
STICKLINE((MA30<强弱),MA30,强弱,2,0),COLORGREEN;
H1:=H;
L1:=L;
CURRBARSCOUNT1:=DATACOUNT-BARPOS+1;
P1:=H1-L1;
阻力:L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORMAGENTA;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,POINTDOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
//DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;
STICKLINE(CROSS(支撑,现价),支撑,中,2,0),COLORMAGENTA;
STICKLINE(CROSS(现价,阻力),阻力,中,4,0),COLORBLUE;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★买'),COLORFF66FF ;
DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999,'☆卖'),COLOR66FF33;
STICKLINE(C<支撑,支撑,C,2,0),COLORRED;
STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/1+支撑,4,0),COLORRED;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/1+支撑,'底'),FONTSIZE16,COLORYELLOW;
STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/1,2,0),COLORRED;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/1,'顶'),FONTSIZE16,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT1=8,阻力+0.003,'上'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT1=8,支撑-0.003,'下'),FONTSIZE16,COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT1=8,(支撑+阻力)/2,'中'),COLORGREEN,LINETHICK1; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容