!!导致大智慧公式总是死循环的编码风格
{SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);}
VA1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VA1:=IF( HOUR=9 and MINUTE<36, 0, VA1);
VA1:=IF( HOUR=14 and MINUTE>50, 0, VA1);
终于找到错误——不得自我赋值.改为
VA1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VA2:=IF( HOUR=9 and MINUTE<36, 0, VA1);
VA3:=IF( HOUR=14 and MINUTE>50, 0, VA2);
VA:VA3, LINETHICK0;