dif:ema(c,12)-ema(c,26);dea:ema(dif,9);macd:(dif-dea)*2,nodraw;zero:=0;{macd柱线变色标识}stickline(macd>0 and macd>=ref(macd,1),0,macd,3,0),colorred;stickline(macd>0 and macd<ref(macd,1),0,macd,...
v1:=close>open and ref(close,1)(open,1)and ref(close,2)>ref(open,2)and close>ref(open,1)and close>ref(close,2);v2:=backset(v1 and ref(v1,2)and c>ref(c,4),5);v3:=backse.
m:=5;mm:=9*m;short:=mm*4/3;long:=mm*26/9;dif:1000*(ema(close,short)-ema(close,long))/abs(ema(close,short));macd:ema(dif,mm),color58ff58;def:2*(dif-macd),colorffff00,linethick0;stickline(def>=0 and ...