私募

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[选股技巧] [大智慧] 选股公式

[复制链接]
发表于 2019-5-22 01:01:20 | 显示全部楼层 |阅读模式
公式原码:
4 [  i( \& f' F+ O9 P: K7 CR:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
9 y/ D* a0 y8 I0 w. {% j  UK:=EMA(R,3);7 [- J* z6 b) {/ f4 s) s
D:=EMA(K,3);
' k, Q. k* ~, a4 e6 L* O一年十二倍:20,colorred;
, X  o0 ]7 r, A5 ]) S; m0 l陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
! c3 ~7 e, g) o5 R7 h3 f# ]. B' yN:=IF((陡峭度 > 0.35),6,65);
4 W+ l, b; p3 L! W* q! ~VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110));* u% W+ g6 \5 p! h6 L1 Q
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110));
  N& }4 z6 G  u5 V' a5 D赢利盘:=(WINNER(CLOSE))*(100);
* _0 \, g4 Y" [5 \% s0 ^/ D4 e" M赢利线:=FORCAST(赢利盘,7);
0 ^8 U0 Q( B& w3 I; ^. w% k线:=(FORCAST(VAR1A,7))*((DATE < 20070110));
/ x& l* j4 A2 ~" t/ V7 e$ s满仓:=((线 > REF(线,1)) and (线 < 25) and (COUNT((线 > REF(线,1)),5) = 1) and IF((N = 6),(赢利盘 < 60),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0))*(40);
5 k5 G$ q( ^5 ]6 k( USTICKLINE(满仓,0,40,5,0),Color008000;) y9 e- Y, V! u* `6 c
DRAWTEXT(满仓,45,''满仓''),ColorWHITE;. b8 i4 M1 g  h5 Y0 c9 c
轻仓:=IF((赢利盘 >= 60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT((线 > REF(线,1)),5) = 1) and (REF(N,1) = 6),1,0);
% C' H7 E9 X4 l! tSTICKLINE(轻仓,20,D,4,1),ColorFF00FF;9 s. E1 q' h+ F& M7 U1 p
DRAWTEXT(轻仓,45,''轻仓''),ColorFF00FF;
. v! X" ?" I; ~4 g, ]* P& y! ^, z出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(赢利盘 < 70),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0);
" `4 m- K; X7 M4 U  }% \! H  |3 ASTICKLINE(出击,0,50,3,1),Color44BB00;5 ]1 W7 X9 K: k
DRAWTEXT(出击,55,''出击''),colorred;
' J2 I, A- }. _8 ?6 L7 ?进一:CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);/ B# W) _+ M: j  a
进二:CROSS(线,赢利线) and (D > 30) and (赢利线 > 25) and (D > REF(D,1));6 a3 [* ~+ d' Z2 ~, V& r' I5 w
低进:=IF(进一 and (D > 赢利线),进二,进一);
! T5 b  u: B) A5 _1 Y; S9 f. jDRAWTEXT(低进,30,''低进''),ColorWHITE;, h, V: f6 C* y* h0 N' h5 P
STICKLINE(低进,20,30,3,1),Color000080;
  v: U( ^7 E; ~$ u% T. G% p7 DDRAWTEXT(进二,50,''高进''),Color800080;
9 T* P8 t0 ?  D- TSTICKLINE(进二,30,50,3,1),coloryellow;0 x/ i5 p; [8 @+ N9 R1 G
狂喜:=(30)*(CROSS(VAR1,(-2)));
( Y& g' i) B0 b- \. h' j  kSTICKLINE(狂喜,0,20,3,1),coloryellow;
3 ^  U8 Y0 T0 U9 u3 t+ c9 ~DRAWTEXT(狂喜,(-5),''要涨停''),coloryellow;# _; F$ X. q# A; e: z- l$ e0 G
狂喜过望:=(50)*((VAR1 = 0));
5 Z! z% P$ m5 F3 U: R恐慌:=(20)*(VAR1 < -94);      ; X) I- i) Z9 z4 s
STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;
) L7 p6 \6 c! ]$ e* H. YDRAWTEXT(恐慌,(-25),''恐慌''),ColorC1C1C1;8 ?7 p) z5 `( B8 q
非常恐慌:=(-40)*(VAR1 = (-100));            ; P4 o; E9 B" T9 G
STICKLINE(非常恐慌,0,(-40),7,1),Color800000;
4 e/ x" \) U0 K  t/ [- J9 tDRAWTEXT(非常恐慌,(-45),''非常恐慌''),ColorGREEN;
3 @1 @4 C- b/ _3 x* v3 I8 @+ C8 m半仓:=(30)*(CROSS(VAR1,(-94)) and (COUNT(恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),(赢利盘 < 60),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0));
  I# z, F1 N2 z5 A& wSTICKLINE(半仓,0,30,4,1),ColorFFFF00;. k* Q0 x- f3 X! W! a& z- \
DRAWTEXT(半仓,35,''半仓''),ColorFFFF00;
0 v2 v7 E" L% a) C4 L- Q加仓:=(30)*(CROSS(K,20) and (COUNT(半仓,5) > 0));
4 h, q- n& F, }( k5 S# [STICKLINE(加仓,0,20,6,1),Color808080;
8 z# H  y" b" O# l7 N7 w" J( TDRAWTEXT(加仓,25,''加仓''),Color808080;! X2 t5 w( i1 |
背离:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 > REF(VAR1,1));
- [% l) H. i2 b* T! p& XDRAWICON(背离,0,1),ColorFFFFFF;" D, N$ h# u6 D/ t- U) U& X9 f$ h
================================================================================================. X6 x$ C% `) ^
{一年十二倍--满仓选股 }
3 ?5 B' g& B- T) {: g1 R$ @R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
. W& O/ p9 a7 X7 r8 O) `! iK:=EMA(R,3);
! L5 N& j3 m/ h7 G2 r& b+ N1 l/ y2 |D:=EMA(K,3);
- m* m4 ~1 E5 Z! ~& X6 p$ R陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
! A) |, W2 J/ ?9 M* T3 [N:=IF((陡峭度 > 0.35),6,65);' V4 U& v9 ?6 Q! [0 C% _
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 30070110));
. f& d% Q  e/ Y+ JVAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 30070110));7 f# I% D' q. v9 V+ w) E
赢利盘:=(WINNER(CLOSE))*(100);+ C: P/ G; W' x  k2 L
赢利线:=FORCAST(赢利盘,7);: j" ?4 ?7 m, k1 _7 q
线:=(FORCAST(VAR1A,7))*((DATE < 30070110));
, k% ^. N& T% U% b/ I" g((线 > REF(线,1)) and (线 < 25) and (COUNT((线 > REF(线,1)),5) = 1) and IF((N = 6),(赢利盘 < 60),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0))*(40);
& V/ e! W* Z9 f9 D" k7 S=================================================================================================! [3 g) u1 F% K" d
{一年十二倍--低进选股 }
* w! B9 I- a) ~: M0 p+ b# b5 gR:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
: S) j7 o, n8 \K:=EMA(R,3);
9 {. ~6 [. D! k* P: ?D:=EMA(K,3);6 A# n% Y: q. A' _6 q/ F( B5 |' p  {- w
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);& G$ z9 b2 x# E, b$ H
N:=IF((陡峭度 > 0.35),6,65);
' g# ~* w4 _8 B3 D' t, y- t3 tVAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 30070110));4 `& x  t- x. ~4 d" a, d( {
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 30070110));
% O( F4 k; @5 P6 E# |赢利盘:=(WINNER(CLOSE))*(100);7 ~7 ^/ C3 z$ F' T* W: t2 v
赢利线:=FORCAST(赢利盘,7);( w4 a4 D* Q' }( T$ j' Y! |
线:=(FORCAST(VAR1A,7))*((DATE < 30070110));& j  N) g6 L) \/ W9 u0 D1 i
轻仓:=IF((赢利盘 >= 60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT((线 > REF(线,1)),5) = 1) and (REF(N,1) = 6),1,0);
7 M6 a. Y. D' W7 i出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(赢利盘 < 70),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0);1 Z* p+ J, i& [) Y* Q% u8 i
进一:=CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);$ K9 f5 g# i4 A0 x" k
进二:=CROSS(线,赢利线) and (D > 30) and (赢利线 > 25) and (D > REF(D,1));( Y5 k2 E! Q5 w/ V3 a8 i
IF(进一 and (D > 赢利线),进二,进一);% ?! T* R0 \0 K9 @
================================================================================================6 B$ M+ M9 H) [
{一年十二倍--高进选股 }1 `, S/ e" j5 k" u+ t
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
' g% k+ Z5 }6 @K:=EMA(R,3);# ^/ l* b! d, J  @( j
D:=EMA(K,3);" g% c! \1 [8 k7 N9 z. N
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
+ @' e  O. y; w  v7 kN:=IF((陡峭度 > 0.35),6,65);$ K. Z: j# o$ g0 }3 B. G
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 30070110));( D. p0 R. S; f
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 30070110));
) d1 k: ~3 i7 a* u7 R赢利盘:=(WINNER(CLOSE))*(100);: U& q- j- x' I1 ]2 q
赢利线:=FORCAST(赢利盘,7);4 T  M: i3 h# B# w+ c
线:=(FORCAST(VAR1A,7))*((DATE < 30070110));
+ V. D. G2 @6 H8 j. l/ F# ]( d轻仓:=IF((赢利盘 >= 60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT((线 > REF(线,1)),5) = 1) and (REF(N,1) = 6),1,0);
+ I, S: n2 S0 j- n/ r6 L出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(赢利盘 < 70),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0);
+ l* f% V+ [4 |进一:=CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);
, o. V0 {$ c% ]7 G1 h* S: }' [进二:=CROSS(线,赢利线) and (D > 30) and (赢利线 > 25) and (D > REF(D,1));6 N  F# o; q3 F: t& p
CROSS(线,赢利线) and (D > 30) and (赢利线 > 25) and (D > REF(D,1));
+ `2 O. O/ |1 F# `  ~- I+ H* g================================================================================================================================; j3 T4 i" n3 t  t& u9 R

3 d4 w& ~7 i: b; k$ M{一年十二倍--要涨停选股 }+ N3 ?) ~! F; o, ]( F8 g
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
$ t# H% J. n( \: l* I0 G/ A* v) WK:=EMA(R,3);
" b" C4 a: q0 kD:=EMA(K,3);
$ f- X& R6 c5 t陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
1 Q  M, b! P6 T* FN:=IF((陡峭度 > 0.35),6,65);# H' p/ w. Y$ j$ L: y# a& t
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 30070110));
) U+ T2 s( O* UVAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 30070110));0 B) w5 L/ ^! F" s5 y
赢利盘:=(WINNER(CLOSE))*(100);: g# C9 K- [+ G/ \6 s( e; h
赢利线:=FORCAST(赢利盘,7);
# A* v' x3 w( \3 M7 |7 \" T线:=(FORCAST(VAR1A,7))*((DATE < 30070110));8 N/ Q, C) J, ~
轻仓:=IF((赢利盘 >= 60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT((线 > REF(线,1)),5) = 1) and (REF(N,1) = 6),1,0);& X0 F7 d$ j1 }. f- B; `
出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(赢利盘 < 70),(赢利盘 < 40)) and (COUNT((赢利线 > 20),20) > 0);
; D7 c4 p) J3 t进一:=CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);. Z  Z, ~* k6 N# C3 |
进二:=CROSS(线,赢利线) and (D > 30) and (赢利线 > 25) and (D > REF(D,1));
http://www.simu001.cn/x73284x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Archiver| ( 桂ICP备12001440号-3 )|网站地图

GMT+8, 2025-4-6 20:12 , Processed in 0.378450 second(s), 25 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表