input:n1(8),n2(3),n3(24);
VAR1:=vol/((HIGH-LOW)*2-(Abs(CLOSE-OPEN)));
成交:=VOL;
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+CLOSE-LOW),VOL/2));
卖盘:=IF(CLOSE>OPEN,-VAR1*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-VAR1*(HIGH-LOW),-VOL/2));
买卖差:=买盘+卖盘;
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;
量能趋势:EMA(X,N1),LINETHICK2,color66FFFF;
{公式指标 www.gszb.top}
PARTLINE(MA(量能趋势,N2)>量能趋势,量能趋势),LINETHICK2;
PARTLINE(MA(量能趋势,N2)<量能趋势,量能趋势),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 量能趋势>REF(量能趋势,4);
DRAWICON(FILTER(买入,24),量能趋势,1);
大智慧无敌量能指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/43536.html