公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 同花顺公式 > 正文 → 正文

同花顺侃MA副图指标

发布时间:2016/4/11 6:40:23  浏览次数:

同花顺侃MA副图指标

源码

DRAWGBK(V>1,STRIP(RGB(70,100,255),RGB(110,130,255),1));
DIFF:=(EMA(CLOSE,6) - EMA(CLOSE,14))*100;
DEA:EMA(DIFF,5);
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0 ),COLOR00aaff;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,6.6,0 ),COLOR00bbff;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOR00ccff;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00ddff;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00eeff;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00ffff;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,8 ,0 ),COLOR0000aa;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,6.6 ,0 ),COLOR0011bb;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOr0022cc;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0033dd;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2 ,0 ),COLOR0044ee;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0055ff;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLOraa00bb;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORbb11bb;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLOrcc22bb;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3,0 ),COLORdd33bb;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLORee44bb;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORff55bb;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLOrffaa00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORffbb11;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLOrffcc22;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORffdd33;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLORffee44;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORffff55;
PARTLINE(dea,C>MA(C,6) AND diff>=dea ,RGB(255,0,255)),linethick3;
PARTLINE(diff,C>MA(C,6) AND diff>=dea ,RGB(255,0,0)),linethick3;
PARTLINE(dea,C<MA(C,6),RGB(0,255,0)),linethick1;
PARTLINE(diff,C<MA(C,6),RGB(0,255,0)),linethick1;
 

同花顺侃MA副图指标

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识