【通達(dá)信】底部建倉(cāng)風(fēng)險(xiǎn)賣出強(qiáng)弱分明指標(biāo)公式
攻城獅 2016.04.02 19:03
N1:=3;N2:=7;N3:=21;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
{m.chiang1015.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
底部區(qū)域:20,COLORGREEN,LINETHICK2;
分界線:50,COLORWHITE,LINETHICK2;
風(fēng)險(xiǎn)區(qū)域:80,COLORYELLOW,LINETHICK2;
ZB1:=RSI1<底部區(qū)域;
建倉(cāng):IF(CROSS(RSI1,底部區(qū)域) ,80,0),COLORRED,LINETHICK3;
DRAWICON(CROSS(RSI1,底部區(qū)域) ,30,11);
ZB2:=(ZB1=0 AND RSI1<=風(fēng)險(xiǎn)區(qū)域);
賣出:IF(ZB2=1 AND REF(ZB2,1)=0 AND 建倉(cāng)=0,50,100),COLORMAGENTA,LINETHICK3;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。