{金风暴利副图----该指标用到“backset向前赋值”未来函数,也就是说,这个买入信号当天是看不到的,要3天后才会在正确的位置标出买入信号。信号点只是作秀罢了,无任何实战意义,供参考!}v1:=ema(close,60)-ema(close,300);v2:=ema(v1,300);v3:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;v4:sma(v3,2,1);v5:sma(v4,2,1);v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);买入:if((v7 and count(v7,3)=1),30,0),coloryellow,linethick3;drawtext(买入,35,'买入 '),coloryellow,linethick3;======================={选股}v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);买入:v7 and count(v7,3)=1; 20210311
{假设阴线幅度>7%,根据需要修改} dyx:=(c-o)/ref(c,1)*100;days:=barslast(dyx);mid:=(ref(c,days)+ref(o,days))/2;欲反包:days>1 and days< 5 and c >mid and count(c>mid,days)=1;