TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);
3 J: j# i+ p6 R; gMA10:MA(CLOSE,M2);
2 n/ O5 g. j9 s6 w. oMA20:MA(CLOSE,M3);
- O* A& ^. f4 s7 a- @& A3 kMA34:MA(CLOSE,M4);; p; _/ `( ]2 w$ X# S
MA55:MA(CLOSE,M5);
# G: ^' {' f c' L) X% ?MA89:MA(CLOSE,M6);
( L' l4 z) P4 s8 B$ pMA144:MA(CLOSE,M7);2 \8 ~6 K" T, v: ]- B
MA233:MA(CLOSE,M8);) y5 V" Z6 [. n: ~$ S
MA377:MA(CLOSE,M9);
( D) F& ` c" vMA450:MA(CLOSE,M10);$ T V' j! Q& \, p* X R
MA610:MA(CLOSE,M11);
4 F) j) X' D/ r7 R E Z) [. V涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
5 q' K7 h( N2 q, x. X! }; e平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
5 d8 P6 |3 g6 r; |9 t: V跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; 8 ^; Y3 n$ I s5 o
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;
* t" R, s5 q) ?6 y+ oAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
6 s0 c# @# s6 ^: c5 R) Y3 QDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;! u$ L& m4 ~3 \* U
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');( ^3 w; y. Q7 E4 T' \9 G
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
+ T% ?, i. g X1 |: }1 u$ V$ TST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
0 h0 I$ p! M# p) t C1:=REF(C,1);
9 x9 q6 J- v: E, e$ C9 T1 |$ v, a1 I ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;+ N) j( {* f$ s
非ST涨停:=IF(1.1*C1-C<0.005,1,0);# f! \5 I. W0 X$ E# \% M; j
涨停:=ST涨停||非ST涨停;) |. |* B: r" x4 f
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;7 ]$ g; K( x4 V& J4 Z
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
, J( }# n( q+ e8 I( d ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
3 K; b0 @1 Y- h0 Q2 |6 \& k 非ST跌停:=IF(C-0.9*C1<0.005,1,0);& P: G/ | U8 _
跌停:=ST跌停||非ST跌停;
$ U5 c, {' g: G% F5 q& g STICKLINE(跌停,O,C,2,0),COLORGREEN;
& f9 Q; d" _: E+ n @9 `0 @ STICKLINE(跌停,H,L,0,1),COLORGREEN;
1 ?1 v. B/ W8 Q# \7 m 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);& F E0 v* n$ Q" M t6 H% o0 h
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
5 b0 m! K" \0 l' n: B7 z JRS:=半涨1&&半涨2&&NOT(ST);
( |0 c' J1 x! A6 l* @) i# h {STICKLINE(JRS,O,C,2,0),COLOR0066FF;
' b( X( |9 `: t$ B3 C" z8 | STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
6 u8 u/ N7 p! ~6 p {涨停次序标注}
% E' V/ ^! Q( a, V: L* ^% {5 s NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;( z2 c0 K& ^1 K. x0 Z8 W
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;# P }5 l& U# F( b6 r
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW; & g) I! g( ]# B7 c- C7 v
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
9 L6 S) c# y& I2 y: S A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);6 a) Z, u/ E1 f& `) b) |; c- K
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
% y* R8 u9 c) D2 MSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
; n0 ^4 {4 _) x9 n1 q; t 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',* b0 x& m( w# E+ L4 j
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
7 {; ]" }' y6 z+ L2 U) i3 ~ IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
5 \5 u) h8 a% Z3 C: X5 _2 C IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
+ D! x, l1 y# k( t* f IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',: \3 D& T& q7 v" L# X. k
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
6 Z2 r; W6 m; l; F+ M; g DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;/ b1 j: b& A: M1 {" w
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',' }( h9 h' c d' g+ z2 {
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
; c! T/ q% Y: {# Y IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',3 n' o5 ^/ l, {2 V# c
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',0 b, x- k: A' P" {; y- v
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',' C" i/ ~8 X- u+ Q- m
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
: S$ q+ H* g% i+ r! _ DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
' F" G$ b7 S1 ?; @. a% A2 m4 S 输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
) L0 v: X, R% H) J% \& d& g DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
7 x* R2 I' j& `
! Z) v! b3 ~- b4 t, U5 n. Q
|
|