设为首页加入收藏

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

飞狐黄金折返点位指标公式 飞狐指标公式大全

2016-4-1 9:52:13 股票入门 http://rumen.southmoney.com

飞狐黄金折返点位指标公式 飞狐指标公式大全 南方财富网小编为您带来最新的飞狐指标公式

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">N:=SYSPARAM(3)-SYSPARAM(1);

A:=BACKSET(ISLASTBAR,HHVBARS(H,N)+1);

B:=COUNT(A,N)=1;

前高:IF(N>0,REF(H,BARSLAST(B)),0),COLORWHITE;

A2:=BACKSET(ISLASTBAR,LLVBARS(L,N)+1);

B2:=A2>REF(A2,1);

前低:REF(L,BARSLAST(B2)),COLORWHITE;

hh:= 前高;

ll:= 前低;

HL:=hh-ll;

wH := BARSlast(H=hh);

wL :=BARSlast(L=ll);

KK := wH-wL;

{a1 :=if(kk<0,hh- HL*0.236,ll+HL*0.236);}

a2 :=if(kk<0,hh- HL*0.382,ll+HL*0.382);

a3 :=if(kk<0,hh- HL*0.618,ll+HL*0.618);

F3:A2,COLORGREEN,LINETHICK;

F5:A3,COLORYELLOW,LINETHICK;

mHL:= hh-HL*0.5;

A := islastbar;

DRAWTEXT(A and K<>3 ,HH, '  最高价:'+NUMTOSTR(HH,3)),ALIGN2,colorgreen;

DRAWTEXT(A and K<>3 ,LL, '  最低价:'+NUMTOSTR(ll,3)),ALIGN2,,colorgreen;

{DRAWTEXT(A and K<>3 ,mHL,'  50%:'+NUMTOSTR(m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2,colorYELLOW,linethick7;

MA3X3:MA(CLOSE,3),SHIFT3,colorgreen,linethick1;

STICKLINE(C>=O,C,O,8,0),COLOR0000AA;

STICKLINE(C>=O,C,O,6,0),COLOR0000bb ;

STICKLINE(C>=O,C,O,4,0),COLOR0000cc ;

STICKLINE(C>=O,C,O,2,0),COLOR0000ee;

STICKLINE(C>=O,H,L,0,0),COLOR0000ff;

STICKLINE(C<=O,C,O,8,0),Color7B7b00;

STICKLINE(C<=O,C,O,6,0),Color909000;

STICKLINE(C<=O,C,O,4,0),ColorA8a800;

STICKLINE(C<=O,C,O,2,0),COLORcece00;

STICKLINE(C<=O,H,L,0,0),COLORffff00;


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

 

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