公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信吸拉派落+底背离副图选股 源码

2012-10-24 09:14| 发布者: admin| 查看: 83| 评论: 0

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
SHORT:=5;LONG:=10;MID:=5;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORYELLOW ;
DEA:=EMA(DIF,MID)COLORFF9900 ;
主力买:=IF(DIF>REF(DIF,1),DIF,0),;
主力卖:=IF(DIFMACD:=(DIF-DEA)*2;
黄柱:=OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),COLORYELLOW;
吸:=MACD<0 AND MACD>REF(MACD,1);
拉:=MACD>0 AND MACD>REF(MACD,1);
派:=MACD>0 AND MACD落:=MACD<0 AND MACD红:=吸 OR 拉,COLORRED;
绿:=派,COLORGREEN,;
白:=落,COLORWHITE,;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1,COLORWHITE,;
紫:=低位金叉,COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),COLORGREEN;
绿1:=底背离,COLORGREEN,;
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,COLORRED,;
青色:=二次金叉,COLORFFCC00,;
青色覆盖:=二次金叉 AND 0.06>MACD;

黄红:=黄柱 AND 红,COLORYELLOW,;
紫色覆盖:=低位金叉 AND 0.08>MACD,;
XG1:=黄红 AND 紫色覆盖=0 AND 青色覆盖=0;
T1:=XG1 AND REF(XG1,1)=0 AND DYNAINFO(7)>0 AND DYNAINFO(4)>0;

DIFFA:=EMA(C,5)-EMA(C,10);
DEAA:=EMA(DIFFA,5);

XG:XG1 AND CROSS(DIFFA,DEAA) AND T1 AND REF(XG1,1)=0 AND DYNAINFO(7)>0 AND DYNAINFO(4)>0;



通达信吸拉派落+底背离副图选股 源码


鲜花

握手

雷人

路过

鸡蛋
返回顶部