通达信公式下载 通达信一线通吃主图指标源码 www.beexiaomifeng.com小编为您提供
?
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;
?
更多股票公式相关资讯请关注www.beexiaomifeng.com
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!