VAR01:=1080705;
VAR02:=1080805;
VAR03:=IF(DATE<VAR01,IF(CLOSE<10000,1,0),0);
VAR04:=IF(DATE>VAR02,1,VAR03);
快线1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))*VAR04,COLORRED;
快线2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10))*VAR04,COLORGREEN;
中线:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20))*VAR04,COLORFF8000;
慢线:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))*VAR04,COLOR00FFFF;