/*
{中轴设置}
昨收:=DYNAINFO(3);
HH:=DYNAINFO(5);
LL:=DYNAINFO(6);
FK:=MAX(HH-昨收,昨收-LL)*;
ZS:=
昨收-FK*;
Q1:=昨收-FK*;
Q2:=昨收-1*FK*;
Q3:=昨收-5*FK*;
TJ:=FILTER(C,239)>0,NODRAW;
TJJ:=SUM(TJ,0),NODRAW;
TJA:=CONST(TJJ),NODRAW;
流通盘:CAPITAL*100/100000000,NODRAW;
资金流入:=SUM(IF(C>REF(C,1),CCL,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(C<REF(C,1),CCL,0),FROMOPEN),STICK,COLOR00FF00;
资金流量:资金流入+资金流出,NODRAW;
资金比:资金流量/SUM(CCL,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));
攻击量:=((CCL*+REF(CCL,1)*)+(REF(CCL,2)*))*SUM(C,FROMOPEN)/FROMOPEN;
攻击量A:=SUM(IF(C>REF(C,1),攻击量*CCL,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻击量B:=-SUM(IF(C<REF(C,1),攻击量*CCL,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
攻击比:攻击流量/SUM(攻击量*CCL,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));
开始攻击:=CROSS(攻击流量,0) AND C>REF(C,2);
开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;
Q:=250;
高点:=HHV(资金流量,Q);
低点:=LLV(资金流量,Q);
最高:=CONST(高点),NODRAW;
最低:=CONST(低点),NODRAW;
轴差:=最高-最低;
HL1:=(最高+最低)/2;
HL2:=最高-最低;
HL3:=(100-0)/2*;
HL4:=(100-0)/1*;
中间价轴:=(50-HL3)*HL2/HL4+HL1;
{量价涨跌比}
涨量:=IF(C>REF(C,1),VOL,0),LINETHICK0;
涨量比:=SUM(涨量,0)/SUM(V,0)*100,COLOR0000FF,LINETHICK1;
跌量:=IF(C<REF(C,1),VOL,0),LINETHICK0;
跌量比:=SUM(跌量,0)/SUM(V,0)*100,COLOR00FF00,LINETHICK1;
平量:=IF(C=REF(C,1),V
文华期货软件指标公式文华财经指标源码精准开多开空 来自淘豆网m.daumloan.com转载请标明出处.