【通達(dá)信】個(gè)股強(qiáng)弱(個(gè)股漲幅、大盤漲幅)-指標(biāo)公式源碼
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,2,0),COLORRED;
STICKLINE(INDEXC>=INDEXO,INDEXH,INDEXL,0.00000001,0),COLORRED;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,2,0),COLORLIBLUE;
STICKLINE(INDEXC<INDEXO,INDEXH,INDEXL,0.00000001,0),COLORLIBLUE;
M5:MA(INDEXC,5);
M10:MA(INDEXC,10);
M20:MA(INDEXC,20);
M60:MA(INDEXC,60);
個(gè)股漲幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
大盤漲幅:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
DRAWTEXT(個(gè)股漲幅>大盤漲幅,INDEXH+50,'強(qiáng)'),COLORRED;
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點(diǎn)擊舉報(bào)。