同花顺短线ENE公式
源码
★狂:STRLEFT('奔★',10),colormagenta;
收:=MA(CLOSE,1);
UPPER :(1+N2/100)*MA(CLOSE,N1),colorligray;
LOWER :(1-N3/100)*MA(CLOSE,N1),colorcyan;
ENE:(UPPER+LOWER)/2,colorligreen;
超买:=(1+N4/100)* MA(CLOSE,N1),colorwhite;
超卖:=(1-N5/100)*MA(CLOSE,N1),coloryellow;
资金流入:IF(CLOSE>UPPER AND CLOSE>UPPER,UPPER,DRAWNULL),colorlimagenta,LINETHICK2;
资金流出:IF(CLOSE<LOWER AND CLOSE<UPPER,LOWER,DRAWNULL),colorgreen,LINETHICK2;
A:=CROSS(LOWER,L);
B:=CROSS(L,LOWER);
买:IF(B,L,DRAWNULL),colorred;
DRAWICON(买,L*0.986,'buy');
买准备:IF(A,收,DRAWNULL),coloryellow;
DRAWICON(买准备,L*0.986,'buy1');