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),COLOR0000FF,LINETHICK1;
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*C+H+L)/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),COLOR00FF00,LINETHICK3;
下线:IF(AA BB,0,0),COLOR00FFCC,LINETHICK3;
中线:=IF(AA BB,50,50),LINETHICK1,COLOR0033FF;
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;
DRAWICON(牛股启动,73,34);{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(牛股启动,59,' 牛'),COLOR0000FF;
DRAWTEXT(牛股启动,43,' 股'),COLOR0000FF;
DRAWTEXT(牛股启动,26,' 启'),COLOR0000FF;
DRAWTEXT(牛股启动,10,' 动'),COLOR0000FF;
俊俊建仓:STICKLINE(趋势 =3,0,40,2,0),COLORRED;