限时日:=1200801;
TT:=IF(DATE<限时日,1,0);
CAN:=MA(C,M)*TT,COLORWHITE,LINETHICK4,POINTDOT;{主线}
IF(CAN>REF(CAN,1),CAN,0),COLORRED,LINETHICK4,POINTDOT;
IF(CAN<REF(CAN,1),CAN,0),COLORGREEN,LINETHICK4,POINTDOT;
WB:(CAN+N*STD(C,M))*TT,COLORGREEN;
LB:(CAN-N*STD(C,M))*TT,COLORGREEN;
LVB:=BARSLAST(LLV(WB-LB,M)=WB-LB);
IF(LLV(WB-LB,M)=WB-LB,LB,0),COLORBLUE,LINETHICK2;
IF(LLV(WB-LB,M)=WB-LB,WB,0),COLORRED,LINETHICK2;
错误:LINE6:C1001:语法错误:","
|