TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);
) q) U6 S$ @: V4 j2 S( j$ [: sMA10:MA(CLOSE,M2);( r6 m, ]/ X4 L P
MA20:MA(CLOSE,M3);
6 Z5 v* u/ x7 K6 l1 K: ~/ n$ uMA34:MA(CLOSE,M4);
2 r/ d% D9 p0 M1 lMA55:MA(CLOSE,M5);" b4 g6 B, B" e7 m3 w
MA89:MA(CLOSE,M6);0 o3 T& @% ~+ P+ J; j7 W3 v
MA144:MA(CLOSE,M7);& W) L/ D! S1 G# C
MA233:MA(CLOSE,M8);3 o8 W) S3 l/ u* x: N
MA377:MA(CLOSE,M9);
7 K# x( W7 l, V+ eMA450:MA(CLOSE,M10);, S6 Q$ G9 e6 u' j
MA610:MA(CLOSE,M11); ' m/ D f$ }& n% M8 e* }
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
1 f( m7 l, L( e1 [1 v平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
! _5 j$ f3 f. {0 \( `7 ^; j跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
, r. `% g7 |3 J! y7 _6 nDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;
$ N) m. }# f" KAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
; {7 i( \0 k& w- N+ K. zDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;& k" X e' k( B0 Q
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
( }8 l3 A6 z) {7 }DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
" Z0 Z( P6 p* v+ T) x8 EST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
) x8 Y( S6 h! A! c; ^9 K C1:=REF(C,1);
7 r: {2 P7 n! I( U5 M9 @- Z ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
% G% Y! w3 F0 W ~4 j 非ST涨停:=IF(1.1*C1-C<0.005,1,0);
/ V* h. x& j* f 涨停:=ST涨停||非ST涨停;' v8 V* D+ S, @; [
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;* V0 q* m$ Z+ W, c4 S( y
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
- z0 F/ @: l: K: C' E8 ?& d* u ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
4 P. k9 ~' i) j) X 非ST跌停:=IF(C-0.9*C1<0.005,1,0);
8 g- U4 k0 K+ W" x% l& f5 r6 a 跌停:=ST跌停||非ST跌停;
- Y; |- J4 Q3 J# d4 U2 v" @* B0 R. x STICKLINE(跌停,O,C,2,0),COLORGREEN;
2 N; X8 l! D- T& \; D2 o! m- e! ` X STICKLINE(跌停,H,L,0,1),COLORGREEN;' A: j$ t: m& c9 ]) z
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
4 O% X) V, n% B1 L 半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
* w9 ]- A- m J4 M2 ?* _4 N JRS:=半涨1&&半涨2&&NOT(ST);: D% U U9 B+ |* d; l+ f! y9 R
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
6 h. o1 P) @/ O$ m5 P STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
3 `1 z4 m M4 k: Q- @% l7 k {涨停次序标注}
+ v0 m% [$ _4 i% p$ o NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
5 {6 B( p! f) [) G5 H DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
- q" F) T# D) z b3 a; f4 P3 T 上市以来共涨停:NUMBER,NODRAW,COLORYELLOW; 4 b1 _( X6 h H! h6 j& j
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
; G0 d7 g% b! o0 j, m3 O. j A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);- N8 G- d$ m7 Y0 X) T o
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
9 }% f3 \. v" j4 x9 n2 y$ cSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
* ~8 H4 f2 t* J9 c, F' ^ 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
' ]& i4 B+ J; a1 X+ A) U IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
% D9 b: K: Z3 G9 E2 Z. S6 ` IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
" {& h" h9 q+ |, l D IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
9 s9 \4 X* [% k. W6 H5 { |6 h IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
% w4 x+ b, w3 w2 A& P y) _- ]$ Y IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',% K! c h& |! l O2 x( x; y
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;3 A' c9 q# x- F t7 @* f' B) n% r
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',$ M8 m x6 Z$ s9 H# T6 U
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日'," T r- c# e- @/ K
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
3 n5 ~5 ]* ^4 s3 F! K/ |! P( i1 M" E IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',! C7 I8 p, j1 L' S; t2 \. _3 n7 H
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',: D, P$ b9 R" ]
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',+ _- }- S% ]5 \7 C0 \
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
1 H8 E, q% E( M! Q 输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));( _5 _* w, E& i) W; w
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
$ ]% }. `% s, E8 {! q, r
/ ^* t% m! \$ j' f, A
|
|