空方趋势:(EMA(MA(多方趋势,5),7)),30,0,COLORF0F000;
STICKLINE((多方趋势>78) AND (多方趋势>=空方趋势),78,多方趋势,5/3,1),COLOR00FF00;
STICKLINE((空方趋势<=多方趋势),空方趋势,多方趋势,3/3,0),COLOR0000FF;
STICKLINE((空方趋势>多方趋势),多方趋势,空方趋势,3/3,0),COLORF0F000;
STICKLINE((空方趋势<14) AND (空方趋势>多方趋势),多方趋势,20,3/3,0),COLOR00FFFF;
TJ:=FILTER((空方趋势<14) AND (空方趋势>多方趋势),6);
DRAWTEXT(TJ,40,'吸'),COLORFFFFFF;
探测金矿:(空方趋势<12) AND (空方趋势<=多方趋势),COLOR00FFFF;
选金股:IF(CROSS(多方趋势,空方趋势) AND (空方趋势<22),30,0),COLORRED;
DRAWTEXT(CROSS(多方趋势,空方趋势) AND (空方趋势<22),30,'金'),COLOR00FFFF;
TJ1:=CROSS(探测金矿 OR 选金股,0.5);
TJ2:=CROSS(空方趋势,多方趋势);
TJ3:=COUNT(TJ2,BARSLAST(TJ1));
卖点:IF(TJ2 AND TJ3=1,70,100),COLORGREEN;
DRAWICON(TJ1,空方趋势*0.85,'BUY'),COLOR0000FF;
DRAWICON(TJ2 AND TJ3=1,空方趋势*1.15,'SELL'),COLOR0000FF,;