input:n(10,1,100,1),m(10,1,100,2); aa:=hhv(h,n)+llv(l,n); bb:=ema(ema(c-aa/2,n),n); cc:=ema(ema(hhv(h,n)-llv(l,n),n),n); smi:200*bb/cc; ma(smi,m);