股价运行线 源码
2013-01-16 11:47:00来源:本站整理浏览:215
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;