飞狐神奇均线变异K线主图指标公式是什么?附:短线交易主图源码
2016-4-22 14:55:56 股票入门 http://rumen.southmoney.com
飞狐神奇均线变异K线主图指标公式是什么?附:短线交易主图源码 南方财富网小编为您提供
【飞狐神奇均线变异K线主图指标公式】
差:=((c-REF(c,1))*0.382+(C-O)*0.618)*0.382;
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">均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;
CCI:=((R+R1)/2-MA((R+R1)/2,36))/(0.015*AVEDEV((R+R1)/2,36))/4+50;
DRAWGBK(CCI>=25 AND CCI<50,COLORRGB(30,30,30),COLORRGB(130,130,130),1);
DRAWGBK(CCI>=25 AND CCI>REF(CCI,1),COLORRGB(110,95,0),COLORRGB(0,20,0),1);
DRAWGBK(CCI>=50,COLORRGB(110,0,0),COLORRGB(0,0,0),0);
DRAWGBK(CCI>=50 AND CCI<REF(CCI,1),COLORRGB(20,50,50),COLORRGB(30,30,140),1);
DRAWGBK(CCI<25,COLORRGB(0,110,0),COLORRGB(0,0,0),0);
M3:=EMA((R+r1)/2,3);
M5:=EMA((R+r1)/2,5);
M8:=EMA((R+r1)/2,8),COLORWHITE;
M13:=EMA((R+r1)/2,13);
M21:=EMA((R+r1)/2,21),COLORYELLOW;
M34:=EMA((R+r1)/2,34);
M55:=EMA((R+r1)/2,55);
M89:=EMA((R+r1)/2,89);
M144:=EMA((R+r1)/2,144);
M233:=EMA((R+r1)/2,233);
M377:=EMA((R+r1)/2,377);
黄金线:Ema((M3+M5+M8+M13+M21+M34+M55)/7,(3+5+8+13+21+34+55)/7),COLORYELLOW,LINETHICK2;
正黄金线:EMA(黄金线+(eMA((R+r1)/2,2)-黄金线),13),COLORAAAA00;
FILLRGN(黄金线<正黄金线,黄金线,正黄金线),COLORBROWN;
FILLRGN(黄金线>正黄金线,黄金线,正黄金线),COLOR00AA99,COLORBLUE;
跟庄线:ma(LLV((R+R1)/2,2),3),COLORWHITE,LINETHICK1;
PARTLINE(SUM((R+R1)/2,2)/2>跟庄线,跟庄线),COLORWHITE,LINETHICK2;
价值线:Ema((M3+M5+M8+M13+M21+M34+M55+M89+M144+M233)/10,(3+5+8+13+21+34+55+89+144+233)/10),COLORRED,LINETHICK2;
乾坤线:=EMA(价值线-(eMA((R+r1)/2,2)-价值线),3),COLORAAAA00;
PARTLINE(价值线<乾坤线,价值线),COLORAAAA00,LINETHICK2;
kX:=IF(STKTYPE=0,(R+R1)/2,AMOUNT/(v*100));
STICKLINE(kX>=CLOSE,HIGH,LOW,0.2,0),colorFFCC00;
STICKLINE(kX>=CLOSE,CLOSE,kX,8,0),colorFF9F68;
STICKLINE(kX>=CLOSE,CLOSE,kX,7,0),colorFF9900;
STICKLINE(kX>=CLOSE,CLOSE,kX,6,0),colorFFAA11;
STICKLINE(kX>=CLOSE,CLOSE,kX,5,0),colorFFBB11;
STICKLINE(kX>=CLOSE,CLOSE,kX,4,0),colorFFCC22;
STICKLINE(kX>=CLOSE,CLOSE,kX,3,0),colorFFDD22;
STICKLINE(kX>=CLOSE,CLOSE,kX,2,0),colorFFEE33;
STICKLINE(kX>=CLOSE,CLOSE,kX,1,0),colorFFFF33;
STICKLINE(C>kX,HIGH,LOW,0.2,0),colorFF;
STICKLINE(CLOSE>kX,CLOSE,kX,8,0),colorCC;
STICKLINE(CLOSE>kX,CLOSE,kX,7,0),color3300CC;
STICKLINE(CLOSE>kX,CLOSE,kX,6,0),color33CC;
STICKLINE(CLOSE>kX,CLOSE,kX,5,0),color6633CC;
STICKLINE(CLOSE>kX,CLOSE,kX,4,0),color3333FF;
STICKLINE(CLOSE>kX,CLOSE,kX,3,0),color6633FF;
STICKLINE(CLOSE>kX,CLOSE,kX,2,0),color3366FF;
STICKLINE(CLOSE>kX,CLOSE,kX,1,0),color6666FF;
附:【短线交易主图源码】
input:N(10,1,500);
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
PARTLINE((HH1 < LL1),LL),LINETHICK2,colorBB0066;
PARTLINE((HH1 > LL1),HH),LINETHICK2,color1B8800;
STICKLINE((HH1 < LL1),CLOSE,OPEN,9,0),colorFF;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),colorFF;
STICKLINE((HH1 > LL1),CLOSE,OPEN,9,0),colorFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),colorFF0000;
DRAWICON(CROSS(HH1,LL1),HH,11);
DRAWICON(CROSS(LL1,HH1),LL,12);
DRAWTEXT(CROSS(HH1,LL1),HH,'卖'),colorFF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'买'),colorFF00FF;
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加'),colorFF00FF;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀减'),colorFF00;
drawtext(BARPOS=SYSPARAM(2),h,'会员专用'),align4,colorffff;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。