1、TMP2求的是CLOSE在M個周期內的標準差
2、
MID:MA(CLOSE,N);TMP2:=STD(CLOSE,M);TOP:MID+P*TMP2;BOTTOM:MID-P*TMP2;百分比:=(C-BOTTOM)/(TOP-BOTTOM);