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 日金叉;
看股吧 公式 www.kanguba.c om
[源码翻译]通达信公式动态翻译显示
RAV0赋值:"KDJ的K"
RAV00赋值:"KDJ的K[取日线数据]"
RAV1赋值:"KDJ的D"
RAV11赋值:"KDJ的D[取日线数据]"
输出时金叉:RAV0上穿RAV1 AND RAV00>1日前的RAV00 AND RAV00<RAV11
输出日金叉:RAV00上穿RAV11 AND RAV0>1日前的RAV0 AND RAV0<RAV1