设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐缺口显示数字主图公式源码是什么?

2016-4-29 13:55:45 股票入门 http://rumen.southmoney.com

飞狐缺口显示数字主图公式源码是什么?附:飞狐寻庄问量公式源码  南方财富网小编为您提供


【飞狐缺口显示数字主图公式源码】

TJA:=CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">BQ:=IF((SYSPARAM(1) = (BARSSINCE((C > 0)) + 1)),1,0);
BQ1:=(H<REF(L,1));
BQ2:=(L>REF(H,1));
STICKLINE(BQ1,o+(c-o)*0.25,O,8,0),coloraa0000;
STICKLINE(BQ1,o+(c-o)*0.30,O,6,0),colorbb0000;
STICKLINE(BQ1,o+(c-o)*0.35,O,4,0),colorcc0000;
STICKLINE(BQ1,o+(c-o)*0.40,O,3,0),colordd0000;
STICKLINE(BQ1,o+(c-o)*0.45,O,2,0),coloree0000;
STICKLINE(BQ1,o+(c-o)*0.5,O,1,0),coloree0000;
STICKLINE(BQ2,O,o+(c-o)*0.25,8,0),colorFF0070;
STICKLINE(BQ2,O,o+(c-o)*0.3,6,0),colorFF0060;
STICKLINE(BQ2 ,O,o+(c-o)*0.35,4,0),colorFF0050;
STICKLINE(BQ2 ,O,o+(c-o)*0.4,3,0),colorFF0040;
STICKLINE(BQ2 ,O,o+(c-o)*0.45,2,0),colorFF0030;
STICKLINE(BQ2 ,O,o+(c-o)*0.5,1,0),colorFF0020;
STICKLINE(BQ2 ,O,o+(c-o)*0.6,0.5,0),colorFF0010;
QC:=REF(C,1);QO:=REF(O,1);QH:=REF(H,1);QL:=REF(L,1);
FUZ:=L+((H-L)/2);FUS:=O+((C-O)/2); FUSY:=C+((O-C)/2);SSFU:=(FUZ+IF(C>O,FUS,FUSY))/2;
FUZ1:=L+((H-L)*0.333);FUS1:=O+((C-O)*0.333);FUS1Y:=C+((O-C)*0.333);SSFU1:=(FUZ1+IF(C>O,FUS1,FUS1Y))/2;
FUZ2:=L+((H-L)*0.667);FUS2:=O+((C-O)*0.677);FUS2Y:=C+((O-C)*0.667);SSFU2:=(FUZ2+IF(C>O,FUS2,FUS2Y))/2;
BS1:=Ql+((Qh-Ql)/2);BS2:=QO+((QC-QO)/2);BS3:=QC+((QO-QC)/2);
DB1:=QL+((QH-QL)*0.333);DB2:=QO+((QC-QO)*0.333);DB3:=QC+((QO-QC)*0.333);
EB1:=QL+((QH-QL)*0.667);EB2:=QO+((QC-QO)*0.667);EB3:=QC+((QO-QC)*0.667);
SYB1:=QH-((QH-QC)/2);SYB2:=QH-((QH-QO)/2);
SYB3:=IF(QC>QO,SYB1,SYB2);
XYB1:=QL+((QC-QL)/2);XYB2:=QL+((QO-QL)/2);
XYB3:=IF(QC<QO,XYB1,XYB2);
QFU:=(BS1+IF(QC>QO,BS2,BS3))/2;
QDFU:=(DB1+IF(QC>QO,DB2,DB3))/2;
QEFU:=(EB1+IF(QC>QO,EB2,EB3))/2;
A3:=C=HHV(C,6);
A9:=C=LLV(C,6);
A4:=BARSLAST(A3);
A5:=BARSLAST(A9);
A6:=IF(A4,REF(C,A4),REF(C,A4))*1.005;
A7:=IF(A5,REF(C,A5),REF(C,A5))*0.995;
fh:=HIGH;fl:=LOW;
for p=DATACOUNT-1 downto 1 do begin
IF fh[p]<fh[p+1] then
fh[p]:=fh[p+1];
IF fl[p]>fl[p+1] then
fl[p]:=fl[p+1];
end;
qk:=LOW>REF(HIGH,1)OR HIGH<REF(LOW,1);
G:=IF(LOW>REF(HIGH,1),LOW,IF(HIGH<REF(LOW,1),REF(LOW,1),0));
D:=IF(LOW>REF(HIGH,1),REF(HIGH,1),IF(HIGH<REF(LOW,1),HIGH,0));
S:=IF(LOW>REF(HIGH,1),2,IF(HIGH<REF(LOW,1),1,0));
tj:=s=2 and fL<=G AND fL>=D OR s=1 and fH<G AND fH>=D ;
w:=BARSSINCE(BACKSET(BARSTATUS=2,BARSLAST(TJ*BARPOS=BARPOS)+1))+1;
DD:=DATE;
缺口日期:REF(DD,W-1)+1991219,LINETHICK0,COLORAAFF33;
S1:=IF(REF(S,W-1)=2,REF(fL,w-1),IF(REF(S,W-1)=1,REF(fH,w-1),0));
S2:=IF(REF(S,W-1)=2,REF(D,w-1),IF(REF(S,W-1)=1,REF(G,w-1),0));
A:=MAX(S1,S2);
B:=MIN(S1,S2);
缺口:B[DATACOUNT],COLORWHITE,LINETHICK,,PRECISION2;
→:A[DATACOUNT],COLORWHITE,LINETHICK,PRECISION2;
STICKLINE(w,S1,S2,15,0),COLORGRAY;
DRAWTEXT(BARSTATUS=2,A,NUMTOSTR(B,2)+'-'+NUMTOSTR(A,2)),COLOR0099CC,ALIGN1;

附:【飞狐寻庄问量公式源码】

HV:=HHV(V,5);
阴:=O>C;
阳:=C>O;
平:=C=O;
MV:=((SUM(V,5)/HV));
量能:=IF(MV>0.3,1,0);
阴量:=IF(阴 AND 量能,V,0);
阳量:=IF(阳 AND 量能,V,0);
平量:=IF(平 AND 量能,V,0);
正能:SUM(阳量,3)/40000,LINETHICK0,PRECISION2;
负能:SUM(阴量,3)/40000,COLORGREEN,LINETHICK,PRECISION2;
动能线:(正能-负能),COLORRED,LINETHICK0,PRECISION2;
AF:=动能线=正能;
相持:STICKLINE(动能线>0 AND 负能>0,0,正能,3,0),COLORWHITE;
高压:STICKLINE(动能线<负能,0,负能,3,0),COLOR00bb00;
冲压:STICKLINE(AF=1,0,动能线,3,0),COLORRED;
A:=if(STKTYPE=0,55,SUMBARS(V,CAPITAL));
M3:=EMA(v,3);
M5:=EMA(v,5);
M8:=EMA(v,8);
M13:=EMA(v,13);
M21:=EMA(v,21);
M34:=EMA(v,34);
M55:=EMA(v,55);
M89:=EMA(v,89);
M144:=EMA(v,144);
M233:=EMA(v,233);
工作线:=Ema((M3+M5+M8)/3,(3+5+8)/3);
lxx:=EMA((M3+M5+M8+M13+M21+M34+M55)/7,(3+5+8+13+21+34+55)/7);
行情线:(ema(AMOUNT,(3+5+8)/3)/EMA(COST(80),(3+5+8)/3)/100+工作线)/20000,COLORWHITE,PRECISION2;
多空线:Ema(行情线,8),COLORYELLOW,PRECISION2;
生命线:EMA((ema(AMOUNT,(3+5+8+13+21+34+55)/7)/EMA(COST(80),(3+5+8+13+21+34+55)/7)/100+LXX),55)/20000,COLORFFC0FF,COLOR6600FF,LINETHICK1,PRECISION2;
高:hhv(行情线,a),COLOR6600FF,COLOR0077FF,PRECISION2;
低:LLV(行情线,a),COLORAAAA00,PRECISION2;
十字线:(高+低)/2,COLORWHITE,CROSSDOT,PRECISION2;
PARTLINE(行情线<十字线,十字线),COLORCYAN,CROSSDOT;
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
日期差:=DATEDIFF(DATE,CURRENTDATE);
预量:=IF(BARSTATUS=2 and 日期差=0,VOL/交易分钟数*240,VOL),COLOR00FFFF,LINETHICK,PRECISION2;
量比:预量/REF(V,1),LINETHICK,PRECISION2;
量比:预量/((REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/5),LINETHICK,PRECISION2;
0,COLORGRAY;
1.25,LINEDOT,COLORYELLOW;

更多飞狐公式源码相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。