飞狐加仓止损趋势主图指标公式,飞狐牛熊波浪主图指标公式
admin888
|飞狐加仓止损趋势主图指标公式,飞狐牛熊波浪主图指标公式
飞狐加仓止损趋势主图指标公式
H1:ema(CLOSE,3),linethick2,colorred;
H2:Ema(H1,20),linethick2,coloryellow;
DRAWICON(crOSS(H1,H2)AND CLOSE
stICKLINE(H1>H2,H1,H2,1,0.8),COLORRED;
STICKLINE(H1
x1:=EMA(C,7);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,'★ 快跑' ),COLORYELLOW;
VarA:=REF(CLOSE,1);
VarB:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
DRAWTEXT(CROSS(75,VarB),HIGH,'☆短出'),Color00FF00 ;
选股1:cross(h1,h2),LINETHICK0,colorgreen;
DRAWTEXT(cross(h1,h2),l,'☆加仓'),ALIGN0,coloryellow,linethick3;
选股2:cross(h2,h1),LINETHICK0,colorred;
DRAWTEXT(cross(h2,h1),l,'☆止损'),ALIGN0,colorred,linethick3;
input:Q(27,1,250);
MA5:MA(CLOSE,5),linethick1;
MA10:MA(CLOSE,10),linethick1;
MA20:MA(CLOSE,20),Color0000FF,linethick1;
MA30:MA(CLOSE,30),ColorFFFF00,linethick1;
MA60:MA(CLOSE,60),ColorFF0000,linethick1;
MA120:MA(CLOSE,120),Color00FF00,linethick1;
MA250:MA(CLOSE,250),Colorgray,linethick1;
Var1:=(开盘价+最低价+最高价+收盘价)/4;
stickline(1,var1,var1,6,0),ColorFF00FF;
拐点:=ma(c,3); 拐点1:=ma(c,3);
gd1:=ref(count(拐点<=ref(拐点,1),5)=5 ,1) and 拐点>ref(拐点,1),linethick2 ,colorred ;
gd2:=ref(count(拐点1<=ref(拐点1,1),5)=5 ,1) and 拐点1>ref(拐点1,1),linethick2 ,colorred ;
DRAWICON(gd1,0.98*c,1);
DRAWICON(gd2,0.98*c,8);
飞狐牛熊波浪主图指标公式
量比:=v/ema(v,20);
c1:=(c+2*h+l+o)/5;
a1:=Ema((EMA(c1,2)+EMA(c1,4)+EMA(c1,6))/3,3);
a2:=EMA((EMA(c1,6)+EMA(c1,8)+EMA( c1,10))/3,3);
a3:=EMA((EMA(c1,10)+EMA(c1,12)+EMA( c1,14))/3,3);
a4:=EMA((EMA(c1,14)+EMA(c1,16)+EMA( c1,18))/3,3);
a5:=EMA((EMA(c1,18)+EMA(c1,20)+EMA( c1,22))/3,3);
a6:=EMA((EMA(c1,22)+EMA(c1,24)+EMA(c1,26))/3,3);
a:=EMA((EMA(c1,29)+EMA(c1,31)+EMA(c1,33))/3,3),colorwhite;
PARTLINE(c1>a,a),colormagenta,linethick2;
PARTLINE(a1>ref(a1,1),a1),colormagenta,POINTDOT;
PARTLINE(a2>ref(a2,1),a2),colormagenta,POINTDOT;
PARTLINE(a3>ref(a3,1),a3),colormagenta,POINTDOT;
PARTLINE(a4>ref(a4,1),a4),colormagenta,POINTDOT;
PARTLINE(a5>ref(a5,1),a5),colormagenta,POINTDOT;
PARTLINE(a6>ref(a6,1),a6),colormagenta,POINTDOT;
tj:=c1>a;
tj2:=c1>open or c1=open and c1>ref(c1,1);
stICKLINE(tj2,HIGH,LOW,0.5,0),colorred;
STICKLINE(tj,OPEN,CLOSE,8,0),color102088;
STICKLINE(tj,OPEN,CLOSE,7,0),color102099;
STICKLINE(tj,OPEN,CLOSE,6,0),color1020aa;
STICKLINE(tj,OPEN,CLOSE,5,0),color1020bb;
STICKLINE(tj,OPEN,CLOSE,4,0),color1020cc;
STICKLINE(tj,OPEN,CLOSE,3,0),color1020dd;
STICKLINE(tj,OPEN,CLOSE,2,0),color1020ee;
STICKLINE(tj,OPEN,CLOSE,1,0),color1020ff;
STICKLINE(not(tj),OPEN,CLOSE,8,0),colorff7700;
STICKLINE(not(tj),OPEN,CLOSE,7,0),colorff8800;
STICKLINE(not(tj),OPEN,CLOSE,6,0),colorff9900;
STICKLINE(not(tj),OPEN,CLOSE,5,0),colorffaa00;
STICKLINE(not(tj),OPEN,CLOSE,4,0),colorffbb00;
STICKLINE(not(tj),OPEN,CLOSE,3,0),colorffcc00;
STICKLINE(not(tj),OPEN,CLOSE,2,0),colorffdd00;
STICKLINE(not(tj),OPEN,CLOSE,1,0),colorffee00;
c11:=ref(c,1);
c2:=hhv(c11,2);
c3:=llv(c11,1);
et:=hhv(c11,2);
et1:=ref(et,1);
xb:=llv(c11,1);
xb1:=ref(xb,1);
m:=BArslAST(c
m1:=ref(m,1);
n9:=BARSLAST(c>et and c11<=et1);
n1:=ref(n9,1);
m2:=BARSLAST(m-n9>0 and m1<=n1)+1;
n2:=BARSLAST(n9-m>0 and n1<=m1)+1;
et2:=hhv(et,m2);
xb2:=llv(xb,n2);
app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2));
h11:=if(m-n9>0,c,et2);
h2:=if(app=1,c,c2);
h3:=if(m-n9<0,c,xb2);
h4:=if(app=1,c,xb2);
关键位:=if(m-n9>0 or app=1 ,c,h3);
p1:=la and 量比>1 and a1>ref(a1,1) and 关键位>ref(关键位,1) orcross(c,a) and 量比>1 and 关键位>ref(关键位,1);
DRAWTEXT(p1,L*0.99,'买'),COLORgreen,ALIGN0;
量比:=v/ema(v,20);
c1:=(c+2*h+l+o)/5;
a1:=EMA((EMA(c1,2)+EMA(c1,4)+EMA(c1,6))/3,3);
a2:=EMA((EMA(c1,6)+EMA(c1,8)+EMA( c1,10))/3,3);
a3:=EMA((EMA(c1,10)+EMA(c1,12)+EMA( c1,14))/3,3);
a4:=EMA((EMA(c1,14)+EMA(c1,16)+EMA( c1,18))/3,3);
a5:=EMA((EMA(c1,18)+EMA(c1,20)+EMA( c1,22))/3,3);
a6:=EMA((EMA(c1,22)+EMA(c1,24)+EMA(c1,26))/3,3);
a:=EMA((EMA(c1,29)+EMA(c1,31)+EMA(c1,33))/3,3),colorwhite;
PARTLINE(c1>a,a),colormagenta,linethick2;
PARTLINE(a1>ref(a1,1),a1),colormagenta,POINTDOT;
PARTLINE(a2>ref(a2,1),a2),colormagenta,POINTDOT;
PARTLINE(a3>ref(a3,1),a3),colormagenta,POINTDOT;
PARTLINE(a4>ref(a4,1),a4),colormagenta,POINTDOT;
PARTLINE(a5>ref(a5,1),a5),colormagenta,POINTDOT;
PARTLINE(a6>ref(a6,1),a6),colormagenta,POINTDOT;
tj:=c1>a;
tj2:=c1>open or c1=open and c1>ref(c1,1);
STICKLINE(tj2,HIGH,LOW,0.5,0),colorred;
STICKLINE(tj,OPEN,CLOSE,8,0),color102088;
STICKLINE(tj,OPEN,CLOSE,7,0),color102099;
STICKLINE(tj,OPEN,CLOSE,6,0),color1020aa;
STICKLINE(tj,OPEN,CLOSE,5,0),color1020bb;
STICKLINE(tj,OPEN,CLOSE,4,0),color1020cc;
STICKLINE(tj,OPEN,CLOSE,3,0),color1020dd;
STICKLINE(tj,OPEN,CLOSE,2,0),color1020ee;
STICKLINE(tj,OPEN,CLOSE,1,0),color1020ff;
STICKLINE(not(tj),OPEN,CLOSE,8,0),colorff7700;
STICKLINE(not(tj),OPEN,CLOSE,7,0),colorff8800;
STICKLINE(not(tj),OPEN,CLOSE,6,0),colorff9900;
STICKLINE(not(tj),OPEN,CLOSE,5,0),colorffaa00;
STICKLINE(not(tj),OPEN,CLOSE,4,0),colorffbb00;
STICKLINE(not(tj),OPEN,CLOSE,3,0),colorffcc00;
STICKLINE(not(tj),OPEN,CLOSE,2,0),colorffdd00;
STICKLINE(not(tj),OPEN,CLOSE,1,0),colorffee00;
c11:=ref(c,1);
c2:=hhv(c11,2);
c3:=llv(c11,1);
et:=hhv(c11,2);
et1:=ref(et,1);
xb:=llv(c11,1);
xb1:=ref(xb,1);
m:=BARSLAST(c
m1:=ref(m,1);
n9:=BARSLAST(c>et and c11<=et1);
n1:=ref(n9,1);
m2:=BARSLAST(m-n9>0 and m1<=n1)+1;
n2:=BARSLAST(n9-m>0 and n1<=m1)+1;
et2:=hhv(et,m2);
xb2:=llv(xb,n2);
app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2));
h11:=if(m-n9>0,c,et2);
h2:=if(app=1,c,c2);
h3:=if(m-n9<0,c,xb2);
h4:=if(app=1,c,xb2);
关键位:=if(m-n9>0 or app=1 ,c,h3);
p1:=la and 量比>1 and a1>ref(a1,1) and 关键位>ref(关键位,1) or cross(c,a) and 量比>1 and 关键位>ref(关键位,1);
DRAWTEXT(p1,L*0.99,'买'),COLORgreen,ALIGN0 ;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。