飞狐多功能主图指标公式,飞狐注意底部动量指标公式
admin888
|飞狐多功能主图指标公式,飞狐注意底部动量指标公式
飞狐多功能主图指标公式
aa:=DATAPERIOD;
n1:=if(aa=7,13,if(aa=6,5,if(aa=2,10,0)));//在不同
周期均线参数取值:周线
n1=13 ,日线n1=5 ,5分?线n1=10
n2:=if(aa=7,30,if(aa=6,10,if(aa=2,60,0)));
n3:=if(aa=7,0,if(aa=6,30,if(aa=2,0,0)));
n4:=if(aa=7,0,if(aa=6,60,if(aa=2,0,0)));
//如不喜欢不同周期均线参数n取不同的值,可将上面删除并自定义参数n
m1:ma(c,n1);
m2:ma(c,n2);
m3:ma(c,n3);
m4:ma(c,n4);
//上面是均线,下面是增加的显示sj:=datacount-sysparam(1);
drawnumber(barpos+4=sysparam(1),l,sj,0),align5,COLORgreen;//交易日
aj:=DATEdifF(date,CURRENTDATE);drawnumber(sysparam(1)=barpos,l,aj,0),shift1,align5,COLORYELLOW;//自然日
涨跌:(DYNAINFO(7)-C)/C*100,COLORYELLOW,LINETHICK0;
DRAWTEXT(sysparam(2)=BARPOS,c,' '+BLKNAME),COLORccffcc,ALIGN4;//
板块交易天:BARSCOUNT(c),LINETHICK0;
bb:=ref(date,BARSCOUNT(c)-1);
SS:=if(bb>1000000,bb+1000000,bb);
DRAWTEXT(sysparam(2)=BARPOS,c,' 上市日'),COLORGREEN,ALIGN5;
drawnumber(sysparam(2)=barpos,l,SS,0),shift13,align5,COLORYELLOW;
飞狐注意底部动量指标公式
DRAWGBK(C, COLORRGB(6,201,242),COLORRGB(0,0,130),0);
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
S:SMA(Var1,5,1),colorred;
Var2:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
X:Sma(Var2,2,1),colorcyan;
VR4:=SMA(Abs(L-REF(L,1)),13,1)/SMA(MAX(L-REF(l,1),0),13,1);
底部动量:=if(ema(IF(L<=LLV(l,30),VR4,0),3)*10<100,EMA(IF(L<=LLV(l,30),VR4,0),3)*10,100),COLORA0A0FF;
aa:INTPART(底部动量);
dd:if(aa>ref(hhv(aa,120),1),aa,0);
Vr2:=LLV(LOW,10);
Vr3:=HHV(HIGH,25);
动力线:=if(EMA((CLOSE-Vr2)/(Vr3-Vr2)*4,4)*25<100,EMA((CLOSE-Vr2)/(Vr3-Vr2)*4,4)*25,100),coloryellow,linethick1;
stICKLINE(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,0),colorred;
STICKLINE(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorgreen ;
cdp:=(HIGH + LOW + 2*CLOSE)/4;
买入价:(2*CDP-HIGH)colorred , Linethick0 ;
卖出价:(2*CDP-LOW) colorcyan, Linethick0 ;
70,pOINTDOT;
30,pOINTDOT;
VarC:=CLOSE*50/100;
VarD:=MA(VarC,30)*0.83;
VarE:=MA(VarC/VarD,3);
DRAWICON(FILTER(VarE<1.04,3),0,10),colorred ;
DRAWICON(cross(x,底部动量) and 动力线>ref(动力线,1) and c>l*1.03,100,11);
DRAWICON(x>动力线*2 and x>=80,90,6);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。