input:M1(39,1,100),M2(23,0,100);
VAR1:=DMA(EMA(CLOSE,12),((SUM(vol,5) / 3) / CAPITAL));
VAR2:=(((VAR1 - CLOSE) / VAR1) * 100);
花开:IF(REF(VAR2,1) > M1 AND VAR2 < (REF(VAR2,1) - M2 / 10),100,0);
input:M1(39,1,100),M2(23,0,100);
VAR1:=DMA(EMA(CLOSE,12),((SUM(vol,5) / 3) / CAPITAL));
VAR2:=(((VAR1 - CLOSE) / VAR1) * 100);
花开:IF(REF(VAR2,1) > M1 AND VAR2 < (REF(VAR2,1) - M2 / 10),100,0);