TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
' F9 y2 I# o- L, v8 V' Z+ v, m; `9 lMA10:MA(CLOSE,M2);
3 b& E3 q' k) \3 ]1 f) o) oMA20:MA(CLOSE,M3);3 ~, H% `2 i5 W6 c
MA55:MA(CLOSE,M4);
- W: D% `0 R1 H$ O& ?! Q. aMA89:MA(CLOSE,M5);
6 Y3 S+ `& k6 vMA144:MA(CLOSE,M6);5 v' q T( S* v/ I- K2 h) t
MA233:MA(CLOSE,M7);
0 A: j- m2 @7 j3 NMA377:MA(CLOSE,M8);
7 X5 ~. H- l3 @7 F) \MA450:MA(CLOSE,M9);
- q% l. f3 K; l. p: V3 ZMA610:MA(CLOSE,M10);
& A, Q V: T! G. s9 i" K p涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
% A( M4 ~4 M' _: Z/ f2 M平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2; _7 {0 R. P$ A% r, g
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;$ B2 C. m4 f8 p! O
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;/ U5 t" _6 K+ M% w* }
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
1 d. Y. o, d0 jDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
" x" Z- S) f! B5 k流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
) X4 ]- M% `+ o. [- X, jDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;: q& E2 V1 B4 z6 r! Y0 G4 A
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');3 x; A3 {7 I2 A ^0 P% P9 g
C1:=REF(C,1);/ O* v; [7 B( A8 F" e% Z2 e) ]
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
; L) p7 c3 d% N1 c& P% h非ST涨停:=IF(1.1*C1-C<0.005,1,0);
& ]' F R( f+ H ?0 G, X涨停:=ST涨停||非ST涨停;+ J/ @. j# j4 w
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;2 B6 m' ^1 m3 \1 T$ p
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;: C- F* ~. e Q1 F$ T
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
4 \: {/ Q: C8 R2 `非ST跌停:=IF(C-0.9*C1<0.005,1,0);
s9 Q- V2 \ U' }4 X7 R9 q( a. f跌停:=ST跌停||非ST跌停;, ^) {- Z8 _" R8 b) Z& v
STICKLINE(跌停,O,C,2,0),COLORGREEN;
5 Y; Q4 y8 s8 r( T! ^STICKLINE(跌停,H,L,0,1),COLORGREEN;2 f4 J( o- Y# b5 ~/ u) \8 o
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
5 H* h- y* w8 B半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
5 u' B' t( N d$ {# K6 f. _ e' SJRS:=半涨1&&半涨2&&NOT(ST);( x9 P2 m3 ~; e" w6 ^5 h: a+ l
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
d. M# S) Q' b0 W* e& K" eSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
- g3 O S2 Z0 u8 y! X{涨停次序标注}
: c, p# N; n. l8 s3 {NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;2 ]% [, [8 q' e( w
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;& R! H9 X7 w R$ @
上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
( Y' v; [% X& \6 M" `0 iAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
; O) v6 h" J0 B5 ~$ HA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
; W5 A- o: r, k) b) x' wAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
{ t, U: e" ?STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
6 O; k5 X% t. `: P节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',: G) s+ f z0 J: p9 R
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
* v( @; y+ W) D, I1 |6 RIF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
! L* F. [, |: K W a9 h1 E8 m2 _IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
5 w3 F* D Q/ t3 i! M5 HIF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',4 j8 n0 e; E8 N0 e
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',0 k& j8 I6 I* e# ~5 [
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
; r; Y/ q# E1 c8 G# ^月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
# w5 [) B5 @ hIF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',9 z" C* Q' S8 L) m* y. p
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
7 A+ w. {# C" g1 C4 L( gIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',! W* [$ \8 |& D( o) `
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
* }/ G$ r2 o! X/ O- Q4 R( q% t( }IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',9 s" G$ V6 n6 R k h/ t
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
9 K: I7 Q/ f! A& W5 ?输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));7 z6 g3 Q5 E4 @
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
& Z. |8 v1 O/ x" G1 i; t
|
|