{0轴上方-空中加油副图}dif:ema(close,12)-ema(close,26),colorffffff;dea:ema(dif,9),coloryellow;macd:2*(dif-dea),colorstick;控制加油:=count(dif>dea,barslast(cross(dif,dea)))=barslast(cross(dif,dea))and cross(dif,ref(dif,1))and macd>0 and macd<0.6 and dif>=0 and dea>=0;... 20210311
a:=cross(macd.dif,macd.dea);a and macd.dif>=macd.dea+0.01 and range(macd.dif,-0.3,0.3) 周dif:="macd.dif#week"(12,26,9);周dea:="macd.dea#week"(12,26,9);周dea>0 and cross(周dif,周dea);
a:=c/ref(c,20)(barslast(macd>ref(macd,1))>=2,1)and(macd.dif-macd.dea)/macd.dif<=1.1 andmacd>ref(macd,1)and macd.dif>macd.dea and macd.dif>0 and macd.dea>0;drawtext(a,l*0.99,'将'),c...