万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 飞狐公式 正文

飞狐趋势多空指标公式

admin 2023-10-16 13:08:48 飞狐公式 228 ℃

飞狐趋势多空指标公式

var1:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);

var2:=Dma(var1,vol/SUM(vol,13));

var3:=Dma(var1,vol/CAPITAL);

STICKLINE(var1>0,0,var1,10,0),Color0000FF;

STICKLINE(var1<0,0,var1,10,0),Color00FF00;

控盘系数:IF(C>1000,var2,var3),ColorYELLOW,LINETHICK2,;

顶:50,POINTDOT,Color979390;

风险:33,POINTDOT,Color979390;

控盘:20,POINTDOT,Color979390;

吸筹:10,POINTDOT,Color979390;

无庄:-5,POINTDOT,Color979390;

底:-15,POINTDOT,Color979390;

DRAWTEXTEX(1,5,5,0,顶部区),Color8000FF;

DRAWTEXTEX(1,5,5,203,风险区),Color00CDFF;

DRAWTEXTEX(1,5,5,400,控盘区),Color40FF00;

DRAWTEXTEX(1,5,5,550,吸筹区),ColorEAFF00;

DRAWTEXTEX(1,5,5,755,散户区),Color00FFFF;

DRAWTEXTEX(1,5,5,905,底部区),ColorFFA980;

A:=BARSLAST(CROSS("kdj.k","kdj.d"))+1;

B:=A>REF(A,1);

D1:=BARSCOUNT(C);

{趋势多空}

Var6:=(2*C+H+L)/4;

Var8:=LLV(LOW,21);

VarA:=HHV(HIGH,21);

B:=EMA((Var6-Var8)/(VarA-Var8)*100,6);

B1:=EMA(B,3);

STICKLINE(B>0 AND B-B1>=0,100,100,6,0),COLORRED;

STICKLINE(B>0 AND B-B1<0,100,100,6,0),COLOR00FF00;

STICKLINE(B>0 AND B-B1>=0,50,50,6,0),COLORRED;

STICKLINE(B>0 AND B-B1<0,50,50,6,0),COLOR00FF00;

STICKLINE(B>0 AND B-B1>=0,-5,-5,1,0),COLORRED,Linethick5;

STICKLINE(B>0 AND B-B1<0,-5,-5,1,0),COLORCYAN,Linethick5;

STICKLINE(B>0 AND B-B1>=0,20,20,2,0),,COLORRED,Linethick1;

STICKLINE(B>0 AND B-B1<0,20,20,2,0),,COLORCYAN,Linethick1;

趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1),3,1),colorffffff;

VAR1:=HHV(HIGH,9)-LLV(LOW,9);

VAR2:=HHV(HIGH,9)-C;

VAR3:=C-LLV(LOW,9);

VAR4:=VAR2/VAR1*100-70;

VAR5:=(C-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR6:=(2*C+H+L)/4;

VAR7:=SMA(VAR3/VAR1*100,3,1);

VAR8:=LLV(LOW,34);

VAR9:=SMA(VAR7 ,3 ,1 )-SMA(VAR4 ,9 ,1);

VAR10:=IF(VAR9>100 ,VAR9-100 ,0 );

VAR11:=HHV(HIGH,34);

VAR12:=EMA((VAR6- VAR8)/(VAR11-VAR8)*100,13 );

VAR13:=EMA(0.667*REF(VAR12 ,1) +0.333*VAR12,2 );

VAR13,COLORRED;

STICKLINE(VAR12-VAR13 >0,VAR12 ,VAR13 ,8 ,0 ),COLORred;

STICKLINE(VAR12-VAR13 <0,VAR12 ,VAR13 ,8 ,0),COLORaaff00;

{ 主力持仓:(LOW*2),colorff00FF,linethick1;}

a1:=hhv(high,50)/llv(low,100)>1.5;

a2:=(hhv(high,50)-low)/(hhv(high,50)-llv(low,100));

a3:=(low-llv(low,100))/(hhv(high,50)-llv(low,100));

a4:=HHVBARS(high,50)

a5:=a1 and a2>0.5 and a3>0.3 and a4;

a6:=count(a5,20)=1;

抢反弹:if(a6 and a5 ,24,0),stick,linethick3,color00ffff;

drawtext(抢反弹,38,抢反弹),color00bbff;

Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

MW:= EMA(Var2w,3);

Var3w:=EMA(Var2w,7);

M1:= EMA(Var3w,5);

mb1:=CROSS(MW,M1) AND M1<20;

波段出击 :IF((mb1),37,0),linethick2,color0099ff;

drawtext(波段出击 ,57,★),colorff00ff;

drawtext(波段出击 ,48,抄底 ),color00ffff;

A11:=ma(close,5);

A12:=ma(close,10);

A13:=ma(close,20);

A14:=ma(close,30);

均线多头排列:if(a11>a12 and a12>a13 and cross(a13,a14) and isup,18,0),stick,linethick2,color00bbff;

drawtext(a11>a12 and a12>a13 and cross(a13,a14) and isup,35,均线多头),color00ffff;

aa:=WINNER(CLOSE+CLOSE*15/100)*100;

bb:=WINNER(CLOSE+CLOSE*0/100)*100;

cc:=aa-bb;

dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;

ee:=cc<3 and dd<0.5 and OPEN<>LOW;

a1:=DYNAINFO(6);

a2:=IF(LOW>a1,0,IF(HIGH

a3:=VOL/WINNER(LOW);

a4:=REF(HHV(CLOSE,120),1);

a5:=REF(LLV(CLOSE,120),1);

a6:=100*(CLOSE-a5)/(a4-a5);

a7:=a2>0 or a2=1;

a8:=a7 and a3/REF(a3,3)>=3 and a6<80;

a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);

a10:=a8 and a9;

a11:=IF(FILTER(a8,3),5,0);

a12:=IF(FILTER(a10,3) or ee,10,0);

资金进场日:=IF(a11,8,0),LINETHICK0;

STICKLINE(a11,10,5,5,0),COLOraa00bb;

STICKLINE(a11,10,5,4.5,0),COLOraa00bb;

STICKLINE(a11,10,5,4,0),COLORbb11bb;

STICKLINE(a11,10,5,3,0),COLOrcc22bb;

STICKLINE(a11,10,5,2,0),COLORee44bb;

STICKLINE(a11,10,5,1,0),coloradadFF;

DRAWTEXT(a11,13,庄进)COLOrcc22bb;

x1:=ema(c,2);

x2:=ref(ema(c,2),2);

斜率73%:(x1-x2)/x2*100,LINETHICK0,;

X4:=EMA(C,20);

廿斜率:(X4-REF(X4,1))/REF(X4,1)*100,Colorwhite,LINETHICK0;

换手:SUM(VOL,1)/CAPITAL*100,LINETHICK0,coloryellow;

十换手:SUM(VOL,10)/CAPITAL*100,LINETHICK0,coloryellow;

VAR1:=3;

VAR2:=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);

启动在即:=IF(CROSS(VAR2,VAR1),100,0);

捕食点:IF(VAR2<=3,45,0)COLORMAGENTA;

回补:IF(VAR2<5,55,0),COLORYELLOW;

VAR1:=REF(CLOSE,1);

VAR2:=(SMA(MAX(CLOSE-VAR1,0),6,1))/(SMA(ABS(CLOSE-VAR1),6,1))*100;

短顶:CROSS(80,VAR2)*70,colorFFFFFF;

{ _飞狐公式}

DRAWTEXT(CROSS(80,VAR2),70,★短顶 ),colorFFFF;

aa:=ref(close,1);

bbb:=SMA(MAX(CLOSE-aa,0),5,1)/SMA(ABS(CLOSE-aa),5,1)*1000;

hhh:=bbb-llv(bbb,10);

ss:=(ma(hhh,2)*3+hhh*13)/16;

短线买点:=if(ss>13,ma(ss,2),ss);

短趋势:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10,COLORRED,linethick0;

买:cross(短趋势,0)*10,COLORRED,linethick2;

DRAWTEXT(CROSS(短趋势,0)*15,3,买),ALIGN0,COLORRED;

RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

K:=SMA(RSV,3,1)COLORMAGENTA,LINETHICK;

D:=SMA(K,2,1),LINETHICK;

J:=3*K-2*D,COLORRED;

PARTLINE(J>EMA(J,2),J),COLORRED,LINETHICK1;

PARTLINE(J

DRAWTEXT(CROSS(108,J),110,↓抛),COLORYELLOW;

DRAWTEXT(CROSS(85,J),98,↓走弱),COLORWHITE;

DRAWTEXT(CROSS(58,J),78,↓逃),COLORWHITE;

DRAWTEXT(CROSS(J,3),-1,低吸),COLORWHITE;

DRAWTEXT(CROSS(J,50),50,追),COLORWHITE;

DRAWTEXT(CROSS(J,15),-8,),COLORRED;

STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0022FF;

STICKLINE(J>REF(J,1),J,REF(J,1),6,0),COLOR0022FF;

STICKLINE(J>REF(J,1),J,REF(J,1),4.0,0),COLOR0066FF;

STICKLINE(J>REF(J,1),J,REF(J,1),1.2,0),COLOR00DDFF;

STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00DDFF;

STICKLINE(J

STICKLINE(J

STICKLINE(J

STICKLINE(J

STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFDD00;

飞狐趋势多空指标公式选股公式如下:

选股票看什么指标最好 >

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群