TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
 
- 积分
- 47180
|
MA5:MA(CLOSE,M1);/ M6 s" F+ h# n' z) {" A. u; ^
MA10:MA(CLOSE,M2);3 _4 b5 a' k; ?3 ~4 c
MA20:MA(CLOSE,M3);
0 m% r# l9 R: G: RMA55:MA(CLOSE,M4);7 I* L9 v6 y# ?( X" ]5 Q6 q8 }. @
MA89:MA(CLOSE,M5);0 q' p6 `- c7 u
MA144:MA(CLOSE,M6);
2 t5 ^% }2 q) ?3 q7 {MA233:MA(CLOSE,M7);+ ] d$ u1 _0 ~
MA377:MA(CLOSE,M8);* t& p Q$ j& A! Q
MA450:MA(CLOSE,M9);7 t4 F$ ?9 y: `4 X* D# s1 `* N$ c
MA610:MA(CLOSE,M10);0 `& T% T. j7 \- Z
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;# K; Q- e, @. i' c
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
9 P- w! \8 Y: F8 _: P2 T. N跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
" c3 Y/ n1 @( l& |, ?. eDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;
8 w) G, q, B9 U: _AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
" d3 I# A& z* [* y: a& WDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;$ E, p! R4 Q. ^ s1 N# N8 M
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
4 k' x" k& v! rDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;2 N. |/ R$ A U5 t5 }
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
) U; N9 O4 e( U% m2 xC1:=REF(C,1);$ B* F8 ?3 A" O) P9 O
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;2 D6 @" D! }1 `" W: `
非ST涨停:=IF(1.1*C1-C<0.005,1,0);' G* @" @: L' W
涨停:=ST涨停||非ST涨停;1 c& h9 ]8 A5 Q5 z9 t2 W$ W1 t
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
4 g$ d" }2 [2 _ U" V: }/ x1 _: }STICKLINE(涨停,H,L,0,0),COLOR00FFFF;% G$ O/ [3 y" @! T! J: B& h
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
$ F* A: d6 g6 q非ST跌停:=IF(C-0.9*C1<0.005,1,0);9 o8 ^1 v, @! c% T( N. {' x' F
跌停:=ST跌停||非ST跌停; G" @- z- F0 Q
STICKLINE(跌停,O,C,2,0),COLORGREEN;6 y5 l7 `) D& z; ^* ]( R. _5 ]
STICKLINE(跌停,H,L,0,1),COLORGREEN;
3 f) l5 g" [+ m+ ~4 e半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
5 q M/ G* \3 ?; s" y+ Q I2 T9 p半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);) l0 _. W [. W
JRS:=半涨1&&半涨2&&NOT(ST);, l0 _) E y/ M" D* N0 s
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
* x% B a' R: r8 O0 c3 m/ K5 uSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
. A- n4 N) P) x1 r; Z{涨停次序标注}7 ~! h" }9 E% O
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;, p3 y k" t; u* p: b5 p
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
+ c, X, Q& f e# t4 _6 O+ x7 V上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
; r; m B8 k$ h9 f) }* f( |2 jAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
! m: T1 n& f" N4 VA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
+ K, n8 K" n- W4 M! }% yAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
) \; M ]( l" F p* p" MSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;( \" e3 D5 n) X7 L5 `3 f! X I3 j
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
! A/ v5 |" T. }. o. cIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
3 H, l r! p4 r* WIF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署', }; t0 X/ L7 R7 U& G
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',+ e7 @$ |1 ~( }$ C* p
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',) A, _0 a& n. A/ Q# b( l$ T
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',; H; x0 _4 A& S; X
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;4 u6 c4 X& m9 c* n5 a. n) A
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
. w; H/ e# q8 y. _2 Y xIF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',( v1 ?% `$ p1 ?7 c4 R" }5 o
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',$ T: U' ?6 {! C5 l# Y2 B
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',8 w6 A( m4 f4 E* S% O8 K
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日', [9 l$ k+ v8 X; a0 l4 W0 D7 Y3 i
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
( k- }4 s) c7 Z+ U3 QDRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
+ {; }, X8 U% ]1 Q输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));9 F! L- N. z: T" M$ @& d' m
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
9 A, l R$ @; U
|
|