N:=5; 一倍量:IF(V>MA(V,N)*1,1,0); 二倍量:IF(V>MA(V,N)*2,2,0); 三倍量:IF(V>MA(V,N)*3,3,0); 四倍量:IF(V>MA(V,N)*4,4,0); 五倍量:IF(V>MA(V,N)*5,5,0); 六倍量:IF(V>MA(V,N)*6,6,0);