请老师把最后一句与现价对比,大于现价为绿色,小于现价为红色,谢谢老师!
SS:= REF(SETTLE,DAYBARPOS);
多条件:((CROSS(C,MAX(SETTLE,SS))||DAYBARPOS=1&&C>MAX(SETTLE,SS))&&PERIOD<=4)&&ISUP,WORD(1,'多'),COLORYELLOW;
空条件:((CROSSDOWN(C,MIN(SETTLE,SS))||DAYBARPOS=1&&C<MIN(SETTLE,SS))&&PERIOD<=4)&&ISDOWN,WORD(0,'空'),VALIGN0,COLORYELLOW;
(CROSSDOWN(C,MIN(SETTLE,SS))&&ISDOWN||DAYBARPOS=1&&C<MIN(SETTLE,SS)&&ISDOWN||CROSS(C,MAX(SETTLE,SS))&&ISUP||ISUP&&DAYBARPOS=1&&C>MAX(SETTLE,SS))&&PERIOD<=4,SOUND('A');
DRAWCOLORLINE(C<=MIN(SS,SETTLE), C,COLORGREEN,COLORRED),LINETHICK1;
DRAWLINE3(C>MIN(SS,SETTLE)&&C<MAX(SS,SETTLE),C,0,1,REF(C,1),1,0),COLORWHITE,LINETHICK1;
SETTLE,NODRAW;
DRAWLINE3(DAYBARPOS>1,REF(SETTLE,1),1,1,SETTLE,0,0),COLORYELLOW,LINETHICK1;//日均价线
DRAWHORIZONTALLINE(1,SS,COLORYELLOW),LINETHICK2;
(来源:文华财经)