TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王粉之红火牛朋友让写的公式:想请你帮编一个金口袋:MACD在0轴上,MACD10天内死叉,现在刚金叉。因为我在斗K时发现很多股票走出轴上金口袋会走主升三浪
6 s y+ K4 X" i4 q6 m
- o- x. [+ ~0 E1 t: v+ ] G公式代码:
" c+ z; _: ^: c6 L. \2 mRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
3 A0 s0 X4 ~6 P. J! T7 q3 DK:=SMA(RSV,3,1);
& e9 D6 e! p- C. K/ P$ F; _. [D:=SMA(K,3,1);9 G1 @# K$ ^2 x3 D" H2 I5 B9 \3 p
J:=3*K-2*D;! v4 V, I6 `& r1 {, ?2 X
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);! {) i8 |, r% T! V/ i; Q* W
DEA := EMA(DIFF,9);! A9 E2 s" d" t3 H( f; i' V
{去掉已停牌}
! e1 N& T+ `" [- T6 E! BAA0 := IF(FROMOPEN > 1, DYNAINFO(4)>0, 1);1 l' h/ d' C. P! w7 Y, r
AA1 := EXIST(CROSS(DEA, DIFF), 10) AND CROSS(DIFF, DEA) AND DIFF>0;
, `" K7 ~7 Q& C! w5 {$ S{去掉老母猪}
& H# S8 W L7 Z* tAA2 := FINANCE(41) < SZ * 100000000;
9 J, Y z% [/ o' g( b$ Y% e% V6 Y) w{排除ST股}
8 Q. i8 m/ y0 U5 g7 V& G! Q* zAA3 := NOT(NAMELIKE('S') OR NAMELIKE('*'));9 s2 l( c: n3 f/ F: m
AA0 AND AA1 AND AA2 AND AA3;
# o' A# M7 }3 P! ~4 f
. l/ a) v5 B; _4 {- v) v7 X7 N参数SZ是市值,参考截图设置,不知道怎么使用的请参考其它贴子。
" j3 x5 z# j& L8 L( V: t
|
|