方法,当红线上穿柱图同时柱形底抬高并变红为多,反之则为空,B.买,s.卖。本指标简单易懂。
方向线:SUM((C-REF(C,5)),0),colorred,linethick1;
T:=MA(方向线,5);
STICKLINE(T>REF(T,1) ,T ,REF(T,1),8 ,0 ),colorred,linethick1;
STICKLINE(T<=REF(T,1) ,T,REF(T,1) ,8 ,0 ),colorgreen,linethick1;
DRAWTEXT(CROSS(方向线,T),方向线-0.1,'B'),colorwhite;
DRAWTEXT(CROSS(T,方向线),方向线+0.1,'S'),colorliblue;