TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:6 ?0 j# B" Y w
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
, _% C* c+ ^2 T+ t3 F涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
7 t) t4 {7 r2 K. R6 n) O5 L: T平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
- e! f8 b. D1 Q' `2 t" M跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
! ~; f$ T' i4 ^- y& R: Z# F- D% Q: F
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;; n7 G* q. g, v9 a2 `9 q1 t& [
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
: Q& h' u& M. dDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE; k; V" \* m1 J% {) M/ F
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');+ E( H0 P0 o r) ?5 W: e# M. y
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;% k, s) O- h- O8 b8 U8 W2 n
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
/ R/ T: w5 K8 \6 U" @! WDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
. u* w$ O% v' {2 l
w S& A# Q3 P9 n" {6 [ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');+ y6 n+ K& \7 d7 X- D0 `) R
C1:=REF(C,1);
( P5 r3 G$ F0 ~! w4 L% o/ D6 B9 _" {( k% d6 |- B+ i' e
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
+ `- ^ H& h' f6 L$ p非ST涨停:=IF(1.1*C1-C<0.005,1,0);. p. v2 W+ a# p& h7 M, Z& e
涨停:=ST涨停||非ST涨停;
& h: a `& b4 b# pSTICKLINE(涨停,O,C,2,0),COLORRED;, r5 C) ]% x" b
STICKLINE(涨停,H,L,0,0),COLORRED;
% d4 d* C$ }. t5 A# P! @0 c9 ]NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
! R; j2 A# T: m9 q7 lDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;: x# a* y( r, S: g
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
2 l. B7 F4 x Q$ X3 x, w
# {6 [& V. m0 X$ l+ m上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
6 n% ]! B1 S5 _: m, o8 x- J+ cDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;& B) \" U, H+ g1 X
; u! S( I! }- }5 _. f$ lST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;. Q, W, L( ~' S- w4 P) F: e
非ST跌停:=IF(C-0.9*C1<0.005,1,0);; p$ C% e/ y& C0 H5 `
跌停:=ST跌停||非ST跌停;. T0 Z4 P, J* w+ ]* E1 I w
STICKLINE(跌停,O,C,2,0),COLORGREEN;+ C% M2 Q# J: S6 W' n# v% c
STICKLINE(跌停,H,L,0,1),COLORGREEN;
% L- I' I/ l- {1 N0 o9 t4 g$ TNUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;6 [1 @ p( f7 {8 G2 c/ t1 H6 u
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;' w; I! j+ g/ T2 R
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}% J; g4 T2 w. e7 l# Q! v( p+ r* D
; _0 m9 n7 [) K7 j2 x1 L上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
$ R1 Z! `4 r% F, jDRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
3 A( ]" _' W( J& V$ O
% k* N5 [4 B2 z, d! y( BZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
* I1 \" l: e* H& i; Y# F dDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
& Q$ h2 a; R8 k+ KSTICKLINE(ZTB,O,C,3,0), COLORRED;
" n: Y# B$ R/ _ ZSTICKLINE(DYX,C,O,3,0), COLORLIGREEN;+ O ]1 A( `1 O7 P$ H+ P0 W
2 \. ?+ g$ N1 q9 T5 }D5D:MA(C,5),COLORRED;
2 L$ r O: g& w; iD10D:MA(C,10),COLORGREEN;
" `7 F, X p6 eD20D:MA(C,20),COLORYELLOW;# a1 s/ f. a+ r. f, J7 |5 j
D55D:MA(C,55),COLORCYAN;
5 @; w/ E" @3 C( r6 A( K# h. ?: I( M8 }8 ^D89D:MA(C,89),COLORMAGENTA;. R( [2 C0 n: j
D144D:MA(C,144),COLORRED,LINETHICK2;0 q1 t/ Y1 p( \7 V$ Q
D233D:MA(C,233),COLORGREEN,LINETHICK2;
/ d. l8 F0 m$ u3 M# R; bD377D:MA(C,377),COLORLIGRAY,LINETHICK2;
) J' K8 r; |; q9 b5 PD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
( p; r6 b+ l2 d7 @- s; G- U4 ]D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;
/ l# s3 Z" ^' k+ Z6 \9 ?. i. g; ]5 J& X% o K
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;
, s8 ^# d- \7 u( DIF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;3 a' [% C) f$ j% j$ I$ {" \) o; ?
|
|