通达信绝好的指标源码附图

VAR1:=IF(DATE>=1990601,1,1);
 VAR2:=TROUGHBARS(3,15,1)<10;
 VAR3:=PEAKBARS(3,15,1)<10;
 VAR4:=IF(VAR2=1,50,0);
 VAR5:=IF(VAR3=1,50,0);

底: IF(VAR4=50,1350,0),STICK,LINETHICK1;
顶: IF(VAR5=50,1750,0),STICK,LINETHICK1;