您现在的位置:好股网 >> 股票公式 >> 同花顺公式 >> 一键转帖:同花顺MACD顶背离和底背离金死叉副图指标 源码

同花顺MACD顶背离和底背离金死叉副图指标 源码


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

顶底背离、金叉

DIFF : EMA(CLOSE,8) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK,COLOR5454FF;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
上升背离:(CC AND EE)*DEA,COLOR00FFFF;
顶背离:(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,colorgreen;
FF:=C=LLV(C,180);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
底背离FF:(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,colorred;
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
介入区:(JJ AND ZZ)*DEA,POINTDOT,colorred;
STICKLINE(介入区=DEA,DEA,DIFF,3,0),colorred;
DRAWTEXT(CROSS(DIFF,DEA ),0,'金叉'),colorcyan;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),colorgreen;

同花顺MACD顶背离和底背离金死叉副图指标 源码
 


[url=http://www.goodgupiao.com/gupiaogongshi/46699.html][B]同花顺MACD顶背离和底背离金死叉副图指标 源码[/B][/url]