均价:=(2*C+(H-L)/2+L+o)/4; jc:=(MA(均价,98)-MA(均价,14)/3); 走势:MA((均价-jc)/jc,1)*100,COLOR9900FF; 短线:=EMA(走势,7),COLORMAGENTA; 趋势线:EMA(短线,14),COLORYELLOW; 压:REF(HHV(走势,52),1),color9999FF; 支:REF(LLV(走势,42),1),COLOR229955; AJ1:=(COST(...
分时辅助看盘指标-资金MACD是我以前编用的,今早在地主会里发出,为使大家都分享,特在此发贴。分时主图在飞狐里的设置很简单,点右键点公式编辑,勾主图叠加,进入分时图,双击此指标就在分时图里显示了。分时图会因买卖的意愿变换背景颜色, 源码如下: N=403(N 40311...
MA5:=简单移动平均(收盘价,5),LINETHICK1; V00:= 最高价向前引用(最高价,1) AND 最低价向前引用(最低价,1); V01:= 最高价向前引用(最高价,1) AND 最低价向前引用(最低价,1); V02:= 最高价向前引用(最高价,1) AND 最低价向前引用(最低价,1); V03:= 最高价向前引用(最高...
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1); FILLRGN(趋势40,趋势,40),COLOR32329B; FILLRGN(40趋势,趋势,40),COLOR326400; PARTLINE(趋势40,趋势),COLORRED; PARTLINE(趋势40,趋势),COLORGREEN; A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18...
{波段低点介入} CROSS(ZIG(3,8),REF(ZIG(3,8),1)); 别看一条语句,选股绝对有效 [第一股票公式网提示:公式有未来函数]...
如何过滤连续的买入、卖出信号,使买入后只要没有发出卖出信号,就不再发出买入信号;同样,卖出后只要没有出现买入信号,就不再发出卖出信号。即买入、卖出信号一一对应。 容易想到的是使用过滤函数filter(),但这个函数是难以实现的,因为未来有多少个连续的买入(或...
{飞狐对应大盘K线-BY 舍得快乐} {用法:请在A股和基金下使用,指数和其它品种不显示数据。基金、中...
飞狐公式,其他软件不适合,周期为分钟 周期:=DATATYPE; 可见中量:=(HHV(V,SYSPARAM(3)-SYSPARAM(2)+1)+LLV(V,SYSPARAM(3)-SYSPARAM(2)+1))*4/5; V,VOLSTICK; IF 周期3 THEN BEGIN DRAWTEXT((SYSPARAM(3)-SYSPARAM(2))/2+SYSPARAM(2)=BARPOS,可见中量[DATACOUNT],'30分...
{大盘个股K线-飞狐版-舍得快乐} {用法:请在A股下使用,指数和其它品种不显示数据。中...
a:=BUYVOL-SELLVOL,colorSTICK; t:=TIME0-if(hour11,5400,0); s:=sumbars(t-ref(t,1),300); y:=sum(a,s),colorSTICK,linethick0; kh:=hhv(h,0); kL:=LLv(L,0); yh:=hhv(Y,0); yL:=LLv(y,0); b:=(kh-kL)/(yh-yL)/4; f:=(kh+kL-(yh+yL)*b)/2; p:=datacount; 线:f[p],COLO...
tt:=BARSCOUNT(C); zz:=SUM(AMOUNT,tt)/SUM( VOL *100,tt); zz1:=BETWEEN(C/zz,1.05,0.95); 均线 :=IF(zz1=0,MA(C,TT),zz); 上轨:均线 + AVEDEV(C,tt)*2,Color0000FF; 下轨:均线 - AVEDEV(C,tt)*2,Color00FF00; {开盘后前45分钟高点提示} k1:=HHV(C,0); t1:=BARSLAST(O...
公式源码: 主图副图KDJ RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9)); RSV2:=(RSV1-0.5)/5*EMA(C,20); RSVK:=SMA(RSV2,3,1); RSVD:=SMA(RSVK,3,1); RSVJ:=RSVK*3-RSVD*2; K:RSVK+EMA(C,20),COLORWHITE; D:RSVD+EMA(C,20),COLORYELLOW; J:RSVJ+EMA(C,20),COLORRED,LINETHIC...
VAR1:=10; VAR2:=11; VAR3:=11; VAR4:=12; VAR5:=12; VAR6:=13; VAR7:=13; VAR8:=14; VAR9:=14; VARA:=15; VARB:=15; VARC:=SMA(((CLOSE-LLV(LOW,VAR1))/(HHV(HIGH,VAR1)-LLV(LOW,VAR1)))*(100),4,1); VARD:=SMA(((CLOSE-LLV(LOW,VAR2))/(HHV(HIGH,VAR2)-LLV(LOW,VAR2)...
DY1:=(2*CLOSE+HIGH+LOW)/4; DY2:=LLV(LOW,55); DY3:=HHV(HIGH,34); DYA:=MA((DY1-DY2)/(DY3-DY2)*100,30),colorred; DYB:=EMA(DYA,5),coloryellow; A1:=MA((DY1-DY2)/(DY3-DY2)*100,10); B1:=EMA((0.668*REF(A1,1)+0.332*A1),2),COLORred; 波:IF(A1=B1,A1,B1),LINETHI...
drawgbk(c0,colorrgb(1,3333,6666),colorrgb(1,8888,8888),3); var1:=llv(l,10); var2:=hhv(h,25); 动力线:ema((c-var1)/(var2-var1)*4,4),colorff; 底部 线:0.2,colorff; 关注线:0.5,colorff60ff; 警戒线:2.8,colorffff00; 减仓线:3.2; 卖出线:3.5;...
DRAWGBK((DATE 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1); LC:=REF(CLOSE,1); 止损 价位:(LC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0; RSI 5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; A:=SM...
DD:=SUM(1,0); FF:=BACKSET(ISLASTBAR,DD); BIAS 1:=((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7) * FF); JJ:=(((((BIAS1 + REF(BIAS1,1)) + REF(BIAS1,3)) + REF(BIAS1,5)) / 4) * FF); 大单 进出值:EMA(JJ,10),POINTDOT,LINETHICK1; B:=(REF(大单进出值,10)...
M0:EMA(C,7),COLOR00FF00; M3:EMA(C,30),COLORFFCC66; M5:EMA(C,43),COLORYELLOW; M6:EMA(C,60),COLORRED; M7:MA(C,78),COLORFFCC66; M8:EMA(M7,3),COLORFFCC66; M9:EMA(M8,3),COLORFF00FF; M11:EMA(M9,3),COLORFF00FF; MA17:EMA(C,17),COLORWHITE; MA23:EMA(C,23),COL...
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26)); DEA:=EMA(DIFF,9); MACD:2*(DIFF-DEA),COLORSTICK; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,8,0),COLOR00aaff; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,6.6,0),COLOR00bbff; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,...
黄金踏浪线: EMA(HIGH+LOW+2*CLOSE/4,21)*10-EMA(HIGH+LOW+2*CLOSE/4,88)*10, CROSSDOT; 移动平 均线 : SMA(黄金踏浪线,5,1); Var1:=EMA(HHV(HIGH,500),21); Var2:=EMA(HHV(HIGH,250),21); Var3:=EMA(HHV(HIGH,90),21); Var4:=EMA(LLV(LOW,500),21); Var5:=EMA(LLV(LOW...