TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
: q! o# [% H. A, oMA10:MA(CLOSE,M2);4 p7 m1 Y+ O9 z: v( j1 f
MA20:MA(CLOSE,M3);
- `* m& b( k m% ~( p) t2 VMA55:MA(CLOSE,M4);6 X- n+ r! \0 c" Q) a. q4 Q
MA89:MA(CLOSE,M5);
8 Q7 o% T5 ^0 ]" f5 s) YMA144:MA(CLOSE,M6);
9 n& z0 [9 N7 T5 S) {4 F3 ~+ AMA233:MA(CLOSE,M7);
% x' O [ `( V, @+ x: v: jMA377:MA(CLOSE,M8);
5 I4 L- w# q$ N" {: L/ BMA450:MA(CLOSE,M9);
$ `" X0 J6 p ]! [% g8 c, u- i6 pMA610:MA(CLOSE,M10);
3 ^: E: }! S: l& q: Y& E$ Q涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;, L- c3 `6 R/ F# V7 T/ K
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
3 [8 _1 A% [- L- x跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
+ L( L) y* ]7 |+ U( gDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;& r2 b3 J. ~" q2 K J: T
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');9 C- ~8 E7 o2 z# P2 `7 h, T; |6 D
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;) d& v a% Q a( o% F4 G
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');% i# X+ c0 o- l' ^5 B
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
4 r) y( j/ o. g; n, @2 CST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
6 [# z: i. o+ N- s5 _' h# t- ]C1:=REF(C,1);
0 q0 ?. `! A9 Y& s! }2 H" W8 ~5 zST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
) D! R# V( e) w3 R7 R) _- D非ST涨停:=IF(1.1*C1-C<0.005,1,0);- f/ {) q3 {6 Z& K9 F+ F
涨停:=ST涨停||非ST涨停;
& _: L( A: U p2 w1 S6 R( V$ G/ RSTICKLINE(涨停,O,C,2,0),COLOR00FFFF;
1 }, S0 [" h3 XSTICKLINE(涨停,H,L,0,0),COLOR00FFFF;' `( z- G( r, W/ p
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;. k. W+ G- o5 i1 z
非ST跌停:=IF(C-0.9*C1<0.005,1,0);* F, _1 j6 o. `$ E7 g
跌停:=ST跌停||非ST跌停;
J& @7 [' q, j+ I( USTICKLINE(跌停,O,C,2,0),COLORGREEN;
1 e8 t8 p- w, k9 E. m# rSTICKLINE(跌停,H,L,0,1),COLORGREEN;% P6 j5 q. p% H: P' _8 M. T
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);( S1 j: s- A$ i& f# h' _
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);* U' f# }+ c( n% c, ~# s7 f- p
JRS:=半涨1&&半涨2&&NOT(ST);4 f7 }1 o, H ]/ f
{STICKLINE(JRS,O,C,2,0),COLOR0066FF; N* U+ `- e2 A }
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
; l, F0 g& f0 b8 ]& N( \{涨停次序标注}# s! J0 Y) b9 K) F5 z9 l& X* @
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
2 U: J# j4 [. [+ J J3 Y9 GDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
' V& ]3 b& }, e( q, [& u* @上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
! y0 H. c' A# q7 [! U. M4 J5 ]1 s- |/ sAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;( C) M! @/ N$ A4 K, ~) l
A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
' h A1 L$ N4 S3 z+ n2 }AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
3 x. K @* M$ E3 l8 t! ZSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
9 B* @) N1 {* R! l2 p9 L节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分'," V6 [: J9 n7 R2 ?# x8 ~; Y
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',8 K& l5 I6 t, i, W
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',8 M5 i. ~3 B1 ?" c; Z# U. L; d
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',6 j* x" I0 x8 ^7 E( W. X7 B4 A+ z3 O
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
. N- F5 D$ O( RIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
5 ~) F/ h+ A! X M3 G. QDRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
4 T& V; G( @0 r/ p月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',1 _6 {! ~3 X1 u% f
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
, e/ O* }9 G/ L h1 ~* bIF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',6 C; s2 N" L3 W0 c% y; I
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
+ W6 m9 Y1 |# u( DIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',3 _3 M4 b3 Y1 l2 e/ s1 N
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',0 _ d! l9 W" V. J+ ]/ B& p
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;. s2 [$ Z! d S, c0 r8 }$ l
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));3 ]1 E* V0 g4 [6 f2 z: n6 N. R! I4 ?
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
( o1 N9 m7 I' ?' }
|
|