TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
9 ~1 f9 _' w% F4 bMA20:MA(CLOSE,M1),COLORRED,LINETHICK2;" K( J) T$ n) z
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;' ~- y2 N; {+ `1 g# r3 R
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;5 H% l* x6 i4 ]& L8 S: G2 i
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
. M# w# u7 o8 E$ m$ p5 K5 v% n0 r' a& |" |# d
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;2 v6 n$ T8 u5 ~, `8 u
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
8 \# F* P7 n2 ?DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
; N$ \2 W7 e. \( D流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');/ l" Z) P! c7 @# C; _
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;6 P* F y/ Q) d2 X# E
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
# q: ]' x0 {6 p/ O6 Q! Y% T$ `DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
* l1 E$ u) j' M
1 l6 l/ ? @( F; MST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
5 w. [6 a% C4 G) u6 }2 [C1:=REF(C,1);
* z: Z' Q$ c1 X' W# I# F
) o5 y9 X, I9 A( F {+ _; E1 CST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
7 { H, v. Q$ e( _$ {非ST涨停:=IF(1.1*C1-C<0.005,1,0);: n5 }; W# O2 u8 G/ F% z
涨停:=ST涨停||非ST涨停;
5 T3 L! l4 I2 w8 V# \$ sSTICKLINE(涨停,O,C,2,0),COLORRED;
4 Y. @" A% C% I' @STICKLINE(涨停,H,L,0,0),COLORRED;
F8 o/ G% w VNUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
0 ]8 _, g" l* }( b8 CDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;" d9 n) `/ D5 b- U
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
1 ]3 y- {( c8 w4 r- u1 ?1 y1 q# c F; g- D4 T6 q
上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
- M' U7 J; @' i' ] \, _DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;8 i4 W6 E6 N" V& ?# A
1 F% B( w4 g8 @$ {ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;& C0 ]: U+ S% b% Z4 X9 i1 h3 Y$ i' [
非ST跌停:=IF(C-0.9*C1<0.005,1,0);0 M$ e% H6 m- W/ z/ D
跌停:=ST跌停||非ST跌停;
2 T1 U2 ]8 [( r2 Z$ H( P" WSTICKLINE(跌停,O,C,2,0),COLORGREEN;
0 W K5 b3 S) q4 w) T; Q* BSTICKLINE(跌停,H,L,0,1),COLORGREEN;
7 E* G1 V2 u' j* a# m" J: sNUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;6 _! Y* P k( {# B3 e3 Q; F
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;0 y" a6 c- L+ W+ G7 x7 y& K
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
# `+ E' z* `6 }
: t: y' { V0 \" y上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');! E* [. ^! D8 t f. W2 W3 u
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
+ v! P1 R$ C6 U: x. d+ l4 T! K+ N. q9 {+ X6 v2 M7 o
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L; S3 L X ~3 C& i/ P# z2 L% B
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;' F- W7 g+ N" U/ a0 b
STICKLINE(ZTB,O,C,3,0), COLORRED;- F0 ^9 A4 k o; {( }
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
; b1 H- c) ?4 E: }6 |$ Y7 k4 a! R% j* R5 ?$ l+ U
D5D:MA(C,5),COLORRED;
7 v, B$ K _+ a2 _8 v" v1 c. nD10D:MA(C,10),COLORGREEN;0 u: |* d" D; o2 U# ]$ \6 G
D20D:MA(C,20),COLORYELLOW;
! t" V6 z1 Y& vD55D:MA(C,55),COLORCYAN;
c; H+ Y3 @+ j. g' c2 }- F+ ?D89D:MA(C,89),COLORMAGENTA;9 Z' q) @; Q; P* a
D144D:MA(C,144),COLORRED,LINETHICK2;; @* I" ]7 C4 E( c
D233D:MA(C,233),COLORGREEN,LINETHICK2;
' Y& b. P6 D0 g" w8 v# ^3 e7 v8 s$ r' OD377D:MA(C,377),COLORLIGRAY,LINETHICK2;
1 |4 O$ T( J4 cD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
. ]' |7 [: v7 F5 g) x6 ZD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;3 d) L' Q; G. o) \0 ~- f1 }% e, Z
7 [2 C# v. G8 A. ~二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;/ w* s" O# p4 B/ n. i
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;* A0 a6 u& r: R5 V& R8 i
|
|