飞狐品种强弱指标公式是什么?
2016-5-12 15:12:52 股票入门 http://rumen.southmoney.com
飞狐品种强弱指标公式是什么?附:飞狐YMH分段箱体指标公式 南方财富网小编为您提供
【飞狐品种强弱指标公式】
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"> LC:=REF(CLOSE,1);
品种0:=(SMA(MAX(CLOSE-LC,0),14,1))/(SMA(ABS(CLOSE-LC),14,1))*100;
IC:=REF(INDEXC,1);
指数0:=(SMA(MAX(INDEXC-IC,0),14,1))/(SMA(ABS(INDEXC-IC),14,1))*100;
FILLRGN(品种0>=指数0,指数0,品种0),colorFF;
FILLRGN(品种0<指数0,指数0,品种0),colorFF00;
品种强弱:品种0,colorFF00;
指数强弱:指数0,colorFF00FF;
强弱度:品种强弱-指数强弱,LINETHICK0;
MA(品种强弱,8);
20,colorFF00FF;
50,LINETHICK2,colorFFFF;
80,colorFF00;
附:【飞狐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;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。