通达信多头空头指标副图
A:=EMA(CLOSE,13);
多头力道:H-A,NODRAW;
STICKLINE(多头力道>0,0,多头力道,0.1,0),COLORRED;
STICKLINE(多头力道<0,多头力道,0,0.1,0),COLORGREEN;
空头力道:L-A,NODRAW;
H1:=MAX(HHV(空头力道,0),HHV(多头力道,0));
STICKLINE(空头力道>0,-2*H1,-2*H1+空头力道,0.1,0),COLORRED;
STICKLINE(空头力道<0,-2*H1+空头力道,-2*H1,0.1,0),COLORGREEN;