TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);
0 M2 E2 _3 o" X U* q& [6 ]MA10:MA(CLOSE,M2);$ ?- L# x. J5 m9 x8 }
MA20:MA(CLOSE,M3);
8 D; M( Z7 ~: I2 X& `MA34:MA(CLOSE,M4);: a/ H5 x9 D% E
MA55:MA(CLOSE,M5); N, k" a3 D- d' B6 V8 k9 F- v; R
MA89:MA(CLOSE,M6);9 S' u# l3 Z) _" J1 m0 p8 b
MA144:MA(CLOSE,M7);
. b4 [( }, ^1 w% N6 x9 gMA233:MA(CLOSE,M8);
( U$ i; R! z( [- N) yMA377:MA(CLOSE,M9);
6 d' ^. N$ p! b4 P( tMA450:MA(CLOSE,M10);7 u# }4 T1 |( ?7 g4 h! d
MA610:MA(CLOSE,M11);
, v- q: j" v* n3 v/ |& N$ N涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2; T$ o7 C% _6 u1 e7 w) J" v
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;4 K" c# X! Q6 ?" i5 K5 M
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
, `3 E& w, g1 `! cDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; % G, V+ N/ {' D- z' h$ M, o, m- s6 r( d
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');9 J: |( `0 D3 }) _) `) l; r
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
+ h1 Y# u' H6 v: w7 T流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');* k" ]) V( a8 I' A( m& M, z
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
3 C5 w( a1 u$ @* SST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
& C3 _0 R/ q; ` C1:=REF(C,1);
0 u1 q: K9 k6 o2 H4 [ ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
+ @0 `4 [) o* L# K2 @ 非ST涨停:=IF(1.1*C1-C<0.005,1,0);
A+ v; ~+ h* n; P, l! b 涨停:=ST涨停||非ST涨停;8 a5 y$ [7 f5 F: F$ F( D% k T
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;/ }% \, Y9 j& O8 |, ~
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;0 }% k v }; p+ D
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;" ^3 ]1 a8 F5 N) i0 W/ X
非ST跌停:=IF(C-0.9*C1<0.005,1,0);2 V) p$ }& b( a1 E V4 b% Q+ M, I
跌停:=ST跌停||非ST跌停;
1 [8 F+ y4 `( d/ A a# L7 D6 m STICKLINE(跌停,O,C,2,0),COLORGREEN;) E% Z8 M Z) w7 r
STICKLINE(跌停,H,L,0,1),COLORGREEN;
1 X0 }) u; ?+ m 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
1 O2 C5 \3 C3 d/ o# o4 S: ~ 半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
' ?# N, `9 F) D. s% u, n JRS:=半涨1&&半涨2&&NOT(ST);, N- l% m/ Z3 @& j) V
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;2 ]' N8 W1 b3 O- r8 C4 |7 t2 Z
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}3 E! J7 {5 S* t
{涨停次序标注}- Q* u, o+ v# t6 D. F* h
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;& }$ r- f6 l3 o5 v1 X) q. G
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;& h! g4 ~+ b9 G+ Y; Z& v
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
& E7 l+ [0 {% G( L+ w8 rAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
2 @: Y" C; q' J- P A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);5 @% {5 ]+ i/ d5 g/ h& ]9 t/ g
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
' n' h" t+ M) Y/ H9 R; kSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
, ]( Y, E$ ~" s! z6 c" F5 z 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',! F% H6 n4 o. ?% F" y' N8 `
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',8 b$ E: _2 q$ R
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',+ F1 e8 @; U. N& Z+ D; K" z
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
% `. N& U, d/ e% d$ M% \# J IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',* S) }- D1 B) Q& w+ [2 o5 d8 h
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
( y6 d5 R! o- L# B4 S/ f8 Q, O DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
: Z- x$ `! Q0 V1 f8 \8 e1 o# \ 月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',; ~( _% H" r& }. T5 \
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',( ?3 M0 z" v. k+ `# j1 o& T
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
X0 N, G8 o- ~2 T5 _( A IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
4 |2 _: k8 u2 K t7 a9 u* }+ u IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
. {8 t8 M7 Z Y( s: A, F' w IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
9 ?; U" A! s8 C* k1 r3 A DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;* d) Z6 g9 u+ p
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
& k! T: w# H* c5 V: Y; p+ B" c DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
9 \ _! }! s% W; v( q6 T5 \; j5 L4 I9 s4 Q4 n# a
|
|