1.{1 macd 水下二次金叉fnc选股公式.}diff:="macd.diff";dea:="macd.dea";二次金叉:cross(sum(cross(diff,dea),barslast(dea>0 )),1.5) and dea<0;2.{4 macd 5日内由死叉到金叉fnc选股公式. }macd:="macd.macd";死叉到金叉:ref(barslast(macd>0 )<5 and macd<0,1) and macd>0; 20210311
公式建立方法:工具--公式管理--自编--条件选股指标--其他类型--新建你要的选股公式:a1:="macd.macd";a2:=ma(c,30);a3:=ma(c,60);t1:=ref(a1,1)<0 and a1>0;t2:=a2>ref(a2,1) and a3>ref(a3,1);xg:t1 and t2;
k:="kdj.k";d:="kdj.d";j:="kdj.j";kdj金叉:cross(j,0);{也许应该是kdj金叉:cross(k,d) and d<20;看你是如何要求的}macd金叉:=cross("macd.macd",0);sum(kdj金叉 and macd金叉,3)>0;最后一句也可能应...
日量:v,colorffffff,linethick0,prec**0;{预测量e799bee5baa6e59b9ee7ad9431333262356164:if(datatype=8 and barstatus=2,"量引用.预测量#min1",v),colorcccccc,linethick0,prec**0;} 预测量:=v;净成交:=sum(if(h>l,(c-o)/(h-l)*预测...