公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

二指金叉指标 (源码)

2020-2-21 14:22| 发布者: admin| 查看: 72| 评论: 0

大智慧二指金叉指标公式股票软件源码如下:

DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100,color0000ff,LINETHICK3;
DEA:EMA(DIF,9),Colorffffff,LINETHICK3;
MACD:(DIF-DEA)*2,COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORYELLOW;
D:SMA(K,3,1),COLORffff00;
J:3*K-2*D,COLORMAGENTA;
{partline(j,j>=ref(j,1),rgb(255,0,0),jM周金叉:IF(CROSS("macd.diff#WEEK","macd.dea#WEEK"),-50,0),color0000ff,LINETHICK2;
DRAWTEXT(M周金叉,-45,' MACD周金叉'),color0000ff;
M周死叉:IF(CROSS("macd.dea#WEEK","macd.diff#WEEK"),-50,0),color00ff00,LINETHICK2;
DRAWTEXT(M周死叉,-45,' MACD周死叉'),color00ff00;
M月金叉:IF(CROSS("macd.diff#MONTH","macd.dea#MONTH"),-60,0),Color00ffff,LINETHICK2;
DRAWTEXT(M月金叉,-55,' MACD月金叉'),color00ffff;
M月死叉:IF(CROSS("macd.dea#MONTH","macd.diff#MONTH"),-60,0),Colorff6600,LINETHICK2;
DRAWTEXT(M月死叉,-55,' MACD月死叉'),colorff6600;
DRAWTEXTABS(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff;
K周金叉:IF(CROSS("KDJ.K#week","KDJ.D#week"),50,0),color0000ff,LINETHICK2;
DRAWTEXT(K周金叉,50,' KDJ周金叉'),color0000ff;
K周死叉:IF(CROSS("KDJ.D#week","KDJ.K#week"),50,0),color00ff00,LINETHICK2;
DRAWTEXT(K周死叉,50,' KDJ周死叉'),color00ff00;
K月金叉:IF(CROSS("KDJ.K#MONTH","KDJ.D#MONTH"),60,0),Color00ffff,LINETHICK2;
DRAWTEXT(K月金叉,60,' KDJ月金叉'),color00ffff;
K月死叉:IF(CROSS("KDJ.D#MONTH","KDJ.K#MONTH"),60,0),Colorff6600,LINETHICK2;
DRAWTEXT(K月死叉,60,' KDJ月死叉'),colorff6600;

大智慧二指金叉指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部