飞狐财务主图指标
-
相关简介:飞狐财务主图指标 源码 年认同价:=MA(C,240); 价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价0)+239)); G:价格中枢*1.2,LINETHICK2,color009900; G2:价格中枢*1.618,POINTDOT,Colorwhite; G3:价格中枢*1.382,POINTDOT,Colorwhite; G1:价格中枢*0.8,LINETHICK2,color009900; STICKLINE(G10,G1,G,8,0),color5f5f5f;
-
文章来源:股海网作者:股海网发布时间:2016-05-21浏览次数:
飞狐财务主图指标
源码
年认同价:=MA(C,240);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));
G:价格中枢*1.2,LINETHICK2,color009900;
G2:价格中枢*1.618,POINTDOT,Colorwhite;
G3:价格中枢*1.382,POINTDOT,Colorwhite;
G1:价格中枢*0.8,LINETHICK2,color009900;
STICKLINE(G1>0,G1,G,8,0),color5f5f5f;
毛利润率:=FINANCE(21)/FINANCE(20);
成长价值:年认同价*(1+毛利润率),Coloryellow,linethick1;
收益价值:年认同价+FINANCE(33),Colorred,linethick1;
价格中枢,LINETHICK1,COLORFFBB00;
a:=(3*c+l+o+h)/6;
X:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
回调认同:eMA(X,13),colorFF00FF;
STICKLINE(close>=open,open,close,5,1),colorred;
STICKLINE(open>close,close,open,5,0 ),colorffff50;
STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;
STICKLINE(close>=open,open,low,0.5 ,0),colorred;
STICKLINE(open>close,close,low,0.5 ,0 ),colorffff50;
STICKLINE(open>close,open,HIGH,0.5 ,0 ),colorffff50;
aa:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(aa,open,close,5,0),coloryellow;
STICKLINE(aa,low,HIGH,0.5 ,0 ),coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
卖:=CROSS(84,RSI);
DRAWTEXT(卖,(HIGH * 1.02),'●'),colorwhite;
M17:EMA(CLOSE,17),colorblue;
ab:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
买:=cross(ab,0);
STICKLINE(买,open,close,5,0),colorFF00FF;
STICKLINE(买,low,HIGH,0.5 ,0 ),colorFF00FF;
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.02
JYZHV:=V<REF(V,1) ;
JYZH:=JYZHK AND JYZHV;
DRAWTEXT(JYZH,LOW/1.01,'★'),COLORRED;
c2:=EMA(a,6);
c3:=EMA(a,5);
c4:=CROSS(c2,c3);
DRAWTEXT(c4,LOW/1.01,'▲'),COLORRED;