通达信,方向线,副图源码,指标公式
N:=5;
L1:=ref(L,1);H1:=ref(H,1);
CH:=(c+3*H1)/4;CL:=(c+3*l1)/4;
HN:=HHV(CH,n);
方向线:(MA(LLV(cl,n),N)/HN)*100;
STICKLINE(C>0,90,90,10,0),COLORRED;
STICKLINE(C>0,97,97,3,0),COLORBLUE;
STICKLINE(C>0,80,80,3,0),COLORMAGENTA;
STICKLINE(C>0,70,70,10,0),COLORYELLOW;
