資源描述:
《【股票指標(biāo)公式下載】-【通達(dá)信】絕好成交量(股價趨勢》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、【通達(dá)信】絕好成交量(股價趨勢、底部警戒、牛年奔牛、逃頂提示)-指標(biāo)公式源碼股價趨勢:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(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,LINETHICK2;底1:=CROSS(股價趨勢,底部警戒);A1:=(2*CLOSE+HIGH+LOW)/4;A2:=LLV(LOW,27);A3:=HHV(HIGH,27);A
2、4:=EMA((A1-A2)/(A3-A2)*100,13);A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);底2:=CROSS(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;牛:=CROSS(VAR5,VAR3)ANDVAR3<2.1ANDC>O;{逃頂提示}VAR
3、A2:=LLV(LOW,10);VARA3:=HHV(HIGH,25);動力線:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);{突破與破位}N:=19;VARB1:=HHV(HIGH,N);VARB2:=LLV(LOW,N);阻力線:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5;操作線:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5;突破:=CROSS(操作線,阻力線)AND阻力線<0.1;破位:=CROSS(阻力線,操作線)AND阻力線>0.25;{立樁成立判斷}V2
4、:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3)ORREF(V2>=1,2)ORREF(V2>=1,1))AND((L10>L1ANDL20>H1)OR(
5、L11>L1ANDL21>H1)OR(L>H1));T11:=T111ANDREF(T111,1)=0;{漲跌停}C3:=REF(C,1);漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);{頂背離與底背離}LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
6、頂背離:=CROSS(88,RSI);底背離:=CROSS(FF,MA15);{45度攻擊}X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);T1:=FILTER(BB13>1ANDEMA(X1,13)>REF(EMA(X1,8),1),10);{獲利盤提示}獲利盤:=WINNER(C)*100;{彩色成交量柱線}VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,5),COLORWHITE;MAVOL2:MA(VOLUME,35),C
7、OLORYELLOW;MAVOL3:MA(VOLUME,135),COLORGREEN;{V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,COLORRED;}STICKLINE(V2>=1,0,VOL*0.5,2,0),COLORYELLOW;STICKLINE(動力線>=3.2,0,VOL,1,0),COLOR238E23;STICKLINE(波底,0,VOL,2,0),COLORMAGENTA;DRAWTEXT(波底,VOL*0.8,'底'),COLOR