飞狐天龙八布指标公式,飞狐天地人和主图指标公式
admin888
|飞狐天龙八布指标公式,飞狐天地人和主图指标公式
飞狐天龙八布指标公式
ma13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA34:=MA(CLOSE,34);
MA55:=MA(CLOSE,55);
MA89:=MA(CLOSE,89);
Var1:=IF(DATE<1991231,1,0);
Var2:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var2,0),6,1)/SMA(Abs(CLOSE-Var2),6,1)*100;
qVar2:=LLV(LOW,10);
qVar3:=HHV(HIGH,25);
{阶段卖出线: 3.2;
3.5;
卖出线: 3.5;}
动力线:ema((CLOSE-qVar2)/(qVar3-qVar2)*4,4)/3, COLOR00ff00;
CJJR:=AMOUNT/vol/100;
{小顶}PJJ:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
HJJR:=SUM(AMOUNT,13)/CJJR/100;
cycN:=dma(PJJ,VOL/HJJR);
CYS:=((CLOSE-CYCN)/CYCN)*100;
{ cya1:=if(hhv(cys,8)<12 and llv(cys,8)>4,1,0);
cya2:=if(hhv(cys,7)<12 and llv(cys,7)>4,1,0);
cya3:=if(hhv(cys,6)<12 and llv(cys,6)>4,1,0);
cya4:=if(hhv(cys,5)<12 and llv(cys,5)>4,1,0);
cya5:=if(hhv(cys,4)<12 and llv(cys,4)>4,1,0);
}cya6:=if(hhv(cys,3)<12 and llv(cys,3)>4,1,0);
{ cya7:=if(hhv(cys,2)<12 and llv(cys,2)>4,1,0);
cya8:=if(cys<12 and cys>4,1,0);
}{ cya9:=if(cya1 or cya2 or cya3 or cya4 or cya5 or cya6 or cya7 or cya8,1,0);
Var4:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var5:=1/WINNER(CLOSE);
Var6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var7:=100-ABS(Var6);
Var8:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var9:=SMA(Var8,20,1);
VarA:=SMA(Var9,15,1);
VarB:=100-3*Var9+2*VarA;
VarC:=((EMA(IF(VarB>REF(VarB,1),VarB,VarB-3),3)-50)*(-1)*2/2+50)/10;
VarD:=EMA(AMOUNT,13)/EMA(VOL,13);
VarE:=(VarD/REF(VarD,1)-1)*100;
VarF:=VOL/CAPITAL*100;
Var10:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
Var11:=(VarC+VarF)*Var10*VarE;
多空指数:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4, COLORRED, LINETHICK3;
{bbi}减三分一:=IF(Var11>50 AND C>MA34 AND Var11<100,50,0),stICK;
减二分一:=IF(Var11>100 AND C>MA55 AND Var11<200,100,0), STICK;
减三分二:=IF(Var11>200 AND C>多空指数,160,0), STICK;
退出:=IF(Var4>1.1 AND Var4<1.15 AND Var4
支撑:=COST(10);
压支撑:=支撑*0.12,coloryellow;
tj:=ma(支撑,10);
九成:=cost(100);
di:=c
{调低d:=di*0.46 COLORYELLOW;
}调低: STICKLINE(di,0,0.26,4,0), colorf0f000;
tj2:=MA(九成,5);
tj3:=ema(winner(c),5);
动顶a:stickline(动力线>3.5/3,动力线,3.5/3,10,0), COLORRED;
底:stickline(tj3<0.2,tj3,0.2,10,0), COLORRED ;
{整期:(STICKLINE(di,0,1,1,0)*0.2), COLORGRAY ;
}DRAWTEXT(cross(tj3,0.12) and count(tj3>=0.12,10)=1,0.12,'确认底'),COLORyellow ;
顶:stickline(tj3>0.8,tj3,0.8,10,0), COLORCCFF00 ;
DRAWTEXT(cross(tj3,0.8) and count(tj3>=0.8,10)=1,0.81,'顶'),COLOR00ff00 ,LINETHICK2;
DRAWTEXT(cross(0.89,tj3) and count(tj3<=0.89,10)=1,0.853,'警'),colorf00ff0 ;
顶卖:(cross(tj3,0.8) and count(tj3>=0.8,10)), STICK,colorffffff;
drawicon(cross(tj3,0.8) and count(tj3>=0.8,10),0.6,2);
dd:=c>tj2 ;
顶d:=dd*0.76;
卖线:stickline(dd,0,0.1,5,0),colorblue;
(ema(winner(c),5)), linethick2;
VarA1:=CLOSE;
VarA2:=REF(CLOSE,1);
VarA3:=REF(CLOSE,2);
VarA4:=REF(CLOSE,3);
VarA5:=VarA1>VarA2 AND VarA1>VarA3 AND VarA1>VarA4AND VarA1>MA(CLOSE,3) AND WINNER(CLOSE)<5/100;
VarA6:=VarA1
VarA7:=MIN(HHV(CLOSE,20),LLV(CLOSE,20));
买入:if(VarA5*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0),0.4,0), STICK,linethick3,colorred;
drawicon(VarA5*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0),0.5,1);
DRAWTEXT(cross(买入,0.1) and count(买入>0,1)=1,0.28,'买'),coloryellow;
高:=九成;
动顶:stickline(动力线>2.8/3,3.2/3,3/3.0,10,0), COLORCCFF00;
动顶卖:DRAWTEXT(cya6=1 and 动力线>2.8/3 and COUNT(cya6,5)=1,3.2/3,'动顶卖'), COLORCCFF00;
卖出:if(VarA6*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0)*-0.2,0.4,0), STICK,coloryellow ;
drawicon(VarA6*(VarA1-VarA7*0.95)*SGN(CAPITAL<>0)*-0.2,0.4,2);
WW:=DRAWTEXT(cross(-0.1,卖出) and count(卖出<-0,1)=1,0.6,'卖'),COLORf0f000;
MA3b:=MA(CLOSE,3);
MA4b:=MA(CLOSE,4);
{短卖:if(CROSS(MA(CLOSE,4),MA(CLOSE,3)) and MA3b
}MAV1:=(2*C+H+L)/4;
{NSK牛熊星}A1:=(EMA(MAV1,3)+EMA(MAV1,6)+EMA(MAV1,12)+EMA(MAV1,24))/4;
VARA8:=WINNER( C)*100;
熊市克星线:=0.5,colorred,Linethick0;
牛市克星线:=-0.5,colorgreen,Linethick0;
VAR18:=(A1-c)/((A1+c)/2)*100;
VAR28:=(H-A1)/((A1+H)/2)*100;
DRAWTEXT(减三分一=50 AND REF(Var3,1)<92 AND COUNT(减三分一,5)=1,0.21,'减三分一'),coloryellow;
AA:=DRAWTEXT(减三分二=160 AND REF(Var3,1)<92,0.46,'减三分二');
DRAWTEXT(减二分一=100 AND REF(Var3,1)<92,0.56,'减二分一') ,color00ff00
BB:DRAWTEXT(退出=200 AND REF(Var3,1)<92 AND COUNT(退出,5)=1,0.71,'退出'),colorf0f000;
EE:DRAWTEXT(止盈=200 AND COUNT(止盈,5)=1,0.36,'专用止盈'), COLORf00ff0;
反转:IF(VAR18>10.8 AND VARA8<35,0.8,IF(VAR28>10.5 AND VARA8<96,0,0.5)), COLORf00ff0;
飞狐天地人和主图指标公式
N:=5;
M:=3;
均价:=(2*C+(H-L)/2+L+o)/4;
变:=(ema(均价,3)*7+ema(均价,7)*3)/10;
参:=EMA((7*均价+6*REF(均价,1)+5*REF(均价,2)+4*REF(均价,3)+3*REF(均价,4)+2*REF(均价,5)+1*REF(均价,6))/28,1);
DRAWGBK(变=参,COLORRGB(30,30,30),COLORRGB(130,130,130),1);
DRAWGBK(变>参,COLORRGB(110,0,0),COLORRGB(0,0,0),0);
DRAWGBK(变<参,COLORRGB(0,110,0),COLORRGB(0,0,0),0);
YC:=REF(CLOSE,1);
止损价位:=(YC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
DRAWTEXTEX(1,0,15,20,'★ ======================'),COLORRED;
DRAWTEXTEX(1,0,15,30,'操 '),COLORRED;
DRAWTEXTEX(1,0,15,50,'盘 '),COLORRED;
DRAWTEXTEX(1,0,15,70,'铁'),COLORRED;
DRAWTEXTEX(1,0,15,89,'律'),COLORRED;
DRAWTEXTEX(1,0,15,105,'★ ======================'),COLORRED;
DRAWTEXTEX(1,0,15,41,'买入条件 人 和'),colorYellow;
DRAWTEXTEX(1,0,15,57,' 买入时间2:30以后' ),colorYellow;
DRAWTEXTEX(1,0,15,73,' 止损价位 '+NUMTOstR(止损价位,2)+'元'),colorYellow;
DRAWTEXTEX(1,0,15,89,' 线上:工作 线下:休息'),color00FFFF;
明日阻力:=2*均价-LOW;
明日支撑:=2*均价-HIGH;
明日突破:=均价+(HIGH-LOW);
明日反转:=均价-(HIGH-LOW);
今日阻力:=REF(明日阻力,1);
今日支撑:=REF(明日支撑,1);
次日心理价:=(均价+明日突破+明日阻力+明日支撑+明日反转)/5,COLORWHITE,LINETHICK;
今日保护价:=(REF(均价,1)+REF(均价,2)+均价)/3,COLOR0099FF,LINETHICK;
DRAWTEXTEX(1,0,200,25,'今日阻力=:'+NUMTOSTR(今日阻力,2)),ColorFFFF00;
DRAWTEXTEX(1,0,200,41,'今日支撑=:'+NUMTOSTR(今日支撑,2)),Colorred;
DRAWTEXTEX(1,0,200,57,'明日突破=:'+NUMTOSTR(明日突破,2)),ColorFF00FF;
DRAWTEXTEX(1,0,200,73,'明日阻力=:'+NUMTOSTR(明日阻力,2)),ColorFFFF00;
DRAWTEXTEX(1,0,200,89,'明日支撑=:'+NUMTOSTR(明日支撑,2)),COLORRED;
DRAWTEXTEX(1,0,200,105,'明日反转=:'+NUMTOSTR(明日反转,2)),COLORYellow;
DRAWTEXTEX(1,0,200,121,'次日心理价=:'+NUMTOSTR(次日心理价,2)),COLORRED;
DRAWTEXTEX(1,0,200,137,'今日保护价=:'+NUMTOSTR(今日保护价,2)),COLORGREEN;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
天:HHV(EMA(均价,7),N),COLOR7F00FF;
地:llV(EMA(均价,7),N),COLORGREEN;
人:EMA(实价,7),COLORMAGENTA;
和:HHV(EMA(均价,7),M),COLORWHITE;
FILLRGN(人>=和,人,和),COLOR00AA99;
FILLRGN(人>=天,人,天),COLORBROWN,LINETHICK2;
FILLRGN(人<地,人,地),COLORAAAA00;
界:(天+地)/2,COLORAAAA00;
A20:=WINNER(COST(100))-WINNER((COST(100)-COST(0))/20*20+COST(0));
A19:=WINNER((COST(100)-COST(0))/20*20+COST(0))-WINNER((COST(100)-COST(0))/20*19+COST(0));
A18:=WINNER((COST(100)-COST(0))/20*19+COST(0))-WINNER((COST(100)-COST(0))/20*18+COST(0));
A17:=WINNER((COST(100)-COST(0))/20*18+COST(0))-WINNER((COST(100)-COST(0))/20*17+COST(0));
A16:=WINNER((COST(100)-COST(0))/20*17+COST(0))-WINNER((COST(100)-COST(0))/20*16+COST(0));
A15:=WINNER((COST(100)-COST(0))/20*16+COST(0))-WINNER((COST(100)-COST(0))/20*15+COST(0));
A14:=WINNER((COST(100)-COST(0))/20*15+COST(0))-WINNER((COST(100)-COST(0))/20*14+COST(0));
A13:=WINNER((COST(100)-COST(0))/20*14+COST(0))-WINNER((COST(100)-COST(0))/20*13+COST(0));
A12:=WINNER((COST(100)-COST(0))/20*13+COST(0))-WINNER((COST(100)-COST(0))/20*12+COST(0));
A11:=WINNER((COST(100)-COST(0))/20*12+COST(0))-WINNER((COST(100)-COST(0))/20*11+COST(0));
A10:=WINNER((COST(100)-COST(0))/20*11+COST(0))-WINNER((COST(100)-COST(0))/20*10+COST(0));
A9:=WINNER((COST(100)-COST(0))/20*10+COST(0))-WINNER((COST(100)-COST(0))/20*9+COST(0));
A8:=WINNER((COST(100)-COST(0))/20*9+COST(0))-WINNER((COST(100)-COST(0))/20*8+COST(0));
A7:=WINNER((COST(100)-COST(0))/20*8+COST(0))-WINNER((COST(100)-COST(0))/20*7+COST(0));
A6:=WINNER((COST(100)-COST(0))/20*7+COST(0))-WINNER((COST(100)-COST(0))/20*6+COST(0));
A5:=WINNER((COST(100)-COST(0))/20*6+COST(0))-WINNER((COST(100)-COST(0))/20*5+COST(0));
A4:=WINNER((COST(100)-COST(0))/20*5+COST(0))-WINNER((COST(100)-COST(0))/20*4+COST(0));
A3:=WINNER((COST(100)-COST(0))/20*4+COST(0))-WINNER((COST(100)-COST(0))/20*3+COST(0));
A2:=WINNER((COST(100)-COST(0))/20*3+COST(0))-WINNER((COST(100)-COST(0))/20*2+COST(0));
A1:=WINNER((COST(100)-COST(0))/20*2+COST(0))-WINNER(COST(0));
MX:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A1,A2),A3),A4),A5),A6),A7),A8),A9),A10),A11),A12),A13),A14),A15),A16),A17),A18),A19),A20);
筹峰价:IF(A20=MX,(COST(100)-COST(0))/20*20+COST(0),IF(A19=MX,(COST(100)-COST(0))/20*19+COST(0),IF(A18=MX,(COST(100)-COST(0))/20*18+COST(0),IF(A17=MX,(COST(100)-COST(0))/20*17+COST(0),IF(A16=MX,(COST(100)-COST(0))/20*16+COST(0),IF(A15=MX,(COST(100)-COST(0))/20*15+COST(0),IF(A14=MX,(COST(100)-COST(0))/20*14+COST(0),IF(A13=MX,(COST(100)-COST(0))/20*13+COST(0),IF(A12=MX,(COST(100)-COST(0))/20*12+COST(0),IF(A11=MX,(COST(100)-COST(0))/20*11+COST(0),IF(A10=MX,(COST(100)-COST(0))/20*10+COST(0),IF(A9=MX,(COST(100)-COST(0))/20*9+COST(0),IF(A8=MX,(COST(100)-COST(0))/20*8+COST(0),IF(A7=MX,(COST(100)-COST(0))/20*7+COST(0),IF(A6=MX,(COST(100)-COST(0))/20*6+COST(0),IF(A5=MX,(COST(100)-COST(0))/20*5+COST(0),IF(A4=MX,(COST(100)-COST(0))/20*4+COST(0),IF(A3=MX,(COST(100)-COST(0))/20*3+COST(0),IF(A2=MX,(COST(100)-COST(0))/20*2+COST(0),IF(A1=MX,(COST(100)-COST(0))/20*1+COST(0),0)))))))))))))))))))),COLORRED,LINETHICK;
ajb:=IF(capital>50000000,capital*60/100,IF(capital>20000000,capital*33/100,IF(capital>15000000,capital*20/100,IF(capital<100000,capital*6/100,capital*12/100))));
日集中度:=(AMOUNT/筹峰价)/((capital-ajb)*100)*100;
集中度:=(SUM(日集中度,12));
YZ:=eMA(集中度,6),COLORYELLOW;
ZL:=eMA(集中度,36),COLORRED;
STICKLINE(集中度>=ZL,筹峰价*0.995,筹峰价*1.005,8,0),COLORRED;
STICKLINE(集中度>80,筹峰价*0.995,筹峰价*1.005,8,0),COLORBLUE,COLORAAAA00;
STICKLINE(集中度
STICKLINE(集中度
STICKLINE(集中度
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.2,0),colorFFCC00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),colorFF9F68;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF9900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFFAA11;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBB11;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,4,0),colorFFCC22;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),colorFFDD22;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),colorFFEE33;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),colorFFFF33;
STICKLINE(CLOSE>OPEN,HIGH,LOW,0.2,0),colorFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),colorCC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),color3300CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color33CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),color6633CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),color3333FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),color6633FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),color3366FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),color6666FF;
{k线卖提示}Qc0:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
stickline(Qc0>=91 AND (CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100>99.9,open,close,3,0),COLOR3366FF;
stickline(Qc0>=91 AND (CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100>99.9,H,L,0.5,0),COLOR3366FF;
{VAR11:=zig(3,10)REF(ZIG(3,10),2);
{ZIG 有未来}VAR123:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
}KSD:=IF(O>C,O,C);
VAR12:=IF(TROUGHBARS(KSD,10,1)=1,1,0);
VAR1:=IF(PEAKBARS(KSD,10,1)=1,1,0);
STICKLINE(VAR1,C,O,10,0),COLORYELLOW,LINETHICK2;
{高位黄色}STICKLINE(VAR1,C,O,6,0),COLORGRAY,LINETHICK2;
{高位黄色}STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;
{高位黄色}STICKLINE(VAR12,C,O,10,0),COLOR9900FF,LINETHICK2;
{底位红色}STICKLINE(VAR12,C,O,6,0),COLORWHITE,LINETHICK2;
{底位红色}STICKLINE(VAR12,H,L,1,0),COLORRED,LINETHICK2;
{底位红色}
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。