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

楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:# m% E3 S" j8 d. b
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
) ~' c3 f& g9 Z a涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
2 I( U- e) G) f9 g平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;8 K0 x7 \5 I% Q, q9 Z. ^4 Y% M7 A
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
4 y* c/ D& k8 W) X; Z$ i4 M
# S3 t) y* T2 G4 S: WDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
% B( D# P4 ?- J/ yAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
) Q! m# d9 p& _8 a5 @! tDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
' x- Q. _% C$ A) ^流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');7 N! _( D7 o. r' j
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;; Y/ {; Y" P/ G1 R
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');4 \# b5 X* O$ G
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
2 d- t U/ _ x- E' b, K6 T
8 O9 f/ c- ~- eST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');- M7 i' M# |+ T5 K; Y
C1:=REF(C,1);
7 x% x% o3 }* a, K; f' B: v
# o3 S9 H8 g( o5 J' i' R' [! \* GST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
0 Q% ]9 O* V* d非ST涨停:=IF(1.1*C1-C<0.005,1,0);
; f; n$ S @5 I O V8 u; ^$ }涨停:=ST涨停||非ST涨停;: q& W: m7 Q5 K
STICKLINE(涨停,O,C,2,0),COLORRED;' Z. ?5 |6 B5 Q& w
STICKLINE(涨停,H,L,0,0),COLORRED;- N+ L1 Y' s$ n" _" p; E
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
/ U' _7 ^% N& E/ W9 X% N$ o& H' kDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;% H/ h( [) d+ \# n) t
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
7 n7 Y! S: }, e% K- {" {- K3 c' b0 r0 ~/ T
1 _; a8 i, m$ a* z* x& ^! K8 z: U& ^上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');/ s" g" k3 [0 C6 s9 b1 k
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
9 j: J; H- J9 n' x
6 C; N% w% u" Z q/ d* O C6 N+ bST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
7 ?0 r8 G/ [& b i非ST跌停:=IF(C-0.9*C1<0.005,1,0);
8 l" ^) {8 [! ?- U$ C/ m跌停:=ST跌停||非ST跌停;
. s3 _) c. I, ~+ M, KSTICKLINE(跌停,O,C,2,0),COLORGREEN;
( Q! g4 E4 k- |5 U4 b2 ~* ]3 sSTICKLINE(跌停,H,L,0,1),COLORGREEN;
" y0 k; z% e h) \( GNUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;& V _% `! Z" F- w8 C& ?
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;. ]) `1 S9 f# m/ i: L- m
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
+ t, ?2 y! d! {/ ?) _
3 a/ F' Z$ C8 k' ?# C上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
+ @5 h: r b1 x ^8 Z' N& y1 qDRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
2 a- q2 t! S! F0 m
0 _4 \* ]6 U) Y U. V V4 xZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
* c" m0 b8 u# k s, l( n+ u4 NDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
6 _6 G8 ~" j8 B+ aSTICKLINE(ZTB,O,C,3,0), COLORRED;
1 J% E! ~( W1 ?. x3 W4 D. i. O' vSTICKLINE(DYX,C,O,3,0), COLORLIGREEN;% C0 H' l0 z: j4 |2 u0 T6 D
- D% u, ?0 \% Q1 @+ b
D5D:MA(C,5),COLORRED;+ I- x( G9 Z0 f# ^7 I* O$ p
D10D:MA(C,10),COLORGREEN;
% U5 b1 F5 i; [+ LD20D:MA(C,20),COLORYELLOW;; {+ E& t1 A5 Q
D55D:MA(C,55),COLORCYAN;
& ?; d6 Y2 n; yD89D:MA(C,89),COLORMAGENTA;
# c6 U& d; N; S5 \( h; CD144D:MA(C,144),COLORRED,LINETHICK2;2 K7 Q5 H8 T% U. E
D233D:MA(C,233),COLORGREEN,LINETHICK2;' g7 [- T1 ?/ j: L
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
a5 B& a) G6 WD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
1 p5 m' U( V( w% QD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;
$ V# Z* C$ @$ s- v0 B+ T) H/ b. L6 {9 D' O* b. z9 V
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;
) z3 g- g7 r- ?5 P8 Y8 ?8 N3 oIF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;+ b8 b8 n9 C! [3 h
|
|