N:=12; 中轨:MA(CLOSE,N),COLORGREEN,LINETHICK1; IF(中轨>=REF(中轨,1),中轨,DRAWNULL),COLORRED,LINETHICK1; 上轨:中轨+STD(C,N),COLORLIRED,LINETHICK1; 下轨:中轨-STD(C,N),COLORLIRED,LINETHICK1; 上极限:(中轨+2*STD(C,N)),COLORYELLOW,LINETHICK1; 下极限:中轨-2*STD(C,N),COLORYELLOW,LINETHICK1; 震荡值:((上极限-下极限)/上极限)*100,NODRAW,COLORRED; DRAWICON(CROSS(C,下极限),LOW*0.99,7); DRAWICON(CROSS(上极限,C),HIGH*1.01,8);
看股 吧公式 www.kangub a.com