帮我把线加粗

 老师: 帮我把青色的线和黄色的趋势线加粗,不要遮盖了数字。买卖字体用笑脸和哭脸显示。






N:=8;
VAR1:=(HIGH+LOW)/2;
AO:EMA(VAR1,5)-EMA(VAR1,34);
DRAWCOLORLINE(AO>REF(AO,1),AO,COLORYELLOW,COLORCYAN),LINETHICK1;

STICKLINE1(AO<0,0,AO,2.2,0),COLORGREEN;

AO5:EMA(AO,5),COLORFF6600;
DRAWCOLORLINE(AO5>REF(AO5,1),AO5,COLORYELLOW,COLORCYAN),LINETHICK1;
DRAWTEXT(AO>AO5&&AO>REF(AO,1)&&ISLASTBAR,AO,'—B'),ALIGN0,FONTSIZE35,COLORYELLOW,VALIGN1;
DRAWTEXT(AO<AO5&&AO<REF(AO,1)&&ISLASTBAR,AO,'—S'),ALIGN0,FONTSIZE35,COLORWHITE,VALIGN1;

S1:=CROSS(0,AO);
DRAWTEXT(S1,AO,'S1'),COLORWHITE;

S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);
DRAWTEXT(S2,AO,'S1'),COLORWHITE;

SCOUNT:=BARSLAST(AO<0);
SD:=HHV(AO,SCOUNT);
SCOUNTD:=HHVBARS(AO,SCOUNT);
S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);
S31:=COUNT(S3,SCOUNTD);
DRAWTEXT(S31>=2 AND S3,AO,'S1'),COLORWHITE;

B1:=CROSS(AO,0);
DRAWTEXT(B1,AO,'SI'),COLORWHITE;

B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ;
DRAWTEXT(B2,AO,'S1'),COLORWHITE;

BCOUNT:=BARSLAST(AO>0);
BD:=LLV(AO,BCOUNT);
BCOUNTD:=LLVBARS(AO,BCOUNT);

B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1);
B31:=COUNT(B3,BCOUNTD);

DRAWTEXT(B31>=2 AND B3,AO,'SI'),COLORWHITE;

0,COLORWHITE,LINETHICK3;  

STICKLINE1(AO>=0&&AO>AO5,0,AO,2.2,0),COLORRED;
STICKLINE1(AO>=0&&AO<AO5,0,AO,2.2,0),COLORWHITE;
STICKLINE1(AO<0&&AO>AO5,0,AO,2.2,0),COLORMAGENTA;
STICKLINE1(AO<0&&AO<AO5,0,AO,2.2,0),COLORGREEN;

HH:=BACKSET( REFX( CROSSDOWN(AO>=0&&AO>AO5,0.4),1),HHVBARS(AO,BARSLASTCOUNT(AO>=0&&AO>AO5))+1);
DRAWSL(HH=1&&BARSLASTCOUNT(AO>=0&&AO>AO5)=1||CROSS(HH=1,0.5),AO,0,N,0,COLORGREEN),LINETHICK2;

LL:BACKSET( REFX( CROSSDOWN(AO<0&&AO<AO5,0.4),1),LLVBARS(AO,BARSLASTCOUNT(AO<0&&AO<AO5))+1),NODRAW;
DRAWSL(LL=1&&BARSLASTCOUNT(AO<0&&AO<AO5)=1||CROSS(LL=1,0.5),AO,0,N,0,COLORRED),LINETHICK2;



DRAWNUMBER(AO>0&&AO>AO5,AO,BARSLASTCOUNT(AO>AO5),0,COLORYELLOW),FONTSIZE14;
DRAWNUMBER(AO>0&&AO<AO5,AO,BARSLASTCOUNT(AO<AO5),0,COLORCYAN),FONTSIZE14;
DRAWNUMBER(AO<0&&AO>AO5,AO,BARSLASTCOUNT(AO>AO5),0,COLORYELLOW),FONTSIZE14,VALIGN0;
DRAWNUMBER(AO<0&&AO<AO5,AO,BARSLASTCOUNT(AO<AO5),0,COLORCYAN),FONTSIZE14,VALIGN0;

VERTLINE(CROSS(AO,0),COLORRED),DOT;
VERTLINE(CROSSDOWN(AO,0),COLORGREEN),DOT;



CROSS(AO,0)||CROSSDOWN(AO,0),SOUND('A');
DRAWTEXT(BARSLASTCOUNT(AO>=0&&AO>AO5)=1,AO,'买'),VALIGN0;
DRAWTEXT(BARSLASTCOUNT(AO<0&&AO<AO5)=1,AO,'卖');

(来源:文华财经)

领主 管理员

热门评论
:
该帖子评论已关闭
图片审查中...
编辑答案: 我的回答: 最多上传一张图片和一个附件
x
x
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索