飞狐大资金流向指标公式,飞狐分析趋势主图指标公式
admin888
|飞狐大资金流向指标公式,飞狐分析趋势主图指标公式
飞狐大资金流向指标公式
RETNUM:="FHFXJDZH@DZHFXJFH"(1);
TAISHAN:=INTPART(MOD(RETNUM,10))-5;
DRAWGBK(CLOSE=CLOSE,COLORRGB(130,130,130),COLORRGB(30,30,30),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=Sma(K,3,1);
J:=3*K-2*D;
V1:=(CLOSE*2+HIGH+LOW)/4*10;
V2:=ema(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
吸筹:=IF(V4>=0,V4,0);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/3;
出动:=IF(VB>=0,VB,0);
KX:=SYSPARAM(3)-SYSPARAM(2)+1;
KH:=HHV(K,KX);
JH:=HHV(J,KX);
KL:=LLV(K,KX);
JL:=LLV(J,KX);
HKMAX:=MAX(KH[DATacOUNT],JH[DATACOUNT]);
LKMIN:=MIN(KL[DATACOUNT],JL[DATACOUNT]);
KHLB:=(HKMAX+LKMIN)/2;
KHLC:=HKMAX-LKMIN;
MHF:=HHV(吸筹,KX);
MHD:=HHV(出动,KX);
MLF:=LLV(吸筹,KX);
MLD:=LLV(出动,KX);
HMAX:=MAX(MHF[DATACOUNT],MHD[DATACOUNT]);
LMIN:=MIN(MLF[DATACOUNT],MLD[DATACOUNT]);
FHLB:=(HMAX-LMIN)/100;
FHLC:=HMAX-LMIN;
V000:=(吸筹-FHLB)*KHLC/FHLC+KHLB-50;
V001:=(出动-FHLB)*KHLC/FHLC+KHLB-50;
主力:=V000;
散户:=V001;
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),13,0);
A12:=IF(FILTER(A10,5) OR EE,10,0);
资金进场日:=IF(A11,13,0);
stICKLINE(A12,0,10,5,0),colorFF00FF;
资金加仓日:=IF(A12,10,0);
DRAWTEXT(A11,35,'←进场'),colorFFFFFF;
DRAWTEXT(A12,-5,'←加仓'),colorFF;
VAR1:=REF(LOW,1);
VAR2:=(SMA(Abs(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),13,1))*10;
VAR3:=EMA(VAR2,13);
VAR4:=LLV(LOW,34);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
发现主力看跌:=STICKLINE(LOW>REF(CLOSE,1),0,0.15,2,0);
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,8,0),colorAA;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0),colorCC;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),colorDD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0),colorFF;
洗盘拉升:=STICKLINE(LOW>REF(CLOSE,1),0,0.15,2,0);
主力出动看涨:=STICKLINE(LOW>REF(CLOSE,1),0,0.15,2,0);
STICKLINE(VAR5>REF(VAR5,1) AND CLOSE>OPEN,0,VAR5,8,0),colorAAAA;
STICKLINE(VAR5>REF(VAR5,1) AND CLOSE>OPEN,0,VAR5,5,0),colorCCCC;
STICKLINE(VAR5>REF(VAR5,1) AND CLOSE>OPEN,0,VAR5,3,0),colorEEEE;
STICKLINE(VAR5>REF(VAR5,1) AND CLOSE>OPEN,0,VAR5,1,0),colorFFFF;
打压下跌:=STICKLINE(LOW>REF(CLOSE,1),0,0.15,2,0);
VAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR8:=VAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,8,0),colorAA00BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,8,0),colorBB11BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,5,0),colorCC22BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,3,0),colorDD33BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,1,0),colorEE44BB;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,18,'←大资金'),colorFF00FF;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,30,'←择机买入'),colorFF00;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,-10,'←多数会涨'),colorFFFF;
VA1:=(EMA(CLOSE,6)-EMA(CLOSE,12))/EMA(CLOSE,12)*100;
VA2:=HHV(VA1,3);
监测:=VA2;
监测均线:=MA(VA2,10);
VA3:=LLV(HIGH,18);
VA4:=HHV(HIGH,18);
VA5:=EMA((CLOSE-VA3)/(VA4-VA3)*100,13);
个股态势:=EMA(0.618*REF(VA5,1)+0.382*VA5,3);
个股态势MA:=MA(个股态势,26);
买入:(主力>REF(主力,1) OR 资金加仓日=10 OR 资金进场日=13) AND (监测=REF(监测,1) AND REF(监测,1)=REF(监测,2) OR REF(监测,1)=REF(监测,2) AND REF(监测,1)=REF(监测,2)) AND 监测<1 AND 个股态势<60 AND (CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100<5 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<4 AND IF(DATE<=1101111,1,0),colorFF;
DRAWICON(买入,1,1),ALIGN4,colorFF;
飞狐分析趋势主图指标公式
input:N1(3,1,100),N(2,1,100),Q(10,0,100);
AA1:=(REF(HIGH,N1) = HHV(HIGH,((2 * N1) + 1)));
AAA:=FILTER(AA1,N1);
BB1:=BacKSET(AAA,(N1 + 1));
CC1:=FILTER(BB1,N1);
CC:=(CC1 OR ISLAstBAR);
AA2:=(REF(LOW,N1) = LLV(LOW,((2 * N1) + 1)));
AAA2:=FILTER(AA2,N1);
BB2:=BACKSET(AAA2,(N1 + 1));
CC22:=FILTER(BB2,N1);
GG1:=(ISLASTBAR AND REF(CC1,BArslAST(CC1)));
HH:=BACKSET(GG1,(BARSLAST(CC1) + 1));
II:=(HH > REF(HH,1));
JJ1:=REF(BARSLAST(CC1),1);
KK:=BACKSET(II,(JJ1 + 2));
LL:=(KK > REF(KK,1));
DRAWLINE(LL,HIGH,II,HIGH,1),POINTDOT,colorFFFF00;
CS:=((REF(HIGH,BARSLAST(II)) - REF(HIGH,BARSLAST(LL))) / (BARSLAST(LL) - BARSLAST(II)));
阻力线:=(REF(HIGH,BARSLAST(II)) + (BARSLAST(II) * CS));
阻力值:阻力线,LINETHICK0,colorFF0000;
DRAWICON(crOSS(HIGH,阻力线),(阻力线 * 1.01),4);
GG2:=(ISLASTBAR AND REF(CC22,BARSLAST(CC22)));
HH2:=BACKSET(GG2,(BARSLAST(CC22) + 1));
II2:=(HH2 > REF(HH2,1));
JJ2:=REF(BARSLAST(CC22),1);
KK2:=BACKSET(II2,(JJ2 + 2));
LL2:=(KK2 > REF(KK2,1));
DRAWLINE(LL2,LOW,II2,LOW,1),POINTDOT,colorFF00;
CS1:=((REF(LOW,BARSLAST(II2)) - REF(LOW,BARSLAST(LL2))) / (BARSLAST(LL2) - BARSLAST(II2)));
阻力线1:=(REF(LOW,BARSLAST(II2)) + (BARSLAST(II2) * CS1));
阻力值1:阻力线1,LINETHICK0,colorFF00;
DRAWICON(CROSS(阻力线1,LOW),(阻力线1 * 0.99),5);
DRAWICON(LL2,LOW,13);
DRAWICON(II2,LOW,13);
A91:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,N) + 1));
A92:=(A91 > REF(A91,1));
B91:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,(N + 1)) + 1));
B92:=(B91 > REF(B91,1));
A9:=LINEVALUE(B92,HIGH,A92,HIGH,0,0);
DRAWICON(CROSS(CLOSE,A9),LOW,4);
A1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,1) + 1));
A2:=(A1 > REF(A1,1));
B1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,2) + 1));
B2:=(B1 > REF(B1,1));
D1:=BACKSET(ISLASTBAR,(PEAKBARS(1,3,3) + 1));
D2:=(D1 > REF(D1,1));
DRAWLINE(D2,HIGH,B2,HIGH,1),color66CCFF;
DRAWLINE(B2,HIGH,A2,HIGH,1),colorFFCC;
DRAWICON(A2,HIGH,13);
DRAWICON(B2,HIGH,13);
DRAWICON(D2,HIGH,13);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。