VAR1:=HHV(FORCAST(C,10),18);
VAR2:=HHV(FORCAST(C,10),8);
VAR3:FORCAST(C,10),COLOR00FF00;
{ _最新股票指标公式}
买入:IF(VAR3>REF(VAR3,1) AND COUNT(VAR3>REF(VAR3,1),2)=1,L,DRAWNULL),COLORFF00FF,CIRCLEDOT,LINETHICK4;
加仓:IF(VAR2=VAR3,VAR3,DRAWNULL),COLORYELLOW,LINETHICK2;
持股:IF(VAR1=VAR2 AND VAR2=VAR3,VAR3,DRAWNULL),COLORRED,LINETHICK3;