input:N(30,0,1000),M(360,0,1000),M2(360,0,1000),M4(240,0,1000);VAR1:=(MA(HIGH,N) - LOW) / MA(HIGH,N)* 100;VAR2:=((HIGH,N,1) - LOW) / SMA(HIGH,N,1) * 100;VAR3:=(DMA(HIGH,MA(,N) / CAPITAL) - LOW) / DMA(HIGH,MA(,N) / CAPITAL) * 100;VAR4:=(COST(N) - LOW) / COST(N) * 100;VAR5:=100* (HHV(HIGH,20) - LOW) / HHV(HIGH,20);VAR6:=IF(VAR1 > 0,VAR1,0) * IF(VAR2 > 0,VAR2,0) * IF(VAR3 > 0,VAR3,0) * IF(VAR4 > 0,VAR4,0) * IF(VAR5 > 0,VAR5,0);VAR7:=100 * (VAR6 - LLV(VAR6,M)) / (HHV(VAR6,M) - LLV(VAR6,M));VAR8:=SMA