【大智慧】無敵量能指標(biāo)公式
攻城獅 2015.12.24 05:27
input:n1(8),n2(3),n3(24);
VAR1:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
成交:=VOL;
買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE賣盤:=IF(CLOSE>OPEN,-VAR1*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE 買賣差:=買盤+賣盤;
A:=買賣差/2;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
量能趨勢(shì):EMA(X,N1),LINETHICK2,color66FFFF;
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
PARTLINE(MA(量能趨勢(shì),N2)>量能趨勢(shì),量能趨勢(shì)),LINETHICK2;
PARTLINE(MA(量能趨勢(shì),N2)<量能趨勢(shì),量能趨勢(shì)),LINETHICK2;
量能漲速:SLOPE(X,N3)/X;
J:=”KDJ.J”;
K:=”KDJ.K”;
DIFF:=”MACD.DIFF”;
DEA:=”MACD.DEA”;
KDJ金叉:=J<45 AND CROSS(J,K);
MACD金叉:=CROSS(DIFF,DEA);
低位:=J<16 AND DEA<-0.45;
金叉:=MACD金叉>0 OR KDJ金叉>0;
買入:(低位>0 OR 金叉>0) AND 量能趨勢(shì)>REF(量能趨勢(shì),4);
DRAWICON(FILTER(買入,24),量能趨勢(shì),1);
申明:本文為作者投稿或轉(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ú)立思考之上。