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,...
t1:=c>3 and c<10;st:=if(namelike('st')=1,0,if(namelike('s st')=1,0,if(namelike('*st')=1,0,if(codelike('300'),0,1))));x:=(c-ref(c,1))/ref(c,1)*100;xg:t1 and st and...
1的公式是:count(close>ref(close,1),10)>7;2的公式是:high>max(o,c)*1.03 and low<min(open,close)*1.02 and close/ref(close,1)>1.06;hhv(high,3)=hhv(high,120);意思是3日内(只要在最近3天内的都可以)的最高价是120日的最高价;三天内=三天...