资源描述:
《【股票指标公式下载】-【通达信】股价趋势与底(股价趋势、底部警戒)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】股价趋势与底(股价趋势.底部警戒)■指标公式源码股价趋势:二3*SMA((CLOSE-LLV(LOW,27))/(IIIIV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);底部警戒:二10,COLORRED,IJNETHTCK2;底1:=CROSS(股价趋势,底部警戒);A1:二(2*CL0SE+HIGH+L0W)/4;A2:=LLV(L0W,27);A3:=HHV(H
2、IGH,27);A4:=EMA((Al-A2)/(A3-A2)*100,13);A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);底2:=CR0SS(A4,A5)ANDA4<16;波底:二底1AND底2;{牛年奔牛}VAR2:二(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;VAR4:二EMA(VAR3,5);VAR5:二3*VAR3-2*VAR4;牛:=CR0SS(VAR5,VAR3)AN
3、DVAR3<2.1ANDC>0;{逃顶提示}VARA2:=LLV(LOW,10);VARA3:=HHV(HIGH,25);动力线:二EMA((CL0SE-VARA2)/(VARA3-VARA2)*4,4);{突破与破位}N:二19;VARB1:=HHV(HIGH,N);VARB2:二LLV(LOW,N);阻力线:=EMA((CL0SE-VARB2)/(VARB1-VARB2),21)-0.5;操作线:=EMA((CL0SE-VARB2)/(VARB1-VARB2),5)-0.5;突破:二CROSS(操作线,阻力线)AND阻力线<0.1
4、;破位:二CROSS(阻力线,操作线)AND阻力线>0.25;{立桩成立判断}V2:二IF(CURRBARSCOUNT二1,V0L*240/FR0M0PEN/REF(V0L,1)-1,VOL/REF(VOL,1)-1);T12:二V2>二1;T0:=BARSLAST(T12);L1:=REF(L,TO);Hl:二REF(H,TO);L11:=MIN(REF(L,1),L);L1O:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=
5、1,3)ORREF(V2>二1,2)ORREF(V2>二1,1))AND((L1O>L1ANDL2O>H1)OR(L11>L1ANDL21>H1)OR(L>H1));Til:二TillANDREF(Till,1)=0;{涨跌停}C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>二(10-0.01*100/C3),1,0);跌停:=1F((C3-C)*100/C3>=(10-0.01*100/C3),1,0);{顶背离与底背离}LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE-LC),0),
6、3,1)/SMA(ABS((CLOSE一LC)),3,1))*100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);顶背离:二CROSS(8&RSI);底背离:二CROSS(FF,MA15);{45度攻击}XI:二(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(XI,13),1))*3.1416*10;EMA8:二EMA(C,8);T1:=FILTER(BB13>1ANDEMA(XI,13)>REF(EMA(X1,8),1),10);{获利盘提示}获利盘:二WINNER©*
7、100;{彩色成交量柱线}VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,5),COLORWIIITE;MAVOL2:MA(VOLUME,35),COLORYELLOW;MAVOL3:MA(VOLUME,135),COLORGREEN;{V2:IF(CURRBARSCOUNT=1,V0L*240/FR0M0PEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,COLORRED;}STICKLINE(V2>=1,0,VOL*O.5,2,0),COLORYELLOW;STICKLIN
8、E(动力线>二3・2,0,VOL,1,0),C0L0R238E23;STICKLINE(波底,0,VOL,2,0),COLORMAGENTA;DRAWTEXT(波底,VOL*O・&'底'),COLORWHTTE;DRAW