把以下源码复制到通达信公式编辑器内,即可通过:e10:ema(close,10); e40:ema(close,40); m5:ma(close,5); m3:ma(close,3),color00ff00; f:=100*(c-ref(c,1))/ref(c,1); 今小昨:=if(c<ref(o,1) and f<0,1,0); p1:=今小昨; 今小前:=if(c<ref(o,2) and f<0,1,0); p2:=今小前; stickline(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,open,close,3,0),colormagenta; stickline(p1=1 and ref(p1,1)=0 and p2=1 and ref(p2,1)=0,open,close,3,0),coloraaaaaa; 20210311