通达信俊俊斗牛源码

2017-05-06 20:31:00来源:本站整理浏览:195

通达信俊俊斗牛源码

N:=27;
趋势线:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,6,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,4,1),3.2,1),COLORRED;
 VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
 VAR2:=REF(LOW,1)*VAR1;
 VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
 VAR4:=(2*CLOSE+HIGH+LOW)/4;
 VAR5:=LLV(LOW,60);
 VAR6:=(2*CLOSE+HIGH+LOW)/4;
 VAR8:=LLV(LOW,34);
 VAR11:=HHV(HIGH,34);
 VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
 VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
 VAR0:=HHV(HIGH,60);
 AA:=EMA((VAR4-VAR5)/(VAR0-VAR5)*100,5);
 BB:=EMA(AA,5);
上线:IF(AA>=BB,100,100),COLORGREEN,LINETHICK3;
下线:IF(AA<BB,0,0),COLOR00FFCC,LINETHICK3;
中线:=IF(AA<BB,50,50);
 HD:=HIGH-REF(HIGH,1);
 LD:=REF(LOW,1)-LOW;
趋势:=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);
牛股启动:STICKLINE(CROSS(趋势,3),0,70,2,0),COLOR00FFCC,LINETHICK3;
 TDXSTEP100:DRAWICON(牛股启动,73,34);
 TDXSTEP101:DRAWTEXT(牛股启动,59,1),COLORRED;
 TDXSTEP102:DRAWTEXT(牛股启动,43,2),COLORRED;
 TDXSTEP103:DRAWTEXT(牛股启动,26,3),COLORRED;
 TDXSTEP104:DRAWTEXT(牛股启动,10,4),COLORRED;
俊俊建仓:STICKLINE(趋势<=3,0,40,2,0),COLORRED;
 

通达信俊俊斗牛源码

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式