您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通信达公式指标大全 MACD主图金叉买点公式源码(2)

2018-06-13 17:01    股票知识   zhishi.southmoney.com
    

DRAWTEXT(低位金叉,L*0.9973,'低位金叉'),COLORYELLOW;

JCCOUNT:=COUNT(CROSS(DIFF,DEADD),BARSLAST(DEADD>=0));

二次金叉:=CROSS(DIFF,DEADD) AND DEADD<0 AND COUNT(JCCOUNT=2,21)=1;

DRAWTEXT(二次金叉,L*0.9873,'二次金叉'),COLORFF00FF;

线上二次金叉:=CROSS(DIFF,DEADD) AND DEADD>=0 AND COUNT(JCCOUNT=2,21)=1;

DRAWTEXT(线上二次金叉,L*0.9976,'线上二金'),COLORFF00FF;

A1DD:=BARSLAST(REF(CROSS(DIFF,DEADD),1));

MACD底背离:=REF(CLOSE,A1DD+1)>CLOSE AND DIFF>REF(DIFF,A1DD+1) AND CROSS(DIFF,DEADD);

DRAWTEXT(MACD底背离,L*0.977,'底背驰'),COLOR6600FF;

A2DD:=BARSLAST(REF(CROSS(DEADD,DIFF),1));

顶背离:=REF(CLOSE,A2DD+1)<CLOSE AND REF(DIFF,A2DD+1)>DIFF AND CROSS(DEADD,DIFF);

DRAWTEXT(顶背离,H*1.001,'顶背离'),COLORGREEN;

EMA55:MA(CLOSE,55),POINTDOT,COLORCYAN;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UP:=BBI + 2.58*STD(BBI,10);

LOOW:=BBI - 2.58*STD(BBI,10);

A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;

VAR7:=FORCAST(A7,6);

MA3K:VAR7,POINTDOT,COLORYELLOW;

更多股票公式相关资讯请关注南方财富网

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号