飞狐低位反转指标公式,飞狐三合一指标公式
admin888
|飞狐低位反转指标公式,飞狐三合一指标公式
飞狐低位反转指标公式
P:=26;S:=12;M:=9;
difF :=ema(CLOSE,S) - Ema(CLOSE,P);
DEA :=EMA(DIFF,M);
macd:20*(DIFF-DEA),COLORWHITE;
stICKLINE(MacD>=REF(MACD,1) AND MACD>=0,0,MACD,5,0),COLOR0066FF;
STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,5,0),COLORWHITE;
STICKLINE(MACD=0,0,MACD,5,0),COLOR00FF00;
LS:=MACD>REF(MACD,1) AND (REF(MACD,1)<=0 OR REF(MACD,1)<=REF(MACD,2));
二浪:=(LS AND MACD>0 AND COUNT(LS,15)>=2)*MACD,STICK,COLORYELLOW,LINETHICK2;
DLS:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)
二底:=DLS AND COUNT(DLS,15)>=2,STICK,COLORFF00FF,LINETHICK2;
金叉:=cr(MACD,0),STICK,COLORRED,LINETHICK2;
MACD走强:=金叉 OR 二浪>0 OR 二底;
{低位反转}ZF:=(C/REF(C,1)-1)*100;
低点:LLV(C,3)=LLV(C,10) OR LLV(L,3)=LLV(L,10),COLOR00FF00,POINTDOT;
STICKLINE(低点,0 ,0.5 ,5 ,1 ),COLOR00FF00;
涨:(V>REF(V,1) AND ZF>=2 AND C>O)*0.5,COLORYELLOW,STICK,linethick2;
反转1:(涨>0 AND 低点)*2,COLOR00FF00,linethick2;
反转2:(COUNT(ZF>0,2)=2 AND 低点)*3,COLORWHITE,linethick2;
优选:(反转1>0 OR 反转2>0) AND MACD走强,COLORFF00FF,POINTDOT;
ZZ:=COUNT(优选,7) AND 涨;
追涨:(ZZ AND COUNT(ZZ,2)=1)*5,COLORRED,linethick2;
DRAWICON(优选,0.5,1);
飞狐三合一指标公式
n:=24;
bc:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);
多:(bc-ma(bc,n))/((2*N/1000)*AVEDEV(BC,n)),COLOR6600FF;
空:-(c-MA(C,n))/((2*N/1000)*AVEDEV(C,n)),COLORAAAA00;
FILLRGN(多<空,多,空),COLORFF0080;
FILLRGN(多>空,多,空),COLOR6600FF;
stICKLINE(C>0,100,100,10,0),COLOR00bb00;
STICKLINE(C>0,75,75,3,0),COLORWHITE;
STICKLINE(C>0,50,50,6,0),COLORMAGENTA;
STICKLINE(C>0,0,0,6,0),COLORYELLOW;
STICKLINE(C>0,-50,-50,6,0),COLORMAGENTA;
STICKLINE(C>0,-100,-100,10,0),COLOR00bb00;
STICKLINE(C>0,-75,-75,3,0),COLORWHITE;
DL:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*(n*10)-(n*10/2);
K:SMA(DL,N/3,1),COLORWHITE,POINTDOT;
D:ema(K,3),COLORYELLOW,POINTDOT;
FILLRGN(K>=D,K,D),COLORBROWN;
FILLRGN(K
LC:=REF(BC,1);
rsi:SMA(MAX(BC-LC,0),N,1)/SMA(A
bs(BC-LC),N,1)*(N*10)-(N*10/2),COLORSTICK,COLORCYAN;
B1:=if(K>=0 AND K>D,2,IF(k<0 AND K>D,1,0));
B2:=if(多>=空,2,0);
B3:=if(rsi>=0,2,0);
共振:(B1+B2+B3),LINETHICK;
PARTLINE(共振=1,0),COLORWHITE,CIRCLEDOT;
PARTLINE(共振>=3,0),COLORYELLOW,CIRCLEDOT;
PARTLINE(共振>=5,0),COLORBROWN,CIRCLEDOT;
DRAWTEXT(crOSS(共振,2.5),-15,'买'),COLORWHITE,ALIGN0;
DRAWTEXT(CROSS(共振,4.5),25,'追'),COLORYELLOW,ALIGN0;
超卖:STICKLINE(K<-80,K,-75,0,0),COLORYELLOW;
STICKLINE(K<-100,K,-100,5,0),COLORMAGENTA;
超买:STICKLINE(K>80,K,75,3,0),COLORRED;
STICKLINE(K>100,K,100,5,0),COLORBLUE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。