通达信KDJ不同周期及选股指标(源码)

2015-06-29 22:45:00来源:本站整理浏览:277

月金叉:=CROSS(KDJ.K#MONTH,KDJ.D#MONTH),COLORLIMAGENTA;
月死叉:=CROSS(KDJ.D#MONTH,KDJ.K#MONTH),COLORGREEN;
STICKLINE(月金叉,0,1,0,0),COLORLIMAGENTA;
STICKLINE(月死叉,0,1,0,0),COLORGREEN;
DRAWTEXT(月金叉,0.85," 月金叉"),COLORLIMAGENTA;
DRAWTEXT(月死叉,0.85," 月死叉"),COLORGREEN;
周金叉:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK),COLORLIMAGENTA;
周死叉:=CROSS(KDJ.D#WEEK,KDJ.K#WEEK),COLORGREEN;
STICKLINE(周金叉,0,0.5,0,0),COLORLIMAGENTA;
STICKLINE(周死叉,0,0.5,0,0),COLORGREEN;
DRAWTEXT(周金叉,0.5," 周金叉"),COLORLIMAGENTA;
DRAWTEXT(周死叉,0.5," 周死叉"),COLORGREEN;

{
选股公式:

日金叉:=CROSS(KDJ.K,KDJ.D);
月金叉:=CROSS(KDJ.K#MONTH,KDJ.D#MONTH);
周金叉:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);
XG:日金叉 AND (BARSLAST(月金叉)<10 OR BARSLAST(周金叉)<5);
}


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式