TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);! o* p0 ]* s/ u D+ B
MA10:MA(CLOSE,M2);4 Y* a$ \ w! I0 j& c2 ]5 H8 i
MA20:MA(CLOSE,M3);
5 T" |+ F- |! c9 W6 YMA34:MA(CLOSE,M4);
6 L/ J1 `1 R3 _3 ]MA55:MA(CLOSE,M5);/ l( s& {, _) ^6 j
MA89:MA(CLOSE,M6);
( j: ?; `& l* P( E! u: B" T+ F9 HMA144:MA(CLOSE,M7);
2 \9 v/ g% g1 d1 ^MA233:MA(CLOSE,M8);
; g/ N9 N5 I, E1 V$ `+ e. c1 bMA377:MA(CLOSE,M9);
/ g h. z; q* h- ?& q- K1 z' n. HMA450:MA(CLOSE,M10);" x: @7 J) B) D: s# o
MA610:MA(CLOSE,M11); ( P- ~/ \5 |. L+ N& k) `) y! F
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;6 p) C. a9 Q- k/ ]5 E
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
; V* h, u9 X. F5 |2 K跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
, ^% r0 G @9 ]' G; LDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; 8 |* C! L3 T% I
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
; `. y; U) A/ Y: ?5 R RDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
9 P9 v" k7 U( t/ d. j流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');% x5 }. B6 B: H, w7 J
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
9 ^2 D7 K j `/ U5 W1 a, V! YST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');; Z9 H% g6 X2 g& Y6 M. A
C1:=REF(C,1);1 V! N) R: z$ _4 j
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;$ {7 q; k* K8 A4 L
非ST涨停:=IF(1.1*C1-C<0.005,1,0);, n" Q0 v6 I; e( r! `" d; A
涨停:=ST涨停||非ST涨停;
/ C# k* l# H2 r% U, f STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
, I" K) @0 X3 e* d STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
; O( Y! ?. a1 n x ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;7 Z( T7 R2 T2 @4 s: b: B
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
" |5 A7 p6 r$ z5 c 跌停:=ST跌停||非ST跌停;
$ t2 v3 f6 K$ R7 K* M0 h STICKLINE(跌停,O,C,2,0),COLORGREEN;# A! Q* m! t X# P- m1 M
STICKLINE(跌停,H,L,0,1),COLORGREEN;
3 @+ _+ U0 R2 X5 i2 C 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
( I2 _$ Z% O/ j# k8 C8 W" ` 半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
T) @: g- G' Z v JRS:=半涨1&&半涨2&&NOT(ST);
. h3 t* P5 x5 D/ A* E' s {STICKLINE(JRS,O,C,2,0),COLOR0066FF;
) F* `! l1 [ i/ z2 m. _ STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
$ ]1 X7 r' u5 z( j, l( h {涨停次序标注}
7 l8 n# l( d: | h; L% X NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
- I) p2 Z \8 G8 C/ v6 k DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
# h. O% ]9 p- \$ v2 V0 y6 D 上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
1 O2 m2 S. S0 S" X: @AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
$ a8 I: ^) _6 c, ]4 S2 z# z4 I A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
, u6 R* w* v2 } AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
$ D _- {) }5 C; ~" M% \0 LSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF; d) M! j1 t: K
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
' C4 E5 [2 l8 W9 Y6 E* V/ A IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',% H E) Q4 Q P
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',! G7 Q7 {, e4 A3 O9 M2 Q4 k! t7 ?
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',6 C7 x* A2 R5 t# D6 r! N; h
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',& O1 s- E* T7 M+ L9 H
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
: D' v; U& v' S) e! v DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;0 e8 i! w+ ^' H( f/ b
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
4 \+ Z" K6 n5 q9 h/ V0 I0 u IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',5 J F$ ?7 V; B. |( K: ]+ o
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',; Z1 [) t5 W' ]( L5 S, Z
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
& Y0 X0 @# ^3 J' q' j* B2 [0 [ IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',3 S* r% T% k" [1 o, x
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',% f+ Z$ A- k, t' ^* D4 B+ R4 y
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
2 r. W5 P1 `3 b B$ A4 t 输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
. z' b# q1 ~$ G( k7 e% i2 k DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;+ T/ u. j. S0 a5 E4 f! L* Y6 l
- [- A; T: M0 w0 ~" E( l
|
|