私募

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

[选股技巧] 请高手老师将这个公式改成同花顺公式~~~!!

[复制链接]
发表于 2019-5-22 01:06:30 | 显示全部楼层 |阅读模式
公式如下:$ _5 m& `8 J4 r. u4 H

; [6 [/ ^1 m6 N/ h$ @4 `SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);, S7 F, O' f  u* m- y9 w: i
DRAWTEXTREL(12,5,''量能饱和度:''+NUMTOSTRN(SAT,0)),LINETHICK3,Color8000FF;, c5 o7 X4 n6 b  ?6 `
AA10:MA(CLOSE,8),color0000FF;8 o% n0 l4 @; j; U7 X7 p' J
AA12:MA(CLOSE,12),color0000FF;' ~( ^' Y8 g& e6 z. Z
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
1 n. l$ ]( V+ Q: u! i: CBB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
1 u* D  i. F/ v) J' {0 Q+ u. o+ M8 aMA13:=MA(CLOSE,13);1 @. C4 a" G2 M0 V2 K, M
FILLRGN(AA10,AA12,(((AA12 = 1)) AND (BB10 >= 1))),Color0098FF;
* d# A, s9 V5 ?3 f+ o$ AFILLRGN(AA10,AA12,(((AA12 >= AA10) AND (BB10 ref(ema(x1,8),1),10),
6 Y! ?  G0 Q$ s( o5 b* n' Hema8,''∠45上升''),colorwhite;# W. w/ `2 L) g6 h6 R5 _4 T! D
压力:MA(REF(HHV(C,30),1),2),Color9DFFFF;& ?2 D: c5 B+ h) g+ K
支持:MA(REF(LLV(C,30),1),2),ColorABFF46;
$ I) y9 k5 h, M- gAA1:=AMOUNT/V;
# P6 s# H# [& n2 b2 JBB1:=L1.2;( R0 f3 R7 Y; x0 \- [, }
DD1:=L=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;. f: ~4 P/ _- x8 D7 L
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
( P2 |8 F6 _2 D6 X: J7 hSTICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
+ A4 Y5 \' M! ~- B2 _: a" cSTICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
7 V# H2 J5 d# eSTICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;
$ L. a( [  Z' c* s" }2 G; E- wSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
6 X* |# y  c5 G' J, j* OSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
- l  V- k/ `! R- U" q( e. xSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
# x2 i" y0 D' T6 kSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;- j% y) ^9 |# A( e5 j! j
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
0 R. M4 o4 ?) l8 M# X/ bSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;# F! C& M! c" k6 Q( \
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;
4 ^( |7 _! b' l# l% avar9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);5 F! J- R1 J% v8 N$ ^4 @
     stickline(var9Q,c,(o+c)/2,7,0),color000055;
' B# K1 C  m  W) H# y% R: b8 K     stickline(var9Q,c,(o+c)/2,6,0),color000066;
8 S' i* G7 l7 m  F. s# V3 s8 E     stickline(var9Q,c,(o+c)/2,5,0),color000077;
: |4 w. b7 w# }     stickline(var9Q,c,(o+c)/2,4,0),color000099;. Q* D; k# k3 n$ z( D7 n
     stickline(var9Q,c,(o+c)/2,3,0),color0000bb;
, O1 _1 U: O/ s     stickline(var9Q,c,(o+c)/2,2,0),color0000dd;5 F8 Y) \5 Z% z# U' `9 z; j( R
     stickline(var9Q,c,(o+c)/2,1,0),color0000ff;' ~4 p8 T7 s$ X2 U7 q
varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4);
9 c! `+ Q4 O; C# e- E; F, Q" T4 D) {     stickline(varaQ,c,(o+c)/2,7,0),colorff11ff;3 r9 I1 F$ W7 M1 q
     stickline(varaQ,c,(o+c)/2,6,0),colorff33ff;  p6 ~# c" D0 T
     stickline(varaQ,c,(o+c)/2,5,0),colorff55ff;
) L2 h0 B7 }: c3 N) w     stickline(varaQ,c,(o+c)/2,4,0),colorff77ff;
9 J* `9 {8 m% O0 b# }" o     stickline(varaQ,c,(o+c)/2,3,0),colorff99ff;" Y3 N8 P( \8 Y$ b* {6 o4 Z
     stickline(varaQ,c,(o+c)/2,2,0),colorffbbff;
* W# }/ B3 V4 x% G3 @) ?     stickline(varaQ,c,(o+c)/2,1,0),colorffddff;
  k( G) B7 d$ {: AvarbQ:=c=llv(c,4) and (ref(c,1)
http://www.simu001.cn/x73416x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-27 22:35 , Processed in 0.369706 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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