TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);6 @8 Z! D7 g# x% |
MA10:MA(CLOSE,M2);% c0 C' n3 W& Z" v2 v
MA20:MA(CLOSE,M3);! @( |' a9 u+ J3 T, }
MA34:MA(CLOSE,M4);
: r9 x5 Z% b: o' S( T0 ^6 O) HMA55:MA(CLOSE,M5);" g9 ?: u( r2 l$ c- i
MA89:MA(CLOSE,M6);/ a, @$ o5 E. {# q
MA144:MA(CLOSE,M7);1 B0 c4 _2 c4 H. o! X
MA233:MA(CLOSE,M8);4 N$ a# R8 b8 q4 a
MA377:MA(CLOSE,M9);
2 N1 U3 H/ z3 D z0 g2 b* [MA450:MA(CLOSE,M10);! n5 r: q+ j: @0 P
MA610:MA(CLOSE,M11); ! ?4 U: m( d5 y# ]* a _
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;4 Z/ z% A6 h' I; Z$ l
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
# I! g& S/ K3 }2 N. K' X跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
h5 {% M! k; M$ c# X; j5 X3 dDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW; 4 Z3 c. F+ l4 n, C
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
- {% h2 C8 |# uDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
% D) K6 O& @- X& r7 S流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');; n7 |, p. O* N, P
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
# t! f j) \4 L1 BST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');1 y! T* Q' V+ r2 c( W/ c1 n; S) o
C1:=REF(C,1);
/ p$ L) ]. }) i ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
. I: o7 m! @* G( ]3 F 非ST涨停:=IF(1.1*C1-C<0.005,1,0);/ g2 s' Y; k/ \2 N; B' L
涨停:=ST涨停||非ST涨停;
) |1 _: v: l2 T( B+ G STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
+ l; E7 p# N9 e6 V2 X STICKLINE(涨停,H,L,0,0),COLOR00FFFF;, v0 P$ A2 D" F; Q: K3 i
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;# x9 R7 `$ _' f# o
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
- K) z6 i0 _3 g* M 跌停:=ST跌停||非ST跌停;! x9 l# `) c) |
STICKLINE(跌停,O,C,2,0),COLORGREEN;
9 K# V# c( m Q STICKLINE(跌停,H,L,0,1),COLORGREEN;" u( a/ t; b% n) m- W6 N; | q$ N$ h
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);$ G$ A: M6 e3 p" u
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);' A7 l5 b( G9 L1 W* q
JRS:=半涨1&&半涨2&&NOT(ST);7 L- K, w1 _( b$ t( Y
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;0 [. S% _$ p+ _& x) L" ~+ H, k
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
$ Y0 W% Y( {1 v0 g {涨停次序标注}
: I6 g, k* F. c7 [( P. I, D NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
! Q: W2 ~6 e% k; M DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;7 O: v5 o. f9 k f! c! }
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
2 h i- P9 j2 t" }AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
z( R* }& c( {8 E( | A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);/ ]0 k( @4 g: N0 B
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
9 X# g. U0 z) c$ \& PSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;4 h c9 _' V- a3 h
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',6 Z1 P+ x7 a8 M% O9 s4 y
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
2 F+ Z ?2 v1 i% ^5 l# G IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',2 L1 Z+ J; g" Q l1 P( I' @
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
; F$ d, V- x2 g: t" ]- t2 Q IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
5 k; [, q; s, R IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
( r( A. }: L. ^* q, G }7 Q DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
9 ~5 i/ x* M5 y4 m7 c 月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',- s; Y8 o3 K2 O) Z+ B3 ^
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
, e8 y1 B6 c2 l. N7 @& W; n IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',3 {- I- r4 j) M; j% [
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',$ J! ]0 z1 d: V- L: p& `$ x8 p! K
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
s* ~/ d# }' a& g, d; X IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',) ^( Q( ], H4 W5 p2 q, a. N
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;* \& I" {6 Q8 E: m
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
7 ~% D; K; ^! Q$ s( p# ] DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;# q8 j0 p1 w0 I6 _8 M, b" n# F, h
( I4 y, ]5 s* i$ D- G7 s$ {
|
|