TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);
; H0 @! Y; V* {% N; AMA10:MA(CLOSE,M2);
/ {9 d8 p4 N" ^MA20:MA(CLOSE,M3);
6 C) U D* `& n& qMA34:MA(CLOSE,M4);, O* y# b9 y0 e* }. z
MA55:MA(CLOSE,M5);1 I3 {+ s% u& c3 s& e2 j* W
MA89:MA(CLOSE,M6);
0 N" V4 N8 C5 s1 z& TMA144:MA(CLOSE,M7);
) u' \3 Z1 K8 g' f, ~5 K8 NMA233:MA(CLOSE,M8); w j% X+ N& b; h. T9 \0 k6 k+ k
MA377:MA(CLOSE,M9);1 s j6 f/ r+ Q
MA450:MA(CLOSE,M10);- }0 p# c3 {8 w# j: s" j
MA610:MA(CLOSE,M11); 5 b# z9 R/ p3 ^! m$ i, ~
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;# n5 X" b- K [, t. T. a7 q9 f0 Z: @
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;( M1 s* d& @- r8 k
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
4 \+ Z8 B( f1 D0 E9 x: [) MDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; " w. r( G) [ Y# v4 d
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');. Y8 X. F7 }) m% H, D
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
" A7 h; L/ p! \/ ]/ R. c流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
4 ?! e! K( u3 @$ u0 A1 ]7 v5 I5 jDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
. D- w# S0 t! x: c! M% A9 j& {, pST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
+ @- M& Q/ Z# }5 T; Q C1:=REF(C,1);7 q5 G' D3 v# Y# i/ b
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;$ q- o6 z& l9 o8 V7 X
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
. r. A4 @+ W% e( {+ h @ 涨停:=ST涨停||非ST涨停;" y* @) [- H8 [" i1 @1 O) u% ]& p' _6 V
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;: u: H. h) x1 n" F% c
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;4 N3 e# }& W9 G4 S `: Z
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;4 c' L6 O& i; J3 A. N
非ST跌停:=IF(C-0.9*C1<0.005,1,0);; Q3 I2 w# @, ^% {+ g1 ~; _
跌停:=ST跌停||非ST跌停;0 a. q/ v& E7 f, T7 `; D% r* }
STICKLINE(跌停,O,C,2,0),COLORGREEN;# g# _% f+ y7 f' f3 z, [$ C
STICKLINE(跌停,H,L,0,1),COLORGREEN;
4 g6 |9 r: ]9 {( L 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);, T3 S z. h+ x# o
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
' A% u9 k' i2 U JRS:=半涨1&&半涨2&&NOT(ST);0 @/ s- e8 f% _0 K; S u
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;1 ?3 J3 S, }! [5 r
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}2 o9 y2 L9 M9 R8 U
{涨停次序标注}4 j$ t3 i$ N3 J. Y
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
" r" z& \7 e2 f% P4 x3 Y+ W5 [ DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;) o8 v5 P8 q# D& X# [1 F. f
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
^' l0 O! x Z( ]& uAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;' Q- x6 t9 z* ]- I# _; |/ g7 A
A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);; m, j6 K: Y( l H+ t6 \+ V/ ^6 M: E
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;* z. ?2 O0 R, F* p1 m
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
1 M# B4 p1 S4 V. F( J 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
+ O' x2 Z! e6 q8 E IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满', S5 {! q% u' e# i/ D5 D" o
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署', s( M4 `+ J' Y# A
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',. I' R% T2 b3 J0 k5 b
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',8 v: j3 ^, Q# _! m0 ^
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',3 A5 K1 K1 J7 O$ ]
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
4 A9 V: A. f% b) s* ~# {8 g 月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
" D8 f4 n% |( v# g E IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',+ B o+ L3 W% A6 s9 u7 f* @$ R
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
2 w, t. S3 i; O: I2 H% t9 W: M IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
& b2 r- k& h" g2 Z IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
; f# C& D. X2 ~5 n/ r IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
3 m6 |7 Q# v. Z2 C8 O$ `; _) N DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;' y! D1 X C6 M& g
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
# s+ _) Z8 C; a. v8 l& f DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
: f7 x4 ^( M8 y, |3 a; r8 W
* E/ T) w6 D& S
|
|