通達(dá)信股票公式之手動(dòng)畫平行趨勢(shì)線
手動(dòng)畫平行趨勢(shì)線
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’);
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)