飞狐黄金金叉指标公式,飞狐回调认同主图指标公式
admin888
|飞狐黄金金叉指标公式,飞狐回调认同主图指标公式
飞狐黄金金叉指标公式
T1:=5;
T2:=4;
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
BB:=ma(P,3);
CC:=(SUM(IF((P > REF(P,1)),(P)*(vol),0),4))/(SUM(IF((P < REF(P,1)),(P)*(VOL),0),4));
DD:=REF(100 - (100)/(1 + CC),1);
A1:=HHV(P,15);
A2:=LLV(P,15);
A3:=A1 - A2;
A4:=(ema((P - A2)/(A3),2))*(100);
B1:=HHV(P,60);
B2:=LLV(P,60);
B3:=B1 - B2;
B4:=(EMA((P - B2)/(B3),2))*(100);
C1:=HHV(P,240);
C2:=LLV(P,240);
C3:=C1 - C2;
C4:=(EMA((P - C2)/(C3),2))*(100);
长风险:C4,Linethick2,Color443434;
中风险:B4,ColorAA7755;
短风险:A4,Color44AABB;
IF(FILTER((中风险 < REF(中风险,1)) and (中风险 > 90) and (BB < REF(BB,1)),5),92,100),Linethick2,Color44BB00;
IF(FILTER((中风险 > REF(中风险,1)) and (中风险 < 5) and (CLOSE > REF(CLOSE,1)),5),14,0),Linethick2,Color2222FF;
VAR4:=LLV(LOW,T1);
VAR5:=HHV(HIGH,T2);
散户:EMA(((P - VAR4)/(VAR5 - VAR4))*(100),T2),Linethick2,Color3333DD;
庄家:EMA((0.667)*(REF(散户,1)) + (0.333)*(散户),2),Linethick2,ColorDDCC00;
VAR6:=((HHV(HIGH,4) - P)/(HHV(HIGH,4) - LLV(LOW,4)))*(100) - 72;
VAR7:=((P - LLV(LOW,4))/(HHV(HIGH,4) - LLV(LOW,4)))*(100);
VAR8:=SMA(VAR7,2,1);
DRAWTEXT(crOSS(散户,庄家) and (散户 < 50) and (29 < 散户),20,'▲'),colorred;
DRAWTEXT(CROSS(庄家,散户) and (散户 > 40) and (71 > 散户),70,'?'),ColorFF0000;
DRAWTEXT(CROSS(散户,庄家) and (散户 < 30),30,'吸'),colorred;
DRAWICON(CROSS(散户,庄家) and (散户 < 30),20,1),coloryellow;
DRAWICON(CROSS(庄家,散户) and (散户 > 70),80,2),ColorFF00FF;
VAR9:=CLOSE - REF(CLOSE,5);
VARA:=((EMA(EMA(VAR9,5),5))/(EMA(EMA(Abs(VAR9),5),5)))*(100);
VARB:=((EMA(EMA(VAR9,10),10))/(EMA(EMA(ABS(VAR9),10),10)))*(100);
VARC:=((EMA(EMA(VAR9,20),20))/(EMA(EMA(ABS(VAR9),20),20)))*(100);
卖出:=IF((VARA > 0) and CROSS(VARC,VARA),10,0);
DRAWICON((卖出 > 0),60,2),Color00FF00;
cci:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
rsi1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
stICKLINE((CCI > 100),106,100,6,0),Color00ac00;
STICKLINE((RSI1 > 80),105,102,6,0),Color00FE00;
STICKLINE((CCI < (-100)),(-6),0,6,0),coloryellow;
STICKLINE((RSI1 < 25),(-6),(-2),6,0),ColorFF44FF;
D1:=(中风险 > REF(中风险,1)) and (短风险 > REF(短风险,1)) and (长风险 > REF(长风险,1)) and (长风险 < 8) and (中风险 < 10) and (短风险 < 15);
D2:=CROSS(短风险,中风险) and (中风险 < 8);
D3:=CROSS(短风险,长风险) and (长风险 < 8) and (中风险 < 20);
DRAWICON(FILTER(D1 or D2 or D3 and (DD < 15) and (CLOSE > REF(CLOSE,1)),5),8,1),ColorFF0000;
DRAWICON(FILTER((中风险 < REF(中风险,1)) and (短风险 < REF(短风险,1)) and (长风险 < REF(长风险,1)) and (中风险 > 95) and (短风险 > 85) or (长风险 > 100) and (中风险 > 100) and (短风险 > 100),5),95,2),Color000080;
警戒线:80,ColorDCDCDC;
启动线:20,coloryellow;
50,POINTDOT,Color00DCDC;
飞狐回调认同主图指标公式
年认同价:=ma(c,240);
价格中枢:=(SUM(年认同价,0)/BARPOS);
G:价格中枢*1.2,LINETHICK4,color009900;
G2:价格中枢*1.618,POINTDOT,Colorwhite;
G3:价格中枢*1.382,POINTDOT,Colorwhite;
G1:价格中枢*0.8,LINETHICK4,color009900;
FILLRGN(G1>0,G1,G),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,8,1),colorred;
STICKLINE(open>close,close,open,8,0 ),colorgreen;
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 ),colorgreen;
STICKLINE(open>close,open,HIGH,0.5 ,0 ),colorgreen;
aa:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(aa,open,close,8,0),coloryellow;
STICKLINE(aa,low,HIGH,0.5 ,0 ),coloryellow;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。