通达信趋势划线买点指标
源码
{趋势划线买点}
DRAWLINE(C=HHV(C,60),HHV(H,3),C=HHV(C,30) AND C HHV(C,45),HHV(HIGH,3),1),COLORYELLOW;
DRAWLINE(HIGH =HHV(HIGH,30),HIGH,LOW =LLV(LOW,10),HHV(HIGH,6),1),COLORFFCCCC;
AB:DRAWLINE(HIGH =HHV(HIGH,10),HIGH,LOW =LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;
DRAWLINE(LOW =LLV(LOW,120),LOW,HHV(H,6) =HHV(H,10),LLV(LOW,6),1),COLORBLUE;
VA11:=HIGH =HHV(HIGH,60);
V1:=(REF(VA11,1) 0 AND VA11
VA12:=LOW =LLV(LOW,60);
V2:=REF(VA12,1) 0 AND VA12
DRAWLINE(V2,LOW,V1,LLV(LOW,6),1),COLOR0099FF;
DRAWTEXT(CROSS(C,AB),L*0.98,'B'),COLORGRAY;