飞狐力道指标公式,飞狐超跌熊克星指标公式
admin888
|飞狐力道指标公式,飞狐超跌熊克星指标公式
飞狐力道指标公式
X1:=(CLOSE+LOW+HIGH)/3;
X2:=ema(X1,6);
X3:=Ema(X2,5);
DRAWGBK(X2>=X3,COLORRGB(150,0,0),COLORRGB(100,50,0),1);
DRAWGBK(X2
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
PARTLINE(VAR3,VAR3),LINETHICK2,colorFFFF;
PARTLINE(VAR2
stICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),colorFFFF;
STICKLINE(VAR2
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN
C1:=IF(XOPEN
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0.1,0),colorFF0000;
STICKLINE(XOPEN>=XCLOSE,C1,O1,6,0),colorFF0000;
STICKLINE(XOPEN
STICKLINE(XOPEN
ac:=CLOSE;
??:=WMA(HIGH,6);
?弱:=WMA(LOW,6);
B:=CLOSE*0;
FOR I=13+1 TO DATACOUNT DO BEGINIF AC[I]>??[I-1] THENB[I]:=1;ELSE
IF AC[I]
B[I]:=B[I-1];
END;
?折?:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,colorFFFFFF;
??:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
OP:=MA(X1,5);
REFOP:=REF(OP,1);
YDD:='==yungkuang==';
DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),CLOSE,YDD),ALIGN5,colorFF00;
EXPLAIN(CLOSE,'【多空力道??】'),colorFF;
EXPLAIN(OP>?折?,'多空方向:多?'),colorFF00FF;
EXPLAIN(OP
EXPLAIN(OP>REF(OP,1),'短操作?:向上'),colorFFFF;
EXPLAIN(OP=REF(OP,1),'短操作?:持平'),color808080;
EXPLAIN(X2>X3,'多空力道:向上'),colorFF;
EXPLAIN(X2
EXPLAIN(X2=X3,'多空力道:持平'),color808080;
EXPLAIN(??>REF(??,1),'主???:向上'),colorFF;
EXPLAIN(??=REF(??,1),'主???:持平'),color808080;
EXPLAIN(CLOSE,'==================='),colorFF0000;
EXPLAIN(CLOSE,'【均???】'),colorFF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
EXPLAIN(MA5>REF(MA5,1)*1.01,'5日均?:??向上'),colorFFFF;
EXPLAIN(MA5>REF(MA5,1),'5日均?:向上'),colorFF;
EXPLAIN(MA5=REF(MA5,1),'5日均?:持平'),colorFF0000;
EXPLAIN(MA10>REF(MA10,1),'10日均?:向上'),colorFF;
EXPLAIN(MA10=REF(MA10,1),'10日均?:持平'),colorFF0000;
EXPLAIN(MA20>REF(MA20,1),'20日均?:向上'),colorFF;
EXPLAIN(MA20=REF(MA20,1),'20日均?:持平'),colorFF0000;
EXPLAIN(MA60>REF(MA60,1),'60日均?:向上'),colorFF;
EXPLAIN(MA60=REF(MA60,1),'60日均?:持平'),colorFF0000;
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BArslAST(CLOSE
M11:=REF(M,1);
N9:=BARSLAST(CLOSE>ET AND C1<=ET1);
N1:=REF(N9,1);
M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;
N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));
H1:=IF(M-N9>0,CLOSE,ET2);
H2:=IF(A=1,CLOSE,C2);
H3:=IF(M-N9<0,CLOSE,XB2);
H4:=IF(A=1,CLOSE,XB2);
H5:=IF(M-N9>0 OR A=1,CLOSE,H3);
H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=H5>H6;
H9:=H4=REF(H4,1) AND REF(H4,1)REF(H5,2);
H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);
W:=H8 OR H9 OR H10;
T9:=H5
T12:=H5=REF(H5,1) AND H3=H4;
T13:=H2=REF(H2,1) AND H2=H5;
TW:=T9 OR T10 OR T11 OR T12 OR T13;
BBP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
EXPLAIN(CLOSE,'==================='),colorFF0000;
EXPLAIN(CLOSE,'【支??力??】'),colorFF;
EXPLAINEX(ISLASTBAR AND W,'最高?力:',H5*1.025,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,'最低支?:',H5*0.99,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,'最高?力:',(H5+H4)/1.96,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,'最低支?:',(H5+H3)/2.05,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND W,'高??力:',H5*1.02,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND W,'低?支?:',H5*1,2,0),color99FF;
EXPLAINEX(ISLASTBAR AND TW,'高??力:',(H5+H4)/1.99,2,0),colorFF9900;
EXPLAINEX(ISLASTBAR AND TW,'低?支?:',(H5+H3)/2.03,2,0),color99FF;
EXPLAIN(CLOSE,'==================='),colorFF0000;
飞狐超跌熊克星指标公式
n:=34;
DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);
{猎熊k线}VAR1:= HHV(H,N);
猎熊H:=(VAR1-L)/VAR1;
猎熊O:=(VAR1-O)/VAR1;
猎熊L:=(VAR1-H)/VAR1;
猎熊C:=(VAR1-C)/VAR1;
绝对A:40/100,LINETHICK,PRECISION2,COLORYELLOW;
阻力线:=ma(LLV(猎熊L,N),21);
TR1:=ema(MAX(MAX(H-L,Abs(H-REF(C,1))),ABS(REF(C,1)-L)),N);
HD :=H-REF(H,1);
LD :=REF(L,1)-L;
DMP:=EMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0&&LD>HD,LD,0),14);
pdi:= DMP*100/TR1;
mdi:= DMM*100/TR1;
ADX:= EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EMA(ADX,6);
基本超跌线: MA(HHV(猎熊H,N),21),LINETHICK,PRECISION2,COLORCYAN;
西熊线:=EMA(COUNT(C>REF(C,1),12),3)/24;
北熊线:=ADX*HHV(猎熊H,60)/HHV(ADX,60);
x1:=猎熊L>=0.35 AND 基本超跌线>=0.35 AND 猎熊L>基本超跌线;//完美理想
x2:=x1=0 AND 猎熊L>绝对A AND 基本超跌线>绝对A AND 猎熊L>基本超跌线;//第一理想
T:=ABS(IF(北熊线+猎熊H-西熊线*2>0,北熊线+猎熊H-西熊线*2,0));
点熊线:SMA(T,4,1),LINETHICK,PRECISION2,ColorFFB5FF;
T2:=SLOPE (点熊线,7);
点熊辅线: (T2+1)*(2/3*REF(点熊线,1)+1/3*点熊线),LINETHICK,PRECISION2,COLORGREEN;
n1:=sysparam(3);
n2:=sysparam(2);
n3:=(n1-n2)+1;
Gh:=hhv(点熊辅线,n3);
Gl:=llv(点熊辅线,n3);
Ghh:=Gh[n1];
Gll:=Gl[n1];
{指标线}RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))/2;
Kv:=SMA(RSV,3,1);
Dv:=SMA(Kv,3,1);
Jv:=3*Kv-2*Dv;
xy1:=EMA(Jv,6);
xy2:=REF(xy1,1);
做多:=IF(xy1>=xy2,xy1+0.02,xy2),ColorFF76FF;
做空:=IF(xy2-xy1,xy2,xy1),ColorFF7600;
{-----------------【图解模板】---------------------}
{背景}FILLRGN(xy1>=xy2,xy1+0.02,xy2),COLORRED;
FILLRGN(做空>=做多,xy2,xy1+0.02),ColorFF7600;
KLINE(猎熊O,猎熊H,猎熊L,猎熊C,0);//猎熊K线:
{各线}PARTLINE(C,绝对A),LINETHICK2,COLORYELLOW;
PARTLINE(C,做多),ColorFF76FF;
PARTLINE(C,做空),,ColorFF7600;
PARTLINE(C,点熊辅线),COLORGREEN;
PARTLINE(C,点熊线),ColorFFB5FF;
PARTLINE(C,基本超跌线),COLORCYAN;
{主信号}残缺理想:=猎熊L>0.3 AND 基本超跌线>0.3 AND 猎熊L>基本超跌线 AND x2=0 AND x1=0;
小波捉熊:=北熊线=猎熊H;
捉小熊:=点熊线<基本超跌线 ANDcrOSS(点熊辅线,点熊线)AND 点熊辅线>REF(点熊辅线,1);
平地伏熊:=FILTER((点熊线>0.0001 AND REF(点熊线,1)=0),5);
巅峰猎熊信号出击:=点熊线>绝对A AND CROSS(点熊辅线,点熊线) AND 点熊辅线>REF(点熊辅线,1);
完美理想:=猎熊L >=0.35 AND 基本超跌线>=0.35 AND 猎熊L>基本超跌线;
第一理想:=x1=0 AND 猎熊L>绝对A AND 基本超跌线>绝对A{ AND 猎熊L>基本超跌线};
信号:第一理想 or 完美理想 or 巅峰猎熊信号出击 or 平地伏熊 or 捉小熊 or 小波捉熊 or 残缺理想,linethick0;
DRAWICON(巅峰猎熊信号出击 ,点熊线+0.06,1);//巅峰猎熊:
DRAWICON(完美理想,Gll,10),ALIGN,PXDN20;//完美理想:
DRAWICON(第一理想,Gll,11),ALIGN,PXDN20;//第一理想:
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。