手机端
当前位置:爱约股 > 公式技巧 > 把大智慧掘金六线主图修改成选股

把大智慧掘金六线主图修改成选股

 网友求助:

条件:在主图上出现黄点买入时选股谢谢

源码
掘金1:EMA(C,3),COLORWHITE;
掘金2:EMA(C,5),COLORYELLOW;
掘金3:EMA(C,7),COLORBROWN;
掘金4:EMA(C,12),COLORGREEN;
掘金5:EMA(C,20),COLORRED;
掘金6:EMA(C,50),DOTLINE,LINETHICK2;
SS:=CROSS(掘金1,掘金2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金1,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金1,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金3,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(掘金1,掘金5);
DRAWICON(SS,L-0.04,5);
 

 

 

解答如下:

掘金1:=EMA(C,3);
掘金2:=EMA(C,5);
掘金3:=EMA(C,7);
掘金4:=EMA(C,12);
掘金5:=EMA(C,20);
掘金6:=EMA(C,50);
SS:CROSS(掘金1,掘金2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金1,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金1,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金3,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(掘金2,掘金4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(掘金1,掘金5);
 

分享至:

相关推荐