涨趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
跌趋势线:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
STICKLINE(涨趋势线>=跌趋势线,涨趋势线,跌趋势线,1,0),COLOR0000FF;
STICKLINE(涨趋势线< 跌趋势线,涨趋势线,跌趋势线,1,0),COLORFF0080;
STICKLINE(涨趋势线>=跌趋势线,0,跌趋势线,6,0);
STICKLINE(涨趋势线< 跌趋势线,0,涨趋势线,6,0),COLOR00FFFF;
牛股现身:IF(crOSS(涨趋势线,9),50,0),STICK,LINETHICK4,COLORYELLOW;
DRAWTEXT(CROSS(涨趋势线,9),40,' ←底现金牛'),COLORYELLOW;