问:通达信的UPNDAY,大智慧不认识,用什么表达?
下面的两个语句,用大智慧怎么表达?谢谢
DRAWICON(CROSS(AK,AD) AND UPNDAY((O+C)/2,1),AD-10,1);
DRAWICON(CROSS(AD,AK) AND AK<BK AND DOWNNDAY(MA(C,18),1),AD+15,12);
答案:
DRAWICON(CROSS(AK,AD) AND (O+C)/2>REF((O+C)/2,1),AD-10,7);
DRAWICON(CROSS(AD,AK) AND AK<BK AND MA(C,18)<REF(MA(C,18),1),AD+15,8);
或
DRAWICON(CROSS(AK,AD) AND ALL((O+C)/2>REF((O+C)/2,1),1),AD-10,7);
DRAWICON(CROSS(AD,AK) AND AK<BK AND ALL(MA(C,18)<REF(MA(C,18),1),1),AD+15,8);