飞狐盘面资金公式源码是什么?
2016-5-31 14:31:31 股票入门 http://rumen.southmoney.com
飞狐盘面资金公式源码是什么?附:飞狐黑马买卖线主图公式源码 南方财富网小编为您提供
【飞狐盘面资金公式源码】
var1:=IF(CAPITAL<1,MA(vol,74),C);
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:=IF(CAPITAL<1,WMA(var1,360),DMA(C,vol/CAPITAL));
var3:=(var1-var2);
STICKLINE(var1>var2,0,var3,6,0),Color0000FF;
STICKLINE(var1<var2,0,var3,6,0),ColorFFDD00;
附:【飞狐黑马买卖线主图公式源码】
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
B:=CROSS(买线,卖线);
S:=CROSS(卖线,买线);
AA:EMA(EMA(EMA(EMA(CLOSE,7),7),7),7),LINETHICK2,colorFF;
AAA:=1;
PARTLINE(AA>=REF(AA,1) AND AAA=1,AA),LINETHICK3,colorFF;
PARTLINE(AA<REF(AA,1) AND AAA=1,AA),LINETHICK3,colorFF00;
DD:EMA(EMA(EMA(EMA(EMA(EMA(EMA(CLOSE,133),7),7),7),7),7),7),LINETHICK2,colorFF00FF;
EE:EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(CLOSE,256),7),7),7),7),7),7),7),LINETHICK2,colorFFFF;
TRS:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TRS,13);
VAR21:=REF(CLOSE,1)-REF(ATR,1);
GG:HHV(VAR21,13),LINETHICK2,colorFF8010;
HH:MA(CLOSE,12),colorFF00;
BB:EMA(EMA(EMA(EMA(EMA(CLOSE,30),7),7),7),7),LINETHICK2,colorFFFFFF;
CC:EMA(EMA(EMA(EMA(EMA(EMA(CLOSE,62),7),7),7),7),7),LINETHICK2,colorFF0000;
FF:=CROSS(CLOSE,BB) AND B;
DRAWTEXT(FF,LOW,▲),colorFFFF;
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;
VAR4:=MA(VAR3,13);
VAR5:=EMA(MA(CLOSE,3),34);
VAR6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR7:=MA(VAR6,5);
VAR8:=MA(VAR6,10);
DRAWTEXT(REF(CROSS(VAR3,VAR4),2) AND VAR3>1.005*VAR4,VAR4,买),colorFFFFFF;
DRAWTEXT(CROSS(VAR6,VAR7) AND VAR7<VAR8,VAR3*0.95,转),colorFFFF;
DRAWTEXT(CROSS(VAR7,VAR6) AND VAR7>VAR8,VAR3*1.05,卖),colorFFFFFF;
P:=SYSPARAM(1);
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。