以下是通达信黄金线(指标 主图 源码 测试图)

没有100%的准确买点 大家灵活运用

股市有风险入市需谨慎

AAA:=(3*C+H+L+O)/6;
 VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,COLORFF7700;
 VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
 VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
 VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
 VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
 VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
长期趋势线:(MA(C,188)),COLORGREEN,LINETHICK2;
 LC:=REF(CLOSE,1);
 RS1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
起步:IF((RS1 >58),长期趋势线,DRAWNULL),,COLORRED,LINETHICK2;
 {红}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
 DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
短线趋势线:VAR1,COLORWHITE;
中线趋势线:VAR6,COLORYELLOW,LINETHICK3;
下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORFF2200,LINETHICK4;
 BIAS13:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORBLUE,LINETHICK4;
 XG2:=DRAWICON(CROSS(BIAS13,REF(BIAS13,1)),BIAS13,1);
 DRAWTEXT(FILTER(XG2=1,5),LOW-0.05,'↖准备买'),COLORYELLOW;
 STICKLINE(XG2,O,C,2,0),COLOR00FFFF;
 {行业属性}
Z1:=STRCAT(HYBLOCK,' ');
 Z2:=STRCAT(Z1,DYBLOCK);
 Z3:=STRCAT(Z2,' ');
 DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;
 

通达信黄金线(指标 主图 源码 测试图)

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。