TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
 
- 积分
- 31776
|
推荐

楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:1 P) O- M' u" b* Z! l
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;( L; n3 o% A7 y
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;0 P/ `8 [! Y! v+ T% Z/ n( O+ }- ^& b
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
: u- j. v& |# [3 \9 J& h跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
. v2 q" B$ }% Y/ x. o
3 @/ a, V! W4 E k; I9 F4 _DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;' u9 W' \4 c: N, a
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
0 u3 J. {; ~/ J6 PDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
+ h) {5 l/ g, e$ i/ g流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
/ s7 Q1 S, }7 j% O E5 }3 |0 a; \0 pDRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;! R, x, E0 Z9 I: R, p2 q6 h# s, R
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
* Y2 i$ ?4 ^4 [7 _% WDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
( D" Q7 j& J2 C! U6 o6 f/ q# }- R% c6 x' Y
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
* R* o/ |/ l. k, n' h+ qC1:=REF(C,1);
, i7 c9 M7 @+ @; o: G- {
; Z0 ?* R7 W# V( GST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;% v" [2 _: B1 q, W( u' |( S* G
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
% I" S$ a" M1 @& {" \* T涨停:=ST涨停||非ST涨停;9 B5 K' Z/ I& C) z$ j( D
STICKLINE(涨停,O,C,2,0),COLORRED;
% f$ ?2 ?. t- ESTICKLINE(涨停,H,L,0,0),COLORRED;
/ a5 J- W' C6 r; Z* Z3 {3 N/ N* \NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;1 m1 v0 e$ F+ l/ I3 G5 t9 O
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;% _- Z* T" _. v; }: H
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}) i( G: x, _% J ^& V, s
! ^7 _$ M2 D% K3 |( G1 A* w- r上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');5 _: L7 I4 a) H5 Q/ y
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
* ^% s3 [" O2 d. x& x
6 E( ?5 [ l+ d! H; Q* YST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;" Z# n! E, U8 i" |8 ^6 ~1 @) H4 \9 y
非ST跌停:=IF(C-0.9*C1<0.005,1,0);' t" P! T9 f' P0 B7 Z" a
跌停:=ST跌停||非ST跌停;% A% b# \8 h8 z) p. F. s( i) m
STICKLINE(跌停,O,C,2,0),COLORGREEN;4 E" o7 H- S9 c: z7 c- Q
STICKLINE(跌停,H,L,0,1),COLORGREEN;
! v1 ^* r Y, I' ?4 T: Y. aNUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;/ B: S7 u1 G; l: D9 X6 g6 K
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;! M( F+ N- f \: r0 G3 [' E1 R
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}% S3 P1 A& k" f' y( V& Y
" F7 M6 `& `* I3 K
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
( H6 d! ~/ f4 ^DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
. F9 h( _5 |( O, T
- o8 p5 N$ {3 h3 wZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
0 C/ M. i( @6 N0 k1 ZDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
3 H0 | t% z6 q0 e! g: y6 Q5 v1 ?( w' |STICKLINE(ZTB,O,C,3,0), COLORRED;9 u. d% T% h7 D3 g) Y
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;7 M; Q! \0 l' \1 S' {( y
+ e* M( F. C+ i2 {. L7 nD5D:MA(C,5),COLORRED;8 L U* o* c& J9 ?
D10D:MA(C,10),COLORGREEN;
9 g! F5 @% e0 |$ ]) Q# [: ~1 bD20D:MA(C,20),COLORYELLOW;* C% [2 h2 n4 ]2 y9 a! ]) V
D55D:MA(C,55),COLORCYAN;& k2 ?: K& R I/ {2 W
D89D:MA(C,89),COLORMAGENTA;
1 u, n5 i G9 r8 ^" w1 cD144D:MA(C,144),COLORRED,LINETHICK2;. S. C ~( o; {' n% h4 D& M
D233D:MA(C,233),COLORGREEN,LINETHICK2;0 z% V/ L$ c' x8 H- W9 H9 i
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
+ A' k0 O, ~ `D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
7 S/ a% R; _ f4 ?& R. {5 LD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;$ n" U; h3 Q/ l+ W/ i" R) G
5 \" C: T6 I5 u) V0 e3 U% `# `+ A二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;2 b- q$ |$ A5 | \0 [/ z0 C; v
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;$ P8 m: k6 C* ~5 B4 }5 _- v+ M% p
|
|