0%

大牛回头主图及选股

一个主图公式,包含选股(可作副图),测试了一下,胜率一般,就作个参考吧,毕竟公式的使用在于个人的领悟及理解。

主图源码:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
MA22:MA(C,22),COLORYELLOW;
MA21:=MA(C,21);
MA60:MA(C,60),COLORRED;
EMA5:=EMA(C,5);
X_1:=EMA(EMA5,0);
X_2:=HHV(MA(H,3),2);
X_3:LLV(MA(H,3),1),COLORWHITE;
X_4:=X_2=X_3 AND REF(X_2>X_3,1);
DRAWICON(X_4 AND X_3>=REF(X_3,1) AND C>O,L,1);
X_5:=FILTER(X_1>REF(X_1,1) AND X_2>REF(C,1),11);
X_6:=RANGE(C/MA21,0.97,1.15) OR RANGE(O/MA21,0.97,1.15);
X_7:=X_5 AND C>MA21 AND EVERY(MA21>REF(MA21,1),7) AND X_6;
DRAWICON(X_7>=1 AND X_3>REF(X_3,1),L*0.99,7);
DRAWTEXT_FIX(C>O,0.01,1.0,0,'公众号:水哥指标库'),COLORWHITE;
X_8:=X_3>MA22 AND MA22>MA60;
X_9:=X_4 AND X_8;
DRAWICON(X_9 AND C>O,L*0.98,11);
X_A:=MA22>MA60 AND X_3>MA60;
X_B:=X_4 AND X_A;
DRAWICON(X_B AND C>O,L*0.98,11);
X_C:=X_4 AND MA60>MA22 AND L<=MA22 AND H>=MA60;
X_D:=X_4 AND MA60<MA22 AND L<=MA60 AND H>=MA22;
X_E:=X_C OR X_D;
DRAWICON(X_E,L*0.97,34);
DRAWICON(CROSS(X_3,MA22) AND REF(X_4,1) AND MA22>REF(MA22,1),LOW*0.96,25);
X_F:=MA60>=MA22 AND X_3>=MA60 AND HIGH>=X_3 AND L<=MA60;
X_G:=MA60>=MA22 AND X_3>=MA22 AND X_3<MA60 AND H>=MA60 AND L<=X_3;
X_H:=MA60<=MA22 AND X_3>=MA60 AND X_3<MA22 AND H>=MA22 AND L<=X_3;
X_I:=MA60<=MA22 AND X_3>=MA22 AND H>=X_3 AND L<=MA22;
X_J:=X_F OR X_G OR X_H OR X_I;
X_K:=X_J AND C>O;
STICKLINE(X_K,O,C,3,0),COLORRED;
X_L:=X_3>=MA60 AND MA60>=MA22 AND H>=X_3 AND L<=MA22;
X_M:=X_3>=MA22 AND MA22>=MA60 AND H>=X_3 AND L<=MA60;
X_N:=MA60>=MA22 AND MA22>=X_3 AND H>=MA60 AND L<=X_3;
X_P:=MA60>=X_3 AND X_3>=MA22 AND H>=MA60 AND L<=MA22;
X_Q:=MA22>=MA60 AND MA60>=X_3 AND H>=MA60 AND L<=MA22;
X_R:=MA22>=X_3 AND X_3>=MA60 AND H>=MA22 AND L<=MA60;
X_S:=X_L OR X_M OR X_N OR X_P OR X_Q OR X_R;
X_T:=X_S AND C>O;
STICKLINE(X_T,O,C,3,0),COLORMAGENTA;
X_U:=MA22>MA60 AND X_3>MA60 AND X_3<MA22;
X_V:=MA22<MA60 AND X_3>MA22 AND X_3<MA60;
X_W:=X_3<MA60 AND X_3<MA22;
X_X:=X_U OR X_V OR X_W AND X_3>=REF(X_3,1) AND (MA60>=REF(MA60,1) OR MA22>=REF(MA22,1));
X_Y:=CLOSE<=X_W AND C>O AND X_X;
STICKLINE(X_Y,C,O,3.05,0),COLOR000099;
STICKLINE(X_Y,C,O,2.2,0),COLOR0000CC;
STICKLINE(X_Y,C,O,1.5,0),COLORRED;
STICKLINE(X_Y,C,O,0.5,0),COLORYELLOW;
X_Z:=CROSS(MA60,X_3) OR CROSS(MA22,X_3);
AA:=CROSS(X_3,MA60) OR CROSS(X_3,MA22);
BB:=AA AND EXIST(X_Z,10);
STICKLINE(BB,C,O,3.05,0),COLOR000099;
STICKLINE(BB,C,O,2.2,0),COLOR0000CC;
STICKLINE(BB,C,O,1.5,0),COLORRED;
STICKLINE(BB,C,O,0.5,0),COLORYELLOW;

大牛回头选股(可作副图):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
X_1:=MA(C,22);
X_2:=MA(C,21);
X_3:=MA(C,60);
X_4:=EMA(C,5);
X_5:=EMA(X_4,0);
X_6:=HHV(MA(H,3),2);
X_7:=LLV(MA(H,3),1);
X_8:=X_6=X_7 AND REF(X_6>X_7,1);
X_9:=X_8 AND X_7>=REF(X_7,1) AND C>O;
X_10:=X_7>X_1 AND X_1>X_3;
X_11:=X_8 AND X_10;
X_12:=X_11 AND C>O;
X_13:=X_1>X_3 AND X_7>X_3;
X_14:=X_8 AND X_13;
X_15:=X_14 AND C>O;
X_16:=X_12 OR X_15;
X_17:=X_8 AND X_3>X_1 AND L<=X_1 AND H>=X_3;
X_18:=X_8 AND X_3<X_1 AND L<=X_3 AND H>=X_1;
X_19:=X_17 OR X_18;
X_20:=X_19;
X_21:=X_7>=X_3 AND X_3>=X_1 AND H>=X_7 AND L<=X_1;
X_22:=X_7>=X_1 AND X_1>=X_3 AND H>=X_7 AND L<=X_3;
X_23:=X_3>=X_1 AND X_1>=X_7 AND H>=X_3 AND L<=X_7;
X_24:=X_3>=X_7 AND X_7>=X_1 AND H>=X_3 AND L<=X_1;
X_25:=X_1>=X_3 AND X_3>=X_7 AND H>=X_1 AND L<=X_7;
X_26:=X_1>=X_7 AND X_7>=X_3 AND H>=X_1 AND L<=X_3;
X_27:=X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26;
X_28:=X_27 AND C>O;
X_29:=X_28;
X_30:=X_7>=X_3 AND X_3>=X_1 AND H>=X_7 AND L<=X_3;
X_31:=X_7>=X_1 AND X_1>=X_3 AND H>=X_7 AND L<=X_1;
X_32:=X_3>=X_1 AND X_1>=X_7 AND H>=X_3 AND L<=X_1;
X_33:=X_3>=X_7 AND X_7>=X_1 AND H>=X_3 AND L<=X_7;
X_34:=X_1>=X_3 AND X_3>=X_7 AND H>=X_1 AND L<=X_3;
X_35:=X_1>=X_7 AND X_7>=X_3 AND H>=X_1 AND L<=X_7;
X_36:=X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35;
X_37:=X_36 AND C>O;
X_38:=X_37;
X_39:=X_29 OR X_38;
大牛回头:X_9 AND X_16 AND X_20 AND X_39;

指标仅供参考,不作投资依据。

-------------本文结束感谢您的阅读-------------
您的支持,是我创作的动力,感谢!
  • 本文作者: shuige
  • 本文链接: http://sgzbk.top/posts/46523/
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!