您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:DDX成交K线图,一眼就能看出是出力在出货

DDX成交K线图,一眼就能看出是出力在出货


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-09-07 08:15:00
公式简介:

本公式是由回到未来58有感而发,把DDX改成了K线图
在这里特别感谢回到未来58,希望大家喜欢

DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
N:=5;
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;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:SMA(V2*240/FROMOPEN*0.9,5,1);
V10:SMA(V5,5,1);
V20:SMA(V10,5,1);
DRAWKLINE(V2*1.01,REF(V2,1),REF(V2,1)*0.99,V2);
当日DDX:DDX,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND C>=REF(C,1),REF(V2,1),MAX(V2*0.98,V2*240/FROMOPEN*0.8),3,-1),COLORLIMAGENTA;
STICKLINE(CURRBARSCOUNT=1 AND C<REF(C,1),REF(V2,1),MIN(V2,V2*240/FROMOPEN*0.8),3,-1),COLORLIGREEN;
DRAWTEXT(CROSS(V2,REF(V2,1)*1.2) AND LONGCROSS(CLOSE,REF(C,1)*1.025,4) AND DDX/REF(MA(DDX,5),1)>2,REF(V2,1),'★'),COLORMAGENTA;





[url=http://www.goodgupiao.com/gupiaogongshi/30708.html][B]DDX成交K线图,一眼就能看出是出力在出货[/B][/url]