【大智慧】弱勢(shì)轉(zhuǎn)強(qiáng)指標(biāo)公式
攻城獅 2015.11.30 15:46
cyc0:=MAXCYC;
莊家實(shí)力:c/cyc0,precis2,LINETHICK0,COLORC68CFF;
DRAWTEXTREL(100,70,’☆莊家實(shí)力: ‘+NUMTOSTRN(莊家實(shí)力,2)+’ 級(jí)’),LINETHICK5,COLORC68CFF;N:=5;
趨勢(shì):=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
AA:=拉升力=LLV(拉升力,14);
拉升新低:=REF(AA,1)=1 AND AA=0;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
弱勢(shì)1:=if(cci<-100,cci/5+20,20);
弱勢(shì)1轉(zhuǎn)強(qiáng):=REF(弱勢(shì)1<20,1) AND 弱勢(shì)1=20;
弱勢(shì)2:=if(cci<-50 and cci >-101,cci/5+20,20);
弱勢(shì)2轉(zhuǎn)強(qiáng):=REF(弱勢(shì)2<20,1) AND 弱勢(shì)2=20;
轉(zhuǎn)強(qiáng)選:=弱勢(shì)1轉(zhuǎn)強(qiáng) OR 弱勢(shì)2轉(zhuǎn)強(qiáng);
前趨勢(shì):=REF(MA(趨勢(shì),5),1);
MTM:=C-REF(C,1);
{www.chiang1015.com 概念股網(wǎng)_大智慧股票指標(biāo)公式}
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
買:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
拉升:=FILTER(買=1,5);
GET:=ZIG(3,N);
暴起:= CROSS(C,趨勢(shì)) AND 趨勢(shì)>前趨勢(shì);
底部:=GET>REF(GET,1) AND REF(GET,2)>REF(GET,1);
冒險(xiǎn)買入1:=COUNT(底部,3) AND (暴起 OR 拉升 OR 買);
冒險(xiǎn)買入:=冒險(xiǎn)買入1=1 AND REF(冒險(xiǎn)買入1,1)=0;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C p1:=今小昨;
今小前:=IF(C p2:=今小前;
大陽翻轉(zhuǎn):=cross(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,open and CLOSE);
買進(jìn):大陽翻轉(zhuǎn) AND 冒險(xiǎn)買入 AND 拉升新低 AND 轉(zhuǎn)強(qiáng)選;
申明:本文為作者投稿或轉(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ú)立思考之上。