飞狐波段幅度主图指标公式是什么?附:飞狐操盘铁律主图指标公式
2016-4-22 14:49:36 股票入门 http://rumen.southmoney.com
飞狐波段幅度主图指标公式是什么?附:飞狐操盘铁律主图指标公式 南方财富网小编为您提供
【飞狐波段幅度主图指标公式】
stickline(c>=o,l,h,0.1,1),color5251ff;
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">stickline(c>=o,o,c,7,1),color5251ff;
stickline(c<o,l,h,0.1,0),color32e12e;
stickline(c<o,c,o,7,0),color32e12e;
ma5:ma(c,5),colorwhite,LINEDOT;
PARTLINE(MA5>ref(MA5,1),MA5),colorwhite,LINETHICK2;
MA10:MA(CLOSE,10),Color00FFFF,linethicK1;
var1:="chzhshch@kxian";
var2:="chzhshch@bi";
if DATAPERIOD<=1 then
begin var2:="chzhshch@duan";
end;
pre:=2;
if STKTYPE=0 then pre:=1;
if STKTYPE=11 then pre:=3;
a1:=barslast(var2<>0);
a2:=ref(var2,a1);
aa1:=ref(a1+1,1);
aa2:=ref(a2,1);
a3:=if (aa2>0,l-ref(h,aa1),h-ref(l,aa1)),linethick0;
a4:=if (aa2>0,(l-ref(h,aa1))/ref(h,aa1)*100,(h-ref(l,aa1))/ref(l,aa1)*100),linethick0;
drawnumber(var2=1,h,h,pre),pxup45,color3300ff,align0;
drawtext(var2=1,h,'高: '),pxup45,color3300ff,align2;
drawnumber(var2=-1,l,l,pre),pxdn30,colorffff00,align0;
drawtext(var2=-1,l,'低: '),pxdn30,colorffff00,align2;
drawtext(var2=1,h,'+'),colorFF00FF,pxup80,align2;
drawtext(var2=1,h,'幅: '),colorFFFFFF,pxup80,align2;
drawtext(var2=1,h,' %'),colorFFFFFF,pxup80,align1;
drawnumber(var2=1,h,a4,pre),colorff00ff,pxup80;
drawnumber(var2=-1,l,a4,pre),colorgreen,pxdn80,align0;
drawtext(var2=-1,l,' %'),colorwhite,pxdn80,align1;
drawtext(var2=-1,l,'幅: '),colorwhite,pxdn80,align2;
drawtext(var2=1,h,'天: '),pxup65,coloryellow,align2;
drawnumber(var2=1,h,aa1,0),coloryellow,pxup65,align2;
drawtext(var2=-1,l,'天: '),pxdn50,coloryellow,align2;
drawnumber(var2=-1,l,aa1,0),coloryellow,pxdn50,align2;
aa9:=hhv(h,a1);
aa11:=llv(l,a1);
drawnumber( islastbar and a2=-1,aa9,aa9,pre),align2,color3300ff;
drawtext(islastbar and a2=-1,aa9,'高: '),colorwhite,pxdn0,align2;
drawnumber( islastbar and a2=1,aa11,aa11,pre),align2,colorffff00;
drawtext(islastbar and a2=1,aa11,'低: '),colorwhite,pxdn0,align2;
drawtext( islastbar and a2=-1, aa9,'%'),align1,colorffffff,pxdn20;
drawtext( islastbar and a2=-1, aa9,'幅: '),colorwhite,pxdn20,align2;
drawnumber( islastbar and a2=-1, aa9,a4,pre),align2,colorffffff,pxdn20;
drawnumber( islastbar and a2=1, aa11,a4,pre),align2,colorffffff,pxup20;
drawtext( islastbar and a2=1, aa11,'幅: '),align2,colorffffff,pxup20;
drawtext( islastbar and a2=1, aa11,'%'),align1,colorffffff,pxup20;
drawtext( islastbar and a2=-1, aa9,'天: '),coloryellow,align2,pxdn40;
drawnumber(islastbar and a2=-1, aa9,aa1,0),coloryellow,align2,pxdn40;
drawtext( islastbar and a2=1, aa11,'天: '),coloryellow,align2,pxup40;
drawnumber(islastbar and a2=1, aa11,aa1,0),coloryellow,align2,pxup40;
附:【飞狐操盘铁律主图指标公式】
DRAWGBK(CLOSE>0,COLORRGB(95,95,95),COLORRGB(0,0,0),1);
操盘线:EMA(CLOSE,13),COLORRED;
M5:MA(CLOSE,5),COLORWHITE;
黄金线:COST(24),COLORYELLOW,POINTDOT,LINETHICK4;
底线:COST(5),COLORGREEN;
1号线:MA(CLOSE,144),COLORWHITE,LINETHICK2;
4号线:EMA(CLOSE,453),COLORRED,LINETHICK2;
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:=EMA(VAR6,2)*1.22;
AD:=EMA(AK,2);
AJ:=3*AK-2*AD;
STICKLINE(CROSS(AK,AD),LOW,LOW-0.09,8,0),COLORRED;{短线买}
AC:=CLOSE;
AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC>=AO,AH,AC,1,0),color008899;
STICKLINE(AC>=AO,AH,AC,0,0),color77ffee;
STICKLINE(AC>=AO,AO,AL,1,0),color008899;
STICKLINE(AC>=AO,AO,AL,0,0),color77ffee;
STICKLINE(AC>AO,AC,AO,8,0),COLOR008899;
STICKLINE(AC>AO,AC,AO,7,0),COLOR1199aa;
STICKLINE(AC>AO,AC,AO,6,0),COLOR22aabb;
STICKLINE(AC>AO,AC,AO,5,0),COLOR33bbcc;
STICKLINE(AC>AO,AC,AO,4,0),COLOR44ccdd;
STICKLINE(AC>AO,AC,AO,3,0),COLOR55ddee;
STICKLINE(AC>AO,AC,AO,2,0),COLOR66eeee;
STICKLINE(AC>AO,AC,AO,1,0),COLOR77ffee;
STICKLINE(AC<=AO,AH,AC,1,0),colorff8800;
STICKLINE(AC<=AO,AH,AC,0,0),colorffff33;
STICKLINE(AC<=AO,AO,AL,1,0),colorff8800;
STICKLINE(AC<=AO,AO,AL,0,0),colorffff33;
STICKLINE(AC<=AO,AC,AO,8,0),COLORff8800;
STICKLINE(AC<=AO,AC,AO,7,0),COLORff9900;
STICKLINE(AC<=AO,AC,AO,6,0),COLORffaa11;
STICKLINE(AC<=AO,AC,AO,5,0),COLORffbb11;
STICKLINE(AC<=AO,AC,AO,4,0),COLORffcc22;
STICKLINE(AC<=AO,AC,AO,3,0),COLORffdd22;
STICKLINE(AC<=AO,AC,AO,2,0),COLORffee33;
STICKLINE(AC<=AO,AC,AO,1,0),COLORffff33;
//短线试买
F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
今小昨:=IF(CLOSE<REF(OPEN,1) AND f<0,1,0);
p1:=今小昨;
今小前:=IF(CLOSE<REF(OPEN,2) AND f<0,1,0);
p2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,4,0),COLORRED;{短线进}
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,4,0),COLORBLUE;{短线出}
//买卖规则
p3:=SYSPARAM(1);
YC:=REF(CLOSE,1);
止损价位:=(YC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
DRAWTEXTEX(CLOSE,1,20,0,'★ ======================'),COLORRED;
DRAWTEXTEX(CLOSE,1,20,80,'操 ----------------------'),COLORRED;
DRAWTEXTEX(CLOSE,1,20,160,'盘 ----------------------'),COLORRED;
DRAWTEXTEX(CLOSE,1,20,240,'铁 ----------------------'),COLORRED;
DRAWTEXTEX(CLOSE,1,20,320,'律 ======================'),COLORRED;
DRAWTEXTEX(CLOSE,1,20,40,' 买入条件 | E13 CCI'),colorYellow;
DRAWTEXTEX(CLOSE,1,20,120,' 买入时间 | 2:30以后' ),colorYellow;
DRAWTEXTEX(CLOSE,1,20,200,' 止损价位 | '+NUMTOSTR(止损价位[p3] ,2 )+'元'),colorYellow;
DRAWTEXTEX(CLOSE,1,20,280,' 线上:工作 | 线下:休息'),color00FFFF;
gj:=AMOUNT/VOL/100;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日突破:=E+(HIGH-LOW);
明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
DRAWTEXTEX(CLOSE,1,20,500,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,580,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,660,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,740,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,820,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,900,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,990,'-----------------'),ColorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,540,'今日阻力=:'+NUMTOSTR(今日阻力[p3] ,2 )+''),Color00FFFF;
DRAWTEXTEX(CLOSE,1,20,620,'今日支撑=:'+NUMTOSTR(今日支撑[p3] ,2 )+''),Color00FF00;
DRAWTEXTEX(CLOSE,1,20,700,'明日突破=:'+NUMTOSTR(明日突破[p3] ,2 )),ColorFF00FF;
DRAWTEXTEX(CLOSE,1,20,780,'明日阻力=:'+NUMTOSTR(明日阻力[p3] ,2 )),ColorFFFF00;
DRAWTEXTEX(CLOSE,1,20,860,'明日支撑=:'+NUMTOSTR(明日支撑[p3] ,2 )),COLORRED;
DRAWTEXTEX(CLOSE,1,20,940,'明日反转=:'+NUMTOSTR(明日反转[p3] ,2 )),COLORGREEN;
//箱体
N:=13;
A:=HHV(HIGH,N)=HIGH AND HIGH>REF(HIGH,1);A1:=FILTER(A,N-1);
B:=LLV(LOW,N)=LOW AND LOW<REF(LOW,1);B1:=FILTER(B,N-1);
TS1:=BARSLAST(A1);
箱顶:REF(HIGH,TS1) ,COLORFF00FF, LINETHICK0;
STICKLINE(1,箱顶,箱顶,7,0),COLORFF00FF;
TS11:=BARSLAST(B1);
箱底:REF(LOW,TS11) ,COLORFF8080, LINETHICK0;
STICKLINE(1,箱底,箱底,7,0),COLORFF8080;
DRAWICON(CROSS(CLOSE,箱顶),HIGH*1.01,4);
DRAWICON(CROSS(箱底,CLOSE),LOW*0.99,5);
DRAWICON(CROSS(箱顶,CLOSE) AND REF(CLOSE,1)>=箱顶,箱顶,12);
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。