抓涨停: M3:=MA(CLOSE,3); UPPER:=(1+9/100)*MA(CLOSE,9)*0.96; 主升浪:(m3-UPPER)/upper*100; a2:=REF(主升浪,1); a3:=REF(主升浪,2); S:=(EMA(C,5)-REF(EMA(C,5),1))/REF(EMA(C,5),1)*100; 爆发线:MA(s,3)*2-3,colorred; 强势:=-1,colorgreen; 差值:主升浪-爆发线; 爆发:0 短线买卖趋势: 用法:短期均线上穿长期的买入,长期均线下穿短期的卖出。 MA2:EMA(CLOSE,P2); 短趋势线:EMA(CLOSE,7),colorred,LINETHICK2; 涨:IF(短趋势线>REF(短趋势线,5),短趋势线,DRAWNULL),colorred,LINETHICK2; 平:=IF(短趋势线=REF(短趋势线,5),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2; 跌:IF(短趋势线<REF(短趋势线,5),短趋势线,DRAWNULL),COLOR80FF00,LINETHICK2; 买线:=ZIG(3,10); 卖线:=MA(买线,3); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(BU,L*0.99,'买'),LINETHICK1,COLOR00AAFF; DRAWTEXT(SEL,H*1.01,'卖'),LINETHICK1,COLOR00FF00; STICKLINE(C>=BBI,O,C,9.7,7),COLOR0000EE; STICKLINE(C>=BBI AND C>=O,C,H,0,1),COLOR0000EE; STICKLINE(C>=BBI AND C>=O,O,L,0,1),COLOR0000EE; STICKLINE(C>=BBI AND C<O,O,H,0,1),COLOR0000EE; STICKLINE(C>=BBI AND C<O,C,L,0,1),COLOR0000EE; STICKLINE(C<BBI,O,C,9.7,0),colorcyan; STICKLINE(C<BBI AND C>=O,C,H,0,1),colorcyan; STICKLINE(C<BBI AND C>=O,O,L,0,1),colorcyan; STICKLINE(C<BBI AND C<O,O,H,0,1),colorcyan; STICKLINE(C<BBI AND C<O,C,L,0,1),colorcyan; 中枢底线(顶尖财经 股票学院: www.58188.com): MA势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,COLORFFB5FF,LINETHICK2; 势:=EMA(MA势,5),colorred; PARTLINE(势,势<=25,colorwhite,势<=45,colorgreen,势>45,colorred),LINETHICK2; 顶:70,COLORFFFF00; 中枢:45,COLOR4080FF; 底线:25,COLOR004080,LINETHICK2; |