TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
0 q. F4 w o! eMA10:MA(CLOSE,M2);
4 q# F6 W* o& w- Y$ }) A* M: RMA20:MA(CLOSE,M3);
( D% D( G7 D4 u3 G1 YMA55:MA(CLOSE,M4);
2 ]% m8 ~) N- c z1 v5 n5 \MA89:MA(CLOSE,M5);2 V0 M: [4 l* i
MA144:MA(CLOSE,M6);
% I) I4 b1 s9 J$ v; CMA233:MA(CLOSE,M7);
9 l! u4 X% t- p& ?MA377:MA(CLOSE,M8);
3 @( T5 ~( J: Y" U8 x- C8 WMA450:MA(CLOSE,M9);4 h- h( E! u0 x; o9 m( J# }
MA610:MA(CLOSE,M10);
1 p# y7 L( F! I涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
: \" {6 |* `8 E9 `7 M3 c平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;$ Z, F; i6 @ W( B1 f' u
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;" B8 Y' v2 l* ^9 X1 V! {
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;! g: b3 h. \ _' R% [' ?& N
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
2 d0 }: a' {" O) F* nDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
9 R; g! \' `- _- h. Y* |& E流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');# J' n4 S3 z& v& _, s2 J1 e( U
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
1 M$ {0 H) [& D6 b) E+ H B7 qST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');7 Y' ~4 e2 F5 l6 K& Z [
C1:=REF(C,1);
$ ~" G; W T% S6 a) d$ _ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;4 A8 b2 V5 I7 r
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
: J0 w, d# B0 N$ M' Y3 A* {涨停:=ST涨停||非ST涨停;
0 M) Z5 O7 @) ]2 U R. O& L6 RSTICKLINE(涨停,O,C,2,0),COLOR00FFFF;
! [* D5 B" M2 |. [; `. ?STICKLINE(涨停,H,L,0,0),COLOR00FFFF;, Y8 A) M/ T8 ^" ]$ x* G
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;, R2 l1 @+ s4 W- Z) s
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
! Z; T7 @; _% V, B$ E5 g跌停:=ST跌停||非ST跌停;! _& h! ], X6 `- u- e q: o. P
STICKLINE(跌停,O,C,2,0),COLORGREEN;1 j" G+ o/ m) Z; j- a/ M8 f
STICKLINE(跌停,H,L,0,1),COLORGREEN;
: D+ w# v2 a* L$ M) ^半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
0 P# V, Q3 j+ f1 u) K, a半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
7 Y( ]8 ?( u2 v" {JRS:=半涨1&&半涨2&&NOT(ST);( ~3 O% d$ Z4 {9 @! I
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;- A# ?2 n( F @; @1 ^% |
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
' _3 D& Q. v T9 I{涨停次序标注}; z5 p3 @! W& [+ ?/ A$ Z- p F3 s
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;/ q) k. g3 t9 Q- c4 U* u! B5 E
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
, O; `: D* {0 F9 ~! W上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
7 l' l2 i' M/ |9 n$ q7 SAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
, v: k' W$ F9 B8 p; hA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
8 \, i6 C3 G8 EAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;+ M. X9 q* i/ k3 j: Q7 ~0 `
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;$ ^' j1 d& R5 h2 K N2 `
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',9 B/ U* ~: }+ X% d
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',) Z1 r$ \9 |( O5 S) T' z5 }" o; L
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
& X% R4 ]7 G) \$ q! I1 YIF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',- a K. R6 S% V) z
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
8 ^- C& h6 j# ?' ~: b8 HIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',3 a) P9 t, w4 f9 A" r6 f' W
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;' D; Q8 A. b- H2 |; {% O# b
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',) D3 W4 s6 B- z: `$ g1 S
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',( H! V7 p: g, s: F" b
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
8 @ ^- P. L: P' i' WIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
. h$ k2 @% G! U0 cIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',- p) B2 u1 _" A/ W% h# p
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',$ @ q, A+ `& {3 @
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;2 O* G) y- o' G5 S5 ~7 q9 Q5 J
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
' ~) n0 J# d) YDRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
' j& n+ h" P' Y, g9 v
|
|