资源描述:
《【股票指标公式下载】-【通达信】趋势射线(主图)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】趋势射线(主图)-指标公式源码DRAWLINE(L=LLV(L,3),L,C=HHV(C,3),L,0),C0L0R9A90FF;趋势射线7:DRAWLINE(H=IIIIV(II,7),11,L=LLV(L,7),L,0),C0L0R9AFF89;射线7X:DRAWLINE(L=LLV(L,7),L,H=HHV(H,7),L,0),C0L0R9AFF89;趋势射线21:DRAWLINE(H=HHV(H,21),H,L二LLV(L,21),L,0),C0L0RC100FF;射线21X:DRAWLINE(L=LLV(L,21),L,H=HHV(H,
2、21),L,0),COLORCIOOFF;趋势射线35:DRAWLINE(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORCI005B;射线35X:DRAWLINE(L=LLV(L,35),L,H=IIIIV(II,35),L,0),COLORCI005B;趋势射线49:DRAWLINE(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW;射线49X:DRAWIJNE(L二LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW;Al:二REF(H,8)=HHV(H,2*8+
3、1);Bl-FILTER(Al,8);Cl:二BACKSET(Bl,8+1);DI-FILTER(Cl,8);{高点}Rll:=BACKSET(TSLASTBAR,BARSLAST(DI)+1);SI1:二R11>REF(R11,1);DRAWLINE(DI,H,S11,H,1),COLORBLUE,L1NETH1CK2;A2:二REF(L,8)二LLV(L,2*8+1);B2:二FILTER(A2,8);C2:=BACKSET(B2,8+1);D2-FILTER(C2,8);{低点}Til:二BACKSET(1SLASTBAR,BARSLAST(D2)+
4、1);U11:=T11>REF(T11,1);DRAWLINE(D2,L,U11,L,1),COLORBLUE,LINETHICK2;M:二INTPART(3*8/5);A12:=REF(H,M)=HHV(H,2*M+1);B12:二FILTER(A12,M);C12:二BACKSET(B12,M+1);D12-FILTER(C12,M);{高点}R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1);S112:=R112>REF(R112,1);DRAWLINE(D12,H,S112,H,1),COLORRED,LINETHIC
5、K2;A22:=REF(L,M)=LLV(L,2*M+1);B22:=F1LTER(A22,M);C22:二BACKSET(B22,M+1);D22:=FILTER(C22,M);{低点}T112:=BACKSET(TSLASTBAR,BARSLAST(D22)+1);U112:=T112>REF(T112,1);DRAWLINE(D22,L,U112,L,1),COLORRED,L1NETH1CK2;VAR1111:二BACKSET(REF(HIGH,2)二HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR333
6、3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力:二REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),C0L0REA91B5,LINETIIICK3;支撑:=REF(LOW,BARSLAST(VAR4444));STTCKLTNE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,
7、BARSLAST(VAR4444)),0.5,1),C0L0R00B4FF,L1NETH1CK3;【通达信】趋势射线(主图)-指标公式效果图趋势射线4初射线4Q斤疆众和(日线•前复权)趋势射线:-趋势射线"射线7冷趋势射线2仁射^21X:-XXXXXXXXXXXXXXXXXKKxr-wZ_(文档来源:若水财经社区)