主力启动 参数:N 1.100. V10AR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1; VAR2:8,COLORGREEN,LINETHICK0; 主力启动: IF(CROSS(VAR1,VAR2),80,0),STICK,LINETHICK2; DRAWTEXT(CROSS(VAR1,VAR2),80,'主力启动'); 结果:当前公式 : 主力启动 (指标画线公式) 错误句 : N 1.100. V10AR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1 详细信息 : 在变量 V10AR1 前又错误的定义一次变量! 错误起始位置 : 10 ; 长度: 6
爱约股解答:
N :=21;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:8,COLORGREEN,LINETHICK0;
主力启动: IF(CROSS(VAR1,VAR2),80,0),STICK,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'主力启动');