M1:3;
MA2=DEVSQ(CLOSE,M1)/M1; //方差
MA3:=POW(MA2,0.5); //标准差
//UPPER1: CLOSE+2*MA3,colorred;//2倍标准差的止盈点
LOWER1: CLOSE-1.5*MA3,colorgreen;//2倍标准差的止损点
//UPPER2: CLOSE+1*MA3,coloryellow;
//LOWER2: CLOSE-1*MA3,colorblue;
M1:3;
MA2=DEVSQ(CLOSE,M1)/M1; //方差
MA3:=POW(MA2,0.5); //标准差
//UPPER1: CLOSE+2*MA3,colorred;//2倍标准差的止盈点
LOWER1: CLOSE-1.5*MA3,colorgreen;//2倍标准差的止损点
//UPPER2: CLOSE+1*MA3,coloryellow;
//LOWER2: CLOSE-1*MA3,colorblue;
copyright 2016-2024 零点财经保留所有权 免责声明:网站部分内容转载至网络,如有侵权请告知删除 友链,商务链接,投稿,广告请联系qq:253161086
零点财经保留所有权
免责声明:网站部分内容转载至网络,如有侵权请告知删除