TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);" p% c7 g( F: X8 y! J4 d
MA10:MA(CLOSE,M2);
. g& }9 m0 o u# @( g3 pMA20:MA(CLOSE,M3);
3 O3 ^8 X. o& }( P% fMA55:MA(CLOSE,M4);# }) b& U" ]8 d
MA89:MA(CLOSE,M5);9 C( }3 s, ]! }9 p
MA144:MA(CLOSE,M6);
% n2 I9 b M1 d/ `* a$ V6 E pMA233:MA(CLOSE,M7);
) _( G" }9 Z) m/ o! @( |2 HMA377:MA(CLOSE,M8);3 t0 l8 r4 U# l; _
MA450:MA(CLOSE,M9);
- f" J( x8 }1 O; I% N+ CMA610:MA(CLOSE,M10);
5 O/ y' Z) a; [$ D7 T涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;, }" V& |0 _$ N( i( \' Y9 U
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
9 k) x9 j$ H8 H8 K3 o' i* q跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; ]% h2 R& ]% j3 G
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;/ C. `9 e' z' }+ d( i0 m
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');) C+ q4 v6 x/ Q8 ^/ w$ D" i" S
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
7 A, |9 b K, b9 O流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');! N6 C5 V0 Q7 b& `# C: j
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
3 Q" R [' ~/ o4 `6 d1 M: _ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');7 N/ t% n5 `$ m* j& Y4 @- d
C1:=REF(C,1);/ w+ d7 _5 J: y" s8 R9 x
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;1 k, [2 Q% M' i2 A3 _
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
3 m4 L b* R- j; ?涨停:=ST涨停||非ST涨停;
`% I7 R2 A r' }5 `! g9 C+ TSTICKLINE(涨停,O,C,2,0),COLOR00FFFF;; [* M1 P5 p6 p, R# W: W1 T
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;4 }. g$ G4 V" m- A. R- g! c! x
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
$ R$ K0 v3 j- y" U( @! d. F- m非ST跌停:=IF(C-0.9*C1<0.005,1,0);
$ y7 w) J: s. p* v跌停:=ST跌停||非ST跌停;
) S# L& |% ~8 c. k: PSTICKLINE(跌停,O,C,2,0),COLORGREEN;" x5 I7 J$ I5 p! ~; B& A
STICKLINE(跌停,H,L,0,1),COLORGREEN;
$ o9 g# Z$ P! n1 }2 Y; V* [0 g半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);0 u' s0 k( |. @3 c+ K* }) n
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);- \2 Z& q1 e6 Y3 M, E' S
JRS:=半涨1&&半涨2&&NOT(ST);
% v. @0 y% @1 M/ y{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
/ H" r) v" V: K% ]+ jSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}1 i# d. o, r7 O! s# ?0 Z
{涨停次序标注}+ c; o" d: b% u2 J: o% }/ w
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;# p' \5 W0 ]0 U3 u: ?+ w; K1 L
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
4 f9 q9 o- z, I4 B7 r上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;# ]2 H) R: v. \
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
" M v7 `) d' U- t4 q/ q* T' WA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);" u1 {- B5 s5 |2 [1 b2 h6 X' ?
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
+ j* O0 @4 R2 K. MSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF; H: W. x$ x* t$ s
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
; L) F) s% ~7 q2 `! q# G0 RIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',# ^9 I W6 T/ L& t8 [9 G5 v
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
+ ~/ \- F1 }* T ]0 ?; L( x% B6 w* ^: sIF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',6 {9 Q9 O! l$ D5 l
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',( H B7 U( K! k% b2 z1 A
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
9 L7 {8 ?) k% n2 B5 xDRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;" ]9 R7 Q, s4 S% B" v
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
, |- b& Y' t$ u E& M8 `IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',1 b2 \" g+ d9 s1 X* ?1 s
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
8 k3 p' G. W( m E% X( cIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
7 m6 ]( _: o4 zIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
/ i% e+ O, B b5 `9 a$ e4 KIF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',# F/ |4 c: X- A' j% g- Z" J; o/ p
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;% g2 |9 S8 }) T; S
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));1 v: a- B9 q N/ z4 P4 m
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
8 I! `4 V+ h+ R1 y1 _+ V
|
|