TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
1 w- K' R7 X/ S6 K, P, [MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;7 y; y9 K5 K) x2 w& W, g
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;0 L" b4 g J/ I T
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
- f K* C: S8 y6 V+ x# @8 D跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
+ [7 R# z r, g, R" \% e6 o5 U
- D# W8 h V) f& z( @& XDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
( N8 }8 G2 @0 V$ s: S. iAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');, j: E4 F; i% h
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;; W7 F- ?) J6 F. u9 ?! d) C% p
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');9 Z1 U( V+ h0 ^9 ^( r
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;0 A! g& d! E7 x+ C
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');0 \. S$ o- y: ^
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
' u7 N+ N% U" j7 G& Q. P* o) b3 t- e. o2 |7 X: |+ j
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
- C5 i5 Z* p% F3 ~, f& ZC1:=REF(C,1);( j& s; v9 l; }9 v
/ c; _9 ]* }8 j5 [) w
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
9 C4 u( m e2 t: k# \' S非ST涨停:=IF(1.1*C1-C<0.005,1,0);/ j Q0 g" E* k2 P, y0 c8 y- ~
涨停:=ST涨停||非ST涨停;( f* h8 n" g" y3 S2 m$ _ D
STICKLINE(涨停,O,C,2,0),COLORRED;
( ~" c0 R& o- \8 L% LSTICKLINE(涨停,H,L,0,0),COLORRED;
' {' m0 { B, X8 z, c' tNUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;6 l( O9 x+ q0 `% f9 V3 ?
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;8 h; F) Z! W! h/ c, Q% l
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}0 B+ h% t( ]0 f" d- M$ }" R: G1 y
3 a% N- |+ n1 b% N上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
! p: D ^" {5 _: WDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;% i$ a( ~9 A. T j* L( R
* v1 P* J" Z$ C ^9 B" b- W
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;0 U! a A" I5 E0 R
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
) K: ^. F# y9 n0 @跌停:=ST跌停||非ST跌停;
I" c- ^2 J; i0 d7 FSTICKLINE(跌停,O,C,2,0),COLORGREEN;; T M! s2 F0 j+ A$ b
STICKLINE(跌停,H,L,0,1),COLORGREEN;. |1 l3 W0 Z4 u* R
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;7 t$ U0 e! q4 y, z/ P) m
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;( F% Y5 g& B! i" P, u
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}/ Q; @1 S. b) `6 x( K! c" r
+ I a% j: | Q+ L9 w; w
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
: X, Y4 |8 F6 H8 p- x7 ?0 f: pDRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
. k |% v9 p( i- z, H, C4 _4 d. v, @& d* J- Z* ~8 n$ J9 Q D
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;' n# u/ u5 Q/ }; x
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
6 J* J9 f. g, Z$ G9 ?STICKLINE(ZTB,O,C,3,0), COLORRED;
1 v6 @6 d7 A- k$ @8 s- k# uSTICKLINE(DYX,C,O,3,0), COLORLIGREEN;
" H* ~1 M* Z! D* V7 u5 \
* Z' T7 W4 |0 d. A7 G1 P [ ]9 p+ E: ~D5D:MA(C,5),COLORRED;
6 P' F, @4 Y' P# B" I2 ]: R% VD10D:MA(C,10),COLORGREEN;% B7 |: H( S' n
D20D:MA(C,20),COLORYELLOW;% m" ~0 E- Z8 G0 `5 c
D55D:MA(C,55),COLORCYAN;
$ y; q2 x) G9 b- r+ f3 G# ID89D:MA(C,89),COLORMAGENTA;9 }. a1 A" o& M, P( I) d
D144D:MA(C,144),COLORRED,LINETHICK2;" \$ g3 w8 n' e; a' v1 Z
D233D:MA(C,233),COLORGREEN,LINETHICK2;7 b: c2 w2 I( B% ?! k* [( \' I
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
1 P: f$ X. x8 q0 d; I9 a, T TD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;% m7 x% E* M" c2 p0 w2 l$ d' q# {
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;$ t& Y6 n$ f. Z0 Q! {. E6 U! B7 i
5 s0 C3 [ L7 w* m, S z二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;+ j3 Z; I" E" c9 ~
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;6 y T8 l& m' f- u: F* } `4 R; R
|
|