TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王粉之红火牛朋友让写的公式:想请你帮编一个金口袋:MACD在0轴上,MACD10天内死叉,现在刚金叉。因为我在斗K时发现很多股票走出轴上金口袋会走主升三浪$ F- p1 |4 G1 W
8 v! W4 g6 w% O6 S" |# }公式代码:
% R7 ], i' G% D- {; P0 RRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;/ g/ L8 M" M9 H2 N6 d, C5 a6 \9 b) T
K:=SMA(RSV,3,1);8 I0 x9 A' P0 i y1 f) c* w0 v
D:=SMA(K,3,1);6 _/ |/ w: W+ S
J:=3*K-2*D;0 Q6 f, ^& w7 u2 T4 e+ v/ ?4 _; ~
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
5 G2 i' ]( O3 _" s6 n$ CDEA := EMA(DIFF,9);% Y, b! k/ k" ?$ o
{去掉已停牌}
7 K6 T9 b; @" _% ~AA0 := IF(FROMOPEN > 1, DYNAINFO(4)>0, 1);* T8 H: A5 C5 |8 R# |
AA1 := EXIST(CROSS(DEA, DIFF), 10) AND CROSS(DIFF, DEA) AND DIFF>0;
. ]% W/ [- B. C' X. O" R0 F{去掉老母猪}, ~/ F; I- s7 M/ \
AA2 := FINANCE(41) < SZ * 100000000;
, r% \) I% t- V( L$ V{排除ST股}) r3 T' d# e0 ?4 V1 z. Y# M5 A( F
AA3 := NOT(NAMELIKE('S') OR NAMELIKE('*'));
; h1 ]; ~# Z5 u! n$ xAA0 AND AA1 AND AA2 AND AA3;
& C/ y; X; y r3 |+ y+ v7 A) E, ]. o% S# m
参数SZ是市值,参考截图设置,不知道怎么使用的请参考其它贴子。4 Z: ?# x: q9 U4 L: q/ P) [
|
|