參數設置:
n 1900 2500 2010
y 1 12 11
r 1 31 11
------------------------------------------
指定日期:=YEAR=N AND MONTH=Y AND DAY=R,NODRAW;
當日收盤(pán):REF(CLOSE,BARSLAST(指定日期)),NODRAW;
當日大盤(pán):REF(INDEXC,BARSLAST(指定日期)),NODRAW;
BL:=當日收盤(pán)/當日大盤(pán);
相應價(jià):INDEXC*BL,COLORRED,NODRAW;
強弱度:(CLOSE-相應價(jià))/相應價(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;
更多通達信股票公式相關(guān)知識請關(guān)注南方財富網(wǎng)