当前位置:分析家公式网 → 股票公式 → 大智慧L2公式 → 一键转帖:金叉背离(上升背离、顶背离、底背离)-
软件名称:[B]金叉背离(上升背离、顶背离、底背离)-[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2011-05-05 06:49:37
软件简介:
金叉背离(上升背离、顶背离、底背离)-指标公式源码
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
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;
下降背离:LL AND GG*DEA,COLORMAGENTA;
底背离: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,COLORGREEN;{MACD蓝柱缩短---指今日比昨天短}
STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED;
DRAWTEXT(CROSS(DIFF,DEA ),0,'金N叉'),COLORCYAN;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort03/down-33457.html]金叉背离(上升背离、顶背离、底背离)-[/url]