【通達(dá)信】重心趨勢(shì)線主圖指標(biāo)公式
攻城獅 2016.02.07 04:55
A:=AMOUNT/V/100;VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
操盤線:=EMA(((VARA/10)+EMA(A,10)),3);行情線:=EMA(A,3);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
趨勢(shì)線:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
紅升:IF(重心>=趨勢(shì)線,趨勢(shì)線,DRAWNULL),COLORRED,LINETHICK2;
藍(lán)降:IF(重心<趨勢(shì)線,趨勢(shì)線,DRAWNULL),COLORBLUE,LINETHICK2;
STICKLINE(行情線<操盤線,H,L,0,1),COLORGREEN;
STICKLINE(行情線<操盤線,C,O,2,1),COLORGREEN;
STICKLINE(行情線>=操盤線,H,L,0,1),COLORRED;
STICKLINE(行情線>=操盤線,C,O,2,1),COLORRED;
壓力:MA(REF(HHV(C,30),1),2),COLORWHITE;
支撐:MA(REF(LLV(C,30),1),2),COLORGRAY;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
{www.chiang1015.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,0),L*0.98,’★B’),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*1.02,’☆S’),COLORMAGENTA;
漲停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
STICKLINE(漲停,O,C,2,0),COLORRED;
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
STICKLINE(跌停,O,C,2,1),COLORGREEN;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。