短線上升:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; 通道:=2*ABS(短線上升);{通達(dá)信指標(biāo)公式WWW.HAO169CN.COM} 通達(dá)信指標(biāo)公式:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55)) *100,20,1),15,1)); bbs1:=(H+L+C)/3; bbs6:=(bbs1-MA(bbs1,10))/(0.015*AVEDEV(bbs1,10)); bbs7:=(bbs1-MA(bbs1,30))/(0.015*AVEDEV(bbs1,30)); bbs8:=IF(bbs6>=150 AND bbs6<200 AND bbs7>=150 AND bbs7<200,10,0); bbs9:=IF(bbs6<=-150 AND bbs6>-200 AND bbs7<=-150 AND bbs7>-200,-10,bbs8); VA:=(C-MA(C,13))/MA(C,13)*100; VB:=100-ABS(VA); VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2 *SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55)) *100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1); VE:=REF(L,1)*0.9; VF:=L*0.9; 短線上升0:=(VF*V+VE*(CAPITAL-V))/CAPITAL; 短線上升1:=EMA(短線上升0,30); 短線上升2:=短線上升1-C; 短線上升3:=REF(C,1); 短線上升4:=SMA(MAX(C-短線上升3,0),7,1)/SMA(ABS(C-短線上升3),7,1)*100; 短線上升5:=SMA(MAX(C-短線上升3,0),13,1)/SMA(ABS(C-短線上升3),13,1)*100; 短線上升6:=BARSCOUNT(C); 短線上升7:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; 短線上升8:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2; 短線上升9:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100; 短線上升A:=(SMA(短線上升9,4,1)-50)*2; 短線上升B:=SMA(短線上升A,3,1); 短線上升C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; 短線上升D:=SMA(短線上升C,4,1); 短線上升E:=SMA(短線上升D,3,1); 短線上升F:=(HHV(H,30)-C)/C*100; 通道0:=IF(短線上升7<=25 AND 短線上升8<-95 AND 短線上升F>20 AND 短線上升B<-30 AND 短線上升E<30 AND 短線上升2>=-0.25 AND 短線上升4<22 AND 短線上升5<28 AND 短線上升6>50,80,0); ss4: 通達(dá)信指標(biāo)公式; ss6: IF(VB<90,VB,100); ss3: IF(短線上升>0,短線上升,0),LINESTICK; ss2: -IF(短線上升<0,通道,0),LINESTICK; ss5: 通道0,COLORRED,LINETHICK2; ss1: (IF((bbs7>=200 AND bbs6>=150) OR CROSS(65,ss3),15,IF(bbs7<=-200 AND bbs6<=-150,-15,bbs9))+65); STICKLINE(通達(dá)信指標(biāo)公式<=REF(V4,1),通達(dá)信指標(biāo)公式,V4,8,0),COLORWHITE; STICKLINE(通達(dá)信指標(biāo)公式>REF(V4,1),通達(dá)信指標(biāo)公式,V4,8,0),COLORRED; uu1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1); uu2:=C; uu3:=ss3>60 AND ss1>65 AND ss6=100; uu4:=ss3>48 AND ss1>65 AND ss6<100; uu5:=ss2<-38 AND ss1<65; uu6:=ss5>50 AND ss6<90; uu7:=通達(dá)信指標(biāo)公式>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1); uu8:=通達(dá)信指標(biāo)公式<=REF(V4,1) AND C AND ss2>=REF(ss2,1) AND VC; DRAWTEXT(uu1 AND COUNT(uu1,30)=1,10,'上升通道!'),COLOR00FFFF; DRAWTEXT(uu2 AND COUNT(uu2,30)=1,55,''),COLOR00FFFF; DRAWTEXT(uu3 AND COUNT(uu3,30)=1,55,''),COLOR00FFFF; DRAWTEXT(uu4 AND COUNT(uu4,30)=1,75,''),COLOR00FFFF; DRAWTEXT(uu5 AND COUNT(uu5,30)=1,50,''),COLOR00FFFF; DRAWTEXT(uu6 AND COUNT(uu6,30)=1,30,''),COLOR00FFFF; DRAWTEXT(uu7 AND COUNT(uu7,30)=1,-10,''),COLOR00FFFF; DRAWTEXT(uu8 AND COUNT(uu8,30)=1,90,''),COLOR00FFFF; |
|