TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
3 z! T# m: p4 L3 D2 gMA10:MA(CLOSE,M2);$ S, Z2 ]$ R& t, _
MA20:MA(CLOSE,M3);
9 \3 n) b3 V7 \ P @# ^6 RMA55:MA(CLOSE,M4);# |/ a; ?. G1 z7 s
MA89:MA(CLOSE,M5);/ S' I% c4 t1 s6 {( m n2 s! Z
MA144:MA(CLOSE,M6);" S8 ]6 s5 Y9 q1 }
MA233:MA(CLOSE,M7);
" y/ _, N) G( k8 O' ~: r7 ^* }MA377:MA(CLOSE,M8);
. b7 V% K% B, j. b8 r, B) WMA450:MA(CLOSE,M9);
% J/ H( a+ m7 R: F4 N2 jMA610:MA(CLOSE,M10);0 Y4 [ H* d$ I5 J& \7 v
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;+ a* P$ {* d! V: b' M/ Y# H: n
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;0 K( `, Y3 g: g
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
6 y, T* ^, J6 v& Q/ ^DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;( w' y! J# g4 S3 G( S8 Y
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
2 e5 c5 g f: D7 o! ]" o9 G. P wDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;: c7 D( z7 b% C' q& d
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
- |' k; m8 y" ~DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
) j$ o9 R7 W4 I$ D! x3 Z( Q+ zST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
! e w6 N+ e0 `C1:=REF(C,1);
( m$ V% K4 O" x2 Q4 `' hST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
5 e& ^$ @. d- W# j3 `- A) g! ~非ST涨停:=IF(1.1*C1-C<0.005,1,0);
U( e$ f- k. j4 ^涨停:=ST涨停||非ST涨停;; r/ t2 N5 Y$ B. `
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;" t! |# W% O1 C, ^: r8 v
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
) ]- G' z8 i( `4 o$ AST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
( A) r) I* T b: e0 h( S3 i非ST跌停:=IF(C-0.9*C1<0.005,1,0);( E+ }" V* A* R f" w
跌停:=ST跌停||非ST跌停;. }, P4 J; u5 r$ e+ f
STICKLINE(跌停,O,C,2,0),COLORGREEN;
s4 B4 Z0 ~6 g: R) j vSTICKLINE(跌停,H,L,0,1),COLORGREEN;" h8 w5 F) ^& |0 e w& s" v
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);: g! X8 O0 X, s: @5 M! r: @
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
. a. h( v7 h# f/ NJRS:=半涨1&&半涨2&&NOT(ST);
; c. ], ?; o. Y* W/ T8 s$ U{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
$ `* N! F0 Z% p. Q% |STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
3 r: R0 }0 n( S: z{涨停次序标注}. i' S: o! Z$ c4 _ q
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
% N! [7 L m8 Z" y4 u0 iDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;6 a9 W/ E' b r
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;3 U. V, h0 c( c0 k; ^" T! |* R+ T
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
6 _4 H. o3 j! A) f( j3 }A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
" i3 @3 k" g' \AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;- ~* _$ _$ k# ]8 Z J$ W4 c
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
" e- G# p. }* E- k! N节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
8 N2 X' C3 o- c+ j; \; b, iIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
/ S1 ^" T" t% j& o4 d: IIF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
2 k" Z3 i- C8 |1 G" h0 _IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',/ X1 Q9 E4 A7 z; G0 K
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',7 H: D1 {. V, N$ ^3 P
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',- Z0 s. P$ n5 i: y
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;* {. U7 B4 _- U* a7 d# K8 X
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',7 J) Q5 Z# |& b" J1 g
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
$ N! P4 J$ o6 e- XIF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
% ^/ V% p4 w6 z8 T! x8 l2 G5 nIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',8 k5 H2 n! n1 S
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',3 E# Z( M5 \9 ^( e" E' ]* M
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',% T, S0 V$ o- Z) e! z% I7 b% t
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
' }0 U R8 d3 s: F% h! y/ V) ~输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
4 x$ E6 V! M4 D8 C U4 y" [1 \DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
( j0 c# X$ }/ A- k: h1 V' k3 V% l
|
|