參數(shù)設(shè)置:
n 1900 2500 2010
y 1 12 11
r 1 31 11
------------------------------------------
指定日期:=YEAR=N AND MONTH=Y AND DAY=R,NODRAW;
當(dāng)日收盤(pán):REF(CLOSE,BARSLAST(指定日期)),NODRAW;
當(dāng)日大盤(pán):REF(INDEXC,BARSLAST(指定日期)),NODRAW;
BL:=當(dāng)日收盤(pán)/當(dāng)日大盤(pán);
相應(yīng)價(jià):INDEXC*BL,COLORRED,NODRAW;
強(qiáng)弱度:(CLOSE-相應(yīng)價(jià))/相應(yīng)價(jià)*100,NODRAW;
STICKLINE(INDEXC>INDEXO,INDEXH*BL,INDEXL*BL,0,1),COLORLIMAGENTA;
STICKLINE(INDEXC>INDEXO,INDEXC*BL,INDEXO*BL,3,1),COLORLIMAGENTA;
STICKLINE(INDEXC<INDEXO,INDEXH*BL,INDEXL*BL,0,1),COLORLIGREEN;
STICKLINE(INDEXC<=INDEXO,INDEXC*BL,INDEXO*BL,3,1),COLORLIGREEN;
更多通達(dá)信股票公式相關(guān)知識(shí)請(qǐng)關(guān)注南方財(cái)富網(wǎng)