飞狐量价操盘指标公式股票软件源码如下: Var1:=IF(YEAR>=2000 AND MONTH>=12 AND DAY>=30,0,1); Var2:=INDEXA/100000000; Var3:=INDEXADV; Var4:=INDEXDEC; Var5:=Var3/(Var3+Var4)*Var2; Var6:=Var4/(Var3+Var4)*Var2; Var7:=EMA(Var5,P1); Var8:=EMA(Var6,P1); Var9:=EMA(Var7,P2); VarA:=EMA(Var8,P3); XF: EMA(Var7,3)*Var1; ML1: EMA(Var9,6)*Var1; ML2: EMA(VarA,2)*Var1; ML: ML1-ML2*Var1, VOLSTICK;N:=5;N2:=1; 总手:VOL,VOLSTICK,COLORFFFF00; 均价:AMOUNT/VOL/100,COLOR6699CC; 预换手%:MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,COLORFFFF00; 价成比%:(C-(SUM(AMOUNT,N)/SUM(VOL,N)/100))/(SUM {www.gpxiazai.com 股票软件下载网_飞狐股票指标公式} (AMOUNT,N)/SUM(VOL,N)/100)*100,COLOR6699CC; Y值:(MA(C,13)-MA(C,55))/MA(C,13)*100,COLORFFFF00; 龙:WINNER(CLOSE)-COST(50)/CLOSE,COLOR6699CC; 换手3:IF(N2=1,CAPITAL*0.03,0),COLORBROWN; 换手5:IF(N2=1,CAPITAL*0.05,0),COLORBROWN; 换手7:IF(N2=1,CAPITAL*0.07,0),COLORBROWN; 换手10:IF(N2=1,CAPITAL*0.10,0),COLORBROWN; MA1:MA(VOL,5),COLORWHITE; MA2:MA(VOL,40),COLORMAGENTA; 预测量:STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7,1),COLORGREEN; 年内天量:STICKLINE(VOL=HHV(VOL,250) AND N2=1,VOL*1.1,VOL*1.18,7,1),COLORBROWN; 跌停:DRAWTEXT((C-REF(C,1))/REF(C,1)<=-0.094 AND N2=1,VOL*1.28,'↓'); 涨停:DRAWTEXT((C-REF(C,1))/REF(C,1)>=0.094 AND N2=1,VOL*1.28,'↑'); |