通達信股票公式之手動(dòng)畫(huà)平行趨勢線(xiàn)
手動(dòng)畫(huà)平行趨勢線(xiàn)
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));
平行線(xiàn):(HH-HL)+AB;
DRAWTEXT(CURRBARSCOUNT=AN,L,‘A’);
DRAWTEXT(CURRBARSCOUNT=BN,L,‘B’);
DRAWTEXT(CURRBARSCOUNT=CN,H,‘C’);
(南方財富網(wǎng)SOUTHMONEY.COM)