TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);8 Y* \6 S+ r6 A0 W( `: N6 a$ d8 Z! }
MA10:MA(CLOSE,M2);9 @' Y# N) [" c8 R7 A4 F& X
MA20:MA(CLOSE,M3); F% n V1 u! x% k+ b! ?
MA55:MA(CLOSE,M4);( } x4 _5 p! z/ ?' W8 e
MA89:MA(CLOSE,M5);
1 k! B& l% ~% N# H/ zMA144:MA(CLOSE,M6);
$ g) d# k) g* e" v4 yMA233:MA(CLOSE,M7);7 L3 P* P$ K: C# f
MA377:MA(CLOSE,M8);) K) W6 k8 p" n% T
MA450:MA(CLOSE,M9);
6 z7 S4 Q4 N9 v5 b: T2 N8 wMA610:MA(CLOSE,M10);
) X! D+ E- V7 V4 ^( H. u涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2; l6 H- p0 O$ _; y
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;8 v: X5 c# U3 E2 i: [& R( ?7 H: R
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;" }2 Y, `0 W7 y7 P
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;" n; d& C8 o4 l9 z
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
" ^) P0 t( L/ aDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;" J) d2 {4 R# D( r: k9 h
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
: Y% E# I' _7 Z9 m- R3 k1 e( ]DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;5 M6 u; s0 \- b8 `1 z
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');3 x R$ V0 H( r5 S% O
C1:=REF(C,1);
0 d6 V7 L) c4 q3 Z0 @, i$ i* e8 XST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
) i- J6 U. s+ |; f1 l( I: z- ?非ST涨停:=IF(1.1*C1-C<0.005,1,0);
% h" w. }* X1 q- W涨停:=ST涨停||非ST涨停;$ E0 O5 h% d, P) z5 y$ q$ y# q
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;/ Z: O! @, Z& y1 F$ S3 U
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;3 G% A( s6 ?6 N1 z
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;5 ^1 h! a3 U8 l* J* D# c; `
非ST跌停:=IF(C-0.9*C1<0.005,1,0);4 A% y5 F. b/ p% n/ L+ V% b
跌停:=ST跌停||非ST跌停;' x+ |6 F. o; f9 j/ m" R' x
STICKLINE(跌停,O,C,2,0),COLORGREEN;
7 @& [' o2 l, C6 xSTICKLINE(跌停,H,L,0,1),COLORGREEN;. t1 @$ }! e2 u6 l3 P$ E ^ ^4 P
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
5 s3 y& J( w% ^+ j半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);* B4 U+ R4 V; r
JRS:=半涨1&&半涨2&&NOT(ST);
5 Y5 `/ f5 m7 T4 ]1 }7 Q/ Y& S{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
# S2 N0 b; F+ X9 O( T& a* r9 P7 GSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
w* x2 c3 E! b# [- W{涨停次序标注}
' B" [, W- Z0 T0 f- ]5 ?* ANUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
9 ^" T6 Y+ ~; |8 ~& Q0 bDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;1 R& A/ g, i! K$ h2 b. Z7 x
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
6 c& k4 @; O+ W* P4 sAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;- d3 k8 e* U, N" n- u! O* b( A1 Y
A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
z( n2 G6 k$ N* m( T) cAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
& h$ J' p$ n- J# Y1 aSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;- ?; L: W1 Y$ g0 Y s4 |7 h; ?
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',- k; b' }9 T2 w/ P% x: K2 i0 d% `. N
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',. A9 X( r1 q* g# {2 e
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',* a) @! \& x @* b6 X" t
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
. z6 B/ o/ c* n/ x4 V$ MIF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',+ }" z0 `! s* K
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
& F# H3 r% w% x9 I |& X. \DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;+ l3 M! S h$ |7 N% E4 n+ Q
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
! \: E/ `* M* k& _IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日'," ^5 G$ }7 K" m( D K
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',3 E3 Y/ k5 ~4 m* ^( E
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
7 \! J4 x" `6 CIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
1 E' O2 M6 `- w' c( ~# fIF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
" j3 H9 U T$ q/ s* I nDRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;/ S; y8 S8 h% N7 L
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));/ C5 s7 S) P2 z! u# N8 K! `0 [
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;+ |5 O4 T0 z, \( }* R
|
|