设为首页加入收藏

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

飞狐换手买卖盘公式源码是什么?

2016-5-16 10:24:43 股票入门 http://rumen.southmoney.com

飞狐换手买卖盘公式源码是什么?附:飞狐YMH分段箱体指标公式  南方财富网小编为您提供


【飞狐换手买卖盘公式源码】

input:HSX(1,1,2),HSD( 3 ,1, 5),HSCB( 3, 3, 100);
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">量:=v;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX : (买盘-(-卖盘))/量*换手, COLORSTICK;
DLX1:SUM(DLX,6),coloryellow;
DLX2:ma(DLX1,5),COLORMAGENTA;
DLX3:ma(DLX1,10),COLORGREEN;

附:【飞狐YMH分段箱体指标公式】

MA10:MA(CLOSE,10);

MA21:MA(CLOSE,21);

MA55:MA(CLOSE,55);

V1:=PEAKBARS(HHV(HIGH,N1),N2,1);

V2:=COUNT(V1,1)<1;

V3:=TROUGHBARS(LLV(LOW,N1),N2,2);

V4:=COUNT(V3<REF(V3,1),1);

V5:=LLVBARS(V2,V4);

V6:=SUMBARS(V2,V4);

V7:=SUMBARS(V4,V2);

V8:=SUMBARS(V4+V2,V2);

V9:=SUMBARS(V2+V4,V4);

VERTLINE(V2),colorFFFF;

VERTLINE(V4),LINETHICK4,colorFF;

DRAWTEXT(V2,HIGH*1.09,下\n跌\n周\n期 ),ALIGN4,colorFFFF10;

DRAWTEXT(V4,LOW*0.97,上\n涨\n周\n期 ),ALIGN4,colorFF;

AA1:=BACKSET(ISLASTBAR,HHVBARS(HIGH,M)+1);

BB2:=COUNT(AA1,M)=1;

DRAWTEXT(BB2,HIGH*1.05,   新高 ),ALIGN1;

AA3:=BACKSET(AA1,LLVBARS(LOW,M1)+1);

BB4:=COUNT(AA3,M1)=1;

前底:REF(LOW,BARSLAST(BB4)),LINETHICK2,colorFFFF;

底:REF(LOW,BARSLAST(BB4))*0.83,LINETHICK2,colorFF;

目标1:=前底*1.1;

目标2:前底*1.2,POINTDOT,LINETHICK3,colorFF;

目标3:前底*1.3,POINTDOT,LINETHICK2,colorFFCC99;

目标4:前底*1.4,POINTDOT,LINETHICK4,colorFF00;

目标5:前底*1.618,POINTDOT,LINETHICK1,colorFFFFFF;

目标6:=前底*1.88;

目标7:=前底*2;

DRAWNUMBER(SYSPARAM(3)=BARPOS,目标2,目标2,2),ALIGN2,SHIFT3,colorFF;

DRAWNUMBER(SYSPARAM(3)=BARPOS,目标5,目标5,2),ALIGN2,SHIFT3,colorFFCC99;

DRAWNUMBER(SYSPARAM(3)=BARPOS,目标4,目标4,2),ALIGN2,SHIFT3,colorFF00;

DRAWNUMBER(SYSPARAM(3)=BARPOS,前底,前底,2),ALIGN2,SHIFT3,colorFFFF66;

DRAWNUMBER(SYSPARAM(3)=BARPOS,底,底,2),ALIGN2,SHIFT3,colorFFFFFF;

VV1:=TROUGHBARS(LLV(LOW,20),5,1);

VV2:=COUNT(VV1,1);

VV3:=BACKSET(ISLASTBAR,VV2+1);

VV4:=REF(VV1,BARSLAST(VV3))+1;

DRAWTEXT(FILTER(VV4,1),LLV(LOW,40)*0.94,天),SHIFT3,colorFF00;

DRAWNUMBER(SYSPARAM(3)=BARPOS,LLV(LOW,40)*0.94,VV4,0),SHIFT1,colorFF00;

TJ1:=VV4=7 OR VV4=13 OR VV4=21 OR VV4=34 OR VV4=55 OR VV4=89 OR VV4=114;

DRAWTEXT(FILTER(TJ1,1),LLV(LOW,40)*0.9,关注日),colorFFFF;

VA1:=PEAKBARS(HHV(HIGH,10),5,1);

VA2:=COUNT(VA1,1);

VA3:=BACKSET(ISLASTBAR,VA2+1);

VA4:=REF(VA1,BARSLAST(VA3))+1;

DRAWNUMBER(SYSPARAM(3)=BARPOS,HHV(HIGH,40)*1.08,VA4,0),SHIFT1,colorFFFFFF;

DRAWTEXT(FILTER(VV4,1),HHV(HIGH,40)*1.099,天),SHIFT3,colorFFFFFF;

TJ2:=VA4=7 OR VA4=13 OR VA4=21 OR VA4=34 OR VA4=55 OR VA4=89 OR VA4=114;

DRAWTEXT(FILTER(TJ2,1),HHV(HIGH,40)*1.06, 关注日),colorFFFF;

DRAWICON(TJ1 OR TJ2,CLOSE,1),ALIGN4;

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

 

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