N:=26; P:=2; MID : MA(CLOSE,N); UPPER: MID + P*STD(CLOSE,N); LOWER: MID - P*STD(CLOSE,N); MA5:MA(CLOSE,5); MA250:MA(CLOSE,250); 晴天线S:MID+(UPPER-MID)*0.382; 晴天线X:MID-(MID-LOWER)*0.382; MID:MA(C,20),colorred; 上升:IF(MID>REF(MID,1),MID,DRAWNULL),colorred,LINETHICK3; 下降:IF(MID<=REF(MID,1),MID,DRAWNULL),colorgreen,LINETHICK3;
看股吧 公式 www.kanguba. com