飞狐仓位增减指标公式是什么?
2016-5-24 13:43:40 股票入门 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">空:=EMA(C,5);
均衡:EMA(空,5),COLORWHITE;
中轨:HHV(MA(H,13),13),COLORyellow,LINETHICK1;
趋势:LLV(MA(H,13),1),COLORred,LINETHICK1;
varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
varB:=EMA(0.667*REF(varA,1)+0.333*varA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');
varC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var2:=REF(var1,1);
var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100;
var4:=FILTER(IF(COUNT(var3<20,5)>=1 AND COUNT(var1=LLV(var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
DRAWICON(var4,LOW,1);
var5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
DRAWTEXT(var5,Low*0.985,'加仓'),COLORyellow;
DRAWTEXT(var5,Low*0.995,'^' ),COLORyellow;
var6:=REF(CLOSE,1);
var7:=SMA(MAX(CLOSE-var6,0),6,1)/SMA(ABS(CLOSE-var6),6,1)*100;
DRAWTEXT(CROSS(84,var7),H*1.035,'减仓'),COLOR00FF00 ;
DRAWTEXT(CROSS(84,var7),H*1.015,'◇' ),COLOR00FF00;
附:【飞狐牛气冲天公式源码】
INPUT:G1(8,8,35);
股票:=0;
理:IF(CLOSE>MA(CLOSE,5),股票+1,股票),COLORWHITE;
想:IF(CLOSE>MA(CLOSE,10),理+1,理),COLOR999999;
论:IF(CLOSE>MA(CLOSE,20),想+1,想),COLOR00FFFF;
坛:IF(CLOSE>MA(CLOSE,60),论+1,论),COLORFF00FF;
估:IF(MA(CLOSE,5)>MA(CLOSE,10),坛+1,坛),COLORFFAA00;
界:IF(MA(CLOSE,10)>MA(CLOSE,20),估+1,估),COLOR6AFF;
文:IF(MA(CLOSE,20)>MA(CLOSE,60),界+1,界),COLORFF;
FILLRGN(CLOSE,0,文),COLORFF;
FILLRGN(CLOSE,0,界),COLOR6AFF;
FILLRGN(CLOSE,0,估),COLORFFAA00;
FILLRGN(CLOSE,0,坛),COLORGREEN;
FILLRGN(CLOSE,0,论),COLORFF00FF;
FILLRGN(CLOSE,0,想),COLOR999999;
FILLRGN(CLOSE,0,理),COLORWHITE;
估算:理+想+论+坛+估+界+文,LINETHICK,COLORFF00FF;
G2:=(REF(估算,1)<=2 AND 估算>=G1);
牛气:=IF(G2,1,0);
冲天:STICKLINE(牛气,0,6.8,5,0),COLORBAFF;
DRAWICON(牛气=1,7,8);
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。