私募

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

[选股技巧] 恶狼决策指标【通达性/主图/源码】

[复制链接]
发表于 2019-5-22 01:01:10 | 显示全部楼层 |阅读模式
这几天没有连续更新帖子的缘故起因是和几个朋侪一起研究指标公式,如今小有成效,特发出来供各人查验, u1 N, m) \3 s3 @0 S# w! r
以下是部门源码:* r  @% Y' i$ o7 c. _
回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);
" u6 q3 R7 ]0 p9 W* A经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;" W) ]3 h0 [1 D: n8 ?1 }& B& G
经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D;
0 X1 ^' f& @( U# TMAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));/ B2 d' X" w. d5 j) M! D" X
MAHL2:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}; r3 ?3 m0 Q' l3 Q2 g# J/ I
MAHL3:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}
+ G% |& |# ]' V5 v回归斜率带RAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154));
; C( a" j$ t2 D$ F. y上线:=SMA(C,6.5,1);
0 Z. x( |. _5 C/ G+ v  W一号支持线:SMA(C,14.5,1);
8 @' l+ W8 _# A3 n9 \上线1:=SMA(C,3,1);( B  I! H6 @( [0 [, ^. ]! z/ f& Z
一号支持线1:=SMA(C,8,1);* u6 b1 @, y/ ~* _" K& D4 E! r
上线2:=SMA(C,3.5,1);' E. m6 M9 {. {4 l  y
DRAWTEXT(CROSS(一号支持线1,上线1),H*1.08,'洗盘'),COLOR00FF00;) y- t. e9 A5 J2 u- i( d
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;
' Q+ _5 I3 B9 |( m" lUPR:=BBI+3*STD(BBI,13),LINETHICK2;$ W8 b8 l' K4 C2 Z; v
DWN:=BBI-3*STD(BBI,13);: w! X" e: \+ [* I2 Y6 a5 Y
安全:=MA(CLOSE,55),LINETHICK2;" M* T2 P3 |/ i8 J' y/ O' a
LC:=REF(CLOSE,1);
+ X. K! i( s( g1 N% X& gRSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 3 |, H$ B9 E% U( [
DRAWTEXT( CROSS(82,RSI) AND CLOSE操纵,LOW *0.92,'买进' ),COLORYELLOW;. }0 o6 L+ ^2 d: W7 H/ s
VAR1LV(A7,21);$ I5 x  s( o1 M; S+ \' [. M
VAR2:HHV(A7,30);
3 S7 c4 J1 c' Y$ N  [* JDRAWTEXT( CROSS(上线1,操纵) AND 上线1操纵 ,LOW *0.98,'全仓' ),COLORYELLOW;
- R2 S. a' Z+ b( nSK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7); 4 O+ G7 V; T$ V" w
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
$ r# o0 D0 a9 r$ FM1:=1000*操纵/一号支持线=975;
1 k. v" ]" [. ~9 nM2:=1000*一号支持线1/一号支持线=980; 8 ?% D! ~5 J! z8 P- R& V
M3:=1000*上线/一号支持线=985;5 ]) q( ~  l. c2 A6 Y
DRAWTEXT(IF(COUNT(CLOSE6/10 AND
1 p; `% S4 q& T! f# SCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND % B& R# |- w/ A) M2 T/ Y3 o
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND + V3 z8 y8 J% b' e7 N' h3 R1 B; s
OPEN>REF(CLOSE,1),1,0),LOW*0.94,'买进') ,COLORYELLOW;
* W4 i/ }. X$ kD:=MA(CLOSE,89)-MA(CLOSE,10)/3; - E& X' J! S- ]" G
DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.088 R% |0 D* ?. i" l3 r, h/ D
AND CLOSE65,HIGH*1.02,15),COLORGREEN;% C1 V- S6 R5 }2 C/ O- P
DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW;
, E" }+ p: L7 K. j/ [3 x; oDRAWTEXT(CLOSE>OPEN AND H1一号支持线 AND JOPEN AND 上线>一号支持线1 AND 一号支持线1>一号支持线 AND CLOSE>MA(CLOSE,一号支持线) AND 操纵>=REF(CLOSE,操纵) AND CROSS(上线1,操纵) AND LOW>VAR1 AND JOPEN AND 操纵>上线 AND 上线>一号支持线1 AND 一号支持线1>一号支持线 AND CROSS(上线1,操纵) AND LOW>VAR1 AND JOPEN AND CROSS(上线,一号支持线) AND LOW>VAR1 AND J
http://www.simu001.cn/x73001x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-4 03:58 , Processed in 0.380764 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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