通达信量化多空转换源码副图


DY11:=(2*CLOSE+HIGH+LOW)/4;
DY33:=HHV(HIGH,34);
B11:=EMA(0.667*REF(A11,1)+0.333*A11,2);
空头:EMA(多头,5),COLORGREEN;
STICKLINE(空头>=A11,B11,多头,0,0),COLORGREEN;
STICKLINE(空头<=A11,B11,多头,0,0),COLORRED;