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

楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:7 v. V; b& B. f, B& {6 H
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;
% o0 ^5 a" J2 ^" H3 x涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
) j; z5 L' {( p7 N( N' P9 ^9 a平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
: z1 E E* w Y6 h跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;$ |: s9 a4 P! r2 s$ [" ^
" D2 N" s; j9 ~# PDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
, F* n+ k- g: i1 TAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
$ G D8 _/ x$ F: FDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;
" z5 x2 `; v+ k+ U流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
8 o/ p& `) R0 f# u" {7 A2 uDRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;
; Z4 J% Z0 u# U% j, B9 {( Y历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
" \' U6 C8 C+ zDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
% `: E# W1 T8 Z5 M$ h
( S+ g/ e# n4 D$ D! @: BST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');- E8 D" g" p0 v% ~1 F4 F8 [
C1:=REF(C,1);7 c- B, Q4 X% }0 R, R3 k3 g
3 r+ Y/ d! O8 LST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;3 R4 N8 B( @4 I' v- B
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
# h# G- a0 o# ?1 D) T! F涨停:=ST涨停||非ST涨停;+ D' [9 W; @! U6 U9 G$ L1 L
STICKLINE(涨停,O,C,2,0),COLORRED;7 I' C3 Z5 u. m# ~* ]- u
STICKLINE(涨停,H,L,0,0),COLORRED;
# R9 p, M5 d; q: xNUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;* Y! T1 ?) \0 A5 `" O
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED; p8 F7 B5 c6 j( z3 u4 P
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}* s1 t8 Y8 d) F3 ?+ m* E7 A
3 X4 n- H/ N8 ?) I: }$ s上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
8 S6 ?% j0 \3 ~, h3 H# K3 MDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
9 d+ ]' i4 ~: y I
% b, q* O' H8 y8 T1 y% y/ IST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
) ~( \6 i5 O0 ^1 P: i. q1 s# a( }非ST跌停:=IF(C-0.9*C1<0.005,1,0);
+ q9 K. }; |: h- r) w, \跌停:=ST跌停||非ST跌停;" s- x$ @$ _! |# u/ u( i
STICKLINE(跌停,O,C,2,0),COLORGREEN;/ Z8 k3 x% n2 h, l% M$ L% G
STICKLINE(跌停,H,L,0,1),COLORGREEN;5 b+ l4 u5 O3 f; }( }* J
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;4 \! @7 m, G$ X# g/ Q" g- ?! @. Z j
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;; a' {- b7 N/ y4 O
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}- R( h L# P1 m/ V, U M
3 v- `7 @" o) U+ e3 K* h
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');* I$ S o6 J6 @7 O/ d3 F
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN; j5 T" Q4 n; b, s# e1 c
2 N* `$ A3 M; o8 u3 B
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
6 A4 V* C/ p) T/ S0 sDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;: h3 T `! n8 ^
STICKLINE(ZTB,O,C,3,0), COLORRED;/ Q4 ^5 p/ q3 j2 f1 T
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
9 I* N4 C4 x$ e. l$ L# ~! n* B7 i! ~ @" _) d
D5D:MA(C,5),COLORRED;
. f+ C0 {) @' j, b- GD10D:MA(C,10),COLORGREEN;! N6 q5 ?; E* U* v: E
D20D:MA(C,20),COLORYELLOW;1 `8 S: N3 h, r4 ^7 G/ i
D55D:MA(C,55),COLORCYAN;
" h7 M5 a8 H/ u# z! c% cD89D:MA(C,89),COLORMAGENTA;
, q3 Q% l3 x4 A {# Q$ d% LD144D:MA(C,144),COLORRED,LINETHICK2;9 h7 a0 E) j( S
D233D:MA(C,233),COLORGREEN,LINETHICK2;
. y3 n% D1 ?' E1 B! ^, F: b5 MD377D:MA(C,377),COLORLIGRAY,LINETHICK2;
7 _0 t/ B3 T, l; X2 V i/ yD450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;1 @, h2 _0 S+ \" P
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;# y5 T# w3 _ f; Z, o/ ^$ |& e' f$ t
& k4 u: E B; i% M C+ N/ v
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;- d' k9 A# P1 x( @
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;. Q' ~6 ?8 e2 o" h
|
|