a1:=barslast(ref(cross("macd.diff","macd.dea"),1));b1:=ref(c,a1+1)>c and ref("macd.diff",a1+1)("macd.diff","macd.dea");macd底背:if(b1>0,10,0);起个名字,保存成条件选股公式就可以了。(如果对您有帮助请采纳答案谢谢)
你这个源码智慧l2的。那为什么不放在大智慧l2上用啊?这个没法改,因为源码里大部分用的都是大智慧里特有的函数,通达信根本没有,所以你只能放弃改编的念头...不过现在通达信也有ddx、ddz、ddy什么的,所以网上也这方面的**,我给你找你个,你看能不能替代一下?万手:vol/10000,linethick0; aa:=if(currbarscount=1 and period=5,vol*240/...
var1:=if(year>2999 and month>5,0,1);var2:=if(high=close,1.11*close,high)*var1;var3:=if(high=close,0.89*close,low)*var1;var4:=(ref(close,1)+ref(low,1)+ref(high,1)+ref(open,1))/4;var5:=if(ref(low,...
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 ...