大智慧语法错误,请大师改正
限时日:=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:语法错误:","
写错了,应该是Line3 沉了吗?自己刷一下 M和N没有参数
你试试在公式前面加上
M:=15;
N:=1; 小白龙 发表于 2020-6-13 20:35
M和N没有参数
你试试在公式前面加上
M:=15;
参数有的,设置好的 催眠者 发表于 2020-6-17 22:15
参数有的,设置好的
通达信可以通过,把日期删了 本来就是通达信的 M:=15;
N:=1;
限时日:=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;
试试吧,这肯定能用
页:
[1]