编写要求:
60分钟KD金叉,日KD即将金叉的选股公式
公式指标网解答:
RAV0:="KDJ.K";
RAV00:="KDJ.K#DAY";
RAV1:="KDJ.D";
RAV11:="KDJ.D#DAY";
时金叉:CROSS(RAV0,RAV1) AND RAV00>REF(RAV00,1) AND RAV00<RAV11;
日金叉:CROSS(RAV00,RAV11) AND RAV0>REF(RAV0,1) AND RAV0<RAV1;
XG:时金叉 OR 日金叉;