{四线抓大牛副图指标}
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;
{四线抓大牛选股公式}
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
BB:=IF(MA(CLOSE,17) FS,FS,MA(CLOSE,17));
XG1:=MA(BB,2);
年线:=EMA(C,250);
A:=BB-(EMA(C,3)-BB);
DIFF:=EMA((年线-(EMA(C,3)-年线)),5);
XG2:=MA(DIFF,2);
追涨跌破止损:=EMA(COST(81),10);
牛熊线:=EMA(COST(27),120);
XG:IF(CROSS(BB,DIFF) AND C 追涨跌破止损 AND O 追涨跌破止损 AND 追涨跌破止损 BB*1.03 AND XG1 BB AND XG2 DIFF,10,8);
CROSS(XG,8);