源码如下:a10:=ma(c,10);均线以上:=c>ref(a10,1);连续收阳:=all(c>o,3);涨幅不高:=c/ref(c,2)<1.1;低位金叉:=cross("kdj.j#week","kdj.d#week")and "kdj.j#week"<30;均线以上 and 连续收阳 and 涨幅不高 and 低位金叉;
公式源码示例:
{通达信通过}
A10:=MA(C,10);
均线以上:=C>REF(A10,1);
连续收阳:=UPNDAY(C>O,3);
涨幅不高:=C/REF(C,2)<1.1;
低位金叉:=CROSS("KDJ.J#WEEK","KDJ.D#WEEK")AND "KDJ.J#WEEK"<30;
均线以上 AND 连续收阳 AND 涨幅不高 AND 低位金叉;