TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
, T$ k! ]: M# r: i9 N* EMA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
# s( `- e* J+ w( J/ f" D涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
* j- q. Z5 }! |6 W平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;/ |+ j. m) l \& {! ?' z; f* G0 ?
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;! M/ C$ `) `7 |1 i5 n' ]6 k; D( S
0 Z! L# |, [, \
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;6 w _! M6 W0 W$ ?: a
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');: ?: y# `' l, b8 C
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;9 _6 k8 S9 ` H
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
. H* `! ^, l0 }. W3 ^0 FDRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;9 v4 V' a2 O& H+ ~
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');; o N# B+ z. {% \7 [4 {9 ?5 h
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
9 I$ A; S2 t% U0 K9 K/ L y
8 d/ ?: b0 d7 sST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');5 J% f ?3 s) {- m3 W
C1:=REF(C,1);+ z; l, ^6 W z# ]/ U/ z
; P+ I8 f* B, N" i" AST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;: u5 H+ E8 w3 F8 a9 L6 V
非ST涨停:=IF(1.1*C1-C<0.005,1,0);0 {4 H, Q& _/ v0 Y7 W4 i0 P
涨停:=ST涨停||非ST涨停;
+ o* m# m+ S2 I- {' dSTICKLINE(涨停,O,C,2,0),COLORRED;* |. H) y k E: R6 Z) @& x" m
STICKLINE(涨停,H,L,0,0),COLORRED;& G5 ]9 M0 ~1 Q8 W O9 C1 a
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;$ @5 E1 N. J$ E- w2 U; l1 Z
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;, K) H. ^9 Z7 i: \. N4 \
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}& ]$ n7 ^3 u, I* |! J
2 {0 `7 Z2 x0 v
上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
" I% [2 i( x6 z" u' }# Y7 KDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
0 }$ m) {- Q T' P& P1 |4 D4 m
, x. Z6 r# G5 E( D2 w6 h& @ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;# @8 J. g i- I+ h- k
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
# k" n; p0 ~5 {% l, X1 A1 l跌停:=ST跌停||非ST跌停;
+ x' R. P+ B$ z* ySTICKLINE(跌停,O,C,2,0),COLORGREEN;
. l* s, f% j/ `* w6 p k' a7 |* N( wSTICKLINE(跌停,H,L,0,1),COLORGREEN;; ?( L; R x) r3 U# f
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;" y7 }2 X1 }7 ~$ p
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;6 p. O6 {8 {, Q% T
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
. l2 N: t8 R. a% N+ n2 P) Y( s: p" [2 D4 M) k. ], g
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');5 p8 F% o/ J- W( z. S$ r' j
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
8 _- o6 t: ]! s8 f9 P" d/ V0 ?5 A7 \8 `& E3 W- O9 K& v
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;6 Z% I. C, @; `, R) [
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;3 J# t8 K# ~# p, d* i% o; f
STICKLINE(ZTB,O,C,3,0), COLORRED;* q# s6 @/ l' V6 o# ~- ^
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
# s" E& E8 D1 T$ h$ Q# j4 U) j- E6 f4 m" @9 \
D5D:MA(C,5),COLORRED;$ A6 F3 @0 x% T& p! j, J
D10D:MA(C,10),COLORGREEN;7 S" A9 b; ^4 X: S$ W5 \9 j1 P
D20D:MA(C,20),COLORYELLOW;
! x" y4 s8 c+ M" I. @; }D55D:MA(C,55),COLORCYAN;
; X6 x& t8 w/ T VD89D:MA(C,89),COLORMAGENTA;
- u q/ k+ ~- I( ?D144D:MA(C,144),COLORRED,LINETHICK2;, l. w2 v: z1 a/ d- z3 a2 Q1 a7 M
D233D:MA(C,233),COLORGREEN,LINETHICK2;
: }) |7 E8 R0 v% f/ h/ ~" @D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
, M; t7 U) A( I- V3 s" MD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;/ F6 x' {5 k7 N
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;0 {$ r( ^' `) f1 L; K
$ W: N+ e: D) b8 K/ b6 }1 V; y9 k7 d- S
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;6 D4 s1 L0 F4 a/ W$ k$ H$ |
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;
+ z0 w8 H# ^& O$ q) l7 ]; x |
|