通达信公式,哪位高手能帮忙改下呀
发布网友
发布时间:2022-04-26 19:58
我来回答
共1个回答
热心网友
时间:2022-07-14 04:53
你这个公式用到未来函数,结果是会随收盘价不同而变化的。
n:=8;
xa1:=ref(h,n)=hhv(h,2*n+1);
xb1:=filter(xa1,n);
xc1:=backset(xb1,n+1);
xd1:=filter(xc1,n);
a2:=ref(l,n)=llv(l,2*n+1);
b2:=filter(a2,n);
c2:=backset(b2,n+1);
d2:=filter(c2,n);
e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2;
e2:=(h+l)/2;
xh1:=(xd1
and
not(d2
and
e1>=e2))
or
islastbar
or
barscount(c)=1;
xl1:=(d2
and
not(xd1
and
e1<e2));
xh2:=xd1
and
not(d2
and
e1>=e2);
xx1:=ref(barslast(xh1),1)+1;
f1:=backset(xh1
and
count(xl1,xx1)>0,llvbars(if(xl1,l,10000),xx1));
g1:=f1>ref(f1,1);
i1:=backset(g1,2);
ld:=i1>ref(i1,1);
xl2:=ld
or
islastbar
or
barscount(c)=1;
xx2:=ref(barslast(xl2),1)+1;
f2:=backset(xl2
and
count(xh2,xx2)>0,hhvbars(if(xh2,h,0),xx2));
g2:=f2>ref(f2,1);
i2:=backset(g2,2);
hd:=i2>ref(i2,1);
r1:=backset(islastbar
,barslast(hd)+1);
xs1:=r1>ref(r1,1);
t1:=backset(islastbar,barslast(ld)+1);
u1:=t1>ref(t1,1);
r2:=backset(xs1,ref(barslast(hd),1)+2);
xs2:=r2>ref(r2,1);
t2:=backset(u1,ref(barslast(ld),1)+2);
u2:=t2>ref(t2,1);
t3:=backset(u2,ref(barslast(ld),1)+2);
u3:=t3>ref(t3,1);
r3:=backset(xs2,ref(barslast(hd),1)+2);
xs3:=r3>ref(r3,1);
短压:drawline(xs2,h,xs1,h,1),linethick2;
短撑:drawline(u2,l,u1,l,1),linethick2;
drawtext(xs2,h*1.02,h),colormagenta;
drawtext(xs1,h*1.02,h),colormagenta;
drawtext(xs3,h*1.02,h),colormagenta;
drawtext(u1,l*0.98,l),colorcyan;
drawtext(u2,l*0.98,l),colorcyan;
drawtext(u3,l*0.98,l),colorcyan;
通达信公式,哪位高手能帮忙改下呀
EXP1:EMA(CLOSE,M1);EXP2:EMA(CLOSE,M2);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))/...
哪位高手帮忙把以下的通达信公式改下: BB:=VOL/((HIGH-LOW)*2-ABS...
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));选股:主动买>(2*主动卖);
求熟悉通达信公司的高手帮忙改下公式
WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;XG:REF(XYS0,1)<0 AND XYS0>=0 AND V>REF(V,1);
请高手帮忙把以下通达信的公式改为大智慧的公式
1、在通达信中,VVOL值为“空”时,在大智慧中用“0”代替;2、在通达信中,VVOL只显示数值,没有指标线出现,在大智慧中有一条VVOL线;但它们不影响函数的输出值和成交量柱状图(我已经在大智慧中检验过,没有问题)。大智慧版本公式如下:FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60...
急急 跪求高手老师帮忙把通达信修改公式
0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLORGREEN;STICKLINE(AA2,0,V,1,0),COLORMAGENTA;TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;TJ3:=TJ1 AND TJ2;STICKLINE(TJ3,0,V,1,0),COLORRED;改好。
求助改成通达信公式
下通道:MA(L+(H-L)/2,25)*0.95;中轨:(上通道+下通道)/2;股价:C;次上通道:(MA(C,5)+MA(O,5))/2*1.06;次下通道:(MA(C,5)+MA(O,5))/2*0.98;强弱线:(次上通道+次下通道)/2;(2)A1:=REF(C,1)/REF(C,2)>1.095;A2:=C>O AND L/REF(C,1)>1.03;A3:=A1 ...
请高手帮忙修改一下通达信公式,把此公式做成选股公式,只要周金叉和月金...
DIFC:="MACD.DIF#MONTH"(6,13,5);DEC:="MACD.DEA#MONTH"(6,13,5);CK:="KDJ.K#MONTH"(9,3,3);CD:="KDJ.J#MONTH"(9,3,3);MK月金叉:=CROSS(DIFC,DEC) AND CROSS(CD,CK);MK月金叉共振:IF(MK月金叉,10,0),LINETHICK6,COLORFF00FF;{MK周金叉共振选股附图} DIFB:="MACD.DIF...
请高手帮忙修改此通达信选股公式,谢谢!
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;V4:SMA(V3,2,1);V5:SMA(V4,2,1);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);买入:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,LINETHICK3;DRAW...
哪位高手 可以把下面这个通达信公式 改成同花顺的
二日换手:SUM(换手,2);三日换手:SUM(换手,3);五日换手:SUM(换手,5);十日换手:SUM(换手,10);二十日换手:SUM(换手,20);三十日换手:SUM(换手,30);主力1:=IF(换手>10,V*0.9,V*0.1);主力2:=IF(BETWEEN(换手,8,10),V*0.8,V*0.2);主力3:=IF(BETWEEN(换手,5,8),V*0.6,V*...
请高手帮忙把下面的通达信公式改成大智慧的,谢谢了!
V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤:=IF(V4<=0,V4,0);主力进:=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:=...