在大智慧上是可以用的。大智慧上有自带的指标:大智慧--功能--自选指标--公式组--点击就可以看到了,很多。涨跌家数、振荡指标都有。g:close/indexc*1000; 这个不好用是因为参数设置问题。那就不用也罢。宝塔线非常不错b1:=ref(c,1);b2:=ref(c,2);ss:=if(c>ref(c,1) and ref(c,1)>=ref(c,2),1,if(c<ref(c,1) and ref(c,1)<=ref(c,2),-1,if(c>ref(c,2) and ref(c,2)>ref(c,1),2,if(c<ref(c,2) and ref(c,2)<ref(c,1),-2,0)))); sm:=if(ref(ss,1)<>0,ref(ss,1),if(ref(ss,2)<>0,ref(ss,2),if(ref(ss,3)<>0,ref(ss,3),if(ref(ss,5)<>0,ref(ss,5),if(ref(ss,6)<>0,ref(ss,6),if(ref(ss,7)<>0,ref(ss,7),0))))));mc:if(ref(ss,1)<>0,b2,if(sm>0,min(b1,b2),max(b1,b2))),colorff00ff; stickline(ss=1 or sm>=1 and ss=0,b1,c,4,1),colorred; stickline(ss=-1 or sm<=-1 and ss=0,b1,c,4,0),colorff9000; stickline(ss=2,b2,c,4,1),colorred; stickline(ss=-2,b2,c,4,0),colorff9000; stickline((ss=-1 or ss=-2) and sm>0,b2,b1,4,1),colorred; stickline((ss=1 or ss=2) and sm<0,b2,b1,4,0),colorff9000; 20210311