资源描述:
《【股票指标公式下载】-【通达信】主力趋势(支撑、中期大底、顶线、底线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】主力趋势(支撑、中期大底.顶线.底线)■指标公式源码N:二3;N2:二6;N3:二-23;N4:二75;VAR2:=(C-REF(C,1))/REF(C,1)*100;VAR3:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;VAR4:二SMA(VAR3,9,1);VAR5:二SMA(VAR4,3,1);J:3*VAR4-2*VAR5,C0L0R00FFFF;VAR6:=J>1*REF(J,1);VAR7:=LLVBARS(L,50);VARS:二SU
2、M(V,VAR7);VAR9:=HHVBARS(H,50);VAR10:二SUM(V,VAR9);VAR11:=(C-REF(0,VAR9))/REF(0,VAR9)*100;VAR12:二VAR10/CAPITAL*100;VAR13:二(C-REF(0,VAR7))/REF(0,VAR7)*100;VAR14:=VAR8/CAPITAL*100;VAR15:二MA(WINNER(C),N)*100;VAR16:=EMA(VAR4,N);A2:EMA(VAR4,N),COLORFFDDCC;A
3、3:=EMA(A2,N);A4:=EMA(A3,N);A5:二EMA(A4,N);A6:=EMA(A5,N);A7:=EMA(A6,N);VAR17:=EMA(A7,N);VAR18:=EMA(VAR17,N);VAR19:二EMA(VARI&N);AA:=EMA(A5,N2);中期大底:LLV(J,AA),LINETHICK2,COLOROOOOFF;上:=IF(MA(H,3)*1.05,30,0)*10-AA;下:=1F(MA(L,3)*0.96,30,0)*2/中期大底;中:二IF(MA(
4、H,3)*1.05,30,0);电:二J;DRAWTEXT(CROSS(A4,AA)ANDVARI1N4,A2+4.22,'•峰'),COLOROOFFFF;STICKLINE(J>=A2,A2,J,6,0),COLOROOOOFF;STICKLINE(J<=A2,J,A2,6,0),COLOROOFFOO;压力:HHV(J,60),COLOROOFFFF;支撑:=LLV(AA,13);STICK
5、LINE(J<=中期大底AND中-REF(中,l)>0AND0=0*0.99,1,88,3,0),COLOROOOOFF;DRAWICON(J<=中期大底AND中-REF(中,l)>0AND0=0*0.99,8&1),COLOROOFFOO;STTCKLTNE(FILTER(CROSS(±,中期大底)AND中-REF(中,1)>二0,3),中期大底,70,3,0),COLOROOFFOO;DRAWICON(FILTER(CROSS(±,中期大底)AND中-REF(中,l)>=0,3),70,1)
6、;STICKLINE(CROSS(上,F)AND0=0,中期大底,60,2,0),COLORFFOOOO;BO:=MA(C,3);B01:二MA(C,4);Bl:=(H+L+C)/3;B2:二HHV(Bl,15);B3:=LLV(B1,15);B4:=B2-B3;B5:MA((Bl-B3)/B4,2)*100,C0L0R000080;B6:二HHV(Bl,4*15);B7:二LLV(B1,4*15);B8:=B6-B7;B9:=MA((B1-B7)/B8,2)*100;BA:二HHV(Bl,16
7、*15);BB:=LLV(Bl,16*15);BC:=BA-BB;BD:=MA((B1-BB)/BC,2)*100;顶线:二98;底线:二1;【通达信】主力趋势(支撑.中期大底.顶线.底线)•指标公式效果图.MfAGfGU.COM(文档来源:若水财经社区)