TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
! x- y2 |- f- Y- i' G9 x" XMA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
& H0 _* n8 D J* a涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
l& }$ D2 G/ u8 ]' J9 |( c) `平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
B/ H- X: c8 \# @( W跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;, F# e! s2 h* ?7 x1 X
" ?2 @: c$ c. Z) wDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
7 N3 T- H1 f/ I4 AAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');& q5 m7 N8 k; f9 m
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
3 y. k: t, |' C流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
. h1 n' X1 o% l6 [# t# r! _DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;! y6 d& {5 T2 `& ?7 y: X
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');3 u) x; ^, |1 v$ H% t
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
( [, I+ w/ k% T& v
0 d N3 t2 i. _" JST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
4 w) g: Y# @1 |( w; rC1:=REF(C,1);
; J& |. w0 u, C- h" ~0 y1 h1 z8 K
9 W0 n4 N* F4 J, O5 ~; V' ]% v9 L2 pST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;, l/ e w G2 _, i8 F! S2 m
非ST涨停:=IF(1.1*C1-C<0.005,1,0);7 A+ s; d8 }" X" b# u% N
涨停:=ST涨停||非ST涨停;
) Y/ v! I" }+ S& Q# @! H; |STICKLINE(涨停,O,C,2,0),COLORRED;. r* N9 T' I. }& {9 {9 h% l v
STICKLINE(涨停,H,L,0,0),COLORRED;( C/ b/ q1 s9 A: C1 D: W6 J
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;3 L+ O, C$ f* v6 @+ N$ F. T6 t
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;6 i; K* Y% ] O1 z3 r' E& a
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}$ [$ _: l- H) B: g( }1 H- `
8 z5 r8 M3 K! Z I! c' q+ G上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');% F, i3 v$ d- r+ p
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
( T5 t$ Q. o/ o- k$ j+ x
: s7 q7 G1 r) a" L5 `& i% A2 k3 dST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
8 Y$ J$ p: k7 C$ Y T8 R+ z; W非ST跌停:=IF(C-0.9*C1<0.005,1,0);
* g+ |8 z( [( _2 B f0 v! S, i0 {/ x跌停:=ST跌停||非ST跌停;
2 s+ E+ {1 z4 i C) G2 cSTICKLINE(跌停,O,C,2,0),COLORGREEN;
4 g/ t$ L7 k1 l$ t1 VSTICKLINE(跌停,H,L,0,1),COLORGREEN;# Q1 s; m, M7 Y* u
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;% ~2 A5 N* a% q5 s
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;; F& V ]3 D) D, X7 v
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}6 [3 C3 H; p# M( K1 I4 Y1 v l
, C# t3 C; [3 L: \5 F- C上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
' g/ Q, {6 X6 u9 S6 {6 C+ }/ m/ uDRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;: V4 p; G" h+ x1 p6 D4 R# j
+ v0 y$ V0 S" _) z7 h9 u
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;' b. H+ ?6 E2 n
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;( A+ @0 O0 l7 T: h. p, |, R. k' c
STICKLINE(ZTB,O,C,3,0), COLORRED;1 Z# \, t9 M" ~0 [2 a3 f( {
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
4 ^; s) O! G# N& p, u4 N( O
# t0 X( u, `1 x% DD5D:MA(C,5),COLORRED;! u( x' p2 R$ I' v# W A
D10D:MA(C,10),COLORGREEN;
# b; H8 n! v AD20D:MA(C,20),COLORYELLOW;
4 j- d8 f0 |) X9 LD55D:MA(C,55),COLORCYAN;
+ T' H0 M6 ^$ mD89D:MA(C,89),COLORMAGENTA;# E* S& F9 p7 L, H V$ d8 m
D144D:MA(C,144),COLORRED,LINETHICK2;1 W8 k- a' a5 g# W% N
D233D:MA(C,233),COLORGREEN,LINETHICK2;
# I' F$ E3 p. y3 j- f6 G: p7 sD377D:MA(C,377),COLORLIGRAY,LINETHICK2;
% S# n* c. g3 ^6 a, @D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
6 e& V+ p4 C* ~) |( C; u' L3 eD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;* R) E: Z& u$ V" j5 ~5 h+ e
$ f \6 D% b3 H; B! ]二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;# m) L/ O! n5 a9 `& Q0 q6 j
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;
$ O& Z# s8 g' T |
|