TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:; r& @- r( s$ y8 r3 _: t
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;% R6 N6 w/ A) L
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
* V4 k% P% [: z$ a3 J- p平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;2 |, E g0 e2 C3 E
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;* |& x* `: U- |: K; }, Y# \. y
) w" C# X; g* ~5 [/ p3 J) m; b
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
3 g3 P$ s( P2 N EAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
5 e# Y( M% X' `0 H' f5 wDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
1 L- S" J: q# H9 J0 N流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');2 a& T0 B1 \7 U# _& U/ X
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;
! b: V! m5 o' G2 A- X历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
+ Y# n$ o# }0 d vDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;$ V6 W0 ^. B. G4 W/ m4 {- `9 ?
6 r& ?, F y$ D ]8 B4 }+ M
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
$ w5 y1 a( J2 x4 lC1:=REF(C,1);! @* o2 R2 k$ l" r) o- v" b1 o
3 a) P2 c! Y. e
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
( I8 h& d4 \9 C) D非ST涨停:=IF(1.1*C1-C<0.005,1,0);
( O2 Q. n& Y9 I# F涨停:=ST涨停||非ST涨停;
+ ?4 w4 ?8 M6 r' }STICKLINE(涨停,O,C,2,0),COLORRED;% l0 w% N$ a' ~2 n e( H
STICKLINE(涨停,H,L,0,0),COLORRED;4 O7 |/ B( O3 y6 q
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
& j3 `1 t1 k4 uDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;
% B* k, Q" w c7 q7 c5 y{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
! s+ T6 z4 l4 `" d
! |3 d% O! m: X; R上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');# E# ^2 ~8 ^. m+ I# {- D" B
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;/ L# c1 i5 r5 F `; E2 a
! h3 ~, b$ [. w( J8 Q$ SST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;( S5 s1 \) f A0 E( Y+ N+ A) i
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
% i# M. P7 [8 J4 z跌停:=ST跌停||非ST跌停;
$ W0 R' K5 O) A j, ^- ^9 n+ G4 ASTICKLINE(跌停,O,C,2,0),COLORGREEN;
' u" U9 D0 }4 d) DSTICKLINE(跌停,H,L,0,1),COLORGREEN;7 Z+ x8 F' c2 G# B; c
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;: B9 c, }7 o6 m+ N2 J
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;
`& T% o/ q, y7 B{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}/ x3 _& h5 N. q/ S3 i/ M. i
( e6 q, u( N, L X9 U! V, t上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次'); e5 z% Z# p5 a! d
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;" F" O! t7 w3 l! ?
9 R6 a |# F8 G5 _. S( ^; gZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
: a- C1 w! U+ E) f! J. m+ ]9 G$ A; BDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;" I( D! i, X7 i
STICKLINE(ZTB,O,C,3,0), COLORRED;
# f& Z' s7 d+ [! E; r( _STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
- j" x- J" B- e; ]5 p$ B4 C0 E, T! u" }$ ], T; @
D5D:MA(C,5),COLORRED;
1 P0 {$ q0 X% u+ _# g2 Q* \* ND10D:MA(C,10),COLORGREEN;
* D1 T' U% P6 x0 `7 W: f3 L4 MD20D:MA(C,20),COLORYELLOW;
8 y, j6 e( k5 K6 E3 u: L- ~D55D:MA(C,55),COLORCYAN;1 r1 Z# l# Y; a7 l2 ]
D89D:MA(C,89),COLORMAGENTA;) @: B4 c# T8 c# g5 c4 Q
D144D:MA(C,144),COLORRED,LINETHICK2;" S/ w+ w9 I1 l
D233D:MA(C,233),COLORGREEN,LINETHICK2;
& Y8 n9 C' U. Z" g* x5 aD377D:MA(C,377),COLORLIGRAY,LINETHICK2;/ y/ p* [6 E4 m( a
D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;# B$ x' u9 N* C) | B
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;5 p) W Z; b6 b) a% R
7 e6 A8 G9 x3 Z& f# H/ p; |9 H
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;6 ~* n5 y' V- }, y5 b7 I
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;" t$ d& |: `# o- i0 b4 L
|
|