资源描述:
《[精品]【股票指标公式下载】-【通达信】买卖长牛(趋势线、涨势确立).doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】买卖长牛(趙势线.涨势确立)•指标公式源码VAR1:二1;趋势线:((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(L0W,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;VAR2:二(2*CL0SE+HIGH+L0W+0PEN)/5;VAR3:=LLV(LOW,34);VAR4:=HHV(HIGH,34);SK:E
2、MA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1,COLORWHITE;SD:EMA(SK,3),COLORYELLOW;VAR5-EMA(CLOSE,12)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=VAR1ECLOSE*1.2361.021;VAR9:=(HIGH-CLOSE)*1.36<=CL0SE-0PEN;VARA:二(MA(CLOSE,120)-CLOSE)/CLOSE*100;V
3、ARB:=ABS(VAR5-VAR6);VARC:=STD(CLOSE,90)*10;VARD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);买:IF(VAR1^VAR7AXDVARSANDVAR9ANDVARC<25ANDCL0SE<8ANDVARA<114AXDVARB<=0.23*40,55,0),COLORRED;VARE:=SLOPE(CLOSE,40);VARF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,l)<-0.098,90);VAR10:
4、二(MA(CLOSE,120)-CLOSE)/CLOSE*100;VARI1:=STD(CLOSE,63)*10;VAR12:=(MA(CLOSE,76)-MA(CLOSE,13)/3);VAR13:=MA((CLOSE-VAR12)/VAR12,1);VAR14:=MA(CLOSE,5);VAR15-MA(CLOSE,10);VAR16:=MA(CLOSE,20);VAR17-MA(CLOSE,30);VAR18:=MA(CLOSE,60);VAR19:=MA(CLOSE,150);VAR1A:=MA(CLOSE,250);VAR
5、1B:=VOL/CAPITAL*1OO;VAR1C:=(CLOSE-VAR1A)/VAR1A*100;VAR1D:=(CLOSE/REF(CLOSE,1)-1)*100;VARIE:=PWTNNER(1,CLOSE);VAR1F:=IF(VAR1>O.75ANDVARl<0.901,0.61&1);牛:IF(VAR14>VAR15ANDVAR15>VAR16ANDVAR16>VAR17ANDVAR16>VAR18ANDVAR19>VAR1AAND(VAR1E>=O.9ORVAR1E>O.76ANDVAR1E6、D>5ANDVAR1B>5)AXDVAR1D>1.8AXDVARlC<40AXDCL0SE>3AXD(CLOSE-VAR18)/VAR18<0.25AXDVAR1B<=6AXDVAR4*VAR1B>二1AXDCL0SE<18.5,35,0),COLORFOOFOO;VAR20:二(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;VAR21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;VAR22:二VARI*(
7、MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;VAR23:=VAR1*MA(CLOSE,250);VAR24:=MA(CLOSE,125);VAR25-CL0SE/MA(CLOSE,3)>=1.05AXDCLOSE=HHV(CLOSE,3)AXDMA(VOL,2)/MA(VOL,40)>=3AXDMA(VOL,2)=HHV(MA(VOL,2),3)AXDVOL>REF(VOL,1)AXDCLOSE>REF(CLOSE,1);VAR26:=REF(CLOSE,1);VAR
8、27:=SMA(MAX(CL0SE-VAR26,0),5,1)/SMA(ABS(CL0SE-VAR26),5,1)*100;VAR28:二VARI京COUNT(VAR27〈25,20)>二1;VAR29:=(HIGH-LOW)/HIG