飞狐控制风险指标公式,飞狐综合分析指标公式
admin888
|飞狐控制风险指标公式,飞狐综合分析指标公式
飞狐控制风险指标公式
{快线:=(ma(C,3)-MA(C,26))*15;
慢线:=(ema(快线,5)+EMA(快线,5))/2;
stICKLINE(快线<-3 OR 快线<慢线,0,-2,0.1,0),COLORffcc66;
PARTLINE(快线>-3.58 AND 快线>慢线,1),LINETHICK2,COLOR008800;
PARTLINE(快线>-0.5,1),COLORFF972F;{FX陈琛5}}
启动线:(SUM(EMA((C+L)/2,2),3)/1.158),COLORRED;
平衡线:LLV(SUM( EMA((C+L)/2,2),3)/1.158,4),COLORMAGENTA;
平台线:LLV(SUM( EMA((C+L)/2,2),3)/1.158,8),COLORFFFFFF;
强弱线:EMA(启动线,21),COLORYELLOW;
STICKLINE(平台线<启动线,启动线,平台线,0.1,0),COLORFF972F;
STICKLINE(平衡线<启动线,启动线,平衡线,0.1,0),COLORRED;
Var1:=2*MA(LLV((C+L)/2,8)*1.1,13)-EMA((C+L)/2,3)-((C+L)/2)*0.1;
Var2:=if((EMA((C+L)/2,3)-Var1)*5>0,POW((EMA((C+L)/2,3)-Var1)*5,2)/10,-1*POW((EMA((C+L)/2,3)-Var1)*5,2)/10);
Var3:=IF(Var2>0,Var2-0,0);
DRAWTEXT(crOSS(Var3,0) AND (C+L)/2>MA((C+L)/2,8),强弱线*1.01,'注控'),LINETHICK2,ALIGN1,COLORFFFFFF;
注意风险: STICKLINE((SMA(MAX((C+L)/2-REF((C+L)/2,2),0),7,1)/SMA(Abs((C+L)/2- REF((C+L)/2,2)),7,1)*100)>80,启动线+0.45,启动线+0.25,6,0),COLORFF972F;
价位:=SMA((C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*100,8,1);
控制风险:STICKLINE((3*价位-2*(SMA(价位,3,1)))>75.8,启动线+0.7,启动线+0.5,6,1),COLORYELLOW;
风:=((H+C)/2+L+(C+L)/2)/3;险:=EMA((风-EMA(LLV(风,47),2))/(EMA(HHV(风,21),2)-EMA(LLV(风,47),2)),2)*90;
风险:STICKLINE(险>86.8,启动线,启动线+0.2,6,1),COLORFFFFFF;
飞狐综合分析指标公式
DRAWGBK((CLOSE > 0),COLORRGB(0,0,0),COLORRGB(0,0,0),1);
0,Color808080;
2,Color008000,POINTDOT;
4,Color008000,POINTDOT;
6,Color808080;
{kdj}A2:=BArslAst(REF(crOSS("kdJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
STICKLINE("KDJ.J"<20,5,4.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"KDJ.J"),4.8,'J<20'),Color80FFFF;
STICKLINE(B2>0,5,4,2,0),COLORRED;
DRAWTEXT(B2>0,4.4,'←底离'),COLORRED;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)
STICKLINE("KDJ.J">80,5,5.5,5,1),Color4080FF;
DRAWTEXT(CROSS("KDJ.J",80),5.4,'J>80'),ColorFFFF00;
STICKLINE(D2>0,5,6,2,0),COLORGREEN;
DRAWTEXT(D2>0,5.7,'←顶离'),COLORGREEN;
PARTLINE("KDJ.K">"KDJ.D",5),COLOR
maGENTA,LINETHICK2;//KDJ指标线K>D,中轴为粉色
PARTLINE("KDJ.K"<"KDJ.D",5),ColorFF0000,LINETHICK2;//KDJ指标线K
DRAWTEXTEX(C>0,1,1,10,'《KDJ指标》'),Color00A6A6;
{rsi}A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
STICKLINE("RSI.RSI1"<20,3,2.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"RSI.RSI1"),2.8,'超卖'),Color80FFFF;
STICKLINE(B3>0,3,2,2,0),COLORRED;
DRAWTEXT(B3>0,2.4,'←底离'),COLORRED;
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
D3:=REF(C,C3+1)
STICKLINE("RSI.RSI1">80,3,3.5,5,1),Color4080FF;
DRAWTEXT(CROSS("RSI.RSI1",80),3.4,'超买'),ColorFFFF00;
STICKLINE(D3>0,3,4,2,0),COLORGREEN;
DRAWTEXT(D3>0,3.7,'←顶离'),COLORGREEN;
PARTLINE("RSI.RSI1">"RSI.RSI2",3),COLORMAGENTA,LINETHICK2;//RSI指标线RSI1>RSI2,中轴为粉色
PARTLINE("RSI.RSI1"<"RSI.RSI2",3),ColorFF0000,LINETHICK2;//RSI指标线RSI1
DRAWTEXTEX(C>0,1,1,350,'《RSI指标》'),Color00A6A6;
{macd}A1:=BARSLAST(ref(cross("MacD.diff","MACD.dea"),1));
B1:=ref(c,A1+1)>c and ref("MACD.diff",A1+1)<"MACD.diff" and cross("MACD.diff","MACD.dea");
STICKLINE("MACD.diff"<0,1,0.5,5,1),Color808040;
DRAWTEXT(CROSS(0,"MACD.diff"),0.8,'DIFF<0'),Color80FFFF;
STICKLINE(B1>0,1,0,2,0),COLORRED;
DRAWTEXT(B1>0,0.4,'←底离'),COLORRED;
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIFF"),1));
D1:=REF(CLOSE,C1+1)
STICKLINE("MACD.diff">0,1,1.5,5,1),Color4080FF;
DRAWTEXT(CROSS("MACD.diff",0),1.4,'DIFF>0'),ColorFFFF00;
STICKLINE(D1>0,1,2,2,0),COLORGREEN;
DRAWTEXT(D1>0,1.7,'←顶离'),COLORGREEN;
PARTLINE("MACD.diff">"MACD.dea",1),COLORMAGENTA,LINETHICK2;//MACD指标线DIFF>DEA,中轴为粉色
PARTLINE("MACD.diff"<"MACD.dea",1),ColorFF0000,LINETHICK2;//MACD指标线DIFF
DRAWTEXTEX(C>0,1,1,680,'《MACD指标》'),Color00A6A6;//
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。