飞狐k线副图(副图k线指标公式)

admin 164 0

本文目录一览:

飞狐多图同列(Ctrl+M)里怎样才能改副图指标

Ctrl+M 启动/停止多图同列 (只在图形窗口中起作用) Ctrl+N 标准主图...分时图下可用于切换分时副图。 * 对K线图窗口,可以常用指标间切换活动副图...

请高手做个飞狐的副图指标!我的意思是只显示2个数值。这2个数值的算法:一:昨日收盘价乘以1.3.

{显示线出来}

一:REF(C,1)*1.3,PRECISION2;

二:REF(C,1)/1.3,PRECISION2;

-----------------------------------------------

{不显示线,只在标题栏显示带2位小数的数值}

一:REF(C,1)*1.3,PRECISION2,LINETHICK0;

二:REF(C,1)/1.3,PRECISION2,LINETHICK0;

求把飞狐公式改成通达信副图和选股公式

副图指标公式

LOWV:=LLV(LOW,27);

HIGHV:=HHV(HIGH,27);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,4);

K:EMA(RSV,3);

D:MA(K,6);

STICKLINE(CROSS(K,D),0,100,0,-1)COLORRED;

STICKLINE(CROSS(D,K),0,100,0,-1)COLORGREEN;

选股公式

LOWV:=LLV(LOW,27);

HIGHV:=HHV(HIGH,27);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,4);

K:=EMA(RSV,3);

D:=MA(K,6);

XG:CROSS(K,D);

这个飞狐的副图如何修改才能用来作为通达信的副图呢?

rsv:=(c-llv(l,7))/(hhv(h,7)-llv(l,7))*100;

rsv1:=(c-llv(l,38))/(hhv(h,38)-llv(l,38))*100;

流金:sma(rsv1,5,1),colorfff000;

岁月:sma(流金,10,1),color66cc33;

drawband(流金,rgb(255,0,0),岁月,rgb(0,250,0));

var2q:=ma(c,80)-ma(c,13)/3;

神奇线:=ma((c-var2q)/var2q,1);

xa:=ema(神奇线,12)*0.7;

xb:=ema(神奇线,3);

底部区域:if(llv(xb-xa,12)0,0,-15),Linethick2,color00ff00;

diff:=(ema(c,17)-ema(c,73))*100;

dea:=ema(diff,73);

macd:=2*(diff-dea);

stickline(diff=0 and dea=diff and ref(diff,1)ref(dea,1),3,26,3,0),Linethick2,colorffff00;

if(diff=0 and dea=diff and ref(diff,1)ref(dea,1),10,0),colorff0000;

var1:=(c-ref(c,1))/ref(c,1)*100;

var2:=(indexc-ref(indexc,1))/ref(indexc,1)*100;

var3:=ema(sum(var1,10),3);

var4:=ema(sum(var2,10),3);

var5:=(var3-var4);

drawicon(var5-20 and filter(var5ref(var5,2),7),0,1);

drawicon(var520 and filter(var5ref(var5,2),7),97,2);

a1:=ma(c,13);

zx:=ref(a1,13/2+1);

b1:=cross(c,zx);

s1:=cross(zx,c);

drawicon(cross(c,zx),-3,12);

drawicon(czx and ref(c,1)ref(zx,1),-3,10);

drawicon(czx and ref(c,1)ref(zx,1),-3,11);

lgl:=c-ref(ma(c,20),11);

wr1:=if(ema(c,5)/ema(ema(c,9),16)=0.85 and c/ref(c,1)0.905 and c/ref(c,1)1.05 and v/capital*1005,50,0);

wr2:=-(100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)))+100*lgl;

wr3:=-(100*(hhv(h,50)-c)/(hhv(h,50)-llv(l,50)))+100;

bias1:=-(100*(hhv(h,70)-c)/(hhv(h,70)-llv(l,70)))+100*lgl;

bias2:=((c-ma(c,34))/ma(c,34)*100+10)*5;

bias3:=((c-ma(c,50))/ma(c,50)*100+10)*5;

sx:=((c-ma(c,70))/ma(c,70)*100+10)*5;

s11:=(wr2+wr3+bias1+bias2+bias3+sx)/6*lgl;

ccc:=abs(bias2-sx);

zjz:=(s11+ccc)/2;

lxl:=(-1)*(ema(100*(1-winner(c)),1)-50)+50;

jbj:=lxl+zjz;

ma3:=if(wr10 and jbj0,200,0)*lgl;

c0:=if(zjz0 and c=llv(c,5) and c/ref(c,1)0.905 and c/ref(c,1)1.05 and v/capital*1005,-50,0);

bot:=if(jbj0 and c0=-50,100,0)*lgl;

cxc:=ref(c,2)*0.865;

vmc:=ref(c,13)*0.772;

v93:=min(cxc,vmc);

v90:=100*v/capital*lgl;

半年线:=(c-v93)/c3/100 and sum(v90,5)/51.8;

预测:=半年线0 and (c00 or wr10);

if(ma30 and bot0 and sum(v/capital*100,5)/51 or 半年线0 and ref(c,1)/ref(c,2)0.902 or

(ma30 and bot0 and sum(v/capital*100,5)/51 or 半年线0) and (c00 or wr10) and 预测10,50,0),Linethick2,colorffff00;

a:=ema(winner(c),10);

b:=ema(winner(c),34);

var11:=ma(v,5)ma(v,60);

追涨:if(a0.15 and abs(a-b)0.05 and cross(a,b) and var11,60,0),Linethick2,colorffcc33;

if(a0.9 and cma(c,5),69,100),Linethick2,colorred;

sma(var11,3,1),colorf00ff0;

股神:3*sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))*100,5,1)-2*sma(sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))*100,5,1),3,1),colorff8888;

短线进出:if(股神=10,-13,0);

if(cross(股神,10)AND 岁月50,40,0),Linethick2;

抱歉,评论功能暂时关闭!