var1:=(2*close+high+low)/4;var2:=expma(expma(expma(var1,4),4),4);j:(var2-ref(var2,1))/ref(var2,1)*100, colorstick;d:ma(j,3);k:ma(j,1);v1:=ema(close,60)-ema(close,300);v2:=ema(v1,300);v3:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);stickline(v7 and count(v7,3)=1,0,0.9,3,0),colormagenta;drawtext(v7 and count(v7,3)=1,-0.2,'买入'),colorred;{但此指标含未来函数,即有些指标发出信号后,后来由于新的信号出现而使原有信号消息或改变,建议慎用} 20210311