通达信手动画平行趋势线主图源码[好查股公式]
2022/4/29 12:41:13
通达信手动画平行趋势线主图源码
AB:DRAWLINE(CURRBARSCOUNT=AN,L,CURRBARSCOUNT=BN,L,1);
HH:=CONST(DRAWLINE(CURRBARSCOUNT=CN,H,REF(CURRBARSCOUNT=CN,1),REF(H,1),1));
HL:=CONST(DRAWLINE(CURRBARSCOUNT=CN,AB,REF(CURRBARSCOUNT=CN,1),REF(AB,1),1));
平行线:(HH-HL)+AB;
DRAWTEXT(CURRBARSCOUNT=AN,L,'A');
DRAWTEXT(CURRBARSCOUNT=BN,L,'B');
DRAWTEXT(CURRBARSCOUNT=CN,H,'C');
好查股公式指标