资源描述:
《【股票指标公式下载】-【通达信】万法归一(阻挡线、下档线、趋势、中期大底、支撑)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】万法归一(阻扌当线.下档线、趋势.中期大底.支撑)■指标公式源码N:二(20);P:二(12);阻挡线:=SMA(HIGH,21,2)*1.035,POINTDOT,COLORFFFFFF;下档线:=SMA(LOW,21,2)*0.96,POINTDOT;上:二EMA(MA(HIGH,3)*1.05,30);{原句上:二FFT(MA(HIGH,3)*1.05,30);分析家无FFT,故改}趋势:二EMA(MA(LOW,3)*0.96,30);{原句趋势:二FFT(MA(LOW,3)*0.96,30);分析家无FFT,故改}短期支撑:=LLV
2、(CLOSE,N),C0L0R6803C7;中:二EMA(MA(OPEN,3)*0.99,30);{原句中:二FFT(MA(OPEN,3)*0.99,30);分析家无FFT,故改}趋势线:=SMA(LOW,8,1);VAR1:=(OPEN+LOW+IIIGII+CLOSE)/4;VAR2:=((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100;VAR3:=((CLOSE-LLV(LOW,18))/(HHV(HTGH,18)-LEV(LOW,18)))*100;VAR4:=SMA(VAR3,9,1);VAR5:二SMA(VAR
3、4,3,1);J:二3*VAR4-2*VAR5;A2:=EMA(VAR4,3);A3:=EMA(A2,3);A4:=EMA(A3,3);A5:二EMA(A4,3);AA:=EMA(A5,6);中期大底:=LLV(LOW,30),COLORCDFFBB;VAR9:=HHVBARS(HIGH,50);VAR11:=((CLOSE-REF(OPEN,VAR9))/REF(OPEN,VAR9))*100;CG:=MA(CLOSE,19);CD:=MA(CLOSE,2);MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);支撑:二E
4、MA(VAR1,5);压力—:=HHV(LOW,20),,COLOROOFFFF;压力:二HHV(支撑,60);短期底部:=LLV(HIGH,30),C0L0R00FF00;DRAWTEXT(FILTER(((((((CLOSE>CG)AND(HIGH<±))AND(CLOSE<±))AND((趋势线-REF(趋势线,3))>0))AND((趋势-REF(趋势,1))>二0))ANDCROSS(CD,CG)),5),(LOW-O.02),'★大底成'),C0L0R4D84FF;DRAWTEXT(FILTER(((CROSS(趋势,中期大底)AND(L
5、OW〈二中))AND((趋势-REF(趋势,1))>0)),3),(中期大底-0.08),'-分时拉升'),COLORFFOOFF;DRAWTEXT(FILTER((CROSS(H1,短期底部)AND((趋势-REF(趋势,1))>0)),4),(中期大底-0.16),'-分时狂牛'),C0L0R430CC0;上一:二(SMA(HIGH,21,2)*1.05);DRAWTEXT((((((CLOSE6、OSE〈上一)),(H1GH+0.13)/-分吋短线'),COLORFFFFFF;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VARE:=(VARW+(2*STD(CLOSE,170)));VARR:=(VARQ+(2*STD(CLOSE,170)));VART:=IF((DATE>1880822),1,1);VAR61:=EMA(IIIIV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:二EMA(HHV(HIGH,90),21);VAR91:=EMA(LL
7、V(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:二EMA(((VAR91*0.96+VARAl*0.96+VAREl*0.96+VAR61*0.558+VAR71*0.558+VAR81*0・558)/6),21);VARD1:=EMA(((VAR91*1・25+VARAl*l・23+VARBl*l・20+VAR61*0・550+VAR71*0・550+VAR81*0.650)/6),21);VARE1:=EMA(((VAR91*1・3O+VARA
8、1*1・3O+VARB1*1・30+VAR61*0・680+VAR71*0・680+VAR81*0.680)