飞狐135操盘指标公式是什么?
2016-5-3 13:54:13 股票入门 http://rumen.southmoney.com
飞狐135操盘指标公式是什么?附:飞狐各种底部公式源码 南方财富网小编为您提供
【飞狐135操盘指标公式】
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">ma13:ma(c,13),colorwhite;
ma34:ma(c,34),coloryellow;
ma55:ma(c,55),colorff00ff;
ma120:ma(c,120),colorffcccc;
ma250:ma(c,250),colorffcc66;
x1:=(C+L+H)/3;
x2:=ma(x1,6);
x3:=ma(x2,5);
stickline(x2>x3 and c>ma13,low,high,0.1,1),colorred;
stickline(x2>x3 and c>ma13,close,open,5,1),colorred;
stickline(x2<x3 and c<ma13,low,high,0.1,1),colorffff54;
stickline(x2<x3 and c<ma13,close,open,5,0),colorffff54;
drawtext(CROSS(X2,X3),l-0.09,'B'),colorwhite,linethick2,align1;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5));
gr2:=ma13>ma34 and ma34>ma55 and ma13>ref(ma13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*v/capital;
DRAWTEXT(filter(rsi6>95 and 换手>=7,3) or filter(bias5>9,3) or gr8,h*1.04,'S'),color00ff00,linethick2,align1;
bb13:=atan(ma13-ref(ma13,1))*3.1416*10;
ma8:=ma(c,8);
WR:=-"W&R"(14);
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4),ALIGN1;
DRAWICON(FILTER(CROSS((0 -19),WR),10),H*1.02,5),ALIGN1;
DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L*0.98,' W&R'),ALIGN1,COLORRED;
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H*1.03,' W&R'),ALIGN2,COLORGREEN;
a:=HHV(MA((L+H+C)/3,3),3);
b:=llv(MA((L+H+C)/3,3),5);
DRAWTEXT(BARSTATUS=2,a,' ̄'),Coloryellow,linethick2;
//DRAWTEXT(BARSTATUS=2,a,' '+NUMTOSTRN(a,3)),colorYELLOW;
DRAWTEXT(BARSTATUS=2,b,' ̄'),Colorred,linethick7,ALIGN0;
//DRAWTEXT(BARSTATUS=2,b,' '+NUMTOSTRN(b,3)),Colorred;
STICKLINE(BARSTATUS=2,((h+l)/2),((h+l)/2),4,0),Colorblue,linethick2;
//DRAWTEXT(BARSTATUS=2,(h+l)/2,' '+NUMTOSTRN((h+l)/2,3)),colorgreen;
drawtext(BARSTATUS=2,((h+l)/2)*1.05,' '+'+5%'),Color63806A;
drawtext(BARSTATUS=2,((h+l)/2)*1.03,' '+'+3%'),Color63806A;
drawtext(BARSTATUS=2,((h+l)/2)*0.95,' '+'-5%'),Color63806A,linethick2;
drawtext(BARSTATUS=2,((h+l)/2)*0.97,' '+'-3%'),Color63806A,linethick2;
DRAWTEXT( c>=a AND BARSTATUS=2,A*1.015,' '+'←多'),COLORYELLOW;
DRAWTEXT(ref(c,1)<ref(a,1) and c>=a AND BARSTATUS=2,A*0.995,' '+'←进'),COLORYELLOW;
DRAWTEXT(ref(c,1)>ref(a,1) and c<a AND BARSTATUS=2,A*1.01,' '+'↓减'),COLORYELLOW;
DRAWTEXT(ref(c,1)>ref(b,1) and c<b AND BARSTATUS=2,A*0.995,' '+'↓逃'),COLORgreen;
顶部: HHV(HIGH,60)*0.98,colorFFFFCC;
STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;
TJTS:=BARSTATUS=2;
cg:=hhv(h,125);
cgl:=llv(h,125);
j:=(cg-cgl)/8;
{IF C>0 AND TJTS>0 THEN BEGIN}
{DRAWTEXT(C>0,cg*1.04,' '+ '流通:'+NUMTOSTRN( FINANCE(7),0 )+' '+'换手:'+NUMTOSTRN( DYNAINFO(37)*100,3 )+' '),LINETHICK3,ColorFFFF80,ALIGN2;end;}
zslife:=(ma(indexc,60)+ma(indexc,90))/2;
zsbl:=indexc/zslife;
gglife:=(ma(c,60)+ma(c,90))/2;
zstb:=zsbl*gglife;
rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;
kk:=sma(rsv,10,1);
dd:=sma(kk,5,1);
zlcm:=intpart(sma(rsv,10,1));
shcm:=intpart(sma(kk,5,1));
{IF (zlcm+shcm)>50 and (zlcm+shcm)<160 AND TJTS THEN DRAWTEXT(C>0,cg-1.1*j,'精确风险系数%:'+NUMTOSTRN( (zlcm+shcm),2 )+' '),LINETHICK3,color6699cc,ALIGN2;}
{IF ((zlcm+shcm)<=50 or (zlcm+shcm)>=160) AND TJTS THEN DRAWTEXT(C>0,cg-1.1*j,'精确风险系数%:'+NUMTOSTRN( -(zlcm+shcm),2 )+' '),LINETHICK3,color6699cc,ALIGN2;}
aa13:=ma(winner(c)*70,3);
bb13:=ma((winner(c*1.1)-winner(c*0.9))*80,3);
{
IF aa13>bb13 AND TJTS THEN DRAWTEXT(C>0,cg-2.1*j,'主力控盘系数%:'+NUMTOSTRN( aa13/(aa13+bb13)*100,2 )+' '),LINETHICK3,color0000ff,ALIGN2;
IF aa13<bb13 AND TJTS THEN DRAWTEXT(C>0,cg-2.1*j,'散户套牢系数%:'+NUMTOSTRN( bb13/(aa13+bb13)*100,2 )+' '),LINETHICK3,color00ff00,ALIGN2;
}
e:=BARSCOUNT(c);
ah:=hhv(h,250);
al:=llv(l,250);
b0:=(ah-al)/40;
kb1:=h+b0;
kb2:=l-b0;
stickline((e+0)/34=FLOOR((e+0)/34),kb2,kb2-3*b0,2,0),COLORYELLOW;
drawtext((e+0)/34=FLOOR((e+0)/34),kb2-2*b0,'时间窗'),COLORFFFFFF;
V1:=REF(C,1);
V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;
DRAWICON(IF(CROSS(81,V2),1,0),h*1.01,5),COLORYELLOW;
乖离线:=((c-ref(ma13,1))/13+ma13)*1.20;
tt1:=cross(ma13,ma34) and cross(ma13,ma55) and v>ref(v,1);
tt2:=ma13>ref(ma13,2) and v>ref(v,1) and cross(c,ma13);
STICKLINE(TT1,l,l-0.09,4,0),coloryellow;
DRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;
STICKLINE(cross(c,ma34) and cross(c,ma55) and cross(c,ma13),l,l-0.09,4,0),coloryellow;
DRAWTEXT(cross(c,ma34) and cross(c,ma55) and cross(c,ma13),l-0.13,'并线开花'),coloryellow;
附:【飞狐各种底部公式源码】
DRAWGBK(c>1, COLORRGB(50,110,40), COLORRGB(20,100,110),1);
ssar:=SAR(4,2,34),CIRCLEDOT;ssar>c,CIRCLEDOT,color004400;
ssar<c,CIRCLEDOT;0,color006600,CIRCLEDOT;
vol/capital/winner(c)/l*0.18,colorgreen;
TZ:IF(VOL/240>MA(VOL,30)/240 AND CLOSE>OPEN*(1+8.8/100) AND CLOSE<MA(CLOSE,30)*1.3,0.8,0),colorCYAN;
v1:=hhvbars(high,100);v2:=cross(ma(c,10),ma(c,30));
追涨:IF(v1>60 and v2,0.8,0),colorred;
A:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,13,1)-2*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,13,1),3,1);
B:=13;
信号:=IF(CROSS(A,B),1,0)*0.8;
AD:IF(c<MA(EMA(CLOSE,34)*0.82,5) and close/DMA(AMOUNT/VOL/100,
VOL/CAPITAL)<0.64,0.8,0);
DB:(LLV(L,4)=LLV(L,225) and CROSS(C,LLV(LOW,9)*1.058) AND (C-REF(C,1))/REF(C,1)*100>=3.6 AND
LLV(LOW,9)*1.058<ma(llv(LLV(LOW,9)*1.058,4),16))*0.8,COLORwhite;
LS:filter(c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12)),28)*0.8,coloryellow;
Var37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var3A:=(Var37+2*Var38+3*Var39)/6;
Var3B:=MA(Var3A,3);
JK:=IF(Var3B<-6,-0.18,0),coloryellow;
HZJK:(JK<0 and CROSS(C,LLV(LOW,9)*1.058) AND (C-REF(C,1))/REF(C,1)*100>=3.6 AND
LLV(LOW,9)*1.058<ma(llv(LLV(LOW,9)*1.058,4),16))*0.8,COLORyellow;
TZD:=ma(llv(LLV(LOW,9)*1.058,2),9)*0.968;
M1:=ma(hhv(l,4),2);
TT0:IF(JK<0 and c>=o AND C>LLV(LOW,9)*1.058 AND C>M1 AND C>TZD,0.8,0),colorFFFFFF;
VAR12:=((VOL)/(CAPITAL))*(100);
VAR13:=LLVBARS(LOW,50);
VAR14:=SUM(VOL,VAR13);
VAR15:=HHVBARS(HIGH,50);
VAR16:=SUM(VOL,VAR15);
VAR17:=((CLOSE-REF(OPEN,VAR15))/(REF(OPEN,VAR15)))*(100);
VAR18:=((VAR16)/(CAPITAL))*(100);
VAR19:=((CLOSE-REF(OPEN,VAR13))/(REF(OPEN,VAR13)))*(100);
VAR20:=((VAR14)/(CAPITAL))*(100);
VAR21:=MA(CLOSE,3);
VAR22:=(REF(CLOSE,2))*(0.86500001);
VAR23:=(REF(CLOSE,13))*(0.77200001);
VAR24:=MIN(VAR22,VAR23);
VAR25:=MA(CLOSE,13);
(IF(((CLOSE-VAR24)/(CLOSE)<0.02999999) AND (VAR17<(-35))
AND ((SUM(VAR12,5))/(5)<1.8),1,0))*(0.18),Color009900;
Va19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Va1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
Va1B:=EMA(Va1A,9);
Va1C:=2*(Va1A-Va1B);
DRAWTEXT(Va1A<-50 AND Va19>7 AND Va1A<Va1B,0,短期见底),coloryellow , ;
xg0:=c/ref(c,1)>1.09 and c=h;
filter(count (xg0,1)=1,9999)*0.18;
var1:=REF(LOW,1);
var2:=SMA(ABS(LOW-var1),3,1)/SMA(MAX(LOW-var1,0),3,1)*100;
var3:=EMA(IF(CLOSE*1.2,var2*10,var2/10),3);
var4:=LLV(LOW,38);
var5:=HHV(var3,38);
var6:=IF(LLV(LOW,90),1,0);
var7:=EMA(IF(LOW<=var4,(var3+var5*2)/2,0),3)/600*var6;
底部吸筹:STICKLINE(var7,0,var7/600,2,1),colorcyan;
hz1:=(MA(l,21))-(MA(C,7)/3);
HZ多:=ema(MA((C-hz1)/hz1,1)-0.468,6),colormagenta,linethick1;
TZ空:=-1*MA((C-hz1)/hz1,1)+0.368,colorcyan,linethick1;
TT:=TZ空+REF(TZ空,21);
HH多:=EMA(HZ多,4),coloryellow;
DRAWICON(filter(HZ多<-0.2,9),HZ多,12);
DRAWICON(filter(var7/600>0.088,9),var7/600,12);
turn:=vol/capital*100;
m1:=(high-close)/(high-low);
m2:=(open-low)/(high-low);
m3:=m1+m2+1;
d1:=if(close>open,1/m3*turn,0);
k2:=if(close>open,m1/m3*turn,0);
k3:=if(close>open,m2/m3*turn,0);
c1:=(high-open)/(high-low);
c2:=(close-low)/(high-low);
c3:=c1+c2+1;
k1:=if(close<open,1/c3*turn,0);
d2:=if(close<open,c1/c3*turn,0);
d3:=if(close<open,c2/c3*turn,0);
ddd:=if(close>open,d1-k2-k3,0);
kkk:=if(close<open,k1-d2-d3,0);
dddd:=sum(ddd,5);
kkkk:=sum(kkk,5);
ddddkkkk:=dddd-kkkk*1.5;
m4:=(close-ref(close,1))/ref(close,1)*100>=4.98;
HZD:if(CROSS(ddddkkkk,0) and m4 and HH多<0.18,0.8,0),color2288FF;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。