飞狐量价操盘公式源码是什么?
2016-4-25 11:34:54 股票入门 http://rumen.southmoney.com
飞狐量价操盘公式源码是什么?附:飞狐个股盈亏显示在副图公式源码 南方财富网小编为您提供
【飞狐量价操盘公式源码】
Var1:=IF(YEAR>=2000 AND MONTH>=12 AND DAY>=30,0,1);
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">Var2:=INDEXA/100000000;
Var3:=INDEXADV;
Var4:=INDEXDEC;
Var5:=Var3/(Var3+Var4)*Var2;
Var6:=Var4/(Var3+Var4)*Var2;
Var7:=EMA(Var5,P1);
Var8:=EMA(Var6,P1);
Var9:=EMA(Var7,P2);
VarA:=EMA(Var8,P3);
XF: EMA(Var7,3)*Var1;
ML1: EMA(Var9,6)*Var1;
ML2: EMA(VarA,2)*Var1;
ML: ML1-ML2*Var1, VOLSTICK;N:=5;N2:=1;
总手:VOL,VOLSTICK,COLORFFFF00;
均价:AMOUNT/VOL/100,COLOR6699CC;
预换手%:MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,COLORFFFF00;
价成比%:(C-(SUM(AMOUNT,N)/SUM(VOL,N)/100))/(SUM
(AMOUNT,N)/SUM(VOL,N)/100)*100,COLOR6699CC;
Y值:(MA(C,13)-MA(C,55))/MA(C,13)*100,COLORFFFF00;
龙:WINNER(CLOSE)-COST(50)/CLOSE,COLOR6699CC;
换手3:IF(N2=1,CAPITAL*0.03,0),COLORBROWN;
换手5:IF(N2=1,CAPITAL*0.05,0),COLORBROWN;
换手7:IF(N2=1,CAPITAL*0.07,0),COLORBROWN;
换手10:IF(N2=1,CAPITAL*0.10,0),COLORBROWN;
MA1:MA(VOL,5),COLORWHITE;
MA2:MA(VOL,40),COLORMAGENTA;
预测量:STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7,1),COLORGREEN;
年内天量:STICKLINE(VOL=HHV(VOL,250) AND N2=1,VOL*1.1,VOL*1.18,7,1),COLORBROWN;
跌停:DRAWTEXT((C-REF(C,1))/REF(C,1)<=-0.094 AND N2=1,VOL*1.28,'↓');
涨停:DRAWTEXT((C-REF(C,1))/REF(C,1)>=0.094 AND N2=1,VOL*1.28,'↑');
附:【飞狐个股盈亏显示在副图公式源码】
参数:佣金 0.5 0.1 5
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
EXPLAIN(1, STRMID(STKLABEL,1,6)),LINETHICK;
进价:=SELFDATA('持仓股');
股数:=SELFDATA('持仓量');
买入价:进价,LINETHICK,COLORFFFFFF;
保本价:进价*(1.001+佣金*2/1000)+0.001,LINETHICK,COLOR00FF00;//默认佣金:万分之五 调整到自己的实际佣金
盈亏:(DYNAINFO( 7)-保本价)*股数,LINETHICK,COLORFFFF;//保本价=进价*(印花税+佣金*2/1000)+0.001(过户费可不计入)
每股盈亏:(DYNAINFO( 7)-保本价),LINETHICK,COLORFFFFFF;
A:=BARPOS; B:=DATACOUNT; A2:=SYSPARAM(2); A3:=SYSPARAM(3); HM:=A3-A2;
HQ:=HHV(HIGH,HM);
LQ:=LLV(LOW,HM);
ZH:=HQ[B];
ZL:=LQ[B];
Q:=(ZH-ZL)/10;
MM:=HM/100;
DW:=A=A3-ROUND(MM*95);
DRAWTEXT(DW, 0.15 ,'买入价'+NUMTOSTR(进价,2)+' 持仓量'+NUMTOSTR(股数,0)),COLORFFFFFF,ALIGN1;
DRAWTEXT(DW, -0.15 ,'保本价'+NUMTOSTR(保本价,2)+' 总盈亏'+NUMTOSTR(盈亏,2)),COLORFFFFFF,ALIGN5;
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。