这个通达信指标有未来函数吗?
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;K:SMA(RSV,3,1);D:SMA(...
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D,COLORFF00FF;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK3;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK3;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
{MDCZ买点超准}
HLM1:=MA(HHV(H,485),17);
HLM2:=MA(HHV(H,222),17);
HLM3:=MA(HHV(H,96),17);
HLM4:=MA(LLV(L,485),17);
HLM5:=MA(LLV(L,222),17);
HLM6:=MA(LLV(L,96),17);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3) /200,COLOR00FF00,LINETHICK3;
{DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'↑▲'),COLORFF00FF;
DRAWTEXT(CROSS(关注,4.5),关注,'买点出现'),COLOR00FFFF;
DRAWICON(CROSS(关注,7.0),关注*0.5-20,14);}
0;20;50;80;100;
{把它加到KDJ指标上(0--100坐标),效果很好!};
N1:=7;
LC:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;
魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;
TJ0:=X=魔王;
TJ1:=X=魔鬼;
TJ2:=X<REF(X,1);
TJ3:=X>REF(1,X);
JRS1:=DRAWICON(TJ1 AND TJ2,X,1);
JRS2:=DRAWICON(TJ0 AND TJ3,X,2);
{股旁网-股票公式网站 www.GUPANG.COM};
DRAWICON(FILTER(JRS1>0,1),L*0.97,1);
DRAWICON(FILTER(JRS2>0,1),H*1.02,2);
可是为什么 买点昨天提示后,今天消失了,然后买点今天又出现了 展开
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D,COLORFF00FF;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK3;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK3;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
{MDCZ买点超准}
HLM1:=MA(HHV(H,485),17);
HLM2:=MA(HHV(H,222),17);
HLM3:=MA(HHV(H,96),17);
HLM4:=MA(LLV(L,485),17);
HLM5:=MA(LLV(L,222),17);
HLM6:=MA(LLV(L,96),17);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3) /200,COLOR00FF00,LINETHICK3;
{DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'↑▲'),COLORFF00FF;
DRAWTEXT(CROSS(关注,4.5),关注,'买点出现'),COLOR00FFFF;
DRAWICON(CROSS(关注,7.0),关注*0.5-20,14);}
0;20;50;80;100;
{把它加到KDJ指标上(0--100坐标),效果很好!};
N1:=7;
LC:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;
魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;
TJ0:=X=魔王;
TJ1:=X=魔鬼;
TJ2:=X<REF(X,1);
TJ3:=X>REF(1,X);
JRS1:=DRAWICON(TJ1 AND TJ2,X,1);
JRS2:=DRAWICON(TJ0 AND TJ3,X,2);
{股旁网-股票公式网站 www.GUPANG.COM};
DRAWICON(FILTER(JRS1>0,1),L*0.97,1);
DRAWICON(FILTER(JRS2>0,1),H*1.02,2);
可是为什么 买点昨天提示后,今天消失了,然后买点今天又出现了 展开
3个回答
展开全部
未来函数:
#MONTH
#WEEK
#YEAR
BACKSET
CAPITAL
COST
DYNAINFO
FFT
FINANCE
FLATZIG
FLATZIGA
LWINNER
PEAK
PEAKA
PEAKBARS
PEAKBARSA
TROUGH
TROUGHBARS
TROUGHA
WINNER
XMA
ZIG
ZIGA
刚才测试了一下,里面没有未来函数。
指标信号日内的出现和消失都是正常的,因为价格还在波动,所以指标也在波动。里面没有未来函数,所以不会出现昨天(必须是收盘以后有)有,今天没有。
如果有问题,可以单线联系我。
#MONTH
#WEEK
#YEAR
BACKSET
CAPITAL
COST
DYNAINFO
FFT
FINANCE
FLATZIG
FLATZIGA
LWINNER
PEAK
PEAKA
PEAKBARS
PEAKBARSA
TROUGH
TROUGHBARS
TROUGHA
WINNER
XMA
ZIG
ZIGA
刚才测试了一下,里面没有未来函数。
指标信号日内的出现和消失都是正常的,因为价格还在波动,所以指标也在波动。里面没有未来函数,所以不会出现昨天(必须是收盘以后有)有,今天没有。
如果有问题,可以单线联系我。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
利用通达信分时图选取该指标,提示“含有未来数据”。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询