起始年:=2014;起始月:=11;起始日:=20;截止年:=2014;截止月:=12;截止日:=22;A:=DATETODAY(DATE);A1:=(起始年-1900)*10000+起始月*100+起始日;A2:=REF(A,TOTALBARSCOUNT-1)+1;起始日期:=IF(DATETODAY(A1)
A2,B1,B2);T1:=BARSSINCE(DATE>=起始日期);T2:=BARSSINCE(DATE>=截止日期);ZF1:=100*(C/REF(C,T1+1)-1);同期:IF(DATE>=起始日期 AND DATE<=截止日期,ZF1,REF(ZF1,T2)),COLORFC0096,LINETHICK2;{把以下内容用英文大括号括起来,去研究吧!}0,COLORBLACK;无效:IF(DATE<起始日期,0,DRAWNULL),POINTDOT,COLORBLUE,LINETHICK4;有效:IF(DATE>=