TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
0 U( T& K3 W% F* ~7 a- }- `MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
& @0 ^$ \! N) `6 V+ X涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;. a; M2 x% I, i/ {9 X
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
) n$ }) o' D/ B8 p4 [跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
- c' y& m- _ Q5 E
' s" j5 n2 t) `0 K5 X% Y) GDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;) a# q+ X" \7 ]2 {
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿'); T/ m' k7 ?/ d
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;4 @# t2 ?& Z% O7 `) t& P
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');* w% \1 y Z& Z( g& V
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;- h4 I3 ~; E$ L, N) L
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');7 T: K$ O8 x$ {% I" G! D$ T# X
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;2 u/ o. X4 K' Z- Q: i6 G" ]
( ~4 k+ W D' @1 ^& E- ~
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
$ _' M) ^% n3 r1 }C1:=REF(C,1);
' z: b$ @( a4 m7 |4 b) r8 A: {2 ~9 p, w" V" ]
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;( K4 ]% }1 i6 k7 z
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
! x: n* @+ W- b( ? P涨停:=ST涨停||非ST涨停;4 Z+ @* a( l# r8 L8 B6 E- H
STICKLINE(涨停,O,C,2,0),COLORRED;; T4 R# ` V# ?% T M
STICKLINE(涨停,H,L,0,0),COLORRED;1 F. F- }. z4 h! G% O9 Y3 J" {
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
L* v: N! @1 l [DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;
$ r( y6 R" s# u- K" Y{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
. b' S9 t5 Y) o( M3 _! S2 a0 T2 o) [
上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
2 N, ^$ k# G" ]7 i- i- eDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
- b0 x& m" `0 g* M! E) y
2 f/ V4 S+ ]+ b) b& ZST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;5 l6 m7 W9 A1 s- A% e5 R
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
( H1 A: A2 X: x) p5 t1 D跌停:=ST跌停||非ST跌停;
u; A. Z# q- E* t% tSTICKLINE(跌停,O,C,2,0),COLORGREEN;
- z/ g% s2 B Y+ G+ Z' P7 _STICKLINE(跌停,H,L,0,1),COLORGREEN;" H- E! @* I6 a/ g& M& K e& n
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;6 v% n# F6 t6 N
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;5 o- z* D+ z) r8 T
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
: R+ {2 J( _1 \' o# y* J# ^5 ?4 N/ Q, N- v
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');0 }% g- k3 a0 `+ u6 W
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
; Z2 V% r5 I1 ~9 ] [- b; t1 C l4 _6 q3 G2 S& L
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;! v L- a6 }+ ?3 @% }3 n3 N
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;2 R, ^ @: ?, j; D
STICKLINE(ZTB,O,C,3,0), COLORRED;, q+ J! Z" }5 c" z% q2 u
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;5 Z" E5 Q4 Q$ p9 w) D5 l9 e4 {6 X6 V; T
9 G7 L, T0 ^, o! r3 g% d
D5D:MA(C,5),COLORRED;
" p4 A3 Q* V- e7 L8 aD10D:MA(C,10),COLORGREEN;" A$ Z5 D: L- @! _5 B: F& E% E
D20D:MA(C,20),COLORYELLOW;
# p; ]5 ~* r0 g i" I9 wD55D:MA(C,55),COLORCYAN;# ` A9 i3 \2 x/ V
D89D:MA(C,89),COLORMAGENTA;
, i: x# b; k- c+ D- jD144D:MA(C,144),COLORRED,LINETHICK2;& G. J4 x! ~6 d- P- }+ `. p: T! p
D233D:MA(C,233),COLORGREEN,LINETHICK2;
. y* V$ X9 q& zD377D:MA(C,377),COLORLIGRAY,LINETHICK2;4 _' H" K/ ^( Q6 h/ e
D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
0 r' r# g& Y& CD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;+ [: V, |3 }. Z' D7 P6 G
' l" D- T' y, ]$ i二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;9 M7 u) h2 ^) G, G
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;
; c ^, J- Z( q' M1 G |
|