" {$ O8 k9 k6 W' T# L
6 c, ^$ J3 H4 ~! C+ V# }7 D0 \5 ]公式如下:1 O( z2 {4 ^, S
+ z! o( M" U, z. r: g& A
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
9 _) {, w" z0 _# b N% M9 @8 F
' D5 c! q; r' b) Y3 W$ `见底:=10;
0 I$ M! g5 M6 W1 M9 k
' h0 Z+ g5 c* t* Q! s, _9 ]9 k m短期底部:CROSS(趋势,见底);主力持仓%:EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3),COLORYELLOW,LINETHICK2;3 F6 q( r; v) K
& N0 f9 {5 Y9 v+ Z$ r# e
DRAWBAND(主力持仓%,RGB(150,10,150),50,RGB(50,55,150));- V& R& {+ y, b$ b
( x4 R* P" @2 A/ L( D1 }
浮筹比例:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100,NODRAW;
! s+ z2 K) D5 h b x& X, O5 G* S6 N% v4 O& g
STICKLINE(浮筹比例<10,10,浮筹比例,4,0),COLORRED;, T1 G( A0 g1 }8 o
* G9 }! o2 `% ]
DRAWTEXT(浮筹比例<10,18,'低'),COLORYELLOW;& k& S" [- ]0 }( C6 c5 o, d
, t Y: t% x n! T. _DRAWTEXT(浮筹比例<10,13,'吸'),COLORYELLOW;
8 O) q/ G& K/ G' z/ V7 ]' [4 G
# @! p" R! Z4 Z开盘:=WINNER(O)*100;( u9 K& @* A$ u, f0 p" b. \
9 c; d( n8 K- O: J收盘:=WINNER(C)*100;1 b$ t+ Z- L+ e: @) D! Q
& B$ i5 t: |3 [1 Y$ k0 C最高:=WINNER(H)*100;+ U# B" w. T( g1 ?2 F. i7 w+ S
- \0 T8 u& U E2 t) P1 Q最低:=WINNER(L)*100;7 Y) S4 O5 y- O. g! U0 \7 A
/ x6 {- t/ o5 J! i3 O5 A
获利比例%:收盘,COLORBROWN,NODRAW;1 j! i. f# m* Y, S. f
5 z8 @/ _4 l: p. J换手:100*VOL/(FINANCE(7)/100),NODRAW;/ R g) p3 ~3 Z( v, N' ]
' M6 B: y% G0 _9 t( n1 ?7 m换手5日:MA(换手,5),NODRAW;" b8 v6 S: B! p- b7 v: M$ w/ b
- X9 S: m) B- l* ]. H( N换手10日:MA(换手,10),NODRAW;
4 y+ t! V7 E. H5 u
: N1 y' ^$ [4 ` K3 T5 E+ s, e换手20日:MA(换手,20),NODRAW;; [& @( ^7 o; B; c4 f' F% u
& H. R6 [& a* h/ o
85,COLORRED;$ l( O/ p) V. s/ K- W5 F
1 X7 B6 Z, O0 y% ~% ^! L3 d1 `10,COLORLIGREEN;
1 C* a3 C: q! G& Y1 y6 M6 I3 G# S: m* I, M! U
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;# A7 P; ^- R; ?$ ~9 D2 T
$ t [. R* c7 x! N, ]
DIFW:="MACD.DIF#WEEK"(12,26,9);( \ k4 \7 D0 a5 g2 V
; C" t7 ?- H% k' x3 L
DEAW:="MACD.DEA#WEEK"(12,26,9);0 r. b" h5 X' E9 `2 B, U3 \
1 F& ^; f9 X$ d* t0 B& G+ PFCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13),NODRAW;& A5 @4 u9 x0 B, @- z' y7 M
1 B& o3 a" m+ { l8 D4 V1 t1 W: q# C
XG2:=FCA;
; @3 |2 z3 U W ^0 _9 v. L. e7 k# a# `9 @! Y3 b, c
选股:= XG2 AND FCA;; o: w; Z8 L# P' E
7 R0 [ u+ Z" Q. `
STICKLINE(选股,10,15,3,0),COLOR0000FF;
4 z+ X+ m; n1 r g- c7 ]3 T7 t; w" o2 v7 j# W7 W: r
STICKLINE(选股,15,20,2,0),COLORLICYAN;
1 z1 @: S! r5 N! ]6 F+ X" _. t+ q, N' r
STICKLINE(选股,20,25,1,0),COLORBLUE;( ~4 [# b; u: |5 F) w- _
; f( ~, C$ l' X6 uDRAWTEXT(选股,20,'*主力突击'),COLORYELLOW;. d; H5 K3 c& |
) M( ?0 M$ x6 a信号有几个,就做一个“主力突击”的选股吧。
% L; D7 z$ C, n% v( c选股公式如下 :DIFW:="MACD.DIF#WEEK"(12,26,9);
7 @, E F% Q( ]- w3 S4 `7 \DEAW:="MACD.DEA#WEEK"(12,26,9);FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13);XG2:=FCA;XG2 AND FCA;
8 H; b$ \) i6 { x, x x1 ^测试一下,平仓规则是,不论盈亏,以持股5天后平仓为条件$ F, W a x% {( {- @/ v& ~
! Y, r" r% y; p
) _( F6 [5 c* E% N
胜率74.44%,3 T* z$ e$ {. k Y1 t+ t* ~
& }$ l. Z0 D2 Y) m9 Q) ^! A
END
; m3 e t) l( e: R" Q" H$ s* R g% J6 K
|