TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);7 y) K. {# p5 M0 [2 X% g
MA10:MA(CLOSE,M2);9 Y- ]! ?' j: N6 j' q' W2 g. ?
MA20:MA(CLOSE,M3);1 y# T" C' w2 R. @) m
MA34:MA(CLOSE,M4);/ t' x* ]+ @7 k$ `5 w
MA55:MA(CLOSE,M5);
% Z% s% h8 [& A$ W2 ]& |& bMA89:MA(CLOSE,M6);
7 n' Y6 G1 F: i4 X+ ?MA144:MA(CLOSE,M7);* G6 J' E$ p- v s0 F9 [
MA233:MA(CLOSE,M8);3 A3 d1 u: ]& i- V3 }" i) i& L# [
MA377:MA(CLOSE,M9);/ l& F; q8 X9 i9 u
MA450:MA(CLOSE,M10);
; m, I, K9 m, q. J1 SMA610:MA(CLOSE,M11);
# M% v$ _8 L+ {6 L; J涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
1 h# `0 ]. s! b( l平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
. s3 Z0 g- u$ l) J( T) ~跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; 4 ]. O6 X4 h' F& a2 O
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; 0 N; w; `/ I" ^, c* V8 I% k! V9 C
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
" z Y6 j# ^! NDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;/ N' a+ ~" H" e! }' m
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
5 _4 T8 p2 ?4 B2 kDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
1 f6 ?' q1 e2 qST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');' o# i3 A" ]9 `$ k, W
C1:=REF(C,1);" \* T; a8 Y c& b
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
. _- b+ p2 m5 \) D3 i1 a4 ] 非ST涨停:=IF(1.1*C1-C<0.005,1,0);3 X4 G% V" p. e8 i
涨停:=ST涨停||非ST涨停;
8 \3 t) p5 b) { STICKLINE(涨停,O,C,2,0),COLOR00FFFF; r' Z2 l/ K) l& f1 P0 K2 ^
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;8 A) L. J q8 e1 T
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST; k i9 t9 r. v
非ST跌停:=IF(C-0.9*C1<0.005,1,0);5 O: `+ f% n& b; n/ r+ m, H' o
跌停:=ST跌停||非ST跌停;
9 T, [0 r/ a v& w( Y) ? STICKLINE(跌停,O,C,2,0),COLORGREEN;3 e2 }$ r3 h' N( o
STICKLINE(跌停,H,L,0,1),COLORGREEN;: I0 n7 d/ A* e& s, L3 \. a' g
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
; A* {) S3 ^+ Q; p5 K5 v 半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
8 M& G9 f3 K% f6 P8 C, q d1 r9 i JRS:=半涨1&&半涨2&&NOT(ST);
. {) Q+ |( Q2 Q0 f2 z, J {STICKLINE(JRS,O,C,2,0),COLOR0066FF;+ V5 I- |2 w$ d0 S2 Y
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
1 D9 S! `. |5 u* A- M {涨停次序标注}& m1 D8 V6 p% C" n, [! C' D
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
) E) Q8 Z1 k5 r9 ^ DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
/ _! C4 l+ Y. }1 a9 f. k 上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
! p4 ~" {- y6 I/ { j% L7 \AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
t, H- u2 W# X! q. W: S m A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);9 k5 |. ^) K' f0 h8 Y8 J/ W
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;* C) {, T t0 _3 K& X: V
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
6 d N) s" U$ x 节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',, q" A% X4 G% F) f, s* Z
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
+ S- N4 B, U P6 R" I3 i* _ IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
+ B% J5 W g O% I IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',' [, f f6 C$ l0 f& ?! {
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',8 @) [; J% v; W7 ~( `' X) s- F9 @
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',& @/ l* Z: X' a" V8 P
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;" m7 X3 c: j6 [3 K, f- g
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',% Y, X" b, l7 x% D. [- t8 n
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
: z! _) @* n# k) i. F- S7 v# D) n IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
" Z0 A' I7 @5 B& v IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
, s0 ?$ E6 ]# W' T4 ^. E IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
" }( L! Z1 [ q j5 z3 z1 ? IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',3 y& V$ O9 T5 L. s
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;2 C3 z& E4 l. Q+ v1 g& C
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));( ?. N7 e' ^- i: R* N) F) I
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
" z/ D/ R9 @7 q+ _( u- z# ]4 E
7 ^+ n1 ?( K- Q# e7 [
|
|