TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);" l! h) `6 ?0 u' I9 j$ R' v0 j
MA10:MA(CLOSE,M2);; j" U! U3 E I- b6 u. b, h
MA20:MA(CLOSE,M3);, j M$ `: U: p
MA34:MA(CLOSE,M4);
2 f5 I: @2 M$ J5 UMA55:MA(CLOSE,M5);% k7 l5 F: a& K6 J. ~9 X
MA89:MA(CLOSE,M6);
( X* { {' n: \( O0 J" LMA144:MA(CLOSE,M7);
) w* r& h# U$ r8 K4 qMA233:MA(CLOSE,M8);
' Y+ I5 V1 N& n. F( @& uMA377:MA(CLOSE,M9);6 m' x, }* J. v% m6 F' Q( K
MA450:MA(CLOSE,M10);
0 @0 r: C& }$ x5 DMA610:MA(CLOSE,M11); 5 Y8 ]1 V- O8 a
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
5 j% i# M# c( B6 U( E% @, k平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
8 A% D% ~% D8 M% F* J' ^3 Q跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; `4 y+ B+ g; M2 A
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; & x0 S' _, ^6 i: a) G$ t b
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');8 w( V I. N, r: c4 @
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;! ^( |% |0 {) U" I
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
; m- o9 R4 a6 C) s' {DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE; 7 W) i+ H% {/ l; K y3 d
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');- Y- e \1 L# a8 S6 U
C1:=REF(C,1);: y6 a; ~- E2 N9 F0 c% J2 Y4 u6 J
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;" A; }0 i l \) B. i
非ST涨停:=IF(1.1*C1-C<0.005,1,0);$ L5 }6 h6 }. V7 j0 k% p2 K
涨停:=ST涨停||非ST涨停;, ?8 z# p8 n8 n* r) q
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;7 D6 C# P0 j$ z6 m7 c9 U
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
+ D' O- C0 n/ g ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;( e" U' s( I3 A/ F z! C
非ST跌停:=IF(C-0.9*C1<0.005,1,0);2 ^6 {' ^, ]) O/ ?! U3 c: `/ T9 ?0 Z+ g
跌停:=ST跌停||非ST跌停;+ A/ O; Y+ c3 l! U! l# G
STICKLINE(跌停,O,C,2,0),COLORGREEN;
7 f- f. U' k5 u0 \, [$ h STICKLINE(跌停,H,L,0,1),COLORGREEN;
) G& x- W' _! p! X! y S- E 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
' B1 o8 k) I' n' g3 C0 }3 C* ` 半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
3 ^' l2 h) t: i. E# W1 ` JRS:=半涨1&&半涨2&&NOT(ST);$ F$ D- X, D. M4 {5 g8 D" I
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;( _& \$ P, ^& X2 Z6 f
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
4 D" ~( E3 e5 @ N {涨停次序标注}8 F% z8 H7 D W
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;* I. |5 }0 `% y. Y: j
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;+ z4 j5 \! _# G8 ?
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
. c& o% E, e# o) L0 D& pAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
q1 T. c7 w: G9 a/ Y A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
V- ^5 c' T' g3 a. k2 C- v AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;. m7 w8 p. Y% t1 _
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
$ {7 H$ l2 V* g# E9 L 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',4 q( l3 h1 ?3 _4 o5 @/ l5 o. r) U
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',6 d. |3 Y" m& n0 Z3 S. e1 ^( a
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
3 w( S6 ^9 `3 O9 B& Z; j+ w IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
' K' f& \* c6 n. a% U$ Y9 _: H IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',) C" H8 f; i* P% J
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
8 h! R6 S \9 J$ M- Q& L: { DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;, ?8 F k1 @* ?& I1 q: C5 v2 n
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
3 W6 `& a1 j$ C4 ]" M IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',! G1 l5 c" P7 Z, W) R8 ~
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
( w1 y: x" X; V- T2 Y IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',0 d7 c& N3 ^5 L- E
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
, u! }2 {' t- x! u5 J8 ?$ ~9 X8 E IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',, Z7 S' ~1 i7 b. b" t
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
: r5 Y e. A/ X1 g! d7 i& ] 输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));/ f, Q8 E% z( S7 H& @( c% G3 w
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;8 f& D1 i8 x6 d' c
, k( \% H0 f7 @; C9 X4 e
|
|