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,1000000,10000),COLOR00AAAA,LINETHICK;
DX:=MA(DDX,5)*N;
STICKLINE(DDX>0,0,DDX,3,0),COLOR000088;
STICKLINE(DDX>0,0,DDX,2.5,0),COLOR0000AA;
STICKLINE(DDX>0,0,DDX,1.5,0),COLOR0000CC;
STICKLINE(DDX>0,0,DDX,1,0),COLOR0000EE;
STICKLINE(DDX<0,0,DDX,3,0),COLOR008800;
STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;
STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;
DDX1:SMA(DX,3,1),COLORFFFFFF;
DDX2:SMA(DDX1,3,1),COLOR00FFFF;
DDX3:EMA(DDX2,5),COLORFF00FF;
预警:DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2),LINETHICK;
天:=COUNT(DDX>0,5),COLORRED;
DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;
不行哦 你的公式选出来后全是阳线
要求是 当天收盘后 k线是阴线 同时DDX的值大于0的选股公式
哦,大意了,搞错了,抱歉!用下面的!
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,1000000,10000);
DX:=MA(DDX,5)*N;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=EMA(DDX2,5);
DDX>0 AND C<O;
通达信高手 按要求改编一下DDX的公式 公式如下 要求 k线收盘后为阴线 d...
DDX2:=SMA(DDX1,3,1);DDX3:=EMA(DDX2,5);DDX>0 AND O<C;
通达信大单ddx>0选股工式源码如何编写
QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); DDX:((QJ1+QJ2)-(QJ3+QJ4))\/IF(CAPITAL=0,1000000,10000);在股市中我们经常看的大盘就是一个庞大的数据库,它保存着从有股市以来所有股票的有用数据,如收盘价、最高价、最低价、开盘价等。
求高手帮忙编写通达信 DDX红柱子高度 高于 成交量柱子的高度 选股公 ...
假设我们将DDX红柱子的高度定义为 `DDX_Height`,成交量柱子的高度定义为 `Vol_Height`,则可以编写如下的选股公式:```DDX_Height:=REF(IF(DDX>0,DDX,0),1);Vol_Height:=VOL*100\/MA(VOL,20);FILTER:DDX_Height>Vol_Height AND DDX>0;```解释一下上述选股公式的意思:- `DDX_Height` 表...
求高手帮忙编写,通达信大单动向DDX当天红柱高度大于昨天和前天的高度...
VOL,0); BB:=IF(BETWEEN(C,JJ,L),VOL,0); CC:=IF(AA AND BB,0,VOL\/3); DDX:=10*(AA-(BB+CC))\/IF(CAPITALREF(DDX,1)&&REF(DDX,1)>0; 拓展资料:1. 通达信L2的大单动向(DDX)改选股 大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000\/FINANCE(7),...
请求高手编辑通达信选股公式,要求:涨幅大于-1%小于2%,DDX>0.28,SUPV>0...
case(Nil, _) => l2 case(_, Nil) => l1 case(x::left1, y::left2) => if(cmp(x, y))x::merge(left1, l2)else{ reverse_pairs += l1.length y::merge(l1, left2)} } valn = l.length \/ 2 if(n == 0)return l else{ val(l1, l2) = l.splitAt(n)merge(msort(...