短银均线+短银形态公式[其他软件公式]
相关标签:
原理解析:
源码:
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,240);
MA7:=MA(CLOSE,40);
月价托:=COUNT(CROSS(MA1,MA2),10) AND
COUNT(CROSS(MA1,MA3),10) AND
COUNT(CROSS(MA2,MA3),1)AND
MA4>REF(MA4,3) AND MA5>REF(MA5,3) AND MA6>REF(MA6,3);
DRAWTEXT(月价托,H+1,'月价托'),COLORYELLOW;
STICKLINE(月价托,H+1,H+0.5,0.5,0) ,COLORGREEN;
A1:=COUNT(CROSS(MA2,MA3),1)=1;
A2:=COUNT(CROSS(MA1,MA3),1)=1;
A3:=COUNT(CROSS(MA1,MA2),1)=1;
金蜘蛛:=A1 AND A2 AND A3 ;
DRAWTEXT(金蜘蛛,H+1,'金蜘蛛'),COLORYELLOW;
STICKLINE(金蜘蛛,H+1,H+0.5,0.5,0) ,COLORGREEN;
多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1) AND CLOSE>OPEN;
DRAWTEXT(多方炮,H+1,'多方炮'),COLORYELLOW;
STICKLINE(多方炮,H+1,H+0.5,0.5,0) ,COLORGREEN;
PMA1 := MA(CLOSE,5);
PMA2 := MA(CLOSE,10);
VMA1 := MA(VOL,5);
VMA2 := MA(VOL,10);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
PPDAY := BARSLAST(CROSS(PMA1,PMA2));
VVDAY := BARSLAST(CROSS(VMA1,VMA2));
MACDDAY := BARSLAST(CROSS(DIFF,DEA));
三金叉见底:=COUNT(CROSS(PMA1,PMA2),1) AND
COUNT(CROSS(VMA1,VMA2),5)AND
COUNT(CROSS(DIFF,DEA),3);
DRAWTEXT(三金叉见底,H+1,'三金叉见底'),COLORYELLOW;
STICKLINE(三金叉见底,H+1,H+1.5,0.5,0) ,COLORGREEN;
三死叉见顶:=COUNT(CROSS(PMA2,PMA1),2) AND
COUNT(CROSS(VMA2,VMA1),5)AND
COUNT(CROSS(DEA,DIFF),2);
DRAWTEXT(三死叉见顶,H+2,'三死叉见顶'),COLORYELLOW;
STICKLINE(三死叉见顶,H+2,H+2.5,0.5,0) ,COLORGREEN;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容