TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
, I X5 l$ j; oMA10:MA(CLOSE,M2);
) N# L- p! v; t" T# m1 GMA20:MA(CLOSE,M3);
5 J3 a( y2 g: N: K3 nMA55:MA(CLOSE,M4);
! p B: h8 r, p/ L% K* \4 IMA89:MA(CLOSE,M5);) N, ?/ E: M# W# V5 m
MA144:MA(CLOSE,M6);
1 u/ @* b- I% w( SMA233:MA(CLOSE,M7);
' p3 @& O6 }& MMA377:MA(CLOSE,M8);5 n" H$ A3 D! l! ?
MA450:MA(CLOSE,M9);
8 q& r0 c. {0 X+ p+ ^, MMA610:MA(CLOSE,M10);
+ _# K# D9 ^; A' N涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
( X9 q1 d- `7 t o' i平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;2 p! D: r- k& c% H/ ?+ L2 |( `
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
Z4 Y# f) r! N/ C4 }DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;3 P _5 N# ~0 f& n/ _
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
5 E: G3 s. u' R: F# CDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;) O1 _& k5 S# p
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');! \9 N6 l7 Y7 f/ ~
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
0 u9 K& d' r( IST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');+ G2 a* V* i# T. X
C1:=REF(C,1);: T1 P5 B+ d" o
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;" k5 Q8 } v& J; T& q$ ?4 b
非ST涨停:=IF(1.1*C1-C<0.005,1,0); [" S2 N+ p& l
涨停:=ST涨停||非ST涨停;+ J. M5 T0 p+ V7 ~
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
7 F6 I* [$ O& XSTICKLINE(涨停,H,L,0,0),COLOR00FFFF;! ]2 W/ u% Y- B O3 P2 R' J" o4 u
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;% l6 U7 S9 O1 E+ M) w6 G
非ST跌停:=IF(C-0.9*C1<0.005,1,0);
\9 _# W# p* z$ E1 i! @跌停:=ST跌停||非ST跌停;& v( v% G+ x! {1 v% S
STICKLINE(跌停,O,C,2,0),COLORGREEN;
6 t x+ S: b) SSTICKLINE(跌停,H,L,0,1),COLORGREEN; j/ T* {. X2 ?1 L6 a
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);* |; H2 ?, S9 _+ X' m* P" L/ X
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);; Y7 E C' [& ^6 [ N4 ~
JRS:=半涨1&&半涨2&&NOT(ST);
# C- r) s$ H6 d& K8 b{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
3 [3 G, d$ ~: t, cSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
& e, u3 C1 ^5 Q" e% i{涨停次序标注}
* p, W) n* d& R" F: P5 dNUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
5 f" J! m8 \6 { g4 jDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
$ M& K2 X9 t n上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;2 H! ]* I% W" f0 t
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
: e, F8 v* W" J5 d+ w6 MA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
N |" y$ b# w( w( H' WAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;1 k" k. w" n8 E) M
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
; ]- X3 c& m9 H* h: M节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',9 Z; e8 M" \( c# O% n) I; s& T
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
, M7 |: s! m7 kIF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
# B' {9 n( z. \( QIF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
7 h! x! I: C5 E' ZIF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',5 Q9 S0 c* M E( U; M" b) l3 i
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
$ M8 f3 f7 m/ U& `/ Y7 O5 u2 RDRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;8 J; j+ O. R; x; r3 N/ c1 s; c2 d
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
& H3 W# }* e4 m- s* D: D% FIF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
: M3 E) _& d+ @- mIF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
8 O& e' D% X( u/ ]% n/ H8 FIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
1 G7 v8 `: l6 @. c: O' y! w( iIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日'," T9 |+ Q5 k5 Q# v4 `
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
5 D. M$ K& W+ a3 a# s3 aDRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;. M/ T9 L% J) R5 b
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));" p0 D$ I1 c0 z; o" {7 w) P% e
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;5 }3 h$ A( x. T* F1 h
|
|