通达信新编DDX指标公式,通达信波段抄底指标公式
admin888
|通达信新编DDX指标公式,通达信波段抄底指标公式
通达信新编DDX指标公式
N:=20;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-maX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
ddx:((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,100000000,1000000),COLOR00AAAA,LINETHICK;
三日DDX:SUM(DDX,3)/10,LINETHICK0;
五日DDX:SUM(DDX,5)/10,LINETHICK0;
十日DDX:SUM(DDX,10)/10,LINETHICK0;
DDX动向:SUM(DDX,60),COLOR0080FF,LINETHICK1;
stICKLINE(DDX>0,DDX动向,DDX动向+(DDX),1,0),COLORRED;
STICKLINE(DDX<0,DDX动向+(DDX),DDX动向,1,0),COLORFFFF00;
通达信波段抄底指标公式
VARA:=BARSCOUNT(CLOSE)*3.142/180;
X1: 0;
VAR1:=ma(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
VAR8:=ema(VAR6,8);
底部:stICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6
转强: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,2,0),COLORLIRED ;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,3,0),COLORCC00FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,2.5,0),COLORCC33FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,2,0),COLORCC66FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,1.5,0),COLORCC99FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,1,0),COLORCCCCFF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,0.3,0),COLORCCFFFF;
持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2,0),COLOR0000CD;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,3,0),COLOR000099;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2.5,0),COLOR003399;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2,0),COLOR0000CC;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,1.5,0),COLOR0033CC;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,1.0,0),COLOR0000FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,0.3,0),COLOR0033FF;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,0.1,0),COLOR6666FF;
观望: STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2,0),COLORYELLOW;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,3,0),COLOR0000FF;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2.5,0),COLOR0033FF;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2.0,0),COLOR0066FF;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,1.5,0),COLOR0099FF;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,1,0),COLOR00CCFF;
STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,0.3,0),COLOR00FFFF;
坚决持股:0,COLORRED;
谨慎观望:0,COLOR0066FF;
果断持币:0,COLOR00CA00;
注意底部:0,COLOR006699;
趋势转强:0,COLORFF00FF;
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,COLOR00FFFF;
STICKLINE(关注>0, 关注,0,0,0),COLOR00FFFF;
DRAWTEXT(crOSS(关注,1.2),关注*0.5-6,'▲'),COLORFF00FF;
DRAWTEXT(CROSS(关注,1.2),关注*0.5-13,'▲'),COLORFF00FF;
DRAWTEXT(CROSS(关注,4.5),关注,'抄底'),COLOR0000FF;
DRAWICON(CROSS(关注,7.0),关注*0.5-10,9);
DRAWTEXT(CROSS(关注,7.0),关注*0.5-25,'准备'),COLOR00FFFF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。