VAR1:=EMA(CLOSE,5);
VAR2:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),55);
VAR3:=IF(((DATATYPE > 5) AND (DATATYPE < 9)),MA(VAR2,1),IF((DATATYPE = 5),MA(VAR2,4),IF((DATATYPE = 4),MA(VAR2,8),IF((DATATYPE = 3),MA(VAR2,16),IF((DATATYPE = 2),MA(VAR2,32),0)))));
VAR4:=(VAR3 * 0.985);
VAR5:=(((((CLOSE * 2) + LOW) + HIGH) + OPEN) / 5);
VAR6:=(((CLOSE > OPEN) OR (VAR5 > REF(CLOSE,1))) AND (vol > REF(VOL,1)));
VAR7:=(COUNT(VAR6,3) = 3);
{-股票公式网站 }
VAR8:=(LLV(LOW,6) = LLV(LOW,120));
VAR9:=(CLOSE > MA(CLOSE,3));
军令如山:IF((VAR1 > VAR3),VAR1,VAR4),LINETHICK1,colorFFCC00;
练兵千日:IF((VAR1 > VAR3),VAR3,VAR4),LINETHICK2,colorFF;
发兵虎符:STICKLINE((ref(军令如山=练兵千日,1))and(军令如山>练兵千日),o,c,7,0),LINETHICK2,colorFFFF;