飞狐公式

  • 飞狐趋势折线指标公式

    a:=REF(CLOSE,1); b:=CLOSE; 方向:=IF(BARPOS=0 and CLOSE>=OPEN,1,IF(BARPOS=0 and CLOSE<OPEN,-1,0)); 方向:=IF(b>a,1,IF(b=a,REF(方向,1),-1)),linethick0; 上拐点:=(方向=-1 and REF(方向,1)=1); 下拐点:=(方向=1 and REF ...
    08-01
  • 飞狐攻击资金指标公式

    CC:=CLOSE; HH:=HHV(HIGH,2); LL:=LLV(LOW,2); 均价:=(2*CC+HH+LL)/4; A:=(CC-均价)/(HIGH-LOW); AA:=SUM(A*VOL,1); 日攻资金:AA/CAPITAL*100,LINETHICK2,COLOR0000FF; AA2:=SUM(A*VOL,2); 二日:AA2/CAPITAL*100; AA3:=SUM(A*V ...
    08-01
  • 飞狐通道精灵主图指标公式

    AA:=FFT((C+O+L+H)/4,25); PARTLINE(AA<REF(AA,1),AA),COLORCYAN; PARTLINE(AA>REF(AA,1),AA),COLORRED; 趋势线:=AA; TD上轨:=FFT(aa,30)*1.1; TD下轨:=FFT(aa,30)*0.9; PARTLINE(TD上轨 >REF(TD上轨,1),TD上轨),COLORWH ...
    08-01
  • 飞狐飞龙顶底线主图指标公式

    DRAWGBK(CLOSE>0, COLORRGB(100,0,120), COLORRGB(50,0,60),1);{收平变品红} DRAWGBK(C>O,COLORRGB(110,11,0),COLORRGB(60,11,0),1); {收阳变红} DRAWGBK(C<O,COLORRGB(80,130,130),COLORRGB(30,30,60),1);{收阴变绿} VE ...
    07-31
  • 飞狐王者归来主图指标公式

    均价:=(2*C+(H-L)/2+L+o)/4; 短线:=(3*c+(h-l)/2+L)/4; 参考线:MA((eMA(短线,3)*7+eMA(短线,7)*3)/10,1),COLORWHITE; 操盘线:MA((eMA(均价,3)*7+eMA(均价,7)*3)/10,1),COLOR9900FF; JYX:=(13*均价+12*REF(均价,1)+11*REF(均价,2)+10*REF(均价,3 ...
    07-31
  • 六指金叉源码(飞狐)

    六指金叉: {飞狐版 多指标综合看盘} {N1:=3;N2:=5;N3:=8;N4:=13;N5:=21;N6:=34; } input:N1(3,1,100),N2(5,1,100),N3(9,1,100),N4(13,1,100),N5(21,1,100), N6(34,1,100); DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4); DEA:=EMA(DIFF,N2); ...
    07-31
  • 飞狐道家操盘主图指标公式

    DRAWGBK(C>0,COLORRGB(50,50,170),COLORRGB(50,50,170),1); va:=ema(c,2); va1:=ema(ref(c,3),5); j:=sum(AMOUNT/100,2)/sum(v,2); vok:=if(cross(va,va1),1,0); vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1 ...
    07-30
  • 飞狐顶底密码指标公式

    input:M(1,1,50),N(18,1,60); DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1); VAR1:=MA(CLOSE,N); VAR2:=(CLOSE-VAR1)/VAR1*100; VAR3:=MA(VAR2,M); 升跌: VAR3; VAR4:=BARSLAST(CROSS(-10,VAR3)=1); VAR5:=BARSLAS ...
    07-30
  • DMI 副图公式(飞狐)

    {DMIA} ATRA := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6,1); HD := HIGH-REF(HIGH,1); LD := REF(LOW,1)-LOW; DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),6,1); DMM:= SMA(IF(LD> ...
    07-29
  • 4H-MACD国外很流行的指标(飞狐)

    DRAWGBK(CLOSE>0,COLORRGB(120,154,127),COLORRGB(120,154,127),0); INPUT:P(13),S(5),M(1); DIFF : EMA(CLOSE,S) - EMA(CLOSE,P); DEA : EMA(DIFF,M),LINETHICK2,COLOR10000; MACD : 2*(DIFF-DEA), COLORSTICK; ...
    07-29
  • 飞狐MACD镜像指标公式

    INPUT:P(26,1,100),S(12,1,100),M(9,1,100); C0:=REF(C,BARSCOUNT(C)-1); O0:=REF(O,BARSCOUNT(C)-1); ZC:=(C)/O0; 收:=O0*(1/ZC),LINETHICK; DIFF := EMA(收,S) - EMA(收,P),colorDDDDDD; DEA := EMA(DIFF,M),color50f ...
    07-29
  • 飞狐赢富升级指标公式

    INPUT:X(2008,1990,2020); 换手率:IF(CAPITAL=0,INDEXV/ESTDATA(12),VOL/FINANCE(7)),PRECISION2,LINETHICK0; variable:wday[7]='星期六';wday[1]:='星期日';wday[2]:='星期一'; wday[3]:='星期二';wday[4]:='星期三';wday[5]:='星期四';w ...
    07-29
  • 飞狐见顶回落指标公式

    Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; Var2:=2*ABS(Var1); Var3:=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 ...
    07-29
  • 飞狐三神临门选股指标公式

    input:M1(17,1,100),N1(3,1,100),M2(11,1,100); VAR1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100); VAR2:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100); VAR3:=(((CLOSE - MA(CLOSE,32)) / MA(CLOSE,32)) ...
    07-28
  • 夹道欢迎(飞狐)

    N:=20; M:=32; P1:=80; P2:=100; VAR1:=(C+H+O+L)/4; 卖出:WMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2; 买入:WMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2; 幅度:100*(卖出-买入)/买入,LINETHICK; MA1:=MA(VAR1,3); ST ...
    07-28
  • 飞狐庄家吸筹留踪影指标公式

    A1:=DATE <= 1070615; A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30)); A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20)))); A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CL ...
    07-27
  • 飞狐大象鼻子指标公式

    DRAWTEXTEX(1,0,0,0,'出现大象鼻子的形态,就是趋势转变的时刻'),COLORYELLOW; a:(MA(CLOSE,13)+MA(CLOSE,20))/2; b1:=(MA(CLOSE,80)+MA(CLOSE,100))/2; b2:b1 + 2*STD(CLOSE,80);中线:(a+b2)/2;
    07-25
  • 飞狐量价关系指标公式

    VOL*0.0001,VOLSTICK; 80,LINETHICK1,colorFF; 主力:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),LINETHICK1,colorFF00FF; 主筹:WINNER(CLOSE)*100,LINETHICK1,colorFF; 散筹:(WINNER(CLOSE*1.1)-WINNER(C ...
    07-24
  • 飞狐筹码集中度指标公式

    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 ...
    07-24
  • 飞狐MACD优指标公式

    DIF:(EMA(C,5)-EMA(C,21))/EMA(C,21)*100,ColorF0F0F0; DEA:EMA(DIF,8),COLOR00DCDC; MACD:2*(DIF-DEA),COLORSTICK,COLOR0000DC; STICKLINE(MACD>0,MACD,0,8,1),COLOR0000DC; STICKLINE(MACD>0 AND MACD<RE ...
    07-24