TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
7 O1 T. [# r' v2 z6 U/ I! `MA10:MA(CLOSE,M2);
3 l0 F2 f* s- I9 z( A- E% e: LMA20:MA(CLOSE,M3);
9 E. j4 L+ Y( O! u+ PMA55:MA(CLOSE,M4);
+ ? u' O& m$ G7 e2 ZMA89:MA(CLOSE,M5);1 v( s: _! ]- K; |! b7 c7 z
MA144:MA(CLOSE,M6);8 \4 y- e' R) c) N6 d2 G0 L
MA233:MA(CLOSE,M7);8 i; y2 M) U. {: [ ~% {, W
MA377:MA(CLOSE,M8);
. X8 u+ S! c4 g! X8 V; u$ n' U8 M$ CMA450:MA(CLOSE,M9);' s8 h6 W( p9 h2 t: M
MA610:MA(CLOSE,M10);
* y+ Y- i3 q0 U& P涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
2 l6 o. S/ P6 i$ z4 P7 Y, }平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
I9 k# s1 ]1 [) I跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; \( s3 Y# R& {
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; U, s* V8 r9 v; b
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');( h; ]1 N& y) Y4 g! x
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;: [9 h( p, v: O( d2 K& ]
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');( w3 b( U' g9 U$ k1 m, P; A
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;4 P3 l {- G4 X4 s8 o* K* @
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
% d$ k* F2 A; ^' I9 WC1:=REF(C,1);1 K- N" I2 d: A4 V( D1 C
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
, p$ {0 C) \" J! p ?8 S非ST涨停:=IF(1.1*C1-C<0.005,1,0);/ B2 g ?0 p8 X' O. E3 D
涨停:=ST涨停||非ST涨停;- A4 y* x# @/ J# ?2 N
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
; O; M7 V" T* O/ d) R$ aSTICKLINE(涨停,H,L,0,0),COLOR00FFFF;
2 z: P7 {8 u' h& s: ~ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;3 q$ D% F& O/ |8 R- j" ^
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
/ V# p3 g* g. s# \1 U+ D7 d跌停:=ST跌停||非ST跌停;7 I7 p2 D( ^+ x! ~
STICKLINE(跌停,O,C,2,0),COLORGREEN;
. j) g7 S6 S# m5 ^6 GSTICKLINE(跌停,H,L,0,1),COLORGREEN; r6 z( E3 Z8 h: Y4 W
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);) i- {6 C0 ~! J/ l
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
# {2 s, L7 j5 {' LJRS:=半涨1&&半涨2&&NOT(ST);6 ^! |. T+ L% q: d5 l
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
7 r: S$ u" j- ] a# R1 ~STICKLINE(JRS,H,L,0,0),COLOR0066FF;}9 K' R4 d% h, F3 l' x, z& \
{涨停次序标注}- p7 b2 p3 ]7 }) v g
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;2 r# }3 T- X/ p. g% l: E
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;2 q5 n, O0 p$ ~- q$ C
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;- S$ g9 v+ _- W, g, a
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
: j% k4 M; Y; u8 J, R$ JA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
v9 z1 X! }; X- g- A& t3 R8 H. NAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;& o& e9 a9 O- ]# V
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;# y- V @+ ?/ P' g9 E$ I) L
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',1 h. S7 Y) ?; J o F
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',4 v# ^: p/ z+ L' `; e$ N8 a
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',/ m+ \( J! I. w& f
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
5 b v5 R8 X0 g' H9 d. d! |IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
( l, D6 P3 F8 {; E) L1 ^2 w- zIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
9 p& s$ T, f" U0 d8 pDRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;) v- c" A& K# \ D% u1 r& i
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',9 X4 ?; u+ N4 D( p
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',$ F }! B* Q U2 l
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',5 k# C4 }! L5 O# \% @( o
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
4 s2 s" d0 G- t# g/ wIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',* |" Y, ?/ @" K, Z; a' C
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',/ o! K( g6 \; c1 m
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
! x+ V7 ~2 h( H* {: I! L3 k8 m输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));4 t$ [8 h, P; `
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
0 |1 D( D1 h. W( L5 C9 d9 D% o
|
|