主题27
精华0
阅读权限15
注册时间2016-1-19
在线时间0 小时
最后登录2017-7-28
美元0
爱心果315
贡献0
- 积分
- 420
知府
- 听众
- 1
|
10爱心果
请老师帮忙做一个通达信选股器,当出现小手指向上时选股,谢谢!
DIFF:=(EMA(CLOSE,9) - EMA(CLOSE,27));
DEA:=EMA(DIFF,6);
MACD2:=(2 * (DIFF - DEA))*15;
E:=DIFF*100;
MA1:MA(E,5),COLORYELLOW,LINETHICK2;
MA2:MA(E,10);
MA3:MA(E,20);
STICKLINE(E<REF(E,1),E,MA(E,1),2,0),COLORD9D919;
STICKLINE(E<REF(E,2),E,MA(E,2),2,0),COLORD9D919;
STICKLINE(E<REF(E,3),E,MA(E,3),2,0 ),COLORD9D919;
STICKLINE(E<REF(E,4),E,MA(E,4),2,0 ),COLORD9D919;
STICKLINE(E> REF(E,4),E,EMA(E,4),2,0) ,COLORRED;
STICKLINE(E> REF(E,3),E,EMA(E,3),2,0) ,COLORRED;
STICKLINE(E> REF(E,2),E,EMA(E,2),2,0) ,COLORRED;
STICKLINE(E> REF(E,1),E,EMA(E,1),2,0) ,COLORRED;
DIF:=(EMA(CLOSE,4) - EMA(CLOSE,13));
F:=DIF*200;
MA5:=MA(F,5);
STICKLINE(F<REF(F,1),F,MA(F,1),2,0),COLORD9D919;
STICKLINE(F<REF(F,2),E,MA(F,2),2,0),COLORD9D919;
STICKLINE(F<REF(F,3),E,MA(F,3),2,0 ),COLORD9D919;
STICKLINE(F<REF(F,4),E,MA(F,4),2,0 ),COLORD9D919;
STICKLINE(F> REF(F,4),E,EMA(F,4),2,0) ,COLORRED;
STICKLINE(F> REF(F,3),E,EMA(F,3),2,0) ,COLORRED;
STICKLINE(F> REF(F,2),E,EMA(F,2),2,0) ,COLORRED;
STICKLINE(F> REF(F,1),E,EMA(F,1),2,0) ,COLORRED;
DRAWICON (CROSS(E,MA1),MA1-10,11);
DRAWICON (CROSS(MA1,E),MA1+10,12);
AA:=E<MA1 AND E>REF(E,1) ;
DRAWICON(AA,MA1-20,36);
BB:=E>MA1 AND E<=REF(E,1);
DRAWICON(BB,MA1+20,37); |
最佳答案
查看完整内容
DIFF:=(EMA(CLOSE,9)-EMA(CLOSE,27));
DEA:=EMA(DIFF,6);
MACD2:=(2*(DIFF-DEA))*15;
E:=DIFF*100;
MA1:=MA(E,5);
BBY:CROSS(E,MA1);
|