{涨跌先知}
动力: EMA(CLOSE,7)-EMA(CLOSE,21), COLORGRAY;
宝: EMA(动力,7), COLORSTICK,COLORRED;
VAR1:=CLOSE/REF(LLV(LOW,35),5)< 1;
战: IF(VAR1,0.5,0), STICK,COLORBLUE;
涨: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1),COLORYELLOW ,LINETHICK1 ;
跌: IF(PEAKBARS(3,15,1)=1,1,2),COLORWHITE,LINETHICK1;
战线: (EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,COLORRED;
顶: EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR007000 ,LINETHICK1 ;
AA:0,COLORBROWN;
DRAWICON(CROSS(战线,AA),AA,1);
DRAWICON(CROSS(顶,战线),顶,2);