趋线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
CC:=((REF(趋线,1)-30) AND 趋线>=REF(趋线,1)) OR (REF(crOSS(-25,趋线),1) AND CROSS(趋线,-25));
机会:=IF(CC,1,0);
kdD:=IF(CROSS(-20,趋线),1,0);
XG:REF(机会,1) AND REF(KDD,5);
趋线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
CC:=((REF(趋线,1)-30) AND 趋线>=REF(趋线,1)) OR (REF(crOSS(-25,趋线),1) AND CROSS(趋线,-25));
机会:=IF(CC,1,0);
kdD:=IF(CROSS(-20,趋线),1,0);
XG:REF(机会,1) AND REF(KDD,5);