通达信一线擒牛指标源码
源码如下: FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORWHITE; FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORWHITE; BB:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORWHITE; 年线:=EMA(C,250); A:=BB-(EMA(C,3)-BB),COLORWHITE; DIFF:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2; IF(BB=FS,BB,BB), COLORWHITE,LINETHICK2; 追涨跌破止损: EMA(COST(81),10) COLORRED,LINETHICK2;
牛熊线: EMA(COST(27),120), CIRCLEDOT;