网友求助:

要求条件:当一支股票周KDJ技术指标形成金叉,此时五周均量一定要小于十周均量,而后日KDJ技术指标在五日均量小于十日均量时,也形成金叉。

解答如下:

周:="vol.ma1#week"<"vol.ma2#week" and any(cross("kdj.k#week","kdj.d#week"),5);
日:=ma(v,5)<ma(v,10) and cross("kdj.k","kdj.d");
周 and 日;